|
@@ -1,7 +1,39 @@
|
|
@import './index.scss';
|
|
@import './index.scss';
|
|
|
|
|
|
|
|
+// 滚动条的宽度
|
|
|
|
+::-webkit-scrollbar {
|
|
|
|
+ width : 2px !important;
|
|
|
|
+ height: 2px !important;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+::-webkit-scrollbar-track-piece {
|
|
|
|
+ background-color: var(--next-bg-main-color);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// 滚动条的设置
|
|
|
|
+::-webkit-scrollbar-thumb {
|
|
|
|
+ background-color: rgba(144, 147, 153, 0.3);
|
|
|
|
+ background-clip : padding-box;
|
|
|
|
+ min-height : 28px;
|
|
|
|
+ border-radius : 5px;
|
|
|
|
+ transition : 0.3s background-color;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+::-webkit-scrollbar-thumb:hover {
|
|
|
|
+ background-color: rgba(144, 147, 153, 0.5);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// element plus scrollbar
|
|
|
|
+.el-scrollbar__bar.is-vertical {
|
|
|
|
+ width: 8px !important;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.el-scrollbar__bar.is-horizontal {
|
|
|
|
+ height: 8px !important;
|
|
|
|
+}
|
|
|
|
+
|
|
/* 页面宽度小于768px
|
|
/* 页面宽度小于768px
|
|
-------------------------------- */
|
|
|
|
|
|
+-------------------------------
|
|
@media screen and (max-width: $sm) {
|
|
@media screen and (max-width: $sm) {
|
|
// 滚动条的宽度
|
|
// 滚动条的宽度
|
|
::-webkit-scrollbar {
|
|
::-webkit-scrollbar {
|
|
@@ -31,8 +63,10 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+*/
|
|
|
|
+
|
|
/* 页面宽度大于768px
|
|
/* 页面宽度大于768px
|
|
-------------------------------- */
|
|
|
|
|
|
+-------------------------------
|
|
@media screen and (min-width: 769px) {
|
|
@media screen and (min-width: 769px) {
|
|
// 滚动条的宽度
|
|
// 滚动条的宽度
|
|
::-webkit-scrollbar {
|
|
::-webkit-scrollbar {
|
|
@@ -54,3 +88,4 @@
|
|
background-color: rgba(144, 147, 153, 0.5);
|
|
background-color: rgba(144, 147, 153, 0.5);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ */
|