aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Origine-compact
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-11-20 14:41:31 +0100
committerGravatar GitHub <noreply@github.com> 2022-11-20 14:41:31 +0100
commite7aa0628581a8d010561959f7b80ce7e1a3784ab (patch)
treeac8af55709999bee306f678fe2faef63709d882a /p/themes/Origine-compact
parent52d26d6da1fb8b20b0f7f8897d0c107c292aecd6 (diff)
Improved: Origine Compact theme (#4873)
Diffstat (limited to 'p/themes/Origine-compact')
-rw-r--r--p/themes/Origine-compact/origine-compact.css21
-rw-r--r--p/themes/Origine-compact/origine-compact.rtl.css21
2 files changed, 10 insertions, 32 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) */