-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
common.css
254 lines (230 loc) · 4.25 KB
/
common.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
body {
margin: 0;
padding: 0;
}
.grey-bg {
background-color: rgb(250, 250, 250);
}
#app {
font: 13px/1.75 'Microsoft Yahei', 微软雅黑, Tahoma, Arial, Helvetica, STHeiti;
color: #343A40;
}
a {
color: #409eff;
text-decoration: none;
}
/* WebKit browsers (Chrome, Safari) */
::-webkit-scrollbar {
width: 4px;
height: 4px;
}
/* 适用于纵滚动条 */
::-webkit-scrollbar-track {
background-color: #f1f1f1;
}
/* 适用于纵滚动条 */
::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.05);
}
/* 适用于纵滚动条 */
::-webkit-scrollbar-thumb:hover {
background-color: rgba(0, 0, 0, 0.05);
}
/* 适用于横滚动条 */
::-webkit-scrollbar-track-x {
background-color: #f1f1f1;
}
/* 适用于横滚动条 */
::-webkit-scrollbar-thumb-x {
background-color: rgba(0, 0, 0, 0.05);
}
/* 适用于横滚动条 */
::-webkit-scrollbar-thumb-x:hover {
background-color: rgba(0, 0, 0, 0.05);
}
/* Firefox */
/* 适用于纵滚动条 */
::-moz-scrollbar {
width: 4px;
height: 4px;
}
/* 适用于纵滚动条 */
::-moz-scrollbar-track {
background-color: #f1f1f1;
}
/* 适用于纵滚动条 */
::-moz-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.05);
}
/* 适用于纵滚动条 */
::-moz-scrollbar-thumb:hover {
background-color: rgba(0, 0, 0, 0.05);
}
/* 适用于横滚动条 */
::-moz-scrollbar-track-x {
background-color: #f1f1f1;
}
/* 适用于横滚动条 */
::-moz-scrollbar-thumb-x {
background-color: rgba(0, 0, 0, 0.05);
}
/* 适用于横滚动条 */
::-moz-scrollbar-thumb-x:hover {
background-color: rgba(0, 0, 0, 0.05);
}
/* Edge and Internet Explorer */
/* 适用于纵滚动条 */
::-ms-scrollbar {
width: 6px;
height: 6px;
}
/* 适用于纵滚动条 */
::-ms-scrollbar-track {
background-color: #f1f1f1;
}
/* 适用于纵滚动条 */
::-ms-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.05);
}
/* 适用于纵滚动条 */
::-ms-scrollbar-thumb:hover {
background-color: rgba(0, 0, 0, 0.05);
}
/* 适用于横滚动条 */
::-ms-scrollbar-track-x {
background-color: #f1f1f1;
}
/* 适用于横滚动条 */
::-ms-scrollbar-thumb-x {
background-color: rgba(0, 0, 0, 0.05);
}
/* 适用于横滚动条 */
::-ms-scrollbar-thumb-x:hover {
background-color: rgba(0, 0, 0, 0.05);
}
/*隐藏滚动条*/
.hide-scrollbar ::-webkit-scrollbar {
display: none;
}
/*隐藏滚动条*/
.hide-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
.center-card {
width: 300px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding-top: 0px;
padding-left: 15px;
padding-right: 15px;
padding-bottom: 0px;
box-sizing: border-box;
border-radius: 4px;
}
/* 水平居中的卡片 */
.hor-center-card {
width: 700px;
margin: 20px auto;
padding-top: 0px;
padding-left: 15px;
padding-right: 15px;
padding-bottom: 0px;
box-sizing: border-box;
}
.pull-right {
float: right;
}
.pull-left {
float: left;
}
.el-dropdown-link {
cursor: pointer;
color: #409eff;
}
li {
list-style-type: none;
}
.markdown-body ul li {
list-style-type: disc;
}
.markdown-body ol li {
list-style-type: decimal;
}
.text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.block {
display: block;
}
.el-message-box {
max-width: 80vw;
}
.cursor-click {
cursor: pointer;
}
/* 3.0开始,找设计师重定义UI ,这里根据新UI定义一些类,方便复用 */
.v3-font-size{
font-size: 13px;
}
.v3-font-size-lg{
font-size: 24px;
}
.v3-font-size-sm,.v3-font-size-s{
font-size: 11px;
}
.v3-color-primary{
/* 主要文本颜色 */
color: #343A40;
}
.v3-color-aux{
/* 辅助文本颜色 */
color: #9B9B9B;
}
.v3-color-sec{
/* 次要文本颜色 */
color: rgba(0, 0, 0, 0.05);
}
.v3-bg-color-primary{
color: #f9f9f9;
}
.v3-btn-primary{
color: #343A40;
}
.v3-accent-color-blue{
/* 如特别需要强调的按钮背景色、文字链 */
color: #007BFF;
}
.v3-color-blue{
color: #007BFF;
}
.v3-color-yellow{
color: #ffc107;
}
.v3-color-red{
color: #DC3545;
}
.v3-color-green{
color: #28A745;
}
.v3-lg-btn{
width: 160px;
height: 50px;
border-radius: 8px;
}
.v3-text-link{
color: #9B9B9B;
cursor: pointer;
text-decoration:underline ;
}
.tips-text{
/* 辅助文本颜色 */
color: #9B9B9B;
font-size: 11px;
line-height: 1.5rem;
}