align #filters header; group FF-related rules

This commit is contained in:
tophf 2017-12-06 10:37:01 +03:00
parent e3a67351d5
commit cc57d39443

View File

@ -103,10 +103,6 @@ select {
margin-top: -4px; margin-top: -4px;
} }
.firefox .chromium-only {
display: none;
}
#installed { #installed {
position: relative; position: relative;
padding-left: var(--header-width); padding-left: var(--header-width);
@ -357,10 +353,6 @@ select {
margin-top: -2px; margin-top: -2px;
} }
.firefox #header .filter-selection label .checkmate {
margin: 0;
}
.newUI #newUIoptions > label { .newUI #newUIoptions > label {
padding-left: 0; padding-left: 0;
} }
@ -375,10 +367,6 @@ select {
margin-left: 4px; margin-left: 4px;
} }
.firefox .filter-selection select {
padding-left: 0;
}
.filter-selection .select-arrow { .filter-selection .select-arrow {
margin-top: 2px; margin-top: 2px;
top: 0; top: 0;
@ -394,10 +382,6 @@ select {
left: 16px; left: 16px;
} }
.firefox .select-resizer {
left: 16px;
}
#filters label, #filters label,
#filters .filter-selection { #filters .filter-selection {
transition: background-color .25s; transition: background-color .25s;
@ -779,9 +763,6 @@ input[id^="manage.newUI"] {
#filters label { #filters label {
display: flex; display: flex;
align-items: center; align-items: center;
}
#filters label {
padding-left: 20px; padding-left: 20px;
} }
@ -794,6 +775,10 @@ input[id^="manage.newUI"] {
border: 1px solid transparent; border: 1px solid transparent;
} }
#filters summary h2 {
margin-left: -4px;
}
.active #filters-stats { .active #filters-stats {
background-color: darkcyan; background-color: darkcyan;
border-color: darkcyan; border-color: darkcyan;
@ -819,10 +804,6 @@ input[id^="manage.newUI"] {
fill: hsla(180, 50%, 27%, 1); fill: hsla(180, 50%, 27%, 1);
} }
.firefox #reset-filters {
margin-top: 4px;
}
#filters summary:not(.active) #reset-filters, #filters summary:not(.active) #reset-filters,
#filters summary:not(.active) #filters-stats { #filters summary:not(.active) #filters-stats {
display: none; display: none;
@ -1059,3 +1040,29 @@ input[id^="manage.newUI"] {
word-break: break-all; word-break: break-all;
} }
} }
@supports (-moz-appearance: none) {
.chromium-only {
display: none;
}
#header .filter-selection label .checkmate {
margin: 0;
}
.filter-selection select {
padding-left: 0;
}
.select-resizer {
left: 16px;
}
#reset-filters {
margin-top: 4px;
}
#filters summary h2 {
margin-left: -2px;
}
}