Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2014-09-15 16:47:18 +0400
committerGleb Mazovetskiy <glex.spb@gmail.com>2014-09-15 16:47:18 +0400
commit2df3fa78ab55adbc5078c9cd8e0d8f3a5ae373aa (patch)
treedaae1ee7a2045e1bd687f1597adc4039adc82867 /assets/stylesheets/bootstrap/_type.scss
parente9164d7ab123cb643e2cf7dece089f683cc610ea (diff)
rake convert for #723
Diffstat (limited to 'assets/stylesheets/bootstrap/_type.scss')
-rw-r--r--assets/stylesheets/bootstrap/_type.scss15
1 files changed, 10 insertions, 5 deletions
diff --git a/assets/stylesheets/bootstrap/_type.scss b/assets/stylesheets/bootstrap/_type.scss
index f8c34ce..8167db9 100644
--- a/assets/stylesheets/bootstrap/_type.scss
+++ b/assets/stylesheets/bootstrap/_type.scss
@@ -158,15 +158,20 @@ ol {
// List options
-// Unstyled keeps list items block level, just removes default browser padding and list-style
-.list-unstyled {
+// [converter] extracted from `.list-unstyled` for libsass compatibility
+@mixin list-unstyled {
padding-left: 0;
list-style: none;
}
+// [converter] extracted as `@mixin list-unstyled` for libsass compatibility
+.list-unstyled {
+ @include list-unstyled;
+}
+
// Inline turns list items into inline-block
.list-inline {
- @extend .list-unstyled;
+ @include list-unstyled;
margin-left: -5px;
> li {
@@ -199,7 +204,7 @@ dd {
.dl-horizontal {
dd {
- @include clearfix(); // Clear the floated `dt` if an empty `dd` is present
+ @include clearfix; // Clear the floated `dt` if an empty `dd` is present
}
@media (min-width: $grid-float-breakpoint) {
@@ -208,7 +213,7 @@ dd {
width: ($dl-horizontal-offset - 20);
clear: left;
text-align: right;
- @include text-overflow();
+ @include text-overflow;
}
dd {
margin-left: $dl-horizontal-offset;