mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-30 20:25:17 +01:00
35 lines
738 B
SCSS
35 lines
738 B
SCSS
.b3-slider {
|
|
-webkit-appearance: none;
|
|
border-radius: 2px;
|
|
height: 16px;
|
|
background-color: transparent;
|
|
padding: 0 4px;
|
|
|
|
&::-webkit-slider-runnable-track {
|
|
-webkit-appearance: none;
|
|
height: 2px;
|
|
background-color: var(--b3-theme-primary-lighter);
|
|
}
|
|
|
|
&::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
background-color: var(--b3-theme-primary);
|
|
margin-top: -4px;
|
|
box-shadow: var(--b3-point-shadow);
|
|
border: 1px solid var(--b3-theme-surface-lighter);
|
|
transition: transform 100ms ease-out;
|
|
}
|
|
|
|
&:focus,
|
|
&:hover {
|
|
outline: none;
|
|
|
|
&::-webkit-slider-thumb {
|
|
transform: scale(1.5);
|
|
}
|
|
}
|
|
}
|