diff --git a/docs/getting-started/compiling.md b/docs/getting-started/compiling.md index c7a2211769..38aa249d55 100644 --- a/docs/getting-started/compiling.md +++ b/docs/getting-started/compiling.md @@ -41,7 +41,7 @@ This is a convenience method for watching just Sass files and automatically buil ### Use another Sass compiler Bootstrap is compiled with [libsass][libsass] by default. -Use another compiler by setting `TWBS_SASS` environment variable to: +Use another compiler by setting the `TWBS_SASS` environment variable to: * `sass` to use [Ruby Sass][ruby-sass] via [grunt-contrib-sass][grunt-contrib-sass]. * `libsass` (default) to use [libsass][libsass] via [grunt-sass][grunt-sass]. diff --git a/scss/_mixins.scss b/scss/_mixins.scss index d9f0e7a4b3..88ebc3f54f 100644 --- a/scss/_mixins.scss +++ b/scss/_mixins.scss @@ -57,3 +57,4 @@ // @import "mixins/navbar-align"; @import "mixins/grid-framework"; @import "mixins/grid"; +@import "mixins/pulls"; diff --git a/scss/_navbar.scss b/scss/_navbar.scss index d4dcb673f0..b163dad9cd 100644 --- a/scss/_navbar.scss +++ b/scss/_navbar.scss @@ -199,10 +199,10 @@ @include media-sm { .navbar-left { - @extend .pull-left; + @include pull-left(); } .navbar-right { - @extend .pull-right; + @include pull-right(); margin-right: -$navbar-padding-horizontal; ~ .navbar-right { diff --git a/scss/_type.scss b/scss/_type.scss index 3954173245..5bbbf5873e 100644 --- a/scss/_type.scss +++ b/scss/_type.scss @@ -116,7 +116,7 @@ ol { // Inline turns list items into inline-block .list-inline { - @extend list-unstyled(); + @extend .list-unstyled; margin-left: -5px; > li { diff --git a/scss/_utilities.scss b/scss/_utilities.scss index aeffdcd781..5e297fc75e 100644 --- a/scss/_utilities.scss +++ b/scss/_utilities.scss @@ -10,11 +10,12 @@ .center-block { @include center-block(); } + .pull-right { - float: right !important; + @include pull-right(); } .pull-left { - float: left !important; + @include pull-left(); } diff --git a/scss/mixins/_pulls.scss b/scss/mixins/_pulls.scss new file mode 100644 index 0000000000..6bdff025d4 --- /dev/null +++ b/scss/mixins/_pulls.scss @@ -0,0 +1,6 @@ +@mixin pull-left { + float: left !important; +} +@mixin pull-right { + float: right !important; +}