We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88c71d7 commit ccd4024Copy full SHA for ccd4024
1 file changed
src/main/resources/META-INF/resources/frontend/fc-toggle-button.js
@@ -362,12 +362,22 @@ class ToggleButton extends LitElement {
362
}
363
364
:host([readonly]) .slider {
365
- top: 1px;
366
- left: 1px;
+ top: 2px;
+ left: 2px;
367
box-shadow: none;
368
background-color: var(--lumo-contrast-40pct, var(--vaadin-background-container-strong));
369
370
371
+ :host([readonly][theme~="small"]) .slider {
372
+ top: 1px;
373
+ left: 1px;
374
+ }
375
+
376
+ :host([readonly][theme~="large"]) .slider {
377
+ top: 3px;
378
+ left: 3px;
379
380
381
/* Readonly + checked + color variant: desaturated variant tint on the border. */
382
:host([theme~="primary"][checked][readonly]) .switch {
383
background-color: transparent;
0 commit comments