vue-vben-admin/src/design/public.less

52 lines
969 B
Plaintext
Raw Normal View History

2020-11-25 23:20:30 +08:00
#app {
width: 100%;
height: 100%;
}
// =================================
// ==============scrollbar==========
// =================================
2021-02-26 00:15:18 +08:00
2020-09-28 20:19:10 +08:00
::-webkit-scrollbar {
2021-02-26 20:15:50 +08:00
width: 7px;
height: 8px;
2020-09-28 20:19:10 +08:00
}
2021-02-26 00:15:18 +08:00
// ::-webkit-scrollbar-track {
// background: transparent;
// }
2020-11-02 23:04:25 +08:00
::-webkit-scrollbar-track {
2021-10-25 23:49:03 +08:00
background-color: rgb(0 0 0 / 5%);
2020-11-02 23:04:25 +08:00
}
2020-09-28 20:19:10 +08:00
::-webkit-scrollbar-thumb {
2021-04-13 21:43:10 +08:00
// background: rgba(0, 0, 0, 0.6);
2021-10-25 23:49:03 +08:00
background-color: rgb(144 147 153 / 30%);
2021-02-26 00:15:18 +08:00
// background-color: rgba(144, 147, 153, 0.3);
border-radius: 2px;
2021-10-25 23:49:03 +08:00
box-shadow: inset 0 0 6px rgb(0 0 0 / 20%);
2020-09-28 20:19:10 +08:00
}
::-webkit-scrollbar-thumb:hover {
2021-04-13 21:43:10 +08:00
background-color: @border-color-dark;
2020-09-28 20:19:10 +08:00
}
2021-01-27 21:20:21 +08:00
// =================================
// ==============nprogress==========
// =================================
#nprogress {
pointer-events: none;
.bar {
position: fixed;
top: 0;
left: 0;
z-index: 99999;
width: 100%;
height: 2px;
background-color: @primary-color;
2021-11-10 22:12:10 +08:00
opacity: 0.75;
2021-01-27 21:20:21 +08:00
}
}