fenix-fox/content/two_column_addons.css

30 lines
943 B
CSS
Raw Normal View History

2019-03-01 16:04:55 +00:00
/* Show addons in two columns */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@-moz-document url("about:addons"){
/* Test for Firefox > 66 */
@supports (inset-block:auto){
#addon-list{
display: grid;
grid-template-areas: "a a";
grid-template-columns: 1fr 1fr;
grid-auto-rows: min-content;
}
}
/* Test for Firefox < 66 */
@supports not (inset-block:auto){
#addon-list > scrollbox > .scrollbox-innerbox{
display: grid;
grid-template-areas: "a a";
grid-template-columns: 1fr 1fr;
grid-auto-rows: min-content;
}
2019-03-01 16:04:55 +00:00
}
.control-container{ display: flex; }
.addon-control{ margin: 3px }
.addon.card{ padding-bottom: 0px !important; padding-top: 0px !important }
.addon.card > .content-container { display: flex; }
2019-03-01 16:04:55 +00:00
.content-inner-container{ flex-grow: 1; }
.content-inner-container > hbox{ display: block }
.icon{ min-width: 24px }
}