aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Origine-compact/origine-compact.css
diff options
context:
space:
mode:
Diffstat (limited to 'p/themes/Origine-compact/origine-compact.css')
-rw-r--r--p/themes/Origine-compact/origine-compact.css80
1 files changed, 17 insertions, 63 deletions
diff --git a/p/themes/Origine-compact/origine-compact.css b/p/themes/Origine-compact/origine-compact.css
index 880af2433..d94b09fb7 100644
--- a/p/themes/Origine-compact/origine-compact.css
+++ b/p/themes/Origine-compact/origine-compact.css
@@ -2,10 +2,8 @@
/*=== GENERAL */
/*============*/
-input, select, textarea {
- padding: 3px 5px 2px 5px;
- min-height: 25px;
- line-height: 2;
+:root {
+ --frss-padding-top-bottom: 0.125rem;
}
/*=== COMPONENTS */
@@ -41,73 +39,45 @@ a.btn,
font-size: 0.9rem;
}
-.horizontal-list .item {
- line-height: 2.2;
-}
-
-.horizontal-list .item .item-element {
- padding: 1px 0 0 0;
-}
-
/*=== Dropdown */
-.item ~ .dropdown-header,
-.item.separator {
- border-top-color: #ddd;
-}
-
/*=== Alerts */
/*=== Pagination */
/*=== Boxes */
/*=== Tree */
-.tree-folder-title {
- padding: 0 5px;
- line-height: 2.2;
- font-size: 0.9rem;
-}
-
-.tree-folder-items > .item {
- line-height: 2.4;
-}
-
/*=== STRUCTURE */
/*===============*/
/*=== Header */
.header {
- height: 40px;
-}
-
-.header > .item {
- padding: 0px;
+ /* search bar and config button height = 2.1rem */
+ height: calc(2.1rem + 2 * var(--frss-padding-top-bottom));
}
-.header .item.configure .btn,
-.header .item.search .btn {
- min-height: 18px;
- padding: 4px 10px;
- line-height: 1.4;
+.header > .item.title a {
+ padding: 0 1rem;
}
.header > .item.title .logo {
- height: 25px;
-}
-
-.header > .item.search input {
- padding: 1px 5px;
+ /* logo is smaller than needed */
+ height: 1.5rem;
}
/*=== Body */
#global {
- height: calc(100vh - 40px);
+ height: calc(100vh - (calc(2.1rem + 2 * var(--frss-padding-top-bottom))))
}
/*=== Aside main page (categories) */
.aside.aside_feed .category .title:not([data-unread="0"])::after,
.global .box.category .title:not([data-unread="0"])::after {
- margin: 0.4em 0 0 0;
+ font-size: 0.8rem;
+}
+
+#stream.global .feed .item-title:not([data-unread="0"])::after {
+ margin-top: 0.125rem;
}
.aside.aside_feed .feed .item-title:not([data-unread="0"])::after {
- margin: 0.5em 0 0 0;
+ font-size: 0.7rem;
}
/*=== Day indication */
@@ -123,10 +93,6 @@ a.btn,
/*=== Index menu */
/*=== Feed articles */
-.flux .item {
- padding: 0;
-}
-
.flux .item.thumbnail {
padding: 5px;
height: 50px;
@@ -169,14 +135,6 @@ a.btn,
}
/*=== Content of feed articles */
-.content {
- padding: 10px 10px;
-}
-
-#stream.normal .content > h1.title {
- display: none;
-}
-
/*=== Notification and actualize notification */
/*=== "Load more" part */
#bigMarkAsRead {
@@ -188,10 +146,6 @@ a.btn,
}
/*=== Navigation menu (for articles) */
-#nav_entries {
- line-height: 2.2;
-}
-
/*=== READER VIEW */
/*================*/
/*=== GLOBAL VIEW */
@@ -213,7 +167,7 @@ a.btn,
}
.post {
- padding-left: 15px;
- padding-right: 15px;
+ padding-left: 1rem;
+ padding-right: 1rem;
}
}