Merge pull request #17761 from Snuffleupagus/thicknessPicker-disabled

[Editor] Indicate if the highlight-thickness slider is disabled
This commit is contained in:
Jonas Jenwald 2024-03-01 17:01:05 +01:00 committed by GitHub
commit dd3adc84db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1188,7 +1188,12 @@
--example-color: CanvasText; --example-color: CanvasText;
} }
&::before { :is(& > .editorParamsSlider[disabled]) {
opacity: 0.4;
}
&::before,
&::after {
content: ""; content: "";
width: 8px; width: 8px;
aspect-ratio: 1; aspect-ratio: 1;
@ -1196,20 +1201,14 @@
border-radius: 100%; border-radius: 100%;
background-color: var(--example-color); background-color: var(--example-color);
} }
&::after {
width: 24px;
}
.editorParamsSlider { .editorParamsSlider {
width: unset; width: unset;
height: 14px; height: 14px;
} }
&::after {
content: "";
width: 24px;
aspect-ratio: 1;
display: block;
border-radius: 100%;
background-color: var(--example-color);
}
} }
} }
} }