Browse Source

修改后台样式

Anyon 3 years ago
parent
commit
f396b2474e

+ 11 - 0
public/static/theme/css/_config.less

@@ -91,4 +91,15 @@
   -o-transition: all .2s linear;
   -moz-transition: all .2s linear;
   -webkit-transition: all .2s linear;
+}
+
+#bodyLayout() {
+  > form.layui-form.layui-card {
+    margin: 0;
+    box-shadow: @ShadowMaxOuter;
+
+    > .layui-card-body {
+      padding: 40px 40px 10px 40px;
+    }
+  }
 }

+ 1 - 1
public/static/theme/css/_display.less

@@ -372,7 +372,7 @@ div.layui-textarea.help-images {
     margin: 0;
     box-shadow: none !important;
 
-    .layui-card-body {
+    > .layui-card-body {
       padding: 20px 40px 0 0;
     }
   }

+ 6 - 12
public/static/theme/css/_layout.less

@@ -317,24 +317,18 @@
         position: absolute;
         box-sizing: border-box;
 
-        > .layui-card-table {
-          padding: 15px;
-          box-sizing: border-box;
-
-          > form.layui-form {
-            box-shadow: @ShadowMaxOuter;
-          }
-        }
-
         > .layui-card-html {
           padding: 15px;
           min-width: 100%;
           position: absolute;
           box-sizing: border-box;
+          #bodyLayout();
+        }
 
-          > form.layui-form {
-            box-shadow: @ShadowMaxOuter;
-          }
+        > .layui-card-table {
+          padding: 15px;
+          box-sizing: border-box;
+          #bodyLayout();
         }
 
         > div > .layui-tab.layui-tab-card {

File diff suppressed because it is too large
+ 0 - 0
public/static/theme/css/console.css


File diff suppressed because it is too large
+ 0 - 0
public/static/theme/css/console.css.map


Some files were not shown because too many files changed in this diff