Mercurial > kallithea
changeset 6442:e9f0d8527a9b
template: avoid duplicate id="logo" - use "repo-logo" in the subordinate repo header
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 18 Jan 2017 01:44:26 +0100 |
parents | 2aac00dc5415 |
children | 31f3a7221f69 |
files | kallithea/public/css/contextbar.css kallithea/public/css/style.css kallithea/templates/base/base.html |
diffstat | 3 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/css/contextbar.css Wed Jan 18 01:44:26 2017 +0100 +++ b/kallithea/public/css/contextbar.css Wed Jan 18 01:44:26 2017 +0100 @@ -44,7 +44,7 @@ position: relative; overflow: visible; background-color: #577632; - padding: 0 5px; + padding: 0; min-height: 36px; }
--- a/kallithea/public/css/style.css Wed Jan 18 01:44:26 2017 +0100 +++ b/kallithea/public/css/style.css Wed Jan 18 01:44:26 2017 +0100 @@ -273,12 +273,12 @@ padding-left: inherit; } -nav.navbar #logo .navbar-brand img { +nav.navbar .navbar-brand img { padding-top: 5px; margin-right: 5px; } -nav.navbar #logo .navbar-brand { +nav.navbar .navbar-brand { font-size: 20px; color: white; float: left; @@ -286,7 +286,7 @@ line-height: 44px; } -#content nav.navbar #logo .navbar-brand { +#content nav.navbar .navbar-brand { height: inherit; line-height: inherit; }
--- a/kallithea/templates/base/base.html Wed Jan 18 01:44:26 2017 +0100 +++ b/kallithea/templates/base/base.html Wed Jan 18 01:44:26 2017 +0100 @@ -94,7 +94,7 @@ <% rev = None if rev == 'tip' else rev %> <!--- CONTEXT BAR --> <nav id="context-bar" class="navbar navbar-inverse"> - <div class="navbar-header" id="logo"> + <div class="navbar-header"> <div class="navbar-brand"> ${repotag(c.db_repo)}