public.less 969 字节
Newer Older
V
vben 已提交
1 2 3 4 5 6 7 8
#app {
  width: 100%;
  height: 100%;
}

// =================================
// ==============scrollbar==========
// =================================
V
Vben 已提交
9

陈文彬 已提交
10
::-webkit-scrollbar {
V
Vben 已提交
11 12
  width: 7px;
  height: 8px;
陈文彬 已提交
13 14
}

V
Vben 已提交
15 16 17 18
// ::-webkit-scrollbar-track {
//   background: transparent;
// }

V
vben 已提交
19
::-webkit-scrollbar-track {
V
vben 已提交
20
  background-color: rgb(0 0 0 / 5%);
V
vben 已提交
21
}
陈文彬 已提交
22 23

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

::-webkit-scrollbar-thumb:hover {
V
Vben 已提交
32
  background-color: @border-color-dark;
陈文彬 已提交
33
}
V
vben 已提交
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48

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

  .bar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
    height: 2px;
    background-color: @primary-color;
V
vben 已提交
49
    opacity: 0.75;
V
vben 已提交
50 51
  }
}