From e1cc0c1aabcd308e7918d14d14873bfa4a235eea Mon Sep 17 00:00:00 2001 From: gaosp <gaosp> Date: 星期二, 12 三月 2024 17:32:52 +0800 Subject: [PATCH] update --- src/styles/index.scss | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/src/styles/index.scss b/src/styles/index.scss index 41743f9..782aeb4 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -204,4 +204,22 @@ transform: translateY(-50%); background: #4DC3FF; } - +::-webkit-scrollbar { + width: 10px; /*瀵瑰瀭鐩存祦鍔ㄦ潯鏈夋晥*/ + height: 10px; /*瀵规按骞虫祦鍔ㄦ潯鏈夋晥*/ + } + + /*瀹氫箟婊氬姩鏉$殑杞ㄩ亾棰滆壊銆佸唴闃村奖鍙婂渾瑙�*/ + ::-webkit-scrollbar-track{ + -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); + background-color: #413f4f; + border-radius: 3px; + } + + + /*瀹氫箟婊戝潡棰滆壊銆佸唴闃村奖鍙婂渾瑙�*/ + ::-webkit-scrollbar-thumb{ + border-radius: 7px; + -webkit-box-shadow: inset 0 0 6px rgba(21,20,20,.3); + background-color: #f9f9f9; + } -- Gitblit v1.9.3