A free, self-hostable news aggregator…
refactor(themes): consolidate shared narrow @media rules into frss.css (#8746)
polybjorn4f250caa678e
diff --git a/p/themes/Alternative-Dark/adark.css b/p/themes/Alternative-Dark/adark.cssindex 033999cc9..083eaf5a4 100644--- a/p/themes/Alternative-Dark/adark.css+++ b/p/themes/Alternative-Dark/adark.css@@ -1116,7 +1116,6 @@ kbd {.aside {box-shadow: 3px 0 3px var(--background-color-active);- transition: width 200ms linear;}.aside .toggle_aside,@@ -1144,10 +1143,6 @@ kbd {background-color: var(--background-color-slider-shadow);}- .aside.aside_feed {- padding: 0;- }-.configure .dropdown .dropdown-menu {border-width: 0;box-shadow: -3px 0 3px var(--background-color-active);diff --git a/p/themes/Alternative-Dark/adark.rtl.css b/p/themes/Alternative-Dark/adark.rtl.cssindex d48fc33be..8485edfe1 100644--- a/p/themes/Alternative-Dark/adark.rtl.css+++ b/p/themes/Alternative-Dark/adark.rtl.css@@ -1116,7 +1116,6 @@ kbd {.aside {box-shadow: -3px 0 3px var(--background-color-active);- transition: width 200ms linear;}.aside .toggle_aside,@@ -1144,10 +1143,6 @@ kbd {background-color: var(--background-color-slider-shadow);}- .aside.aside_feed {- padding: 0;- }-.configure .dropdown .dropdown-menu {border-width: 0;box-shadow: 3px 0 3px var(--background-color-active);diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.cssindex ca23a460e..fd38d65e4 100644--- a/p/themes/Flat/flat.css+++ b/p/themes/Flat/flat.css@@ -972,20 +972,12 @@ th {padding-bottom: 0;}- .aside {- transition: width 200ms linear;- }-.aside .toggle_aside,#overlay .close,.dropdown-menu .toggle_aside {background: #2c3e50;}- .aside.aside_feed {- padding: 0;- }-.nav_menu .btn {padding: 3px 5px;min-height: 0;diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.cssindex 66e00ae8a..4bc1f5f8d 100644--- a/p/themes/Flat/flat.rtl.css+++ b/p/themes/Flat/flat.rtl.css@@ -972,20 +972,12 @@ th {padding-bottom: 0;}- .aside {- transition: width 200ms linear;- }-.aside .toggle_aside,#overlay .close,.dropdown-menu .toggle_aside {background: #2c3e50;}- .aside.aside_feed {- padding: 0;- }-.nav_menu .btn {padding: 3px 5px;min-height: 0;diff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.cssindex b4eb76313..fa98d03dd 100644--- a/p/themes/Nord/nord.css+++ b/p/themes/Nord/nord.css@@ -1240,11 +1240,6 @@ optgroup::before {.aside {left: 0;- transition: width 200ms linear;- }-- .aside.aside_feed {- padding: 0;}.nav.aside {diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.cssindex ee7a4e0fb..2cb718065 100644--- a/p/themes/Nord/nord.rtl.css+++ b/p/themes/Nord/nord.rtl.css@@ -1240,11 +1240,6 @@ optgroup::before {.aside {right: 0;- transition: width 200ms linear;- }-- .aside.aside_feed {- padding: 0;}.nav.aside {diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.cssindex d0dd96429..dddcdb97d 100644--- a/p/themes/Origine/origine.css+++ b/p/themes/Origine/origine.css@@ -1163,10 +1163,6 @@ button:hover .icon,padding-bottom: 0;}- .aside {- transition: width 200ms linear;- }-.aside:target {box-shadow: 3px 0 3px var(--text-shadow-color);}@@ -1179,10 +1175,6 @@ button:hover .icon,border-bottom: 1px solid var(--border-color);}- .aside.aside_feed {- padding: 0;- }-.post {padding-left: 1rem;padding-right: 1rem;diff --git a/p/themes/Origine/origine.rtl.css b/p/themes/Origine/origine.rtl.cssindex 028d96140..8c55aeda8 100644--- a/p/themes/Origine/origine.rtl.css+++ b/p/themes/Origine/origine.rtl.css@@ -1163,10 +1163,6 @@ button:hover .icon,padding-bottom: 0;}- .aside {- transition: width 200ms linear;- }-.aside:target {box-shadow: -3px 0 3px var(--text-shadow-color);}@@ -1179,10 +1175,6 @@ button:hover .icon,border-bottom: 1px solid var(--border-color);}- .aside.aside_feed {- padding: 0;- }-.post {padding-right: 1rem;padding-left: 1rem;diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.cssindex 11a246e7c..d288cd9cd 100644--- a/p/themes/Pafat/pafat.css+++ b/p/themes/Pafat/pafat.css@@ -1090,10 +1090,6 @@ a.signin {padding-bottom: 0;}- .aside {- transition: width 200ms linear;- }-.aside .toggle_aside,#overlay .close,.dropdown-menu .toggle_aside {@@ -1101,10 +1097,6 @@ a.signin {border-bottom: 1px solid var(--border-color-grey-light);}- .aside.aside_feed {- padding: 0;- }-.nav_menu {padding-left: 0;padding-bottom: 5px;diff --git a/p/themes/Pafat/pafat.rtl.css b/p/themes/Pafat/pafat.rtl.cssindex 6400894be..4df7bdf35 100644--- a/p/themes/Pafat/pafat.rtl.css+++ b/p/themes/Pafat/pafat.rtl.css@@ -1090,10 +1090,6 @@ a.signin {padding-bottom: 0;}- .aside {- transition: width 200ms linear;- }-.aside .toggle_aside,#overlay .close,.dropdown-menu .toggle_aside {@@ -1101,10 +1097,6 @@ a.signin {border-bottom: 1px solid var(--border-color-grey-light);}- .aside.aside_feed {- padding: 0;- }-.nav_menu {padding-right: 0;padding-bottom: 5px;diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.cssindex 5b9833529..5f78483b0 100644--- a/p/themes/Swage/swage.css+++ b/p/themes/Swage/swage.css@@ -1410,7 +1410,6 @@ main.global {.aside {padding: 0;width: 0;- transition: width 200ms linear;.toggle_aside {background-color: var(--color-background-aside);diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.cssindex 1919e17a1..f1ed8fa0b 100644--- a/p/themes/Swage/swage.rtl.css+++ b/p/themes/Swage/swage.rtl.css@@ -1410,7 +1410,6 @@ main.global {.aside {padding: 0;width: 0;- transition: width 200ms linear;.toggle_aside {background-color: var(--color-background-aside);diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.cssindex c588de8ce..c1c89f3d6 100644--- a/p/themes/base-theme/base.css+++ b/p/themes/base-theme/base.css@@ -2,6 +2,9 @@@charset "UTF-8";+/* Scaffold for the base-theme fallback. Other themes do not load this file;+ cross-theme defaults belong in frss.css. */+/*=== GENERAL *//*============*/html, body {diff --git a/p/themes/base-theme/base.rtl.css b/p/themes/base-theme/base.rtl.cssindex 6b47da890..b5c3d64cd 100644--- a/p/themes/base-theme/base.rtl.css+++ b/p/themes/base-theme/base.rtl.css@@ -2,6 +2,9 @@@charset "UTF-8";+/* Scaffold for the base-theme fallback. Other themes do not load this file;+ cross-theme defaults belong in frss.css. */+/*=== GENERAL *//*============*/html, body {diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.cssindex 6f02bad86..8c7021687 100644--- a/p/themes/base-theme/frss.css+++ b/p/themes/base-theme/frss.css@@ -1,5 +1,7 @@@charset "UTF-8";+/* Shared base loaded by every theme via the "_frss.css" entry in metadata.json. */+/*=== GENERAL *//*============*/:root {@@ -2769,6 +2771,7 @@ html.slider-active {width: 0;overflow: hidden;z-index: 100;+ transition: width 200ms linear;}.aside.visible,@@ -2777,6 +2780,10 @@ html.slider-active {height: 100vh;}+ .aside.aside_feed {+ padding: 0;+ }+.aside_feed .configure-feeds {margin-top: 10px;}diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.cssindex 6fcb94984..a77d7a02c 100644--- a/p/themes/base-theme/frss.rtl.css+++ b/p/themes/base-theme/frss.rtl.css@@ -1,5 +1,7 @@@charset "UTF-8";+/* Shared base loaded by every theme via the "_frss.css" entry in metadata.json. */+/*=== GENERAL *//*============*/:root {@@ -2769,6 +2771,7 @@ html.slider-active {width: 0;overflow: hidden;z-index: 100;+ transition: width 200ms linear;}.aside.visible,@@ -2777,6 +2780,10 @@ html.slider-active {height: 100vh;}+ .aside.aside_feed {+ padding: 0;+ }+.aside_feed .configure-feeds {margin-top: 10px;}