Blame view

src/design/public.less 969 Bytes
vben authored
1
2
3
4
5
6
7
8
#app {
  width: 100%;
  height: 100%;
}

// =================================
// ==============scrollbar==========
// =================================
9
陈文彬 authored
10
::-webkit-scrollbar {
11
12
  width: 7px;
  height: 8px;
陈文彬 authored
13
14
}
15
16
17
18
// ::-webkit-scrollbar-track {
//   background: transparent;
// }
19
::-webkit-scrollbar-track {
vben authored
20
  background-color: rgb(0 0 0 / 5%);
21
}
陈文彬 authored
22
23

::-webkit-scrollbar-thumb {
24
25
  // background-color: rgba(144, 147, 153, 0.3);
  border-radius: 2px;
26
27
  // background: rgba(0, 0, 0, 0.6);
  background-color: rgb(144 147 153 / 30%);
vben authored
28
  box-shadow: inset 0 0 6px rgb(0 0 0 / 20%);
陈文彬 authored
29
30
31
}

::-webkit-scrollbar-thumb:hover {
32
  background-color: @border-color-dark;
陈文彬 authored
33
}
34
35
36
37
38
39
40
41
42

// =================================
// ==============nprogress==========
// =================================
#nprogress {
  pointer-events: none;

  .bar {
    position: fixed;
43
    z-index: 99999;
44
45
46
47
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
48
    opacity: 0.75;
49
    background-color: @primary-color;
50
51
  }
}