mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02:00
Fancy applies to dark mode too
This commit is contained in:
parent
57f8bc0a99
commit
a43ae2f8e1
@ -7200,19 +7200,22 @@ img.et2_button_icon[src*="svg"]:hover {
|
|||||||
}
|
}
|
||||||
:root,
|
:root,
|
||||||
:host,
|
:host,
|
||||||
.sl-theme-light {
|
.sl-theme-light,
|
||||||
|
.sl-theme-dark {
|
||||||
--sl-border-radius-medium: 20px;
|
--sl-border-radius-medium: 20px;
|
||||||
--sl-input-border-radius-medium: var(--sl-border-radius-medium);
|
--sl-input-border-radius-medium: var(--sl-border-radius-medium);
|
||||||
--et2-button-image-padding-left: 0.3rem;
|
--et2-button-image-padding-left: 0.3rem;
|
||||||
}
|
}
|
||||||
:root et2-tabbox,
|
:root et2-tabbox,
|
||||||
:host et2-tabbox,
|
:host et2-tabbox,
|
||||||
.sl-theme-light et2-tabbox {
|
.sl-theme-light et2-tabbox,
|
||||||
|
.sl-theme-dark et2-tabbox {
|
||||||
--track-width: 0px;
|
--track-width: 0px;
|
||||||
}
|
}
|
||||||
:root et2-tabbox et2-tab[active]::part(base),
|
:root et2-tabbox et2-tab[active]::part(base),
|
||||||
:host et2-tabbox et2-tab[active]::part(base),
|
:host et2-tabbox et2-tab[active]::part(base),
|
||||||
.sl-theme-light et2-tabbox et2-tab[active]::part(base) {
|
.sl-theme-light et2-tabbox et2-tab[active]::part(base),
|
||||||
|
.sl-theme-dark et2-tabbox et2-tab[active]::part(base) {
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
border-radius: var(--sl-border-radius-pill);
|
border-radius: var(--sl-border-radius-pill);
|
||||||
}
|
}
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
*/
|
*/
|
||||||
@import "pixelegg.less";
|
@import "pixelegg.less";
|
||||||
|
|
||||||
// overwriting pixelegg.less and Shoelace light theme
|
// overwriting pixelegg.less and Shoelace themes
|
||||||
:root, :host, .sl-theme-light {
|
:root, :host, .sl-theme-light, .sl-theme-dark {
|
||||||
--sl-border-radius-medium: 20px;
|
--sl-border-radius-medium: 20px;
|
||||||
--sl-input-border-radius-medium: var(--sl-border-radius-medium);
|
--sl-input-border-radius-medium: var(--sl-border-radius-medium);
|
||||||
--et2-button-image-padding-left: .3rem;
|
--et2-button-image-padding-left: .3rem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user