public.less 962 字节
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 20 21
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}
陈文彬 已提交
22 23

::-webkit-scrollbar-thumb {
V
Vben 已提交
24 25 26 27 28
  background: rgba(0, 0, 0, 0.6);
  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 32 33
}

::-webkit-scrollbar-thumb:hover {
  background: @border-color-dark;
}
V
vben 已提交
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;
  }
}