From 882bc6bd0f9621f40803fdd4db37f42f0ce09ba9 Mon Sep 17 00:00:00 2001 From: thofx Date: Sat, 12 Aug 2023 20:16:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A6=86=E7=9B=96=E9=BB=98=E8=AE=A4=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=9D=A1=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/styles.scss | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/src/styles/styles.scss b/src/styles/styles.scss index 1089fbca..c652cf57 100644 --- a/src/styles/styles.scss +++ b/src/styles/styles.scss @@ -88,11 +88,25 @@ } @media (min-width: 640px){ -.slider-title { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - font-size: 1.5rem; - line-height: 2.25rem; + .slider-title { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + font-size: 1.5rem; + line-height: 2.25rem; + } } + +// 美化滚动条 +::-webkit-scrollbar { + width: 8px; + height: 8px; +} +::-webkit-scrollbar-thumb { + border-radius: 3px; + background: rgb(var(--v-theme-perfect-scrollbar-thumb)); + -webkit-box-shadow: inset 0 0 10px rgba(0,0,0,0.2); + &:hover{ + background: #a1a1a1; + } }