tav-ui
Version:
52 lines (43 loc) • 915 B
text/less
#app {
width: 100%;
height: 100%;
overflow-x: auto;
}
// =================================
// ==============scrollbar==========
// =================================
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
// ::-webkit-scrollbar-track {
// background: transparent;
// }
::-webkit-scrollbar-track {
border-radius: 4px;
background-color: rgb(0 0 0 / 5%);
}
::-webkit-scrollbar-thumb {
background-color: rgb(0 0 0 / 5%);
border-radius: 4px;
box-shadow: inset 0 0 6px rgb(0 0 0 / 20%);
}
::-webkit-scrollbar-thumb:hover {
background-color: rgb(0 0 0 / 10%);
}
// =================================
// ==============nprogress==========
// =================================
#nprogress {
pointer-events: none;
.bar {
position: fixed;
top: 0;
left: 0;
z-index: 99999;
width: 100%;
height: 2px;
background-color: @primary-color;
opacity: 75%;
}
}