mirror of
				https://github.com/continew-org/continew-admin-ui.git
				synced 2025-10-31 10:57:10 +08:00 
			
		
		
		
	revert: 还原滚动条样式
This commit is contained in:
		| @@ -4,6 +4,9 @@ | ||||
| // 全局类名样式 | ||||
| @import './global.scss'; | ||||
|  | ||||
| // 自定义原生滚动条样式 | ||||
| @import './scrollbar-reset.scss'; | ||||
|  | ||||
| // 自定义 nprogress 插件进度条颜色 | ||||
| @import './nprogress.scss'; | ||||
|  | ||||
|   | ||||
							
								
								
									
										22
									
								
								src/styles/scrollbar-reset.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								src/styles/scrollbar-reset.scss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| /* 美化滚动条 */ | ||||
| ::-webkit-scrollbar { | ||||
|   width: 6px; | ||||
|   height: 6px; | ||||
| } | ||||
|  | ||||
| ::-webkit-scrollbar-thumb { | ||||
|   width: 6px; | ||||
|   border-radius: 6px; | ||||
|   background-color: var(--color-neutral-3); | ||||
| } | ||||
|  | ||||
| ::-webkit-scrollbar-thumb:hover { | ||||
|   width: 6px; | ||||
|   background-color: var(--color-neutral-4); | ||||
| } | ||||
|  | ||||
| ::-ms-scrollbar-thumb { | ||||
|   width: 6px; | ||||
|   border-radius: 6px; | ||||
|   background-color: var(--color-neutral-3); | ||||
| } | ||||
		Reference in New Issue
	
	Block a user