From 351480c2cc022c886429192fc2893e3fc2c9877f Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 07 九月 2023 12:06:25 +0800 Subject: [PATCH] 修改滚动条样式 开始生产增加 loading状态 --- src/assets/style/public.scss | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/src/assets/style/public.scss b/src/assets/style/public.scss index ac73bac..fcc97b9 100644 --- a/src/assets/style/public.scss +++ b/src/assets/style/public.scss @@ -42,3 +42,37 @@ font-size: 14px; position: relative; } +/*瀹氫箟婊氬姩鏉¢珮瀹藉強鑳屾櫙 楂樺鍒嗗埆瀵瑰簲妯珫婊氬姩鏉$殑灏哄*/ +::-webkit-scrollbar { + width: 10px; + /*婊氬姩鏉″搴�*/ + height: 10px; + border-radius: 8px; + /*婊氬姩鏉¢珮搴�*/ + -webkit-appearance:none; + background-color:#f2f2f22a; +} + +/*瀹氫箟婊氬姩鏉¤建閬� 鍐呴槾褰�+鍦嗚*/ +::-webkit-scrollbar-track { + /*婊氬姩鏉$殑鑳屾櫙鍖哄煙鐨勫唴闃村奖*/ + /*box-shadow:0px 1px 3px rgba(0,0,0,0.3) inset;*/ + + /*婊氬姩鏉$殑鑳屾櫙鍖哄煙鐨勫渾瑙�*/ + border-radius: 8px; + + /*婊氬姩鏉$殑鑳屾櫙棰滆壊*/ + background-color: #f2f2f22a; +} + +/*瀹氫箟婊戝潡 鍐呴槾褰�+鍦嗚*/ +::-webkit-scrollbar-thumb { + /*婊氬姩鏉$殑鍐呴槾褰�*/ + /*box-shadow:0px 1px 3px rgba(0,0,0,0.1) inset;*/ + + /*婊氬姩鏉$殑鍦嗚*/ + border-radius: 8px; + + /*婊氬姩鏉$殑鑳屾櫙棰滆壊*/ + background-color:#939393; +} -- Gitblit v1.8.0