Get contextmenu and toolbar menulist closer to shoelace menu styling

This commit is contained in:
Hadi Nategh 2022-08-17 15:32:53 +02:00
parent 98aac39047
commit 3f461d0074
3 changed files with 20 additions and 3 deletions

View File

@ -3140,10 +3140,20 @@ et2-button.transparent-button::part(container) {
.et2_toolbar_actionlist et2-button.et2_toolbar_hasCaption {
width:auto;
}
.ui-toolbar-menulist et2-button::part(label) {
font-size: 11px;
}
.ui-toolbar-menulist et2-button::part(base) {
border: none;
margin: 0.3em;
background-color: transparent;
line-height: var(--sl-line-height-normal);
padding: var(--sl-spacing-2x-small) var(--sl-spacing-2x-small);
margin: 2px 8px 2px;
}
.ui-toolbar-menulist et2-dropdown-button::part(base)
{
border: none;
border-radius: 0;
}
.ui-toolbar-menulist > button {
margin: 0 !important;

View File

@ -3171,9 +3171,12 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub
color: #373f3f;
}
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub_item_selected {
background-color: rgba(153, 204, 255, 0.4) !important;
background-color: hsl(200, 98%, 39%) !important;
background-image: none !important;
}
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub_item_selected div.sub_item_text {
color: hsl(0, 0%, 100%);
}
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.sub_sep {
border-top: 1px solid #E6E6E6;
}

View File

@ -30,11 +30,15 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon{
td.sub_item_icon {
}
background-color: @color_hover_row !important;
background-color: hsl(200deg 98% 39%) !important;
background-image: none !important;
div.sub_item_text {
color: hsl(0deg 0% 100%);
}
}
div.sub_sep {
border-top: 1px solid #E6E6E6;
}
}
}