aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-04-05 00:57:21 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-04-05 00:57:21 +0200
commitf461594e7eb6a5d423b99dcd0370e137b5f6af25 (patch)
tree992d1649a6b454e2f0374cb9871cb0c0a668f0d2
parent'Jumbotron' replaced by 'well' bootstrap component in all templates. (diff)
downloadnewspipe-f461594e7eb6a5d423b99dcd0370e137b5f6af25.tar.gz
newspipe-f461594e7eb6a5d423b99dcd0370e137b5f6af25.tar.bz2
newspipe-f461594e7eb6a5d423b99dcd0370e137b5f6af25.zip
Minor improvements to the CSS of the side nav.
-rw-r--r--pyaggr3g470r/static/css/customized-bootstrap.css4
-rw-r--r--pyaggr3g470r/static/css/side-nav.css13
-rw-r--r--pyaggr3g470r/templates/home.html5
3 files changed, 13 insertions, 9 deletions
diff --git a/pyaggr3g470r/static/css/customized-bootstrap.css b/pyaggr3g470r/static/css/customized-bootstrap.css
index 9b3c4bec..0622b13e 100644
--- a/pyaggr3g470r/static/css/customized-bootstrap.css
+++ b/pyaggr3g470r/static/css/customized-bootstrap.css
@@ -52,3 +52,7 @@ ul.affix-bottom {
a {
color: #3572B0;
}
+
+.badge {
+ background-color: #3572B0;
+}
diff --git a/pyaggr3g470r/static/css/side-nav.css b/pyaggr3g470r/static/css/side-nav.css
index 50560b3e..b49d372e 100644
--- a/pyaggr3g470r/static/css/side-nav.css
+++ b/pyaggr3g470r/static/css/side-nav.css
@@ -7,26 +7,27 @@
overflow-y: auto;
height: 90%;
z-index: 1000;
- background-color: #ffffff;
+ background-color: #FFFFFF;
border-radius: 2px;
font-size: 100%;
}
/* All levels of nav */
.sidebar .nav > li > a {
display: block;
- color: #716b7a;
+ color: #3572B0;
padding: 5px 20px;
}
.sidebar .nav > li > a:hover,
.sidebar .nav > li > a:focus {
text-decoration: none;
- background-color: #e5e3e9;
+ background-color: #F0FFFF;
}
+
.sidebar .nav > .active > a,
.sidebar .nav > .active:hover > a,
.sidebar .nav > .active:focus > a {
font-weight: bold;
- color: #563d7c;
+ color: #3572B0;
background-color: transparent;
}
/* Nav: second level */
@@ -38,3 +39,7 @@
padding-bottom: 3px;
font-size: 80%;
}
+
+li.feed-commands {display: none; text-align: right;}
+li.feed-commands > span > a {margin-right: 10px;}
+li.feed-menu:hover + li.feed-commands, li.feed-commands:hover {display: block;}
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index f2d2218b..e6cc2e7c 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -1,10 +1,5 @@
{% extends "layout.html" %}
{% block content %}
-<style>
- li.feed-commands {display: none; text-align: right;}
- li.feed-commands > span > a {margin-right: 10px;}
- li.feed-menu:hover + li.feed-commands, li.feed-commands:hover {display: block;}
-</style>
{% if feeds|count == 0 %}
<div class="col-md-4 col-md-offset-4">
<h1>{{ _("You don't have any feeds.") }}</h1>
bgstack15