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

// =================================
// ==============scrollbar==========
// =================================
陈文彬 已提交
9
::-webkit-scrollbar {
V
vben 已提交
10 11
  width: 6px;
  height: 6px;
陈文彬 已提交
12 13
}

V
vben 已提交
14 15 16
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}
陈文彬 已提交
17 18

::-webkit-scrollbar-thumb {
V
vben 已提交
19
  background: rgba(0, 0, 0, 0.2);
陈文彬 已提交
20 21 22 23 24 25 26
  border-radius: 4px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: @border-color-dark;
}
V
vben 已提交
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44

// =================================
// ==============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;
  }
}