aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/layout.html
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/templates/layout.html
parentBugfix. (diff)
downloadnewspipe-f4e9d50967e03dc2aa24f9c16ac9d2afc4d98223.tar.gz
newspipe-f4e9d50967e03dc2aa24f9c16ac9d2afc4d98223.tar.bz2
newspipe-f4e9d50967e03dc2aa24f9c16ac9d2afc4d98223.zip
Misc improvements to the CSS.
Diffstat (limited to 'pyaggr3g470r/templates/layout.html')
-rw-r--r--pyaggr3g470r/templates/layout.html68
1 files changed, 5 insertions, 63 deletions
diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html
index 12c02814..674c5110 100644
--- a/pyaggr3g470r/templates/layout.html
+++ b/pyaggr3g470r/templates/layout.html
@@ -10,69 +10,9 @@
<link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" />
<!-- Bootstrap core CSS -->
<link href="{{ url_for('static', filename = 'css/bootstrap.css') }}" rel="stylesheet" media="screen" />
- <link href="{{ url_for('static', filename = 'css/customized-bootstrap.css') }}" rel="stylesheet" media="screen" />
<!-- Add custom CSS here -->
- <style>
- body {
- margin-top: 60px;
- }
- div.top {
- position: relative;
- top:-60px;
- display: block;
- height: 0;
- }
- ul.affix {
- position: fixed;
- top: 0px;
- }
- ul.affix-top {
- position: static;
- }
- ul.affix-bottom {
- position: absolute;
- }
- /* First level of nav */
- .sidenav {
- margin-top: 10px;
- 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%;
- }
- </style>
+ <link href="{{ url_for('static', filename = 'css/customized-bootstrap.css') }}" rel="stylesheet" media="screen" />
+ <link href="{{ url_for('static', filename = 'css/side-nav.css') }}" rel="stylesheet" media="screen" />
{% endblock %}
</head>
<body>
@@ -119,7 +59,7 @@
<li><a href="{{ url_for('logout') }}"><span class="glyphicon glyphicon-log-out"></span> {{ _('Logout') }}</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
- <div><span class="glyphicon glyphicon-search"></span> <b class="caret"></b></div>
+ <div><span class="glyphicon glyphicon-search"></span>&nbsp;<b class="caret"></b></div>
</a>
<ul class="dropdown-menu">
<li>
@@ -139,6 +79,8 @@
</div><!-- /.container -->
</nav>
+ <br />
+
<div class="container">
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
bgstack15