Calendar: Fix toolbar integration buttons could only register click on the top half of the button

This commit is contained in:
nathan 2023-02-15 15:10:24 -07:00
parent 8d58eefc0a
commit 35efc6bc43

View File

@ -2889,13 +2889,26 @@ div.et2_toolbar.ui-widget-header {
margin-right: 1ex;
min-width: 32px;
}
.et2_toolbar .ui-toolbar-menulist > *:hover{
/* Make toolbar switches clickable everywhere, not just the top half */
.et2_toolbar .et2_toolbar_actionlist et2-switch::part(base) {
height: 100%;
}
.et2_toolbar .ui-toolbar-menulist > *:hover {
outline: none;
background-color: var(--sl-color-primary-600);
color: var(--sl-color-neutral-0);
}
.et2_toolbar .ui-toolbar-menulist > *:hover::part(prefix) {filter:invert(1) brightness(5);}
.et2_toolbar .ui-toolbar-menulist > *:hover::part(label){color: var(--sl-color-neutral-0);}
.et2_toolbar .ui-toolbar-menulist > *:hover::part(prefix) {
filter: invert(1) brightness(5);
}
.et2_toolbar .ui-toolbar-menulist > *:hover::part(label) {
color: var(--sl-color-neutral-0);
}
.nextmatch_header_row et2-button::part(container) {
height: 18px;
}