aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Pafat/pafat.css
diff options
context:
space:
mode:
Diffstat (limited to 'p/themes/Pafat/pafat.css')
-rw-r--r--p/themes/Pafat/pafat.css272
1 files changed, 135 insertions, 137 deletions
diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css
index a35ac861d..61e5c8f63 100644
--- a/p/themes/Pafat/pafat.css
+++ b/p/themes/Pafat/pafat.css
@@ -192,48 +192,12 @@ a.btn {
text-decoration: none;
}
-
-.category.stick .btn {
- background:#5bc0de;
- color : #FFF;
- border-color :#5bc0de;
-}
-
-.category.stick .btn:first-child:hover, .category.stick .btn:last-child:hover, .category.stick .btn.active:first-child, .category.stick.active .btn:last-child {
- background:#39b3d7;
- border-color : #39b3d7;
-}
-
-
.btn.active,
.btn:active,
.dropdown-target:target ~ .btn.dropdown-toggle {
background: #eee;
}
-.category.all > .btn {
- background: #428bca;
- color : #FFF;
- border-color : #428bca;
-}
-
-.category.all > .btn:hover {
- background: #3276b1;
- border-color : #3276b1;
-}
-
-.category.favorites > .btn {
- background:#f0ad4e;
- border-color: #f0ad4e;
- color : #fff;
-}
-
-.category.favorites > .btn:hover {
- background: #ed9c28;
- border-color : #ed9c28;
- color : white;
-}
-
.btn-important {
background: #5cb85c;
color: #fff;
@@ -491,6 +455,80 @@ a.btn {
font-size: 0;
}
+/*=== Boxes */
+.box {
+ border: 1px solid #aaa;
+ border-radius: 5px;
+}
+.box .box-title {
+ margin: 0;
+ padding: 5px 10px;
+ background: #f6f6f6;
+ border-bottom: 1px solid #aaa;
+ border-radius: 5px 5px 0 0;
+}
+.box .box-content {
+ max-height: 260px;
+}
+
+.box .box-content .item {
+ padding: 0 10px;
+ font-size: 0.9rem;
+ line-height: 2.5em;
+}
+
+.box .box-content .item .configure {
+ visibility: hidden;
+}
+.box .box-content .item:hover .configure {
+ visibility: visible;
+}
+
+/*=== Tree */
+.tree {
+ margin: 10px 0;
+}
+.tree-folder-title {
+ position: relative;
+ margin: 5px;
+ padding: 0 10px;
+ line-height: 2rem;
+ font-size: 0.9rem;
+ background: #5bc0de;
+ color: #fff;
+ border-top: 1px solid transparent;
+ border-bottom: 1px solid transparent;
+ border-radius: 5px;
+}
+.tree-folder-title .title {
+ background: inherit;
+ color: #fff;
+}
+.tree-folder-title .title:hover {
+ text-decoration: none;
+}
+.tree-folder.active .tree-folder-title {
+ background: #39b3d7;
+ font-weight: bold;
+ font-size: 1rem;
+ border-top: 1px solid #666;
+ border-bottom: 1px solid #666;
+}
+.tree-folder-items > .item {
+ padding: 0 10px;
+ line-height: 2.5rem;
+ font-size: 0.8rem;
+}
+.tree-folder-items > .item.active {
+ background: #5cb85c;
+}
+.tree-folder-items > .item > a {
+ text-decoration: none;
+}
+.tree-folder-items > .item.active > a {
+ color: #fff;
+}
+
/*=== STRUCTURE */
/*===============*/
/*=== Header */
@@ -543,75 +581,66 @@ a.btn {
border-right: 1px solid #aaa;
background: #fff;
}
-.aside.aside_flux {
- padding: 10px 0 50px;
+.aside.aside_feed {
+ padding: 10px 0;
+ text-align: center;
+}
+.aside.aside_feed .tree {
+ margin: 10px 0 50px;
}
/*=== Aside main page (categories) */
-.categories {
- text-align: center;
+.aside_feed .tree-folder-title > .title:not([data-unread="0"]):after {
+ position: absolute;
+ top: 0.25rem; right: 3px;
+ padding: 0px 5px;
+ border: 1px solid #fff;
+ border-radius: 3px;
+ font-size: 0.8rem;
+ line-height: 1.5rem;
}
-.category {
- width: 215px;
- margin: 10px auto;
- text-align: left;
+.aside_feed .tree-folder.all .tree-folder-title {
+ background: #428bca;
}
-.category .btn:first-child {
- position: relative;
- width: 203px;
+.aside_feed .tree-folder.all.active .tree-folder-title {
+ background: #3276b1;
}
-.category.stick .btn:first-child {
- width: 176px;
+.aside_feed .tree-folder.favorites .tree-folder-title {
+ background: #f0ad4e;
}
-.category .btn:first-child:not([data-unread="0"]):after {
- position: absolute;
- top: 2px; right: 3px;
- padding: 0px 3px;
- border: 1px solid ;
- border-radius: 3px;
- font-size:10pt;
- line-height : 20px;
+.aside_feed .tree-folder.favorites.active .tree-folder-title {
+ background: #ed9c28;
}
/*=== Aside main page (feeds) */
-.categories .feeds .item.active {
- background: #5cb85c;
+.feed.item.empty.active {
+ background: #e67e22;
}
-.categories .feeds .item.active .feed {
- color: #fff;
+.feed.item.error.active {
+ background: #bd362f;
}
-.categories .feeds .item.empty .feed {
+.feed.item.empty,
+.feed.item.empty > a {
color: #e67e22;
}
-.categories .feeds .item.empty.active {
- background: #e67e22;
+.feed.item.error,
+.feed.item.error > a {
+ color: #bd362f;
}
-.categories .feeds .item.empty.active .feed {
+.feed.item.empty.active,
+.feed.item.error.active,
+.feed.item.empty.active > a,
+.feed.item.error.active > a {
color: #fff;
}
-.categories .feeds .item.error .feed {
- color: #BD362F;
-}
-.categories .feeds .item .feed {
- margin: 0;
- width: 165px;
- line-height: 3em;
- font-size: 0.8em;
- text-align: left;
- text-decoration: none;
-}
-.categories .feeds .feed:not([data-unread="0"]) {
- font-weight: bold;
-}
-.categories .feeds .dropdown-menu:after {
+.aside_feed .tree-folder-items .dropdown-menu:after {
left: 2px;
}
-.categories .feeds .item .dropdown-target:target ~ .dropdown-toggle > .icon,
-.categories .feeds .item:hover .dropdown-toggle > .icon,
-.categories .feeds .item.active .dropdown-toggle > .icon {
- background-color: #fff;
+.aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
+.aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
+.aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
border-radius: 3px;
- vertical-align: middle;
+ background-color: #fff;
}
/*=== Configuration pages */
@@ -877,63 +906,32 @@ a.btn {
/*=== GLOBAL VIEW */
/*================*/
-#stream.global .box-category {
- background: #fff;
- border:none;
+.box.category .box-title .title {
+ font-weight: normal;
+ text-decoration: none;
text-align: left;
}
-
-#stream.global .category {
- margin: 0;
-}
-
-#stream.global .category:first-child {
- margin: 0;
-}
-
-
-#stream.global .btn {
- width: auto;
- height: 2em;
- margin: 0;
- padding: 0 10px;
- background: #f6f6f6;
- border-bottom: 1px solid #aaa;
- border-radius: 5px 5px 0 0;
- line-height: 2em;
- font-size: 1.2rem;
+.box.category:not([data-unread="0"]) .box-title {
+ background: #5BC0DE;
}
-
-#stream.global .btn:not([data-unread="0"]) {
- background: #5bc0de;
- border-color : #5bc0de;
- color: #fff;
+.box.category:not([data-unread="0"]) .box-title .title {
font-weight: bold;
- text-shadow: none;
-
+ color: #fff;
}
-
-
-#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;
font-weight: bold;
box-shadow: none;
text-shadow: none;
+ font-size: 0.8rem;
+ line-height: 1.6rem;
}
-
-#stream.global .box-category .feeds {
- max-height: 250px;
- width: 302px;
- border : solid #aaa 1px;
- border-top : none;
-}
-
-#stream.global .box-category .feeds .item {
+.box.category .item.feed {
padding: 2px 10px;
- font-size: 0.9rem;
+ font-size: 0.8rem;
}
/*=== DIVERS */
@@ -1027,17 +1025,17 @@ a.btn {
}
.aside .toggle_aside,
#panel .close {
- position: absolute;
display: block;
- top: 0; right: 0;
- width: 30px;
- height: 30px;
- line-height: 30px;
+ width: 100%;
+ height: 40px;
+ line-height: 40px;
text-align: center;
background: #f6f6f6;
- border-left: 1px solid #ddd;
border-bottom: 1px solid #ddd;
- border-radius: 0 0 0 5px;
+ }
+
+ .aside.aside_feed {
+ padding: 0;
}
.nav_menu .btn {