aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/static
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-04-01 23:02:50 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-04-01 23:02:50 +0200
commitf4e9d50967e03dc2aa24f9c16ac9d2afc4d98223 (patch)
treebb424d07c9dd5257ffc9fcf3f4917057c5c06da2 /pyaggr3g470r/static
parentBugfix. (diff)
downloadnewspipe-f4e9d50967e03dc2aa24f9c16ac9d2afc4d98223.tar.gz
newspipe-f4e9d50967e03dc2aa24f9c16ac9d2afc4d98223.tar.bz2
newspipe-f4e9d50967e03dc2aa24f9c16ac9d2afc4d98223.zip
Misc improvements to the CSS.
Diffstat (limited to 'pyaggr3g470r/static')
-rw-r--r--pyaggr3g470r/static/css/customized-bootstrap.css20
-rw-r--r--pyaggr3g470r/static/css/side-nav.css40
2 files changed, 60 insertions, 0 deletions
diff --git a/pyaggr3g470r/static/css/customized-bootstrap.css b/pyaggr3g470r/static/css/customized-bootstrap.css
index b8222548..9b3c4bec 100644
--- a/pyaggr3g470r/static/css/customized-bootstrap.css
+++ b/pyaggr3g470r/static/css/customized-bootstrap.css
@@ -1,3 +1,23 @@
+body {
+ margin-top: 50px;
+}
+div.top {
+ position: relative;
+ top: -50px;
+ display: block;
+ height: 0;
+}
+/*ul.affix {
+ position: fixed;
+ top: 0px;
+}
+ul.affix-top {
+ position: static;
+}
+ul.affix-bottom {
+ position: absolute;
+}*/
+
.navbar-custom {
background-color: #205081;
border: #205081;
diff --git a/pyaggr3g470r/static/css/side-nav.css b/pyaggr3g470r/static/css/side-nav.css
new file mode 100644
index 00000000..50560b3e
--- /dev/null
+++ b/pyaggr3g470r/static/css/side-nav.css
@@ -0,0 +1,40 @@
+/* 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: #716b7a;
+ padding: 5px 20px;
+}
+.sidebar .nav > li > a:hover,
+.sidebar .nav > li > a:focus {
+ text-decoration: none;
+ background-color: #e5e3e9;
+}
+.sidebar .nav > .active > a,
+.sidebar .nav > .active:hover > a,
+.sidebar .nav > .active:focus > a {
+ font-weight: bold;
+ color: #563d7c;
+ background-color: transparent;
+}
+/* Nav: second level */
+.sidebar .nav .nav {
+ margin-bottom: 8px;
+}
+.sidebar .nav .nav > li > a {
+ padding-top: 3px;
+ padding-bottom: 3px;
+ font-size: 80%;
+}
bgstack15