Ben Lin
2024-06-18 ebbd788fbb2c0b45d4473798efc57eec8ba74a25
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
#app {
  width: 100%;
  height: 100%;
}
 
// =================================
// ==============scrollbar==========
// =================================
 
::-webkit-scrollbar {
  width: 7px;
  height: 8px;
}
 
// ::-webkit-scrollbar-track {
//   background: transparent;
// }
 
::-webkit-scrollbar-track {
  background-color: rgb(0 0 0 / 5%);
}
 
::-webkit-scrollbar-thumb {
  // background-color: rgba(144, 147, 153, 0.3);
  border-radius: 2px;
  // background: rgba(0, 0, 0, 0.6);
  background-color: rgb(144 147 153 / 30%);
  box-shadow: inset 0 0 6px rgb(0 0 0 / 20%);
}
 
::-webkit-scrollbar-thumb:hover {
  background-color: @border-color-dark;
}
 
::-webkit-scrollbar-corner {
  background-color: transparent;
}
 
// =================================
// ==============nprogress==========
// =================================
#nprogress {
  pointer-events: none;
 
  .bar {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    opacity: 0.75;
    background-color: @primary-color;
  }
}