调整ColorPicker的Range输入组件的默认样式。
This commit is contained in:
		| @@ -347,4 +347,42 @@ | |||||||
|       } |       } | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  |   /* 颜色选择器滑杆 */ | ||||||
|  |   input[type='range'].picker { | ||||||
|  |     -webkit-appearance: none; | ||||||
|  |     width: 100%; | ||||||
|  |     height: 1em; | ||||||
|  |     background: transparent; | ||||||
|  |     &::-webkit-slider-thumb { | ||||||
|  |       -webkit-appearance: none; | ||||||
|  |       appearance: none; | ||||||
|  |       width: 1em; | ||||||
|  |       height: 1em; | ||||||
|  |       background: oklch(from var(--color-primary) l c h / 70%); | ||||||
|  |       border-radius: var(--border-radius-xxs); | ||||||
|  |       cursor: pointer; | ||||||
|  |     } | ||||||
|  |     &::-moz-range-thumb { | ||||||
|  |       width: 1em; | ||||||
|  |       height: 1em; | ||||||
|  |       background: oklch(from var(--color-primary) l c h / 70%); | ||||||
|  |       border-radius: var(--border-radius-xxs); | ||||||
|  |       cursor: pointer; | ||||||
|  |     } | ||||||
|  |     &::-webkit-slider-runnable-track { | ||||||
|  |       width: 100%; | ||||||
|  |       height: 1em; | ||||||
|  |       cursor: pointer; | ||||||
|  |       background: transparent; | ||||||
|  |       border-radius: var(--border-radius-xxs); | ||||||
|  |     } | ||||||
|  |     &::-moz-range-track { | ||||||
|  |       width: 100%; | ||||||
|  |       height: 1em; | ||||||
|  |       cursor: pointer; | ||||||
|  |       background: transparent; | ||||||
|  |       border-radius: var(--border-radius-xxs); | ||||||
|  |     } | ||||||
|  |   } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user