vben
authored
|
1
2
3
4
5
6
7
8
|
#app {
width: 100%;
height: 100%;
}
// =================================
// ==============scrollbar==========
// =================================
|
Vben
authored
|
9
|
|
|
10
|
::-webkit-scrollbar {
|
Vben
authored
|
11
12
|
width: 7px;
height: 8px;
|
|
13
14
|
}
|
Vben
authored
|
15
16
17
18
|
// ::-webkit-scrollbar-track {
// background: transparent;
// }
|
vben
authored
|
19
|
::-webkit-scrollbar-track {
|
Vben
authored
|
20
|
background-color: rgba(0, 0, 0, 0.05);
|
vben
authored
|
21
|
}
|
|
22
23
|
::-webkit-scrollbar-thumb {
|
Vben
authored
|
24
|
// background: rgba(0, 0, 0, 0.6);
|
Vben
authored
|
25
26
27
28
|
background-color: rgba(144, 147, 153, 0.3);
// background-color: rgba(144, 147, 153, 0.3);
border-radius: 2px;
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
|
|
29
30
31
|
}
::-webkit-scrollbar-thumb:hover {
|
Vben
authored
|
32
|
background-color: @border-color-dark;
|
|
33
|
}
|
vben
authored
|
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
// =================================
// ==============nprogress==========
// =================================
#nprogress {
pointer-events: none;
.bar {
position: fixed;
top: 0;
left: 0;
z-index: 99999;
width: 100%;
height: 2px;
background-color: @primary-color;
opacity: 0.75;
}
}
|