mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-07 01:08:49 +01:00
This commit is contained in:
parent
ab5bb7d56c
commit
7728e937bf
2 changed files with 30 additions and 4 deletions
|
|
@ -5,15 +5,19 @@
|
|||
background-color: transparent;
|
||||
padding: 0 4px;
|
||||
|
||||
&::-webkit-slider-runnable-track,
|
||||
&::-webkit-slider-runnable-track {
|
||||
-webkit-appearance: none;
|
||||
height: 2px;
|
||||
background-color: var(--b3-theme-primary-lighter);
|
||||
}
|
||||
|
||||
&::-moz-range-track {
|
||||
-webkit-appearance: none;
|
||||
height: 2px;
|
||||
background-color: var(--b3-theme-primary-lighter);
|
||||
}
|
||||
|
||||
&::-webkit-slider-thumb,
|
||||
&::-moz-range-thumb {
|
||||
&::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
|
|
@ -25,11 +29,27 @@
|
|||
transition: transform 100ms ease-out;
|
||||
}
|
||||
|
||||
&::-moz-range-thumb {
|
||||
-webkit-appearance: none;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: var(--b3-border-radius-b);
|
||||
cursor: pointer;
|
||||
background-color: var(--b3-theme-primary);
|
||||
margin-top: -4px;
|
||||
box-shadow: var(--b3-point-shadow);
|
||||
transition: transform 100ms ease-out;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
&:focus,
|
||||
&:hover {
|
||||
outline: none;
|
||||
|
||||
&::-webkit-slider-thumb,
|
||||
&::-webkit-slider-thumb {
|
||||
transform: scale(1.5);
|
||||
}
|
||||
|
||||
&::-moz-range-thumb {
|
||||
transform: scale(1.5);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,6 +61,12 @@
|
|||
background-color: var(--b3-border-color);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&::-moz-range-track,
|
||||
&::-moz-range-thumb {
|
||||
background-color: var(--b3-border-color);
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue