Menu style fixes

- Remove heavy border, thicken shadow on context menu
- Update Shoelace to 2.16.0, fixes checkboxes on submenus
This commit is contained in:
nathan 2024-08-06 13:23:35 -06:00
parent 5cfc165f1d
commit 8416c435a7
6 changed files with 10 additions and 13 deletions

9
package-lock.json generated
View File

@ -11,7 +11,7 @@
"dependencies": {
"@bundled-es-modules/pdfjs-dist": "^2.5.207-rc1",
"@rollup/plugin-commonjs": "^24.0.1",
"@shoelace-style/shoelace": "2.15.1",
"@shoelace-style/shoelace": "2.16.0",
"@types/jquery": "^3.5.29",
"blueimp-gallery": "^3.4.0",
"bootstrap-icons": "^1.11.3",
@ -3719,9 +3719,10 @@
"integrity": "sha512-Hf45HeO+vdQblabpyZOTxJ4ZeZsmIUYXXPmoYrrR4OJ5OKxL+bhMz5mK8JXgl7HsoEowfz7+e248UGi861de9Q=="
},
"node_modules/@shoelace-style/shoelace": {
"version": "2.15.1",
"resolved": "https://registry.npmjs.org/@shoelace-style/shoelace/-/shoelace-2.15.1.tgz",
"integrity": "sha512-3ecUw8gRwOtcZQ8kWWkjk4FTfObYQ/XIl3aRhxprESoOYV1cYhloYPsmQY38UoL3+pwJiZb5+LzX0l3u3Zl0GA==",
"version": "2.16.0",
"resolved": "https://registry.npmjs.org/@shoelace-style/shoelace/-/shoelace-2.16.0.tgz",
"integrity": "sha512-OV4XYAAZv0OfOR4RlpxCYOn7pH8ETIL8Pkh5hFvIrL+BN4/vlBLoeESYDU2tB/f9iichu4cfwdPquJITmKdY1w==",
"license": "MIT",
"dependencies": {
"@ctrl/tinycolor": "^4.0.2",
"@floating-ui/dom": "^1.5.3",

View File

@ -82,7 +82,7 @@
"dependencies": {
"@bundled-es-modules/pdfjs-dist": "^2.5.207-rc1",
"@rollup/plugin-commonjs": "^24.0.1",
"@shoelace-style/shoelace": "2.15.1",
"@shoelace-style/shoelace": "2.16.0",
"@types/jquery": "^3.5.29",
"blueimp-gallery": "^3.4.0",
"bootstrap-icons": "^1.11.3",

View File

@ -7142,8 +7142,7 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.co
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);
--sl-shadow-x-large: 0 4px 16px hsla(240, 3.8%, 46.1%, 0.3);
--sl-shadow-x-large: 0 4px 16px hsla(240, 3.8%, 46.1%, 0.6);
}
.egwGridView_scrollarea tr.row_category > td:first-child,
.select-cat li {

View File

@ -7132,8 +7132,7 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.co
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);
--sl-shadow-x-large: 0 4px 16px hsla(240, 3.8%, 46.1%, 0.3);
--sl-shadow-x-large: 0 4px 16px hsla(240, 3.8%, 46.1%, 0.6);
}
.egwGridView_scrollarea tr.row_category > td:first-child,
.select-cat li {

View File

@ -391,8 +391,7 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.co
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);
--sl-shadow-x-large: 0 4px 16px hsl(240 3.8% 46.1% / 30%);
--sl-shadow-x-large: 0 4px 16px hsl(240 3.8% 46.1% / 60%);
}
.egwGridView_scrollarea tr.row_category > td:first-child, .select-cat li {
border-left: 4px solid transparent;

View File

@ -6950,8 +6950,7 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.co
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);
--sl-shadow-x-large: 0 4px 16px hsla(240, 3.8%, 46.1%, 0.3);
--sl-shadow-x-large: 0 4px 16px hsla(240, 3.8%, 46.1%, 0.6);
}
.egwGridView_scrollarea tr.row_category > td:first-child,
.select-cat li {