mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-30 00:29:52 +02:00
Update styles for Ruby Sass compat
This commit is contained in:
@@ -57,3 +57,4 @@
|
||||
// @import "mixins/navbar-align";
|
||||
@import "mixins/grid-framework";
|
||||
@import "mixins/grid";
|
||||
@import "mixins/pulls";
|
||||
|
@@ -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 {
|
||||
|
@@ -116,7 +116,7 @@ ol {
|
||||
|
||||
// Inline turns list items into inline-block
|
||||
.list-inline {
|
||||
@extend list-unstyled();
|
||||
@extend .list-unstyled;
|
||||
margin-left: -5px;
|
||||
|
||||
> li {
|
||||
|
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
6
scss/mixins/_pulls.scss
Normal file
6
scss/mixins/_pulls.scss
Normal file
@@ -0,0 +1,6 @@
|
||||
@mixin pull-left {
|
||||
float: left !important;
|
||||
}
|
||||
@mixin pull-right {
|
||||
float: right !important;
|
||||
}
|
Reference in New Issue
Block a user