Prelim: Some more Start menu style fixes

This commit is contained in:
Rory Fewell
2023-04-18 00:00:04 +01:00
parent 1348f9199f
commit 08eef602c2
2 changed files with 61 additions and 0 deletions

View File

@@ -221,12 +221,35 @@ window.csd.xp-start-menu // Specificity hack -_-
{
@include __wintc_apply_props($start_menu_popup_menu_styles);
$l_border_bottom:
__wintc_get_prop_with_fallbacks(
"border-bottom-width",
$start_menu_popup_menu_styles,
$popup_menu_styles
);
$l_border_top:
__wintc_get_prop_with_fallbacks(
"border-top-width",
$start_menu_popup_menu_styles,
$popup_menu_styles
);
menuitem
{
@include __wintc_apply_props(
$start_menu_popup_menu_menuitem_styles
);
&:first-child
{
margin-top: $l_border_top;
}
&:last-child
{
margin-bottom: $l_border_bottom;
}
image
{
@include __wintc_apply_props(

View File

@@ -386,6 +386,44 @@ $start_menu_allprograms_menuitem_styles:
);
//
// START MENU POPUP MENU
//
$start_menu_popup_menu_styles:
wintc_define_props_borders(
$start_menu_popup_menu_styles,
false,
solid,
1,
1,
1,
6,
undefined,
url('../Resources/start_menu_item.png')
);
$start_menu_popup_menu_menuitem_styles:
wintc_define_props_box(
$start_menu_popup_menu_menuitem_styles,
false,
margin,
0,
1,
0,
6
);
$start_menu_popup_menu_menuitem_styles:
wintc_define_props_box(
$start_menu_popup_menu_menuitem_styles,
false,
padding,
3,
0,
2,
12
);
//
// START MENU PLACES COLUMN
//