diff options
author | Drew Blessing <drew.blessing@buckle.com> | 2014-01-23 06:07:01 +0400 |
---|---|---|
committer | Drew Blessing <drew.blessing@buckle.com> | 2014-01-25 20:07:39 +0400 |
commit | 8b3b6f1096497ad63bbd4cd9bf78fa913ae345b5 (patch) | |
tree | 479e1fbdfce5047221cb397fe8ca0354c54b7ac8 /app/assets/stylesheets/sections/nav.scss | |
parent | 8f8db776858be45845d18122761fdc09d5989368 (diff) |
Mobile UI improvements for dashboard/nav
Style navbar toggle button
Style navbar toggle manually instead of with button classes
Style navbar
Modify color
Turn off all tooltips for touch devices
Style main nav
Fix scrolling navbar collapse
Style tweaks
Minor tweaks
Style no ssh key message
Diffstat (limited to 'app/assets/stylesheets/sections/nav.scss')
-rw-r--r-- | app/assets/stylesheets/sections/nav.scss | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app/assets/stylesheets/sections/nav.scss b/app/assets/stylesheets/sections/nav.scss index f706854b4fe..7dd80dc52fa 100644 --- a/app/assets/stylesheets/sections/nav.scss +++ b/app/assets/stylesheets/sections/nav.scss @@ -83,4 +83,38 @@ padding-top: 2px; } } + + @media (max-width: $screen-xs-max) { + font-size: 18px; + margin: 0; + + max-height: none; + + &, .container { + padding: 0; + border-top: 0; + } + + ul { + height: auto; + + li { + display: list-item; + width: auto; + padding: 5px 0; + + &.active { + background-color: $primary_color; + + a { + color: #fff; + font-weight: normal; + text-shadow: none; + + &:after { display: none; } + } + } + } + } + } } |