# HG changeset patch # User Mads Kiilerich # Date 1498409344 -7200 # Node ID f46709f6fef50adff8340e6c40fb55a9e3e8efdc # Parent ee3343f3658ffa0f8fb138abab9d37d5176027d0 style: fix navbar collapsing and make styling more Bootstrappy diff -r ee3343f3658f -r f46709f6fef5 kallithea/public/css/contextbar.css --- a/kallithea/public/css/contextbar.css Sun Jun 25 18:47:51 2017 +0200 +++ b/kallithea/public/css/contextbar.css Sun Jun 25 18:49:04 2017 +0200 @@ -40,25 +40,6 @@ color: #677a85; } -#content #context-bar { - position: relative; - overflow: visible; - background-color: #577632; - padding: 0; - min-height: 36px; -} - -#content #context-bar .navbar-header { - display: inline-block; - color: #FFF; - margin: 8px 15px 3px; - padding-bottom: 2px; -} - -#content #context-bar > .navbar-header > .navbar-brand { - padding: 0; -} - nav.navbar #quick a, #content #context-bar, #content #context-bar a { @@ -112,17 +93,15 @@ nav.navbar #quick ul, #revision-changer, -#context-pages, #context-pages ul { - background: #3b6998; /* Old browsers */ - background: linear-gradient(to bottom, #577632 0%, #577632 100%); /* W3C */ + background: #577632; } ul#context-actions { display: inline-block; float: right; border-radius: 4px; - background-image: linear-gradient(to bottom, #577632 0%, #577632 100%); + background: #577632; } #content ul#context-actions li { @@ -190,11 +169,6 @@ display: none; } -#context-pages { - border-left: 1px solid rgba(0,0,0,0.1); - margin-right: 15px; -} - #content #context-pages .icon { margin-right: 5px; } @@ -229,7 +203,7 @@ #context-pages > li > a, #context-pages .select2-container .select2-choice .select2-chosen, x#context-pages .dropdown-menu a { - padding: 0px 10px 1px 10px; + padding: 0px 15px 1px 15px; line-height: 43px; } diff -r ee3343f3658f -r f46709f6fef5 kallithea/public/css/style.css --- a/kallithea/public/css/style.css Sun Jun 25 18:47:51 2017 +0200 +++ b/kallithea/public/css/style.css Sun Jun 25 18:49:04 2017 +0200 @@ -178,10 +178,9 @@ nav.navbar .navbar-brand:hover, nav.navbar .navbar-brand { font-size: 20px; + padding-top: 12px; color: white !important; - float: left; height: 44px; - line-height: 44px; } nav.navbar ul#logged-user { @@ -258,45 +257,11 @@ padding: 0; } -nav.navbar #home a:hover { - background-position: 0 -40px; -} - -nav.navbar #logo { - float: left; - position: absolute; - padding-left: 10px; -} - -nav.navbar #logo > .navbar-brand { - padding: 0 15px; -} - nav.navbar #logo > .navbar-brand > img { - padding-top: 5px; + margin-top: -9px; margin-right: 5px; } -nav.navbar #logo h1 { - color: #FFF; - font-size: 20px; - margin: 12px 0 0 13px; - padding: 0; -} - -nav.navbar #logo a { - color: #fff; - text-decoration: none; -} - -nav.navbar #logo a:hover { - color: #bfe3ff; -} - -nav.navbar #quick { - margin-right: 10px; -} - nav.navbar #quick li .icon { padding-left: 10px; display: inline; @@ -319,11 +284,6 @@ font-weight: bold; } -#content nav.navbar .navbar-brand { - height: inherit; - line-height: inherit; -} - .groups_breadcrumbs a { color: #fff; } diff -r ee3343f3658f -r f46709f6fef5 kallithea/templates/base/base.html --- a/kallithea/templates/base/base.html Sun Jun 25 18:47:51 2017 +0200 +++ b/kallithea/templates/base/base.html Sun Jun 25 18:49:04 2017 +0200 @@ -121,7 +121,7 @@ -