summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-24 14:10:45 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-24 14:10:45 +0200
commit62727b1d4f101fa328b57eda716803c2f7147d7b (patch)
tree6de5597a76c29ba68354a1613829a0143b03e47a
parentfa0c7d75e6b9d01130f1c9518eef5f37d8e6d4ff (diff)
Fix Origine and base-theme themes for global view
See https://github.com/marienfressinaud/FreshRSS/issues/634
-rw-r--r--p/themes/Origine/origine.css39
-rw-r--r--p/themes/base-theme/base.css32
-rw-r--r--p/themes/base-theme/template.css3
3 files changed, 33 insertions, 41 deletions
diff --git a/p/themes/Origine/origine.css b/p/themes/Origine/origine.css
index 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.css
index 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.css
index 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;
}