mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
[Editor] Indicate if the highlight-thickness slider is disabled
The fact that the highlight-thickness can only be changed in "free" mode isn't really obvious visually in the toolbar, so attempt to provide at least some indication of the `disabled`-state by "dimming" the slider.
This commit is contained in:
parent
29c493d36b
commit
c7e7122e25
1 changed files with 4 additions and 0 deletions
|
@ -1188,6 +1188,10 @@
|
||||||
--example-color: CanvasText;
|
--example-color: CanvasText;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:is(& > .editorParamsSlider[disabled]) {
|
||||||
|
opacity: 0.4;
|
||||||
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: "";
|
content: "";
|
||||||
width: 8px;
|
width: 8px;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue