diff options
| author | 2022-11-20 14:41:31 +0100 | |
|---|---|---|
| committer | 2022-11-20 14:41:31 +0100 | |
| commit | e7aa0628581a8d010561959f7b80ce7e1a3784ab (patch) | |
| tree | ac8af55709999bee306f678fe2faef63709d882a | |
| parent | 52d26d6da1fb8b20b0f7f8897d0c107c292aecd6 (diff) | |
Improved: Origine Compact theme (#4873)
| -rw-r--r-- | p/themes/Origine-compact/origine-compact.css | 21 | ||||
| -rw-r--r-- | p/themes/Origine-compact/origine-compact.rtl.css | 21 | ||||
| -rw-r--r-- | p/themes/base-theme/frss.css | 1 | ||||
| -rw-r--r-- | p/themes/base-theme/frss.rtl.css | 1 |
4 files changed, 10 insertions, 34 deletions
diff --git a/p/themes/Origine-compact/origine-compact.css b/p/themes/Origine-compact/origine-compact.css index d85d5c065..e70482d57 100644 --- a/p/themes/Origine-compact/origine-compact.css +++ b/p/themes/Origine-compact/origine-compact.css @@ -6,12 +6,6 @@ --frss-padding-top-bottom: 0.125rem; } -input, select, textarea { - padding: 3px 5px 2px 5px; - min-height: 25px; - line-height: 2; -} - /*=== COMPONENTS */ /*===============*/ /*=== Forms */ @@ -58,24 +52,19 @@ a.btn, /*=== STRUCTURE */ /*===============*/ /*=== Header */ -.header .item.configure .btn, -.header .item.search .btn { - min-height: 18px; - padding: 4px 10px; - line-height: 1.4; +.header { + /* search bar and config button height = 2.1rem */ + height: calc(2.1rem + 2 * var(--frss-padding-top-bottom)); } .header > .item.title .logo { + /* logo is smaller than needed */ height: 1.5rem; } -.header > .item.search input { - padding: 1px 5px; -} - /*=== Body */ #global { - height: calc(100vh - (calc(1.5rem + 2 * var(--frss-padding-top-bottom)))) + height: calc(100vh - (calc(2.1rem + 2 * var(--frss-padding-top-bottom)))) } /*=== Aside main page (categories) */ diff --git a/p/themes/Origine-compact/origine-compact.rtl.css b/p/themes/Origine-compact/origine-compact.rtl.css index 1273cfc55..d6f7e49bd 100644 --- a/p/themes/Origine-compact/origine-compact.rtl.css +++ b/p/themes/Origine-compact/origine-compact.rtl.css @@ -6,12 +6,6 @@ --frss-padding-top-bottom: 0.125rem; } -input, select, textarea { - padding: 3px 5px 2px 5px; - min-height: 25px; - line-height: 2; -} - /*=== COMPONENTS */ /*===============*/ /*=== Forms */ @@ -58,24 +52,19 @@ a.btn, /*=== STRUCTURE */ /*===============*/ /*=== Header */ -.header .item.configure .btn, -.header .item.search .btn { - min-height: 18px; - padding: 4px 10px; - line-height: 1.4; +.header { + /* search bar and config button height = 2.1rem */ + height: calc(2.1rem + 2 * var(--frss-padding-top-bottom)); } .header > .item.title .logo { + /* logo is smaller than needed */ height: 1.5rem; } -.header > .item.search input { - padding: 1px 5px; -} - /*=== Body */ #global { - height: calc(100vh - (calc(1.5rem + 2 * var(--frss-padding-top-bottom)))) + height: calc(100vh - (calc(2.1rem + 2 * var(--frss-padding-top-bottom)))) } /*=== Aside main page (categories) */ diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 2a69ed442..42f6c05f6 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -118,7 +118,6 @@ h3 { /*=== Paragraphs */ p { margin: 1rem 0 0.5rem; - font-size: 1rem; } p.help, .prompt p.help { diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index 4f8f1b04c..77ff17934 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -118,7 +118,6 @@ h3 { /*=== Paragraphs */ p { margin: 1rem 0 0.5rem; - font-size: 1rem; } p.help, .prompt p.help { |
