Bigger border on context menu

(cherry picked from commit d4ecde3ce9)
This commit is contained in:
nathan 2024-07-17 18:10:24 +02:00 committed by milan
parent e929300072
commit c22cafbdcb
5 changed files with 18 additions and 2 deletions

View File

@ -20,6 +20,10 @@ export class EgwMenuShoelace extends LitElement
font-weight: var(--sl-font-weight-bold, bold); font-weight: var(--sl-font-weight-bold, bold);
} }
sl-menu {
box-shadow: var(--sl-shadow-x-large);
}
sl-menu-item::part(base) { sl-menu-item::part(base) {
height: 1.6em; height: 1.6em;
line-height: var(--sl-line-height-dense); line-height: var(--sl-line-height-dense);
@ -133,7 +137,8 @@ export class EgwMenuShoelace extends LitElement
handleSelect(event) handleSelect(event)
{ {
if(!this.popup) // If not open or from a sub-menu, skip
if(!this.popup || event.target !== this.menu)
{ {
return; return;
} }

View File

@ -7144,6 +7144,9 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.complex_arrow { div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.complex_arrow {
background-image: url('../../api/templates/default/images/dhxmenu_subar.svg'); background-image: url('../../api/templates/default/images/dhxmenu_subar.svg');
} }
body > .egw_menu egw-menu-shoelace {
box-shadow: 0px 0px 2px 2px var(--sl-color-neutral-500);
}
.egwGridView_scrollarea tr.row_category > td:first-child, .egwGridView_scrollarea tr.row_category > td:first-child,
.select-cat li { .select-cat li {
border-left: 4px solid transparent; border-left: 4px solid transparent;

View File

@ -7134,6 +7134,9 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.complex_arrow { div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.complex_arrow {
background-image: url('../../api/templates/default/images/dhxmenu_subar.svg'); background-image: url('../../api/templates/default/images/dhxmenu_subar.svg');
} }
body > .egw_menu egw-menu-shoelace {
box-shadow: 0px 0px 2px 2px var(--sl-color-neutral-500);
}
.egwGridView_scrollarea tr.row_category > td:first-child, .egwGridView_scrollarea tr.row_category > td:first-child,
.select-cat li { .select-cat li {
border-left: 4px solid transparent; border-left: 4px solid transparent;

View File

@ -390,7 +390,9 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.complex_arrow { div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.complex_arrow {
background-image: url('../../api/templates/default/images/dhxmenu_subar.svg'); background-image: url('../../api/templates/default/images/dhxmenu_subar.svg');
} }
body > .egw_menu egw-menu-shoelace {
box-shadow: 0px 0px 2px 2px var(--sl-color-neutral-500);
}
.egwGridView_scrollarea tr.row_category > td:first-child, .select-cat li { .egwGridView_scrollarea tr.row_category > td:first-child, .select-cat li {
border-left: 4px solid transparent; border-left: 4px solid transparent;
} }

View File

@ -6952,6 +6952,9 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.complex_arrow { div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.complex_arrow {
background-image: url('../../api/templates/default/images/dhxmenu_subar.svg'); background-image: url('../../api/templates/default/images/dhxmenu_subar.svg');
} }
body > .egw_menu egw-menu-shoelace {
box-shadow: 0px 0px 2px 2px var(--sl-color-neutral-500);
}
.egwGridView_scrollarea tr.row_category > td:first-child, .egwGridView_scrollarea tr.row_category > td:first-child,
.select-cat li { .select-cat li {
border-left: 4px solid transparent; border-left: 4px solid transparent;