diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-11-25 22:45:43 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-11-25 22:45:43 +0100 |
commit | b2618e9404b84cc62d4becb02436233a0d53b375 (patch) | |
tree | a31f2dc76d23967fa0243374cf475923a4b7e451 /web/static/css/side-nav.css | |
parent | Updated default platform URL (for Heroku...). (diff) | |
download | newspipe-b2618e9404b84cc62d4becb02436233a0d53b375.tar.gz newspipe-b2618e9404b84cc62d4becb02436233a0d53b375.tar.bz2 newspipe-b2618e9404b84cc62d4becb02436233a0d53b375.zip |
Rfactorization. Just a start...
Diffstat (limited to 'web/static/css/side-nav.css')
-rw-r--r-- | web/static/css/side-nav.css | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/web/static/css/side-nav.css b/web/static/css/side-nav.css new file mode 100644 index 00000000..5786bffa --- /dev/null +++ b/web/static/css/side-nav.css @@ -0,0 +1,50 @@ +/* First level of nav */ +.sidenav { + margin-top: 0px; + margin-bottom: 0px; + padding-top: 10px; + padding-bottom: 0px; + overflow-y: auto; + height: 90%; + z-index: 1000; + background-color: #FFFFFF; + border-radius: 2px; + font-size: 100%; +} +/* All levels of nav */ +.sidebar .nav > li > a { + display: block; + color: #3572B0; + padding: 5px 20px; +} +.sidebar .nav > li > a:hover, +.sidebar .nav > li > a:focus { + text-decoration: none; + background-color: #F0FFFF; +} + +.sidebar .nav > .active > a, +.sidebar .nav > .active:hover > a, +.sidebar .nav > .active:focus > a { + font-weight: bold; + color: #3572B0; + background-color: transparent; +} + +.badge { + background-color: #3572B0; +} + +/* Nav: second level */ +.sidebar .nav .nav { + margin-bottom: 8px; +} +.sidebar .nav .nav > li > a { + padding-top: 3px; + 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;} |