mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Make all toolbar toggle button icons gray when off
This commit is contained in:
parent
929bf866cd
commit
21599f6097
@ -646,6 +646,7 @@ export class et2_toolbar extends et2_DOMWidget implements et2_IInput
|
|||||||
}, this);
|
}, this);
|
||||||
if (isCheckbox)
|
if (isCheckbox)
|
||||||
{
|
{
|
||||||
|
widget.classList.add('toolbar_toggle');
|
||||||
if (this.checkbox(action.id)) widget.classList.add('toolbar_toggled'+ (typeof action.toggledClass != 'undefined'?" "+action.toggledClass:''));
|
if (this.checkbox(action.id)) widget.classList.add('toolbar_toggled'+ (typeof action.toggledClass != 'undefined'?" "+action.toggledClass:''));
|
||||||
}
|
}
|
||||||
widget.onclick = actionHandler;
|
widget.onclick = actionHandler;
|
||||||
|
@ -3004,8 +3004,11 @@ et2-button.transparent-button::part(container) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.et2_toolbar et2-button.toolbar_toggled::part(base), .et2_searchbox button.et2_button.toolbar_toggled {
|
.et2_toolbar et2-button.toolbar_toggled::part(base), .et2_searchbox button.et2_button.toolbar_toggled {
|
||||||
background-color: lightgray;
|
box-shadow: inset 1px 1px 1px 1px gray !important;
|
||||||
box-shadow: inset 1px 1px 1px 1px gray !important;
|
}
|
||||||
|
|
||||||
|
.et2_toolbar et2-button.toolbar_toggle:not(.toolbar_toggled) img {
|
||||||
|
filter: brightness(0) contrast(0.3) opacity(0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-toolbar-menulist et2-button.toolbar_toggled::part(base) {
|
.ui-toolbar-menulist et2-button.toolbar_toggled::part(base) {
|
||||||
|
Loading…
Reference in New Issue
Block a user