Blame view

src/design/public.less 977 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 {
20
  background-color: rgba(0, 0, 0, 0.05);
21
}
陈文彬 authored
22
23

::-webkit-scrollbar-thumb {
24
  // background: rgba(0, 0, 0, 0.6);
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);
陈文彬 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
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;
  }
}