style: 滚动条样式改不动

This commit is contained in:
fit2cloud-chenyw 2021-10-11 19:10:57 +08:00
parent 4161aa6f83
commit 7167dd4e35
2 changed files with 11 additions and 7 deletions

View File

@ -360,17 +360,12 @@ div:focus {
z-index: 10000 !important;
}
/* ::-webkit-scrollbar-thumb {
width: 10px;
height: 10px;
background: #d7d9e3;
border-radius: 4px;
} */
::-webkit-scrollbar-thumb {
width: 10px;
height: 10px;
background: #38393a !important;
background: #d7d9e3;
border-radius: 4px;
}
@ -617,5 +612,9 @@ div:focus {
background-color: rgb(135 131 131 / 70%);
}
.blackTheme >>> ::-webkit-scrollbar-thumb {
background: #38393a !important;
}

View File

@ -21,6 +21,8 @@ $--color-black: #FFFFFF;
$--background-color-base: #171b22;
// 与CSS原生变量映射
#app {
--Main:#2681ff;
@ -53,6 +55,9 @@ $--background-color-base: #171b22;
--TableBorderColor: #495865;
--background-color-base: #171b22;
}