summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-24 12:06:23 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-24 12:06:23 +0200
commitc886daef8261da39e972004c93a781af90eac532 (patch)
tree0ea5bf8eb4d27f1c9abf0ce076c4559be05ef8a1
parentea564ee821c0ac8a760119e6d1ae819b9059775e (diff)
Fix Screwdriver theme
-rw-r--r--p/themes/Screwdriver/screwdriver.css132
1 files changed, 24 insertions, 108 deletions
diff --git a/p/themes/Screwdriver/screwdriver.css b/p/themes/Screwdriver/screwdriver.css
index 94a1bccdd..99ed9130f 100644
--- a/p/themes/Screwdriver/screwdriver.css
+++ b/p/themes/Screwdriver/screwdriver.css
@@ -539,20 +539,26 @@ a.btn {
position: relative;
padding: 0 10px;
line-height: 2.5rem;
- font-size: 1rem;
+ font-size: 0.9rem;
}
.tree-folder-title .title {
background: inherit;
+ color: #fff;
}
.tree-folder-title .title:hover {
text-decoration: none;
}
.tree-folder.active .tree-folder-title {
- font-weight: bold;
-}
-.tree-folder.active .tree-folder-title .title {
+ background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
+ background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
+ box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
+ text-shadow: 0 0 2px rgba(255,255,255,0.28);
+ color: #fff;
}
.tree-folder-items {
+ background: #171717;
+ padding: 8px 0;
+ box-shadow: 0 4px 4px #171717 inset, 0 1px rgba(255,255,255,0.08),0 -1px rgba(255,255,255,0.08);
}
.tree-folder-items > .item {
padding: 0 10px;
@@ -560,9 +566,15 @@ a.btn {
font-size: 0.8rem;
}
.tree-folder-items > .item.active {
+ background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
+ background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
+ border-radius: 4px;
+ margin: 0px 8px;
+ box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset, 0 2px 2px #111;
}
.tree-folder-items > .item > a {
text-decoration: none;
+ color: #fff;
}
.tree-folder-items > .item.active > a {
}
@@ -627,21 +639,21 @@ a.btn {
/*=== Aside main page (categories) */
.aside_feed .tree-folder-title > .title:not([data-unread="0"]):after {
position: absolute;
- top: 3px; right: 3px;
+ right: 3px;
padding: 1px 5px;
+ color: #fff;
+ text-shadow: 0 1px rgba(255,255,255,0.08);
+}
+.aside_feed .btn-important {
+ border: none;
}
/*=== Aside main page (feeds) */
-.aside_feed .tree-folder-items > .item.empty.active {
-}
-.aside_feed .tree-folder-items > .item.error.active {
-}
.aside_feed .tree-folder-items > .item.empty > a {
+ color: #e67e22;
}
.aside_feed .tree-folder-items > .item.error > a {
-}
-.aside_feed .tree-folder-items > .item.empty.active > a,
-.aside_feed .tree-folder-items > .item.error.active > a {
+ color: #BD362F;
}
.aside_feed .tree-folder-items > .item:not([data-unread="0"]) {
font-weight: bold;
@@ -656,102 +668,6 @@ a.btn {
vertical-align: middle;
}
-/*=== Aside main page (categories) */
-.categories {
- text-align: center;
-}
-.categories .btn-important {
- border: none;
-}
-.category {
- width: 235px;
- margin: 10px auto 0;
- text-align: left;
-}
-#aside_flux ul.feeds{
- box-shadow: 0 4px 4px #171717 inset, 0 1px rgba(255,255,255,0.08),0 -1px rgba(255,255,255,0.08);
-}
-ul.feeds{
- background:#171717;
- padding:8px 0;
- box-shadow: 0 4px 4px #EDE7DE inset;
-}
-ul.feeds.active{
- box-shadow: 0 0 0 #171717 inset, 0 -2px 2px #111 inset,0 1px rgba(255,255,255,0.08),0 -1px rgba(255,255,255,0);
-}
-.category.stick.active{
- background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
- background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
- box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
-}
-.category .btn {
- color: #fff;
- border: none;
- background: transparent;
-}
-.category .btn:first-child {
- position: relative;
- width: 213px;
- background: transparent;
-}
-.category.stick .btn:first-child {
- width: 176px;
-}
-.category .btn:first-child:not([data-unread="0"]):after {
- position: absolute;
- top: 3px; right: 3px;
- padding: 1px 5px;
- background: transparent;
- color: #fff;
- text-shadow: 0 1px rgba(255,255,255,0.08);
-}
-
-/*=== Aside main page (feeds) */
-.categories .feeds .item.active {
- background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
- background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
- border-radius: 4px;
- margin: 0px 8px;
- box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset, 0 2px 2px #111;
-}
-.categories .feeds .item.active .feed {
- color: #fff;
-}
-.categories .feeds .item.empty .feed {
- color: #e67e22;
-}
-.categories .feeds .item.empty.active {
- background: #e67e22;
-}
-.categories .feeds .item.empty.active .feed {
- 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;
- color:#ccc;
-}
-.categories .feeds .feed:not([data-unread="0"]) {
- font-weight: bold;
-}
-.categories .feeds .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: transparent;
- border-radius: 3px;
- vertical-align: middle;
-}
-
/*=== Configuration pages */
.post {
padding: 10px 50px;