فهرست منبع

Revert "temp"

This reverts commit c31fceb0278bf3a67209ed8b8811469666bdb796.
任一存 4 سال پیش
والد
کامیت
561d31b80c
1فایلهای تغییر یافته به همراه205 افزوده شده و 240 حذف شده
  1. 205 240
      src/views/material/style.less

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

@@ -1,5 +1,4 @@
-@color: #1983F6;
-
+@color:#1983F6;
 .con {
 .con {
   .top {
   .top {
     display: flex;
     display: flex;
@@ -7,301 +6,268 @@
     align-items: center;
     align-items: center;
   }
   }
 
 
-  .ui-button {
+  .ui-button{
     font-size: @color;
     font-size: @color;
   }
   }
 
 
-  .btn {
+  .btn{
     margin-top: 18px;
     margin-top: 18px;
-
-    .ui-button {
+    .ui-button{
       position: relative;
       position: relative;
       padding: 0 20px;
       padding: 0 20px;
       display: flex;
       display: flex;
       align-items: center;
       align-items: center;
       border-radius: 4px;
       border-radius: 4px;
-
-      >span {
+      >span{
         display: inline-block;
         display: inline-block;
         margin-right: 4px;
         margin-right: 4px;
       }
       }
-
-      &:hover {
-        .upload-list {
+      &:hover{
+        .upload-list{
           display: block;
           display: block;
         }
         }
       }
       }
     }
     }
   }
   }
-
-  >.list {
+  
+  >.list{
     margin-top: 20px;
     margin-top: 20px;
-
-    .img {
+    .img{
       width: 60px;
       width: 60px;
       height: 60px;
       height: 60px;
       position: relative;
       position: relative;
       overflow: hidden;
       overflow: hidden;
       cursor: pointer;
       cursor: pointer;
-
-      >img {
+      >img{
         position: absolute;
         position: absolute;
         height: 100%;
         height: 100%;
-        transform: translate(-50%, -50%);
+        transform: translate(-50%,-50%);
         top: 50%;
         top: 50%;
         left: 50%;
         left: 50%;
       }
       }
     }
     }
-
-    .audio {
+    .audio{
       position: relative;
       position: relative;
       text-align: left;
       text-align: left;
     }
     }
   }
   }
-
-  .handle {
-    display: flex;
-    justify-content: center;
-
-    .iconfont {
-      cursor: pointer;
-      margin: 0 7.5px;
-      color: #202020;
+.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;
     }
     }
-
-    .oper {
-      cursor: pointer;
-      position: relative;
-      align-items: center;
-
-      >i {
-        z-index: 9;
+    &:hover {
+      > ul {
+        display: block;
       }
       }
-
-      &: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;
+    }
+    > 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;
         left: 50%;
         left: 50%;
-        z-index: 999;
         transform: translateX(-50%);
         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;
-          left: 50%;
-          transform: translateX(-50%);
-        }
-
-        >li {
-          line-height: 35px;
-          height: 35px;
-          padding-left: 15px;
-          text-align: left !important;
-          min-width: 98px;
-
-          &:hover {
-            background: #EBEBEB;
-          }
+      }
+      > 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 > 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>.del {
-    left: auto;
-    right: 10px;
-    font-size: 20px;
-  }
+.cancel{
+  background: #EBEBEB;
+}
 
 
-  .cancel {
-    background: #EBEBEB;
+.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;
   }
   }
+}
 
 
-  .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;
-    }
-  }
+.ui-input{
+  background-color: #fff;
+  border: 1px solid rgba(#909090,0.5);
+  color: #909090;
+}
 
 
-  .ui-input {
-    background-color: #fff;
-    border: 1px solid rgba(#909090, 0.5);
-    color: #909090;
-  }
+.ma-line{
+  background-color: #EBEBEB;
+  height: 1px;
+  width: 100%;
+}
 
 
-  .ma-line {
-    background-color: #EBEBEB;
-    height: 1px;
-    width: 100%;
-  }
+.paging{
+  margin-top: 20px;
+  text-align: left;
+}
 
 
-  .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;
+    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;
+    }
   }
   }
-
-  .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;
+  >ul{
+    padding: 14px 18px 14px 30px;
+    overflow-y: auto;
+    max-height: 180px;
+    >li{
+      font-size: 14px;
       justify-content: space-between;
       justify-content: space-between;
-      border-bottom: 1px solid #EBEBEB;
-      ;
-      padding: 13px 18px 13px 30px;
-
-      >span {
-        font-weight: bold;
-        font-size: 16px;
+      display: flex;
+      .success{
+        color: @color;
       }
       }
-
-      >i {
-        font-size: 16px;
-        cursor: pointer;
+      .error{
+        color: #F56C6C;
       }
       }
-    }
-
-    >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;
+      >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;
         }
         }
       }
       }
-    }
-
-    .nouploaddata {
-      font-size: 14px;
-      min-height: 180px;
-      padding-top: 70px;
-      text-align: center;
-      width: 100%;
+      >i{
+        cursor: pointer;
+        flex-shrink: 0;
+      }
     }
     }
   }
   }
-
-  .nodata {
+  .nouploaddata{
+    font-size: 14px;
+    min-height: 180px;
+    padding-top: 70px;
     text-align: center;
     text-align: center;
     width: 100%;
     width: 100%;
-    margin: 100px auto;
-
-    >span {
+  }
+}
+.nodata{
+  text-align: center;
+  width: 100%;
+  margin: 100px auto;
+    >span{
       color: #646566;
       color: #646566;
     }
     }
-
-    .create {
+    .create{
       width: 100px;
       width: 100px;
       margin: 0 auto;
       margin: 0 auto;
       margin-top: 20px;
       margin-top: 20px;
@@ -316,22 +282,21 @@
 }
 }
 
 
 
 
-.panorama {
+.panorama{
   padding: 24px 30px;
   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;
   }
   }
-}
+}