KaysonCui 5 years ago
parent
commit
eb8c25363b
4 changed files with 22 additions and 61 deletions
  1. 0 20
      front/src/style/admin.less
  2. 0 20
      front/src/style/adminLeft.less
  3. 21 0
      front/src/style/core.less
  4. 1 21
      front/src/style/web.less

+ 0 - 20
front/src/style/admin.less

@@ -1,26 +1,6 @@
 @charset "utf-8";
 @import './core';
 
-body {
-  color: @base_color;
-  font-size: @base_size;
-  line-height: 1.7;
-  font-family: Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
-  -webkit-font-smoothing: subpixel-antialiased;
-  background: @base_bg_color;
-}
-
-* {
-  box-sizing: border-box;
-}
-
-html,
-body,
-#root {
-  margin: 0;
-  padding: 0;
-}
-
 #root {
 
   .admin {

+ 0 - 20
front/src/style/adminLeft.less

@@ -1,26 +1,6 @@
 @charset "utf-8";
 @import './core';
 
-body {
-  color: @base_color;
-  font-size: @base_size;
-  line-height: 1.7;
-  font-family: Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
-  -webkit-font-smoothing: subpixel-antialiased;
-  background: @base_bg_color;
-}
-
-* {
-  box-sizing: border-box;
-}
-
-html,
-body,
-#root {
-  margin: 0;
-  padding: 0;
-}
-
 #root {
 
   .admin-left {

+ 21 - 0
front/src/style/core.less

@@ -29,6 +29,7 @@
 @blue: #e6f7ff;
 @geekblue: #f0f5ff;
 @purple: #f9f0ff;
+
 .theme,
 .theme a,
 .theme a:hover {
@@ -201,4 +202,24 @@ textarea::-webkit-input-placeholder {
 .nowrap {
   white-space: nowrap;
   text-overflow: ellipsis;
+}
+
+body {
+  color: @base_color;
+  font-size: @base_size;
+  line-height: 1.7;
+  font-family: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', 'Hiragino Sans GB', Helvetica, Arial, sans-serif;
+  -webkit-font-smoothing: subpixel-antialiased;
+  background: @base_bg_color;
+}
+
+* {
+  box-sizing: border-box;
+}
+
+html,
+body,
+#root {
+  margin: 0;
+  padding: 0;
 }

+ 1 - 21
front/src/style/web.less

@@ -1,24 +1,4 @@
 @charset "utf-8";
 @import './core';
-body {
-  color: @base_color;
-  font-size: @base_size;
-  line-height: 1.7;
-  font-family: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', 'Hiragino Sans GB', Helvetica, Arial, sans-serif;
-  -webkit-font-smoothing: subpixel-antialiased;
-  background: @base_bg_color;
-}
 
-* {
-  box-sizing: border-box;
-}
-
-html,
-body,
-#root {
-  margin: 0;
-  padding: 0;
-}
-
-#root {
-}
+#root {}