diff options
author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-05-04 11:43:47 -0500 |
---|---|---|
committer | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-05-04 11:43:47 -0500 |
commit | 003b36b45f38ca3116af5d9179fff4adb26a4eb1 (patch) | |
tree | 83b8ab89e400dfaa675b2786ffe3a9d17cda61d1 /app/assets | |
parent | 21ccf89685bceee2b502a9e6a9fbb55310e02ebc (diff) | |
download | gitlab-ce-003b36b45f38ca3116af5d9179fff4adb26a4eb1.tar.gz |
Fixed layout nav, revert back to badge styles, general enhancements
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/framework/nav.scss | 36 | ||||
-rw-r--r-- | app/assets/stylesheets/framework/sidebar.scss | 8 |
2 files changed, 34 insertions, 10 deletions
diff --git a/app/assets/stylesheets/framework/nav.scss b/app/assets/stylesheets/framework/nav.scss index 2ada2b9f2f2..c79de099d38 100644 --- a/app/assets/stylesheets/framework/nav.scss +++ b/app/assets/stylesheets/framework/nav.scss @@ -140,6 +140,12 @@ } } + .project-filter-form { + input { + background-color: $background-color; + } + } + @media (max-width: $screen-xs-max) { padding-bottom: 0; @@ -187,13 +193,17 @@ } .layout-nav { + position: fixed; + top: 58px; + width: 100%; + z-index: 1; background: $background-color; border-bottom: 1px solid $border-color; + transition-duration: .3s; .controls { float: right; - position: relative; - top: 0; + padding: 12px 5px 0 0; .dropdown { margin-left: 7px; @@ -218,15 +228,21 @@ } } } -} -.nav-links { - border-bottom: none; - white-space: nowrap; - overflow-x: auto; - overflow-y: hidden; + .nav-links { + border-bottom: none; - a { - padding-top: 2px; + li { + + .badge { + color: $gl-icon-color; + } + + } } + +} + +.page-with-layout-nav { + margin-top: 56px; } diff --git a/app/assets/stylesheets/framework/sidebar.scss b/app/assets/stylesheets/framework/sidebar.scss index 18189e985c4..32d948e4c53 100644 --- a/app/assets/stylesheets/framework/sidebar.scss +++ b/app/assets/stylesheets/framework/sidebar.scss @@ -254,6 +254,10 @@ } } } + + .layout-nav { + padding-right: $sidebar_collapsed_width; + } } .page-sidebar-expanded { @@ -280,6 +284,10 @@ } } } + + .layout-nav { + padding-right: $sidebar_width; + } } .right-sidebar-collapsed { |