mobile-config-firefox/content/addon_manage_buttons_without_popup.css

51 lines
2 KiB
CSS
Raw Normal View History

2019-09-04 08:59:50 +00:00
/* Show addon management buttons without opening popup */
/* Show addon management buttons without opening popup */
2019-09-04 08:59:50 +00:00
@-moz-document url-prefix("chrome://mozapps/content/extensions/aboutaddons.html"){
.addon-card-message{ margin-bottom: 0px !important; margin-top: 0px !important; }
.card.addon{ padding-bottom: 0px !important; }
2019-11-05 08:03:02 +00:00
addon-card .addon-card-collapsed{ display: grid !important; grid-template-areas: "ic con" "op op"; grid-template-columns: 48px auto }
addon-card .card-contents{ width: initial !important; white-space: initial !important; }
2019-09-04 08:59:50 +00:00
.more-options-menu{ position: static !important; grid-area: op; margin: 0 !important; }
.card-contents{ grid-area: con }
.card-heading-icon{ grid-area: ic }
addon-options > panel-list{
position: static !important;
display: flex !important;
2019-09-04 08:59:50 +00:00
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 */
2019-09-04 08:59:50 +00:00
}
2019-11-06 11:55:39 +00:00
button[role="menuitem"]{ padding-inline-start: 30px !important; background-position-x: 8px !important; }
2019-09-04 08:59:50 +00:00
.arrow,
2019-11-06 11:55:39 +00:00
.more-options-menu>.more-options-button,
2019-11-05 08:03:02 +00:00
panel-item[action="expand"]{ display: none !important }
2019-09-04 08:59:50 +00:00
div.list{ display: inherit !important; flex-direction: row !important; }
2019-09-04 08:59:50 +00:00
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 */
2019-09-04 08:59:50 +00:00
/*
2019-11-06 11:55:39 +00:00
button[role="menuitem"] > slot{ display: none !important; }
link+button[role="menuitem"]{
2019-09-04 08:59:50 +00:00
position: static !important;
height: 30px !important;
min-width: 30px;
padding-inline-end: 4px !important;
2019-09-04 08:59:50 +00:00
}
button[role="menuitem"] > label:not([accesskey]),
2019-09-04 08:59:50 +00:00
link+button::after{ display: none !important; }
*/
2019-11-06 11:55:39 +00:00
}