2020-05-22 05:13:58 +00:00
|
|
|
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/content/two_column_addons.css made available under Mozilla Public License v. 2.0
|
|
|
|
See the above repository for updates as well as full license text. */
|
|
|
|
|
2019-03-01 16:04:55 +00:00
|
|
|
/* Show addons in two columns */
|
|
|
|
|
2019-07-10 08:37:28 +00:00
|
|
|
/* This doesn't work for new html addons page available in Firefox 68 - use two_column_html_addons.css instead */
|
|
|
|
|
2019-03-01 16:04:55 +00:00
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
@-moz-document url("about:addons"){
|
2019-04-06 12:35:27 +00:00
|
|
|
#list-view{ overflow: auto }
|
2020-05-22 06:07:26 +00:00
|
|
|
/* Test for Firefox > 66 */
|
2019-04-07 09:50:24 +00:00
|
|
|
@supports (inset-block:auto){
|
2019-03-01 19:51:26 +00:00
|
|
|
#addon-list{
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas: "a a";
|
|
|
|
grid-template-columns: 1fr 1fr;
|
2020-05-22 06:07:26 +00:00
|
|
|
grid-auto-rows: min-content;
|
2019-04-06 12:35:27 +00:00
|
|
|
overflow: hidden !important;
|
|
|
|
padding-bottom: 80px; /* increase this value if addons list content get cut */
|
2019-03-01 19:51:26 +00:00
|
|
|
}
|
|
|
|
}
|
2020-05-22 06:07:26 +00:00
|
|
|
/* Test for Firefox < 66 */
|
2019-04-07 09:50:24 +00:00
|
|
|
@supports not (inset-block:auto){
|
2019-03-01 19:51:26 +00:00
|
|
|
#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 }
|
2019-03-01 19:51:26 +00:00
|
|
|
.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 }
|
2019-04-06 12:35:27 +00:00
|
|
|
.card-heading-image{ margin: 0 !important; }
|
2019-03-01 16:04:55 +00:00
|
|
|
.icon{ min-width: 24px }
|
|
|
|
}
|