浏览代码

样式优化

seimin 3 年之前
父节点
当前提交
a7d9ee49c1

+ 0 - 65
src/app/app.component.less

@@ -7,75 +7,11 @@
7 7
   -moz-osx-font-smoothing: grayscale;
8 8
 }
9 9
 
10
-app-main {
11
-  width: 100%;
12
-}
13
-
14 10
 .app-layout {
15 11
   width: 100%;
16 12
   height: 100vh;
17 13
 }
18 14
 
19
-.menu-sidebar {
20
-  position: relative;
21
-  z-index: 8;
22
-  min-height: 100vh;
23
-  box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
24
-}
25
-
26
-.header-trigger {
27
-  height: 64px;
28
-  padding: 20px 24px;
29
-  font-size: 20px;
30
-  cursor: pointer;
31
-  transition: all 0.3s, padding 0s;
32
-}
33
-
34
-.trigger:hover {
35
-  color: #1890ff;
36
-}
37
-
38
-.sidebar-logo {
39
-  position: relative;
40
-  height: 64px;
41
-  padding-left: 24px;
42
-  overflow: hidden;
43
-  line-height: 64px;
44
-  background: #001529;
45
-  transition: all 0.3s;
46
-}
47
-
48
-.sidebar-logo img {
49
-  display: inline-block;
50
-  height: 32px;
51
-  width: 32px;
52
-  vertical-align: middle;
53
-}
54
-
55
-.sidebar-logo h1 {
56
-  display: inline-block;
57
-  margin: 0 0 0 20px;
58
-  color: #fff;
59
-  font-weight: 600;
60
-  font-size: 14px;
61
-  font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
62
-  vertical-align: middle;
63
-}
64
-
65
-nz-header {
66
-  padding: 0;
67
-  width: 100%;
68
-  z-index: 2;
69
-}
70
-
71
-.app-header {
72
-  position: relative;
73
-  height: 64px;
74
-  padding: 0;
75
-  background: #fff;
76
-  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
77
-}
78
-
79 15
 nz-content {
80 16
   margin: 24px;
81 17
 }
@@ -83,5 +19,4 @@ nz-content {
83 19
 .inner-content {
84 20
   padding: 24px;
85 21
   background: #fff;
86
-  /* height: 100%; */
87 22
 }

+ 0 - 11
src/app/views/hushijiandan/hushijiandan.component.less

@@ -638,17 +638,6 @@
638 638
       }
639 639
     }
640 640
 
641
-    .header-trigger {
642
-      height: 64px;
643
-      font-size: 20px;
644
-      cursor: pointer;
645
-      transition: all 0.3s, padding 0s;
646
-    }
647
-
648
-    .trigger:hover {
649
-      color: #1890ff;
650
-    }
651
-
652 641
     nz-header.ant-layout-header {
653 642
       padding: 0;
654 643
       width: 100%;

+ 0 - 11
src/app/views/main/main.component.less

@@ -119,17 +119,6 @@ nz-sider {
119 119
 }
120 120
 // 重写菜单
121 121
 
122
-.header-trigger {
123
-  height: 64px;
124
-  font-size: 20px;
125
-  cursor: pointer;
126
-  transition: all 0.3s, padding 0s;
127
-}
128
-
129
-.trigger:hover {
130
-  color: #1890ff;
131
-}
132
-
133 122
 .sidebar-logo {
134 123
   position: relative;
135 124
   height: 88px;