mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +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;
|
||||
}
|
||||
|
||||
:is(& > .editorParamsSlider[disabled]) {
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
width: 8px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue