Spacing in context menus for Windows Fix #24

This commit is contained in:
overdodactyl 2017-12-12 13:22:39 -07:00
parent cb32d126c0
commit ab3166bc91
2 changed files with 50 additions and 38 deletions

View File

@ -41,26 +41,20 @@ menupopup menu:hover, menuitem:hover {
} }
/* Sidebar Header Context Menue */ /* Sidebar Header Context Menu */
.panel-arrowcontent { .panel-arrowcontent {
color: var(--grey-10) !important; color: var(--grey-10) !important;
background: var(--grey-60) !important; background: var(--grey-60) !important;
} }
/* The following snippets are designed to fix promblems
* only noticed on Windows computers. Thank you to u/markdarkness!
* for helping me with these issues. */
/* Remove white separators between menu items */ /* Windows Specific Changes */
menupopup menuseparator { @media screen and (-moz-windows-theme) {
-moz-appearance:none !important;
background: rgba(0, 0, 0, 0) !important;
border: 0px !important;
}
/* Increase height between menu items */ /* Increase height between menu items */
menupopup menu, menuitem { menupopup menu, menuitem {
padding-top: .5px !important; padding-top: 5px !important;
padding-bottom: 5px !important;
} }
/* Removes white bar between icons and menu items */ /* Removes white bar between icons and menu items */
@ -68,6 +62,21 @@ menupopup menu, menuitem {
padding: 0px !important; padding: 0px !important;
} }
/* Remove white separators between menu items */
menupopup menuseparator {
-moz-appearance: none !important;
background: rgba(0, 0, 0, 0) !important;
/* If you want to see the separators, use this instead */
/* background: var(--primary-light-color) !important; */
border: 0px !important;
}
}

View File

@ -233,30 +233,22 @@ menuitem:hover {
background-color: var(--grey-80) !important; background-color: var(--grey-80) !important;
} }
/* Sidebar Header Context Menue */ /* Sidebar Header Context Menu */
.panel-arrowcontent { .panel-arrowcontent {
color: var(--grey-10) !important; color: var(--grey-10) !important;
background: var(--grey-60) !important; background: var(--grey-60) !important;
} }
/* The following snippets are designed to fix promblems /* Windows Specific Changes */
* only noticed on Windows computers. Thank you to u/markdarkness!
* for helping me with these issues. */
/* Remove white separators between menu items */
menupopup menuseparator {
-moz-appearance: none !important;
background: rgba(0, 0, 0, 0) !important;
border: 0px !important;
}
@media screen and (-moz-windows-theme) {
/* Increase height between menu items */ /* Increase height between menu items */
menupopup menu, menupopup menu,
menuitem { menuitem {
padding-top: .5px !important; padding-top: 5px !important;
padding-bottom: 5px !important;
} }
/* Removes white bar between icons and menu items */ /* Removes white bar between icons and menu items */
@ -265,6 +257,17 @@ menuitem {
#context-sep-navigation { #context-sep-navigation {
padding: 0px !important; padding: 0px !important;
} }
/* Remove white separators between menu items */
menupopup menuseparator {
-moz-appearance: none !important;
background: rgba(0, 0, 0, 0) !important;
/* If you want to see the separators, use this instead */
/* background: var(--primary-light-color) !important; */
border: 0px !important;
}
}
#customization-done-button { #customization-done-button {
color: var(--primary-light-color); color: var(--primary-light-color);
font-weight: 700; font-weight: 700;