1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-03 10:23:05 +02:00

Switch to stylelint. (#23572)

This commit is contained in:
XhmikosR
2017-10-03 06:34:56 +03:00
committed by Mark Otto
parent f58997a0da
commit 7b766e1ad5
53 changed files with 710 additions and 608 deletions

View File

@@ -1,3 +1,5 @@
// stylelint-disable declaration-no-important
.align-baseline { vertical-align: baseline !important; } // Browser default
.align-top { vertical-align: top !important; }
.align-middle { vertical-align: middle !important; }

View File

@@ -1,5 +1,7 @@
// stylelint-disable declaration-no-important
@each $color, $value in $theme-colors {
@include bg-variant('.bg-#{$color}', $value);
@include bg-variant(".bg-#{$color}", $value);
}
.bg-white {

View File

@@ -1,3 +1,5 @@
// stylelint-disable declaration-no-important
//
// Border
//

View File

@@ -1,3 +1,5 @@
// stylelint-disable declaration-no-important
//
// Utilities for common `display` values
//

View File

@@ -1,3 +1,5 @@
// stylelint-disable declaration-no-important
// Flex variation
//
// Custom styles for additional flex alignment options.

View File

@@ -1,3 +1,5 @@
// stylelint-disable declaration-no-important
// Common values
// Sass list not in variables since it's not intended for customization.

View File

@@ -1,3 +1,5 @@
// stylelint-disable declaration-no-important
// Width and height
@each $prop, $abbrev in (width: w, height: h) {

View File

@@ -1,3 +1,5 @@
// stylelint-disable declaration-no-important
// Margin and Padding
@each $breakpoint in map-keys($grid-breakpoints) {

View File

@@ -1,3 +1,5 @@
// stylelint-disable declaration-no-important
//
// Text
//
@@ -38,7 +40,7 @@
.text-white { color: #fff !important; }
@each $color, $value in $theme-colors {
@include text-emphasis-variant('.text-#{$color}', $value);
@include text-emphasis-variant(".text-#{$color}", $value);
}
.text-muted { color: $text-muted !important; }