diff options
author | Rémy Coutable <remy@rymai.me> | 2017-07-31 11:07:51 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-07-31 11:07:51 +0300 |
commit | acc0d8484505ed199fe8b9d2529d8f298d95bb80 (patch) | |
tree | ee82638df3d413eb162394ab278cace2fa52b85d /app/assets/stylesheets/framework/nav.scss | |
parent | 15d00fc3d3cfb941a1904840259b719f8bbf4eeb (diff) |
Moves the Performance Bar to the top instead of being at the bottom
Diffstat (limited to 'app/assets/stylesheets/framework/nav.scss')
-rw-r--r-- | app/assets/stylesheets/framework/nav.scss | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/nav.scss b/app/assets/stylesheets/framework/nav.scss index 35b4d77a5ab..88e7ba117d5 100644 --- a/app/assets/stylesheets/framework/nav.scss +++ b/app/assets/stylesheets/framework/nav.scss @@ -347,6 +347,10 @@ } } +.with-performance-bar .layout-nav { + margin-top: $header-height + $performance-bar-height; +} + .scrolling-tabs-container { position: relative; @@ -441,6 +445,22 @@ } } +.with-performance-bar .page-with-layout-nav { + .right-sidebar { + top: ($header-height + 1) * 2 + $performance-bar-height; + } + + &.page-with-sub-nav { + .right-sidebar { + top: ($header-height + 1) * 3 + $performance-bar-height; + + &.affix { + top: $header-height + $performance-bar-height; + } + } + } +} + .nav-block { &.activities { border-bottom: 1px solid $border-color; |