任一存 пре 4 година
родитељ
комит
c31fceb027
1 измењених фајлова са 240 додато и 205 уклоњено
  1. 240 205
      src/views/material/style.less

+ 240 - 205
src/views/material/style.less

@@ -1,4 +1,5 @@
-@color:#1983F6;
+@color: #1983F6;
+
 .con {
   .top {
     display: flex;
@@ -6,268 +7,301 @@
     align-items: center;
   }
 
-  .ui-button{
+  .ui-button {
     font-size: @color;
   }
 
-  .btn{
+  .btn {
     margin-top: 18px;
-    .ui-button{
+
+    .ui-button {
       position: relative;
       padding: 0 20px;
       display: flex;
       align-items: center;
       border-radius: 4px;
-      >span{
+
+      >span {
         display: inline-block;
         margin-right: 4px;
       }
-      &:hover{
-        .upload-list{
+
+      &:hover {
+        .upload-list {
           display: block;
         }
       }
     }
   }
-  
-  >.list{
+
+  >.list {
     margin-top: 20px;
-    .img{
+
+    .img {
       width: 60px;
       height: 60px;
       position: relative;
       overflow: hidden;
       cursor: pointer;
-      >img{
+
+      >img {
         position: absolute;
         height: 100%;
-        transform: translate(-50%,-50%);
+        transform: translate(-50%, -50%);
         top: 50%;
         left: 50%;
       }
     }
-    .audio{
+
+    .audio {
       position: relative;
       text-align: left;
     }
   }
-.handle{
-  display: flex;
-  justify-content: center;
-  .iconfont{
-    cursor: pointer;
-    margin: 0 7.5px;
-    color: #202020;
-  }
-  .oper {
-    cursor: pointer;
-    position: relative;
-    align-items: center;
-    >i{
-      z-index: 9;
+
+  .handle {
+    display: flex;
+    justify-content: center;
+
+    .iconfont {
+      cursor: pointer;
+      margin: 0 7.5px;
+      color: #202020;
     }
-    &:hover {
-      > ul {
-        display: block;
+
+    .oper {
+      cursor: pointer;
+      position: relative;
+      align-items: center;
+
+      >i {
+        z-index: 9;
       }
-    }
-    > ul {
-      max-width: 124px;
-      display: none;
-      background: #fff;
-      box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.16);
-      top: 18px;
-      left: 50%;
-      z-index: 999;
-      transform: translateX(-50%);
-      position: absolute;
-      &::before{
-        border: 10px solid transparent;
-        border-bottom: 10px solid #fff;
-        width: 0;
-        height: 0px;
-        content: "";
-        display: inline-block;
-        position: absolute;
-        top: -20px;
+
+      &:hover {
+        >ul {
+          display: block;
+        }
+      }
+
+      >ul {
+        max-width: 124px;
+        display: none;
+        background: #fff;
+        box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.16);
+        top: 18px;
         left: 50%;
+        z-index: 999;
         transform: translateX(-50%);
-      }
-      > li {
-        line-height: 35px;
-        height: 35px;
-        padding-left: 15px;
-        text-align: left!important;
-        min-width: 98px;
-        &:hover {
-          background: #EBEBEB;
+        position: absolute;
+
+        &::before {
+          border: 10px solid transparent;
+          border-bottom: 10px solid #fff;
+          width: 0;
+          height: 0px;
+          content: "";
+          display: inline-block;
+          position: absolute;
+          top: -20px;
+          left: 50%;
+          transform: translateX(-50%);
+        }
+
+        >li {
+          line-height: 35px;
+          height: 35px;
+          padding-left: 15px;
+          text-align: left !important;
+          min-width: 98px;
+
+          &:hover {
+            background: #EBEBEB;
+          }
         }
       }
     }
   }
-}
 
 
 
-.filter > div {
-  min-width: 292px;
-  height: 40px;
-  border: 1px solid #EBEDF0;
-  border-radius: 2px;
-  display: inline-block;
-  border-radius: 20px;
-  position: relative;
-  font-size: 14px;
-  vertical-align: middle;
-  background: #F7F8FA;
-  &.active{
-    border: 1px solid #0076F6;
+  .filter>div {
+    min-width: 292px;
+    height: 40px;
+    border: 1px solid #EBEDF0;
+    border-radius: 2px;
+    display: inline-block;
+    border-radius: 20px;
+    position: relative;
+    font-size: 14px;
+    vertical-align: middle;
+    background: #F7F8FA;
+
+    &.active {
+      border: 1px solid #0076F6;
+    }
   }
-}
 
-.filter > div > select,
-.filter > div > input {
-  box-sizing: border-box;
-  width: 100%;
-  height: 100%;
-  border: none;
-  background: none;
-  padding: 8px 10px;
-  outline: none;
-}
+  .filter>div>select,
+  .filter>div>input {
+    box-sizing: border-box;
+    width: 100%;
+    height: 100%;
+    border: none;
+    background: none;
+    padding: 8px 10px;
+    outline: none;
+  }
 
-.filter > div > input {
-  padding-left: 44px;
-}
+  .filter>div>input {
+    padding-left: 44px;
+  }
 
 
-.filter > div > i {
-  position: absolute;
-  top: 50%;
-  transform: translateY(-50%);
-  left: 10px;
-  cursor: pointer;
-  color: #C8C9CC;
-  font-size: 20px;
-}
-.filter > div >.del{
-  left: auto;
-  right: 10px;
-  font-size: 20px;
-}
+  .filter>div>i {
+    position: absolute;
+    top: 50%;
+    transform: translateY(-50%);
+    left: 10px;
+    cursor: pointer;
+    color: #C8C9CC;
+    font-size: 20px;
+  }
 
-.cancel{
-  background: #EBEBEB;
-}
+  .filter>div>.del {
+    left: auto;
+    right: 10px;
+    font-size: 20px;
+  }
 
-.ui-button-rect{
-  border-radius: 0!important;
-  align-items: center;
-  vertical-align: middle;
-  color: #202020;
-  display: flex;
-  justify-content: center;
-  padding: 0 20px;
-  line-height: 32px;
-  height: 32px;
-  border: none;
-  text-align: center;
-  >i{
-    margin-left: 5px;
+  .cancel {
+    background: #EBEBEB;
   }
-}
 
-.ui-input{
-  background-color: #fff;
-  border: 1px solid rgba(#909090,0.5);
-  color: #909090;
-}
+  .ui-button-rect {
+    border-radius: 0 !important;
+    align-items: center;
+    vertical-align: middle;
+    color: #202020;
+    display: flex;
+    justify-content: center;
+    padding: 0 20px;
+    line-height: 32px;
+    height: 32px;
+    border: none;
+    text-align: center;
 
-.ma-line{
-  background-color: #EBEBEB;
-  height: 1px;
-  width: 100%;
-}
+    >i {
+      margin-left: 5px;
+    }
+  }
 
-.paging{
-  margin-top: 20px;
-  text-align: left;
-}
+  .ui-input {
+    background-color: #fff;
+    border: 1px solid rgba(#909090, 0.5);
+    color: #909090;
+  }
 
-.upload-list{
-  display: none;
-  position: absolute;
-  top: 100%;
-  left: 0;
-  width: 430px;
-  z-index: 999;
-  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
-  background-color: #fff;
-  color: #202020;
-  cursor: auto;
-  .top{
-    display: flex;
-    justify-content: space-between;
-    border-bottom: 1px solid #EBEBEB;;
-    padding: 13px 18px 13px 30px;
-    >span{
-      font-weight: bold;
-      font-size: 16px;
-    }
-    >i{
-      font-size: 16px;
-      cursor: pointer;
-    }
+  .ma-line {
+    background-color: #EBEBEB;
+    height: 1px;
+    width: 100%;
   }
-  >ul{
-    padding: 14px 18px 14px 30px;
-    overflow-y: auto;
-    max-height: 180px;
-    >li{
-      font-size: 14px;
-      justify-content: space-between;
+
+  .paging {
+    margin-top: 20px;
+    text-align: left;
+  }
+
+  .upload-list {
+    display: none;
+    position: absolute;
+    top: 100%;
+    left: 0;
+    width: 430px;
+    z-index: 999;
+    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
+    background-color: #fff;
+    color: #202020;
+    cursor: auto;
+
+    .top {
       display: flex;
-      .success{
-        color: @color;
+      justify-content: space-between;
+      border-bottom: 1px solid #EBEBEB;
+      ;
+      padding: 13px 18px 13px 30px;
+
+      >span {
+        font-weight: bold;
+        font-size: 16px;
       }
-      .error{
-        color: #F56C6C;
+
+      >i {
+        font-size: 16px;
+        cursor: pointer;
       }
-      >span{
-        flex: 3;
-        text-align: left;
-        display: inline-block;
-        text-overflow: ellipsis;
-        overflow: hidden;
-        white-space: nowrap;
-        width: 100%;
-        padding-right: 10px;
-        &:last-of-type{
-          flex: 1;
+    }
+
+    >ul {
+      padding: 14px 18px 14px 30px;
+      overflow-y: auto;
+      max-height: 180px;
+
+      >li {
+        font-size: 14px;
+        justify-content: space-between;
+        display: flex;
+
+        .success {
+          color: @color;
+        }
+
+        .error {
+          color: #F56C6C;
+        }
+
+        >span {
+          flex: 3;
+          text-align: left;
+          display: inline-block;
+          text-overflow: ellipsis;
+          overflow: hidden;
+          white-space: nowrap;
+          width: 100%;
+          padding-right: 10px;
+
+          &:last-of-type {
+            flex: 1;
+          }
+        }
+
+        >i {
+          cursor: pointer;
+          flex-shrink: 0;
         }
-      }
-      >i{
-        cursor: pointer;
-        flex-shrink: 0;
       }
     }
+
+    .nouploaddata {
+      font-size: 14px;
+      min-height: 180px;
+      padding-top: 70px;
+      text-align: center;
+      width: 100%;
+    }
   }
-  .nouploaddata{
-    font-size: 14px;
-    min-height: 180px;
-    padding-top: 70px;
+
+  .nodata {
     text-align: center;
     width: 100%;
-  }
-}
-.nodata{
-  text-align: center;
-  width: 100%;
-  margin: 100px auto;
-    >span{
+    margin: 100px auto;
+
+    >span {
       color: #646566;
     }
-    .create{
+
+    .create {
       width: 100px;
       margin: 0 auto;
       margin-top: 20px;
@@ -282,21 +316,22 @@
 }
 
 
-.panorama{
+.panorama {
   padding: 24px 30px;
 }
 
-.comfirmhover{
-  &:hover{
-    color: @color!important;
+.comfirmhover {
+  &:hover {
+    color: @color !important;
   }
-  &:active{
-    color: rgba(255, 255, 255, 0.5)!important;
+
+  &:active {
+    color: rgba(255, 255, 255, 0.5) !important;
   }
 }
 
-.cancelhover{
-  &:hover{
-    color: #FA5555!important;
+.cancelhover {
+  &:hover {
+    color: #FA5555 !important;
   }
-}
+}