From cc57d394431ecf82c2a8ca172856718b895eb0f4 Mon Sep 17 00:00:00 2001 From: tophf Date: Wed, 6 Dec 2017 10:37:01 +0300 Subject: [PATCH] align #filters header; group FF-related rules --- manage/manage.css | 53 +++++++++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 23 deletions(-) diff --git a/manage/manage.css b/manage/manage.css index e3e8e476..a93295f3 100644 --- a/manage/manage.css +++ b/manage/manage.css @@ -103,10 +103,6 @@ select { margin-top: -4px; } -.firefox .chromium-only { - display: none; -} - #installed { position: relative; padding-left: var(--header-width); @@ -357,10 +353,6 @@ select { margin-top: -2px; } -.firefox #header .filter-selection label .checkmate { - margin: 0; -} - .newUI #newUIoptions > label { padding-left: 0; } @@ -375,10 +367,6 @@ select { margin-left: 4px; } -.firefox .filter-selection select { - padding-left: 0; -} - .filter-selection .select-arrow { margin-top: 2px; top: 0; @@ -394,10 +382,6 @@ select { left: 16px; } -.firefox .select-resizer { - left: 16px; -} - #filters label, #filters .filter-selection { transition: background-color .25s; @@ -779,9 +763,6 @@ input[id^="manage.newUI"] { #filters label { display: flex; align-items: center; -} - -#filters label { padding-left: 20px; } @@ -794,6 +775,10 @@ input[id^="manage.newUI"] { border: 1px solid transparent; } +#filters summary h2 { + margin-left: -4px; +} + .active #filters-stats { background-color: darkcyan; border-color: darkcyan; @@ -819,10 +804,6 @@ input[id^="manage.newUI"] { fill: hsla(180, 50%, 27%, 1); } -.firefox #reset-filters { - margin-top: 4px; -} - #filters summary:not(.active) #reset-filters, #filters summary:not(.active) #filters-stats { display: none; @@ -1059,3 +1040,29 @@ input[id^="manage.newUI"] { 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; + } +}