-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.component.css
108 lines (104 loc) · 1.82 KB
/
app.component.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
.header {
background-color: #ffffff;
box-shadow: 0 2px 8px #f0f1f2;
position: fixed;
height: 68px;
width: 100%;
z-index: 3;
margin-bottom: 50px;
}
.logo {
line-height: 50px;
padding-left: 40px;
text-decoration: none;
white-space: nowrap;
}
.github {
display: inline-block;
padding-right: 15px;
vertical-align: middle;
}
.github svg {
margin-top: 16px;
}
.logo span {
font-weight: lighter;
font-size: 18px;
color: #000;
}
.menu-button {
color: #000;
font-size: 26px;
float: right;
margin: 15px 30px 0 0;
display: none;
}
.menu-button:hover {
color: #1890ff;
}
.menu-button:active {
color: #1890ff;
}
.avatar {
float: right;
margin: 20px 30px 0 0;
cursor: pointer;
}
.left-side {
position: fixed;
width: 240px;
height: 100%;
margin-top: 68px;
z-index: 2;
padding-top: 50px;
display: block;
}
.left-side-scroll {
width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: scroll;
}
.left-side-menu {
border-right: 1px solid #e8e8e8 !important;
width: 100%;
height: 100%;
}
.menu-list {
display: none;
position: fixed;
width: 100%;
height: 100%;
margin-top: 68px;
z-index: 2;
/* padding-top: 50px; */
}
.ant-menu-light {
/* 覆盖menu的border-right,在scroll时会出现boder-right只出现前面部分,后面滚动部分不出现 */
border: none;
}
.main-container {
position: absolute;
right: 0px;
left: 240px;
top: 68px;
height: auto;
padding-top: 50px;
}
@media (max-width: 700px) {
.logo {
padding-left: 20px;
}
.left-side {
display: none;
}
.main-container {
left: 0px;
}
.menu-button {
display: block;
}
.menu-list {
display: block;
}
}