Pārlūkot izejas kodu

顶部菜单导航增加关闭其他选项

ZaiZai 2 gadi atpakaļ
vecāks
revīzija
1573d60499
1 mainītis faili ar 13 papildinājumiem un 15 dzēšanām
  1. 13 15
      src/styles/app/element.scss

+ 13 - 15
src/styles/app/element.scss

@@ -68,7 +68,7 @@
 .el-message {
     --el-message-padding: 10px 20px;
     border: 0;
-    box-shadow: 0 3px 6px -4px rgba(0, 0, 0,  0.012), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
+    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.012), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
 }
 
 //按钮重绘
@@ -171,7 +171,6 @@
     }
 }
 
-
 //滚动条
 .el-scrollbar {
     overflow: initial;
@@ -236,7 +235,7 @@
     --el-fill-color-lighter: #E7EEF4;
     --el-table-text-color: #666666;
     --el-table-row-hover-bg-color: var(--el-color-primary-light-9);
-    th.el-table__cell>.cell {
+    th.el-table__cell > .cell {
         font-weight: 400;
     }
     .el-table__cell {
@@ -265,13 +264,11 @@
     }
 }
 
-
 //下拉框
 .el-select[block] {
     width: 100%;
 }
 
-
 //工单服务的时间轴
 .time-line-box .el-timeline.hc-time-line {
     padding-left: 5px;
@@ -409,15 +406,15 @@
     .el-tree-node__content {
         border-radius: 2px;
     }
-    &.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
+    &.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
         background-color: var(--el-color-primary-light-7);
     }
     .el-tree-node__expand-icon {
         font-size: 16px;
     }
-     .el-tree-node__children{
-                   overflow: visible!important;
-       }
+    .el-tree-node__children {
+        overflow: visible !important;
+    }
 }
 .el-alert .el-alert__icon {
     vertical-align: middle;
@@ -487,7 +484,7 @@
         border-radius: 4px;
         display: flex;
         align-items: center;
-        &.hover{
+        &.hover {
             cursor: pointer;
             transition: border 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)
         }
@@ -505,7 +502,6 @@
     }
 }
 
-
 //无名称
 .el-form-item[no-label] .el-form-item__label-wrap {
     margin-left: 0 !important;
@@ -537,7 +533,6 @@
     }
 }
 
-
 //设置表单的上传
 .hc-upload-table-form {
     position: relative;
@@ -619,7 +614,7 @@
             height: 100%;
             .el-image-viewer__mask {
                 border-radius: 3px;
-                box-shadow: 0 0 6px 0 rgba(0,0,0,0.10);
+                box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.10);
             }
             .el-image-viewer__close {
                 display: none;
@@ -641,7 +636,7 @@
     position: relative;
     display: flex;
     justify-content: center;
-    table{
+    table {
         // width: 100%;
     }
     td {
@@ -655,6 +650,9 @@
                 background-color: inherit;
                 caret-color: var(--el-color-primary);
             }
+            .el-input__suffix-inner {
+                width: 18px;
+            }
         }
         .el-textarea {
             width: 100%;
@@ -689,7 +687,7 @@
         //文本选中颜色
         .el-input .el-input__wrapper input,
         .el-textarea textarea {
-            &::selection{
+            &::selection {
                 background: var(--el-color-primary-light-9);
                 color: var(--el-color-primary);
             }