diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-04-01 21:57:44 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-04-01 21:57:44 +0200 |
commit | d987c309ca583b3682d1d8c97f2985f5d5876af9 (patch) | |
tree | eab1fde0f86e0e06ca5a66bc55b923d8fbbfaa7a /pyaggr3g470r | |
parent | Clean the directory when installing pyAggr3g470r with Vagrant. (diff) | |
download | newspipe-d987c309ca583b3682d1d8c97f2985f5d5876af9.tar.gz newspipe-d987c309ca583b3682d1d8c97f2985f5d5876af9.tar.bz2 newspipe-d987c309ca583b3682d1d8c97f2985f5d5876af9.zip |
Added customized-bootstrap.css file.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/static/css/customized-bootstrap.css | 34 | ||||
-rw-r--r-- | pyaggr3g470r/templates/layout.html | 7 |
2 files changed, 38 insertions, 3 deletions
diff --git a/pyaggr3g470r/static/css/customized-bootstrap.css b/pyaggr3g470r/static/css/customized-bootstrap.css new file mode 100644 index 00000000..b8222548 --- /dev/null +++ b/pyaggr3g470r/static/css/customized-bootstrap.css @@ -0,0 +1,34 @@ +.navbar-custom { + background-color: #205081; + border: #205081; + color: #FFFFFF; + border-radius: 0; +} + +.navbar-custom .navbar-nav > li > a { + color: #FFFFFF; +} + +.navbar-custom .navbar-nav > li > a:hover { + background-color: #3572B0; +} + +.navbar-custom .navbar-nav > .active > a, +.navbar-nav > .active > a:hover, +.navbar-nav > .active > a:focus { + color: #FFFFFF; + background-color: #3572B0; +} +.navbar-custom .navbar-brand { + color: #FFFFFF; +} + +.navbar-custom .navbar-nav > .open > a, +.navbar-custom .navbar-nav > .open > a:hover, +.navbar-custom .navbar-nav > .open > a:focus { + color: #FFFFFF; + background-color: #3572B0; +} +a { + color: #3572B0; +} diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html index 6b929bf3..12c02814 100644 --- a/pyaggr3g470r/templates/layout.html +++ b/pyaggr3g470r/templates/layout.html @@ -10,6 +10,7 @@ <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 { @@ -74,8 +75,8 @@ </style> {% endblock %} </head> - <body data-spy="scroll" data-target="#affix-nav"> - <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> + <body> + <nav class="navbar navbar-inverse navbar-fixed-top navbar-custom" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> @@ -118,7 +119,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"> - <button class="btn btn-default btn-xs" type="submit"><span class="glyphicon glyphicon-search"></span></button> <b class="caret"></b> + <div><span class="glyphicon glyphicon-search"></span> <b class="caret"></b></div> </a> <ul class="dropdown-menu"> <li> |