mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 15:33:23 +01:00
Change Et2SwitchIcon style in toolbar
This commit is contained in:
parent
405fe13242
commit
c2f3203c68
@ -64,11 +64,18 @@ export class Et2SwitchIcon extends Et2InputWidget(LitElement)
|
||||
color: var(--sl-color-neutral-400);
|
||||
}
|
||||
|
||||
sl-switch {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
sl-switch[checked] slot[name="on"], sl-switch:not([checked]) slot[name="off"] {
|
||||
color: var(--indicator-color, inherit);
|
||||
}
|
||||
|
||||
sl-switch::part(label) {
|
||||
sl-switch::part(label), sl-switch::part(form-control) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-inline-start: 0px;
|
||||
}
|
||||
|
||||
|
@ -2619,8 +2619,12 @@ table.egwGridView_outer thead tr th.noResize:hover {
|
||||
}
|
||||
|
||||
.et2_toolbar et2-switch-icon {
|
||||
font-size: 2.4em;
|
||||
height: 1em;
|
||||
font-size: 20px;
|
||||
border-radius: var(--sl-border-radius-medium);
|
||||
border-color: var(--sl-input-border-color);
|
||||
border-width: var(--sl-input-border-width);
|
||||
border-style: solid;
|
||||
padding: 0px var(--sl-spacing-medium);
|
||||
}
|
||||
|
||||
.et2_toolbar et2-switch-icon::part(form-control-label) {
|
||||
@ -2630,10 +2634,10 @@ table.egwGridView_outer thead tr th.noResize:hover {
|
||||
}
|
||||
|
||||
.et2_toolbar et2-switch-icon::part(switch-label) {
|
||||
top: calc(-1.1 * var(--sl-spacing-medium));
|
||||
top: calc(-0.3 * var(--sl-spacing-medium));
|
||||
}
|
||||
|
||||
et2-switch-icon:hover:not([disabled])::part(control) {
|
||||
et2-switch-icon:hover:not([disabled]), et2-switch-icon:hover:not([disabled])::part(control) {
|
||||
background-color: var(--sl-color-gray-150);
|
||||
border-color: var(--sl-input-border-color-hover);
|
||||
color: var(--sl-input-color-hover);
|
||||
|
Loading…
Reference in New Issue
Block a user