X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/518a51712c7dce533f4e2d72873e01746fbe50e8..d920d94f69de0e6f5d354f58933290fcdf0345de:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index d456e0685..f88e0d1d2 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -244,13 +244,13 @@ table { opacity: 0.6; } -#header { +header { height: $headerHeight; position: relative; z-index: 1001; font-size: 13px; - h1, .nav, .nav > ul, .nav > ul > li, .user-menu { + h1, nav, nav > ul, nav > ul > li, .dropdown { display: inline-block; } @@ -259,7 +259,7 @@ table { padding: $lineheight/2; } - h1, .nav.primary { + h1, nav.primary { float: left; } @@ -284,7 +284,7 @@ table { } } -.nav.primary { +nav.primary { > ul { $border: 1px solid $green; @@ -347,12 +347,11 @@ table { } } -.nav.secondary { +nav.secondary { position: absolute; right: 0; - > ul, - > #compact-secondary-nav { + > ul { vertical-align: middle; a, .dropdown-toggle { display: inline-block; @@ -456,7 +455,7 @@ table { display: inline-block; } .compact-hide { - display: none !important; + display: none; } } @@ -901,7 +900,7 @@ table { /* Rules for the search box */ -#header .search_form { +header .search_form { display: none; }