group FF-related CSS
This commit is contained in:
parent
d978322be8
commit
3282994b8f
|
@ -9,10 +9,6 @@ html.opera body {
|
|||
width: auto;
|
||||
}
|
||||
|
||||
html.firefox .block {
|
||||
padding-left: 6px;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #fff;
|
||||
margin: 0;
|
||||
|
@ -22,16 +18,18 @@ body {
|
|||
max-width: 800px;
|
||||
}
|
||||
|
||||
@media (min-width: 401px) {
|
||||
.firefox body {
|
||||
width: calc(100% - 6px); /* TODO: rework to avoid compensating padding of 'html.firefox .block' */
|
||||
}
|
||||
}
|
||||
|
||||
.firefox body {
|
||||
@supports (-moz-appearance:none) {
|
||||
body {
|
||||
--addons-page-left-padding: 6px;
|
||||
/* compensate 'html.firefox .block' padding-left */
|
||||
width: calc(100% - var(--addons-page-left-padding));
|
||||
/* match the default FF theme */
|
||||
background-color: #f9f9fa;
|
||||
}
|
||||
html.firefox .block {
|
||||
padding-left: var(--addons-page-left-padding);
|
||||
}
|
||||
}
|
||||
|
||||
.firefox .chromium-only {
|
||||
display: none;
|
||||
|
|
Loading…
Reference in New Issue
Block a user