mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Merge pull request #17761 from Snuffleupagus/thicknessPicker-disabled
[Editor] Indicate if the highlight-thickness slider is disabled
This commit is contained in:
commit
dd3adc84db
1 changed files with 9 additions and 10 deletions
|
@ -1188,7 +1188,12 @@
|
|||
--example-color: CanvasText;
|
||||
}
|
||||
|
||||
&::before {
|
||||
:is(& > .editorParamsSlider[disabled]) {
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
content: "";
|
||||
width: 8px;
|
||||
aspect-ratio: 1;
|
||||
|
@ -1196,20 +1201,14 @@
|
|||
border-radius: 100%;
|
||||
background-color: var(--example-color);
|
||||
}
|
||||
&::after {
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
.editorParamsSlider {
|
||||
width: unset;
|
||||
height: 14px;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
width: 24px;
|
||||
aspect-ratio: 1;
|
||||
display: block;
|
||||
border-radius: 100%;
|
||||
background-color: var(--example-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue