A free, self-hostable news aggregator…
Fix Origine and base-theme themes for global view
Marien Fressinaud62727b1d4f10
diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.cssindex 7230aa128..918d4f653 100644--- a/p/themes/Origine/origine.css+++ b/p/themes/Origine/origine.css@@ -897,32 +897,24 @@ a.btn {/*=== GLOBAL VIEW *//*================*/-#stream.global .box-category {- background: #fff;- border-radius: 5px;+.box.category .box-title .title {+ font-weight: normal;+ text-decoration: none;text-align: left;- box-shadow: 0 0 3px #bbb;-}-#stream.global .btn {- width: auto;- height: 2em;- margin: 0;- padding: 0 10px;- background: #f6f6f6;- border: none;- border-bottom: 1px solid #ddd;- border-radius: 5px 5px 0 0;- line-height: 2em;- font-size: 1.2rem;}-#stream.global .btn:not([data-unread="0"]) {+.box.category:not([data-unread="0"]) .box-title {background: #0084CC;+}+.box.category:not([data-unread="0"]) .box-title:active {+ background: #3498db;+}+.box.category:not([data-unread="0"]) .box-title .title {color: #fff;font-weight: bold;- text-shadow: none;}-#stream.global .btn:first-child:not([data-unread="0"]):after {- top: 0; right: 5px;+.box.category .title:not([data-unread="0"]):after {+ position: absolute;+ top: 5px; right: 10px;border: 0;background: none;color: #fff;@@ -930,12 +922,9 @@ a.btn {box-shadow: none;text-shadow: none;}-#stream.global .box-category .feeds {- max-height: 250px;-}-#stream.global .box-category .feeds .item {+.box.category .item.feed {padding: 2px 10px;- font-size: 0.9rem;+ font-size: 0.8rem;}/*=== DIVERS */diff --git a/p/themes/base-theme/base.css b/p/themes/base-theme/base.cssindex 53f59bbe5..029c2d254 100644--- a/p/themes/base-theme/base.css+++ b/p/themes/base-theme/base.css@@ -665,30 +665,30 @@ a.btn {/*=== GLOBAL VIEW *//*================*/-#stream.global .box-category {+.box.category .box-title .title {+ font-weight: normal;+ text-decoration: none;text-align: left;}-#stream.global .btn {- width: auto;- height: 2em;- margin: 0;- padding: 0 10px;- line-height: 2em;- font-size: 1.2rem;+.box.category:not([data-unread="0"]) .box-title {}-#stream.global .btn:not([data-unread="0"]) {- font-weight: bold;+.box.category:not([data-unread="0"]) .box-title:active {}-#stream.global .btn:first-child:not([data-unread="0"]):after {- top: 0; right: 5px;+.box.category:not([data-unread="0"]) .box-title .title {font-weight: bold;}-#stream.global .box-category .feeds {- max-height: 250px;+.box.category .title:not([data-unread="0"]):after {+ position: absolute;+ top: 5px; right: 10px;+ border: 0;+ background: none;+ font-weight: bold;+ box-shadow: none;+ text-shadow: none;}-#stream.global .box-category .feeds .item {+.box.category .item.feed {padding: 2px 10px;- font-size: 0.9rem;+ font-size: 0.8rem;}/*=== DIVERS */diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.cssindex 1af7a73d6..f4f19ee71 100644--- a/p/themes/base-theme/template.css+++ b/p/themes/base-theme/template.css@@ -294,6 +294,9 @@ a.btn {font-weight: bold;text-align: center;}+.box .box-title a {+ display: block;+}.box .box-title form {margin: 0;}