From a29d9d644a2a30e9ef4afcc6d728c20c218dc359 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 15 六月 2023 14:25:28 +0800
Subject: [PATCH] 2023-06-15

---
 src/assets/css/main.scss |  167 ++++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 120 insertions(+), 47 deletions(-)

diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss
index 668699c..a822a26 100644
--- a/src/assets/css/main.scss
+++ b/src/assets/css/main.scss
@@ -17,6 +17,17 @@
   }
 }
 
+.table-col-1, .table-col-2, .table-col-3, .table-col-4 {
+  .ant-table colgroup > col.ant-table-selection-col {
+    width: 40px!important;
+  }
+}
+.table-col-5, .table-col-6, .table-col-7 {
+  .ant-table colgroup > col.ant-table-selection-col {
+    width: 50px!important;
+  }
+}
+
 /* 璁剧疆iconfont鏍囩font-family */ 
 [class^="icon-"],[class*=" icon-"] {
   font-family: "iconfont";
@@ -36,11 +47,9 @@
 
 /*鑳屾櫙鑹�*/
 html, body {
+  --mk-sys-color: #1890ff;
   width: 100%;
   font-size: 14px;
-  // .ant-table, .ant-dropdown {
-  //   color: rgba(0, 0, 0, 0.85);
-  // }
 }
 #root {
   height: 100%;
@@ -123,15 +132,18 @@
 }
 
 // 閲嶇疆鏃堕棿鎻掍欢鏃堕棿婊氬姩鏉�
-.ant-calendar-time-picker-select:hover::-webkit-scrollbar {
-  width: 7px;
+.ant-calendar-time-picker-select {
+  overflow-y: auto!important;
 }
-.ant-calendar-time-picker-select:hover::-webkit-scrollbar-thumb {
+.ant-calendar-time-picker-select::-webkit-scrollbar {
+  width: 6px;
+}
+.ant-calendar-time-picker-select::-webkit-scrollbar-thumb {
   border-radius: 5px;
-  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13);
-  background: rgba(0, 0, 0, 0.13);
+  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.08);
+  background: rgba(0, 0, 0, 0.08);
 }
-.ant-calendar-time-picker-select:hover::-webkit-scrollbar-track {
+.ant-calendar-time-picker-select::-webkit-scrollbar-track {
   box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
   border-radius: 3px;
   border: 1px solid rgba(0, 0, 0, 0.07);
@@ -163,7 +175,7 @@
   width: 100%;
   display: inline-block;
   .ant-calendar-picker {
-    width: 100%;
+    width: 100%!important;
   }
 }
 .ant-calendar-picker-container {
@@ -177,9 +189,9 @@
   z-index: 1090!important;
 }
 
-.ant-dropdown {
-  z-index: 1090!important;
-}
+// .ant-dropdown {
+//   z-index: 1090!important;
+// }
 
 .mk-normal-dropdown {
   .ant-dropdown-menu {
@@ -261,28 +273,6 @@
   }
 }
 
-.ant-modal.popview-modal {
-  top: 70px;
-  .ant-modal-body {
-    min-height: 200px;
-    max-height: calc(100vh - 210px);
-    overflow-y: auto;
-  }
-  .ant-modal-body::-webkit-scrollbar {
-    width: 7px;
-  }
-  .ant-modal-body::-webkit-scrollbar-thumb {
-    border-radius: 5px;
-    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13);
-    background: rgba(0, 0, 0, 0.13);
-  }
-  .ant-modal-body::-webkit-scrollbar-track {
-    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
-    border-radius: 3px;
-    border: 1px solid rgba(0, 0, 0, 0.07);
-    background: rgba(0, 0, 0, 0);
-  }
-}
 .ant-modal-wrap.popview-modal {
   .ant-modal {
     top: 70px;
@@ -307,6 +297,7 @@
     background: rgba(0, 0, 0, 0);
   }
 }
+
 // 璁剧疆妯℃�佹鏍峰紡锛岃瀹氭渶澶ф渶灏忛珮搴︼紝閲嶇疆婊氬姩鏉�
 .action-modal {
   .ant-modal {
@@ -333,6 +324,12 @@
     border-radius: 3px;
     border: 1px solid rgba(0, 0, 0, 0.07);
     background: rgba(0, 0, 0, 0);
+  }
+}
+.moveable-modal {
+  overflow-x: hidden!important;
+  .ant-modal-header {
+    cursor: move;
   }
 }
 
@@ -412,12 +409,6 @@
   transition: margin-left 0s cubic-bezier(0.645, 0.045, 0.355, 1)!important;
 }
 
-.ant-progress-status-success .ant-progress-text {
-  color: rgba(0, 0, 0, 0.45)!important;
-}
-.ant-progress-circle.ant-progress-status-success .ant-progress-text {
-  color: rgba(0, 0, 0, 0.65)!important;
-}
 .ant-progress-line.square {
   .ant-progress-inner {
     border-radius: 0;
@@ -435,9 +426,91 @@
 div.ant-input-number {
   width: 100%;
 }
-// .ant-table.ant-table-mini .ant-table-thead > tr > th {
-//   padding: 8px 4px;
-// }
-// .ant-table.ant-table-mini .ant-table-tbody > tr > td {
-//   padding: 4px 4px;
-// }
\ No newline at end of file
+
+.ant-progress {
+  .ant-progress-circle-trail {
+    stroke: inherit!important;
+  }
+  .ant-progress-text {
+    color: inherit!important;
+  }
+}
+.ant-table.ant-table-mini .ant-table-thead > tr > th {
+  padding: 8px 8px!important;
+}
+.ant-table.ant-table-mini .ant-table-tbody > tr > td {
+  padding: 2px 8px!important;
+  line-height: 1.5;
+}
+.mk-date-picker.minute {
+  .ant-calendar-time-picker-combobox {
+    .ant-calendar-time-picker-select {
+      width: 50%;
+    }
+
+    >.ant-calendar-time-picker-select:last-child {
+      display: none;
+    }
+  }
+}
+.mk-date-picker.hour {
+  .ant-calendar-time-picker-combobox {
+    .ant-calendar-time-picker-select {
+      width: 100%;
+    }
+
+    >.ant-calendar-time-picker-select:not(:first-child) {
+      display: none;
+    }
+  }
+}
+.mk-button-progress {
+  position: fixed!important;
+  top: 0px;
+  left: 0px;
+  z-index: 1100;
+  width: 100vw!important;
+  .ant-progress-outer {
+    .ant-progress-inner {
+      vertical-align: top;
+      background-color: transparent;
+      .ant-progress-bg {
+        height: 4px!important;
+        background-color: var(--mk-sys-color);
+      }
+    }
+  }
+}
+
+.video-wrap {
+  overflow: hidden;
+  .video-react .video-react-poster {
+    background-size: cover;
+  }
+}
+
+.table-vertical-top {
+  table td {
+    vertical-align: top;
+  }
+}
+.table-vertical-bottom {
+  table td {
+    vertical-align: bottom;
+  }
+}
+
+// 绯荤粺鑹茶缃�
+.mk-main-view {
+  display: flex;
+  flex: auto;
+  min-height: 100%;
+}
+
+.component-wrap >.ant-col {
+  min-height: 0;
+}
+
+.ant-col.ant-col-0 {
+  display: inline-block;
+}
\ No newline at end of file

--
Gitblit v1.8.0