-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.scss
115 lines (97 loc) · 2.28 KB
/
example.scss
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
109
110
111
112
113
114
115
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
*::after {
box-sizing: border-box;
}
*::before {
box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: normal;
}
body {
font-size: 16px;
}
pre {
font-family: "Fira Code Medium", Consolas, monospace;
}
.page {
display: flex;
flex-direction: column;
.example-header {
box-shadow: 0 2px 8px #f0f1f2;
margin-bottom: 4px;
.logo {
padding: 0 20px;
font-weight: bold;
img {
display: inline-block;
vertical-align: middle;
margin-right: 10px;
}
.rightIcon {
float: right;
margin-top: 7px;
}
}
}
.page-contain {
.example-aside {
width: 300px;
min-height: 90vh;
overflow-y: auto;
box-sizing: border-box;
border-right: 1px solid #CCCCCC;
.site-menu-group-title {
padding: 0 16px 0 40px;
margin-top: 16px;
margin-bottom: 16px;
&::after {
position: relative;
top: 12px;
display: block;
width: calc(100% - 20px);
height: 1px;
background: #f0f0f0;
content: '';
}
}
ul>li {
color: inherit;
margin: 4px 0 8px 0;
a {
color: rgba(0, 0, 0, .85);
display: block;
text-decoration: none;
padding: 8px 16px 8px 40px;
&.active {
border-right: 3px solid #1890ff;
background-color: #e6f7ff;
color: #1890ff;
}
&:hover {
color: #1890ff;
}
}
}
}
.example-content {
width: 100%;
padding: 0 48px;
flex-direction: column;
max-height: 90vh;
overflow-y: auto;
}
}
.example-footer {
height: 100px;
}
}