update compact_addons_manager.css to work in Fx99
This commit is contained in:
parent
db4d9f86c5
commit
cd53cad31c
1 changed files with 44 additions and 8 deletions
|
@ -22,14 +22,42 @@ See the above repository for updates as well as full license text. */
|
||||||
|
|
||||||
addon-card .card-contents{ width: unset !important; white-space: initial !important; }
|
addon-card .card-contents{ width: unset !important; white-space: initial !important; }
|
||||||
|
|
||||||
.card-heading-image{ max-width: calc(100% + 32px) }
|
addon-list[type="extension"] .addon-name-container{
|
||||||
|
display: grid !important;
|
||||||
|
grid-template-areas: "name opt" "name toggle" "name badge";
|
||||||
|
grid-row-gap: 6px;
|
||||||
|
grid-auto-columns: 1fr 24px;
|
||||||
|
}
|
||||||
|
.addon-icon{ align-self: center }
|
||||||
|
.addon-name-container > .addon-name{ grid-area: name }
|
||||||
|
.addon-name-container > .toggle-button{ grid-area: toggle }
|
||||||
|
.addon-name-container > .more-options-button{ grid-area: opt }
|
||||||
|
.addon-name-container > .addon-badge{ grid-area: badge }
|
||||||
|
|
||||||
|
addon-list[type="extension"] .more-options-button{
|
||||||
|
margin-inline: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-heading-image{
|
||||||
|
max-width: calc(100% + 32px);
|
||||||
|
object-position: left;
|
||||||
|
}
|
||||||
|
|
||||||
section > h2{ grid-area: hd }
|
section > h2{ grid-area: hd }
|
||||||
addon-card{
|
addon-card{
|
||||||
padding-bottom: 0px !important;
|
padding-bottom: 0px !important;
|
||||||
padding-top: 0px !important;
|
padding-top: 0px !important;
|
||||||
grid-area: auto;
|
grid-area: auto;
|
||||||
}
|
}
|
||||||
addon-card .addon-description{ max-height: 3em; scrollbar-width: thin; }
|
|
||||||
|
addon-card .addon-description{
|
||||||
|
max-height: 3em;
|
||||||
|
scrollbar-width: thin;
|
||||||
|
}
|
||||||
|
|
||||||
|
addon-list[type="theme"] addon-card{
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width:640px){
|
@media (min-width:640px){
|
||||||
|
@ -45,6 +73,9 @@ See the above repository for updates as well as full license text. */
|
||||||
addon-list[type="extension"] > section{ grid-template-areas: "hd hd hd hd hd hd" "cd cd cd cd cd cd"; }
|
addon-list[type="extension"] > section{ grid-template-areas: "hd hd hd hd hd hd" "cd cd cd cd cd cd"; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Note: addon-card verified and recommended badges are hidden here. They should remain visible in the "manage" addon page though. */
|
||||||
|
addon-card:not([expanded]) .addon-badge-verified,
|
||||||
|
addon-card:not([expanded]) .addon-badge-recommended,
|
||||||
addon-card:not([expanded]) .addon-description,
|
addon-card:not([expanded]) .addon-description,
|
||||||
addon-card:not([expanded]) .addon-card-message button[action]{ display: none !important; }
|
addon-card:not([expanded]) .addon-card-message button[action]{ display: none !important; }
|
||||||
|
|
||||||
|
@ -53,8 +84,13 @@ See the above repository for updates as well as full license text. */
|
||||||
}
|
}
|
||||||
|
|
||||||
@-moz-document url-prefix("about:addons"){
|
@-moz-document url-prefix("about:addons"){
|
||||||
#categories{ width: 60px !important; }
|
:root{ --sidebar-width: 60px !important; }
|
||||||
#categories > richlistitem{ margin-left: 20px !important; -moz-box-pack: center }
|
#categories{ width: var(--sidebar-width) !important; }
|
||||||
.sidebar-footer-label,
|
#categories > .category{
|
||||||
#category-box richlistitem > label{ display: none }
|
margin-left: 10px !important;
|
||||||
|
-moz-box-pack: center;
|
||||||
|
}
|
||||||
|
.sidebar-footer-list{ margin-left: 18px !important; }
|
||||||
|
.sidebar-footer-label,
|
||||||
|
.category > .category-name{ display: none }
|
||||||
}
|
}
|
Loading…
Reference in a new issue