mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-23 09:41:11 +00:00
Clean up some navbar.scss, drop the -float-breakpoint var entirely
This commit is contained in:
parent
bd453652b8
commit
1e136a70a2
56
dist/css/bootstrap.css
vendored
56
dist/css/bootstrap.css
vendored
@ -3168,7 +3168,6 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
|
|||||||
|
|
||||||
.navbar-static-top {
|
.navbar-static-top {
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
border-width: 0 0 1px;
|
|
||||||
}
|
}
|
||||||
@media (min-width: 34em) {
|
@media (min-width: 34em) {
|
||||||
.navbar-static-top {
|
.navbar-static-top {
|
||||||
@ -3181,6 +3180,7 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
|
|||||||
right: 0;
|
right: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 1030;
|
z-index: 1030;
|
||||||
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
@media (min-width: 34em) {
|
@media (min-width: 34em) {
|
||||||
.navbar-fixed-top, .navbar-fixed-bottom {
|
.navbar-fixed-top, .navbar-fixed-bottom {
|
||||||
@ -3190,13 +3190,10 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
|
|||||||
|
|
||||||
.navbar-fixed-top {
|
.navbar-fixed-top {
|
||||||
top: 0;
|
top: 0;
|
||||||
border-width: 0 0 1px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-fixed-bottom {
|
.navbar-fixed-bottom {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
margin-bottom: 0;
|
|
||||||
border-width: 1px 0 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
@ -3237,7 +3234,7 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
|
|||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
|
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
|
||||||
}
|
}
|
||||||
@media (max-width: 33em) {
|
@media (min-width: 34em) {
|
||||||
.navbar-form .form-group {
|
.navbar-form .form-group {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
@ -3333,23 +3330,6 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
|
|||||||
color: #555;
|
color: #555;
|
||||||
background-color: #e7e7e7;
|
background-color: #e7e7e7;
|
||||||
}
|
}
|
||||||
@media (max-width: 33em) {
|
|
||||||
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
|
|
||||||
color: #777;
|
|
||||||
}
|
|
||||||
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
|
|
||||||
color: #333;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
|
|
||||||
color: #555;
|
|
||||||
background-color: #e7e7e7;
|
|
||||||
}
|
|
||||||
.navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
|
|
||||||
color: #ccc;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.navbar-default .navbar-link {
|
.navbar-default .navbar-link {
|
||||||
color: #777;
|
color: #777;
|
||||||
}
|
}
|
||||||
@ -3409,15 +3389,6 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
|
|||||||
color: #444;
|
color: #444;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
.navbar-inverse .navbar-toggle {
|
|
||||||
border-color: #333;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
|
|
||||||
background-color: #333;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-toggle .icon-bar {
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
|
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
|
||||||
border-color: #262829;
|
border-color: #262829;
|
||||||
}
|
}
|
||||||
@ -3425,29 +3396,6 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #1f2021;
|
background-color: #1f2021;
|
||||||
}
|
}
|
||||||
@media (max-width: 33em) {
|
|
||||||
.navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
|
|
||||||
border-color: #1f2021;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-nav .open .dropdown-menu .divider {
|
|
||||||
background-color: #1f2021;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
|
|
||||||
color: #aab0b5;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
|
|
||||||
color: #fff;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
|
|
||||||
color: #fff;
|
|
||||||
background-color: #1f2021;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
|
|
||||||
color: #444;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-link {
|
.navbar-inverse .navbar-link {
|
||||||
color: #aab0b5;
|
color: #aab0b5;
|
||||||
}
|
}
|
||||||
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
56
docs/dist/css/bootstrap.css
vendored
56
docs/dist/css/bootstrap.css
vendored
@ -3168,7 +3168,6 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
|
|||||||
|
|
||||||
.navbar-static-top {
|
.navbar-static-top {
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
border-width: 0 0 1px;
|
|
||||||
}
|
}
|
||||||
@media (min-width: 34em) {
|
@media (min-width: 34em) {
|
||||||
.navbar-static-top {
|
.navbar-static-top {
|
||||||
@ -3181,6 +3180,7 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
|
|||||||
right: 0;
|
right: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 1030;
|
z-index: 1030;
|
||||||
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
@media (min-width: 34em) {
|
@media (min-width: 34em) {
|
||||||
.navbar-fixed-top, .navbar-fixed-bottom {
|
.navbar-fixed-top, .navbar-fixed-bottom {
|
||||||
@ -3190,13 +3190,10 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
|
|||||||
|
|
||||||
.navbar-fixed-top {
|
.navbar-fixed-top {
|
||||||
top: 0;
|
top: 0;
|
||||||
border-width: 0 0 1px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-fixed-bottom {
|
.navbar-fixed-bottom {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
margin-bottom: 0;
|
|
||||||
border-width: 1px 0 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
@ -3237,7 +3234,7 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
|
|||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
|
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
|
||||||
}
|
}
|
||||||
@media (max-width: 33em) {
|
@media (min-width: 34em) {
|
||||||
.navbar-form .form-group {
|
.navbar-form .form-group {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
@ -3333,23 +3330,6 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
|
|||||||
color: #555;
|
color: #555;
|
||||||
background-color: #e7e7e7;
|
background-color: #e7e7e7;
|
||||||
}
|
}
|
||||||
@media (max-width: 33em) {
|
|
||||||
.navbar-default .navbar-nav .open .dropdown-menu > li > a {
|
|
||||||
color: #777;
|
|
||||||
}
|
|
||||||
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
|
|
||||||
color: #333;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
|
|
||||||
color: #555;
|
|
||||||
background-color: #e7e7e7;
|
|
||||||
}
|
|
||||||
.navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
|
|
||||||
color: #ccc;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.navbar-default .navbar-link {
|
.navbar-default .navbar-link {
|
||||||
color: #777;
|
color: #777;
|
||||||
}
|
}
|
||||||
@ -3409,15 +3389,6 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
|
|||||||
color: #444;
|
color: #444;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
.navbar-inverse .navbar-toggle {
|
|
||||||
border-color: #333;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
|
|
||||||
background-color: #333;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-toggle .icon-bar {
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
|
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
|
||||||
border-color: #262829;
|
border-color: #262829;
|
||||||
}
|
}
|
||||||
@ -3425,29 +3396,6 @@ input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="butto
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #1f2021;
|
background-color: #1f2021;
|
||||||
}
|
}
|
||||||
@media (max-width: 33em) {
|
|
||||||
.navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header {
|
|
||||||
border-color: #1f2021;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-nav .open .dropdown-menu .divider {
|
|
||||||
background-color: #1f2021;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
|
|
||||||
color: #aab0b5;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
|
|
||||||
color: #fff;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus {
|
|
||||||
color: #fff;
|
|
||||||
background-color: #1f2021;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {
|
|
||||||
color: #444;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-link {
|
.navbar-inverse .navbar-link {
|
||||||
color: #aab0b5;
|
color: #aab0b5;
|
||||||
}
|
}
|
||||||
|
2
docs/dist/css/bootstrap.css.map
vendored
2
docs/dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.min.css
vendored
2
docs/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -12,11 +12,9 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
padding: $spacer;
|
padding: $spacer;
|
||||||
margin-bottom: $navbar-margin-bottom;
|
margin-bottom: $navbar-margin-bottom;
|
||||||
|
@include clearfix;
|
||||||
|
|
||||||
// Prevent floats from breaking the navbar
|
@include media-sm {
|
||||||
@include clearfix();
|
|
||||||
|
|
||||||
@media (min-width: $grid-float-breakpoint) {
|
|
||||||
@include border-radius($navbar-border-radius);
|
@include border-radius($navbar-border-radius);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -31,9 +29,8 @@
|
|||||||
// Static top (unfixed, but 100% wide) navbar
|
// Static top (unfixed, but 100% wide) navbar
|
||||||
.navbar-static-top {
|
.navbar-static-top {
|
||||||
z-index: $zindex-navbar;
|
z-index: $zindex-navbar;
|
||||||
border-width: 0 0 1px;
|
|
||||||
|
|
||||||
@media (min-width: $grid-float-breakpoint) {
|
@include media-sm {
|
||||||
@include border-radius(0);
|
@include border-radius(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -45,20 +42,20 @@
|
|||||||
right: 0;
|
right: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: $zindex-navbar-fixed;
|
z-index: $zindex-navbar-fixed;
|
||||||
|
margin-bottom: 0; // override .navbar defaults
|
||||||
|
|
||||||
// Undo the rounded corners
|
// Undo the rounded corners
|
||||||
@media (min-width: $grid-float-breakpoint) {
|
@include media-sm {
|
||||||
@include border-radius(0);
|
@include border-radius(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-fixed-top {
|
.navbar-fixed-top {
|
||||||
top: 0;
|
top: 0;
|
||||||
border-width: 0 0 1px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-fixed-bottom {
|
.navbar-fixed-bottom {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
margin-bottom: 0; // override .navbar defaults
|
|
||||||
border-width: 1px 0 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -105,64 +102,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Navbar nav links
|
|
||||||
//
|
|
||||||
// Builds on top of the `.nav` components with its own modifier class to make
|
|
||||||
// the nav the full height of the horizontal nav (above 768px).
|
|
||||||
|
|
||||||
// .navbar-nav {
|
|
||||||
// margin: ($navbar-padding-vertical / 2) -$navbar-padding-horizontal;
|
|
||||||
|
|
||||||
// > li > a {
|
|
||||||
// padding-top: 10px;
|
|
||||||
// padding-bottom: 10px;
|
|
||||||
// line-height: $line-height-computed;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// @media (max-width: $grid-float-breakpoint-max) {
|
|
||||||
// // Dropdowns get custom display when collapsed
|
|
||||||
// .open .dropdown-menu {
|
|
||||||
// position: static;
|
|
||||||
// float: none;
|
|
||||||
// width: auto;
|
|
||||||
// margin-top: 0;
|
|
||||||
// background-color: transparent;
|
|
||||||
// border: 0;
|
|
||||||
// @include box-shadow(none);
|
|
||||||
|
|
||||||
// > li > a,
|
|
||||||
// .dropdown-header {
|
|
||||||
// padding: 5px 15px 5px 25px;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// > li > a {
|
|
||||||
// line-height: $line-height-computed;
|
|
||||||
|
|
||||||
// &:hover,
|
|
||||||
// &:focus {
|
|
||||||
// background-image: none;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
// // Uncollapse the nav
|
|
||||||
// @media (min-width: $grid-float-breakpoint) {
|
|
||||||
// float: left;
|
|
||||||
// margin: 0;
|
|
||||||
|
|
||||||
// > li {
|
|
||||||
// float: left;
|
|
||||||
|
|
||||||
// > a {
|
|
||||||
// padding-top: $navbar-padding-vertical;
|
|
||||||
// padding-bottom: $navbar-padding-vertical;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
|
|
||||||
// Navbar form
|
// Navbar form
|
||||||
//
|
//
|
||||||
// Extension of the `.form-inline` with some extra flavor for optimum display in
|
// Extension of the `.form-inline` with some extra flavor for optimum display in
|
||||||
@ -180,7 +119,7 @@
|
|||||||
@extend .form-inline;
|
@extend .form-inline;
|
||||||
|
|
||||||
.form-group {
|
.form-group {
|
||||||
@media (max-width: $grid-float-breakpoint-max) {
|
@include media-sm {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
@ -193,7 +132,7 @@
|
|||||||
// @include navbar-vertical-align($input-height-base);
|
// @include navbar-vertical-align($input-height-base);
|
||||||
|
|
||||||
// Undo 100% width for pull classes
|
// Undo 100% width for pull classes
|
||||||
@media (min-width: $grid-float-breakpoint) {
|
@include media-sm {
|
||||||
width: auto;
|
width: auto;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
@ -242,7 +181,7 @@
|
|||||||
.navbar-text {
|
.navbar-text {
|
||||||
// @include navbar-vertical-align($line-height-computed);
|
// @include navbar-vertical-align($line-height-computed);
|
||||||
|
|
||||||
@media (min-width: $grid-float-breakpoint) {
|
@include media-sm {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: $navbar-padding-horizontal;
|
margin-right: $navbar-padding-horizontal;
|
||||||
margin-left: $navbar-padding-horizontal;
|
margin-left: $navbar-padding-horizontal;
|
||||||
@ -258,7 +197,7 @@
|
|||||||
//
|
//
|
||||||
// Declared after the navbar components to ensure more specificity on the margins.
|
// Declared after the navbar components to ensure more specificity on the margins.
|
||||||
|
|
||||||
@media (min-width: $grid-float-breakpoint) {
|
@include media-sm {
|
||||||
.navbar-left {
|
.navbar-left {
|
||||||
@extend .pull-left;
|
@extend .pull-left;
|
||||||
}
|
}
|
||||||
@ -350,36 +289,6 @@
|
|||||||
background-color: $navbar-default-link-active-bg;
|
background-color: $navbar-default-link-active-bg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: $grid-float-breakpoint-max) {
|
|
||||||
// Dropdowns get custom display when collapsed
|
|
||||||
.open .dropdown-menu {
|
|
||||||
> li > a {
|
|
||||||
color: $navbar-default-link-color;
|
|
||||||
&:hover,
|
|
||||||
&:focus {
|
|
||||||
color: $navbar-default-link-hover-color;
|
|
||||||
background-color: $navbar-default-link-hover-bg;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
> .active > a {
|
|
||||||
&,
|
|
||||||
&:hover,
|
|
||||||
&:focus {
|
|
||||||
color: $navbar-default-link-active-color;
|
|
||||||
background-color: $navbar-default-link-active-bg;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
> .disabled > a {
|
|
||||||
&,
|
|
||||||
&:hover,
|
|
||||||
&:focus {
|
|
||||||
color: $navbar-default-link-disabled-color;
|
|
||||||
background-color: $navbar-default-link-disabled-bg;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -481,18 +390,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Darken the responsive nav toggle
|
|
||||||
.navbar-toggle {
|
|
||||||
border-color: $navbar-inverse-toggle-border-color;
|
|
||||||
&:hover,
|
|
||||||
&:focus {
|
|
||||||
background-color: $navbar-inverse-toggle-hover-bg;
|
|
||||||
}
|
|
||||||
.icon-bar {
|
|
||||||
background-color: $navbar-inverse-toggle-icon-bar-bg;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-collapse,
|
.navbar-collapse,
|
||||||
.navbar-form {
|
.navbar-form {
|
||||||
border-color: darken($navbar-inverse-bg, 7%);
|
border-color: darken($navbar-inverse-bg, 7%);
|
||||||
@ -508,42 +405,6 @@
|
|||||||
background-color: $navbar-inverse-link-active-bg;
|
background-color: $navbar-inverse-link-active-bg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: $grid-float-breakpoint-max) {
|
|
||||||
// Dropdowns get custom display
|
|
||||||
.open .dropdown-menu {
|
|
||||||
> .dropdown-header {
|
|
||||||
border-color: $navbar-inverse-border;
|
|
||||||
}
|
|
||||||
.divider {
|
|
||||||
background-color: $navbar-inverse-border;
|
|
||||||
}
|
|
||||||
> li > a {
|
|
||||||
color: $navbar-inverse-link-color;
|
|
||||||
&:hover,
|
|
||||||
&:focus {
|
|
||||||
color: $navbar-inverse-link-hover-color;
|
|
||||||
background-color: $navbar-inverse-link-hover-bg;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
> .active > a {
|
|
||||||
&,
|
|
||||||
&:hover,
|
|
||||||
&:focus {
|
|
||||||
color: $navbar-inverse-link-active-color;
|
|
||||||
background-color: $navbar-inverse-link-active-bg;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
> .disabled > a {
|
|
||||||
&,
|
|
||||||
&:hover,
|
|
||||||
&:focus {
|
|
||||||
color: $navbar-inverse-link-disabled-color;
|
|
||||||
background-color: $navbar-inverse-link-disabled-bg;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-link {
|
.navbar-link {
|
||||||
|
@ -299,11 +299,6 @@ $grid-breakpoints: (xs sm md lg xl);
|
|||||||
$grid-columns: 12 !default;
|
$grid-columns: 12 !default;
|
||||||
//** Padding between columns. Gets divided in half for the left and right.
|
//** Padding between columns. Gets divided in half for the left and right.
|
||||||
$grid-gutter-width: 1.5rem !default;
|
$grid-gutter-width: 1.5rem !default;
|
||||||
// Navbar collapse
|
|
||||||
//** Point at which the navbar becomes uncollapsed.
|
|
||||||
$grid-float-breakpoint: $screen-sm-min !default;
|
|
||||||
//** Point at which the navbar begins collapsing.
|
|
||||||
$grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
|
|
||||||
|
|
||||||
|
|
||||||
//== Container sizes
|
//== Container sizes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user