Exclude global more-options panel from changes

This commit is contained in:
MrOtherGuy 2019-11-07 00:11:31 +02:00
parent a5a3e869e7
commit 21eabcfc38

View file

@ -1,5 +1,7 @@
/* Show addon management buttons without opening popup */
/* Show addon management buttons without opening popup */
@-moz-document url-prefix("chrome://mozapps/content/extensions/aboutaddons.html"){
.addon-card-message{ margin-bottom: 0px !important; margin-top: 0px !important; }
@ -14,7 +16,7 @@
addon-options > panel-list{
position: static !important;
display: block !important;
display: flex !important;
padding: 0 !important;
margin: 0px calc(0px - var(--card-padding)) !important;
backdrop-filter: none !important; /* Having a backdrop-filter leads to some unexpected layering issues */
@ -26,23 +28,23 @@
.more-options-menu>.more-options-button,
panel-item[action="expand"]{ display: none !important }
div.list{ display: flex !important; flex-direction: row !important; }
div.list{ display: inherit !important; flex-direction: row !important; }
panel-item[action="toggle-disabled"]{ --icon: url("chrome://browser/skin/quit.svg") }
panel-item[action="preferences"]{ --icon: url("chrome://browser/skin/settings.svg") }
/* Uncomment these if you want to hide button label - such as with compact_addons_manager */
/* This is basically a requirement with compact_addons_manager.css because the button text causes the cards to overflow */
/*
button[role="menuitem"] > slot{ display: none !important; }
link+button[role="menuitem"]{
padding: 4px !important;
position: static !important;
width: 30px !important;
height: 30px !important;
background-position: 50% !important;
min-width: 30px;
padding-inline-end: 4px !important;
}
button[role="menuitem"] > label,
button[role="menuitem"] > label:not([accesskey]),
link+button::after{ display: none !important; }
*/
}