diff options
author | pinglamb <pinglambs@gmail.com> | 2016-07-28 19:21:10 +0300 |
---|---|---|
committer | pinglamb <pinglambs@gmail.com> | 2016-07-28 19:21:10 +0300 |
commit | 63982c9a2b5a1be6fd6ec765b8cece7131dac805 (patch) | |
tree | 8a6911d217fa28769f19d0035c4a2fba58ea79eb /assets/stylesheets/bootstrap/_navbar.scss | |
parent | f6a7b7bf41ea628b61693597be299c4257f93079 (diff) |
rake update[v4.0.0-alpha.3]
Diffstat (limited to 'assets/stylesheets/bootstrap/_navbar.scss')
-rw-r--r-- | assets/stylesheets/bootstrap/_navbar.scss | 70 |
1 files changed, 48 insertions, 22 deletions
diff --git a/assets/stylesheets/bootstrap/_navbar.scss b/assets/stylesheets/bootstrap/_navbar.scss index 6c4e9ef..8d8352c 100644 --- a/assets/stylesheets/bootstrap/_navbar.scss +++ b/assets/stylesheets/bootstrap/_navbar.scss @@ -117,28 +117,6 @@ } } -// scss-lint:disable ImportantRule -// Custom override for -.navbar-toggleable { - &-xs { - @include media-breakpoint-up(sm) { - display: block !important; - } - } - &-sm { - @include media-breakpoint-up(md) { - display: block !important; - } - } - &-md { - @include media-breakpoint-up(lg) { - display: block !important; - } - } -} -// scss-lint:enable ImportantRule - - // Navigation // // Custom navbar navigation built on the base `.nav` styles. @@ -230,3 +208,51 @@ background-color: rgba(255,255,255,.075); } } + + +// Navbar toggleable +// +// Custom override for collapse plugin in navbar. + +// scss-lint:disable ImportantRule +.navbar-toggleable { + &-xs { + @include clearfix; + @include media-breakpoint-down(xs) { + .navbar-nav .nav-item { + float: none; + margin-left: 0; + } + } + @include media-breakpoint-up(sm) { + display: block !important; + } + } + + &-sm { + @include clearfix; + @include media-breakpoint-down(sm) { + .navbar-nav .nav-item { + float: none; + margin-left: 0; + } + } + @include media-breakpoint-up(md) { + display: block !important; + } + } + + &-md { + @include clearfix; + @include media-breakpoint-down(md) { + .navbar-nav .nav-item { + float: none; + margin-left: 0; + } + } + @include media-breakpoint-up(lg) { + display: block !important; + } + } +} +// scss-lint:enable ImportantRule |