From f461594e7eb6a5d423b99dcd0370e137b5f6af25 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 5 Apr 2015 00:57:21 +0200 Subject: Minor improvements to the CSS of the side nav. --- pyaggr3g470r/static/css/customized-bootstrap.css | 4 ++++ pyaggr3g470r/static/css/side-nav.css | 13 +++++++++---- pyaggr3g470r/templates/home.html | 5 ----- 3 files changed, 13 insertions(+), 9 deletions(-) (limited to 'pyaggr3g470r') 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 %} - {% if feeds|count == 0 %}

{{ _("You don't have any feeds.") }}

-- cgit