0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Apply at-mixin-argumentless-call-parentheses: always stylelint rule

This commit is contained in:
Martijn Cuppens 2019-07-24 08:41:18 +02:00 committed by XhmikosR
parent f4cc5d3e41
commit b2ae6a6a94
8 changed files with 15 additions and 15 deletions

View File

@ -10,7 +10,7 @@
white-space: nowrap;
// Generate the caret automatically
@include caret;
@include caret();
}
// The dropdown menu

View File

@ -6,7 +6,7 @@
// which weren't expecting the images within themselves to be involuntarily resized.
// See also https://github.com/twbs/bootstrap/issues/18178
.img-fluid {
@include img-fluid;
@include img-fluid();
}
@ -19,7 +19,7 @@
@include box-shadow($thumbnail-box-shadow);
// Keep them at most 100% wide
@include img-fluid;
@include img-fluid();
}
//

View File

@ -71,12 +71,12 @@
//
.list-unstyled {
@include list-unstyled;
@include list-unstyled();
}
// Inline turns list items into inline-block
.list-inline {
@include list-unstyled;
@include list-unstyled();
}
.list-inline-item {
display: inline-block;

View File

@ -3,5 +3,5 @@
//
.text-truncate {
@include text-truncate;
@include text-truncate();
}

View File

@ -33,11 +33,11 @@
vertical-align: $caret-vertical-align;
content: "";
@if $direction == down {
@include caret-down;
@include caret-down();
} @else if $direction == up {
@include caret-up;
@include caret-up();
} @else if $direction == right {
@include caret-right;
@include caret-right();
}
}
@ -51,7 +51,7 @@
margin-right: $caret-spacing;
vertical-align: $caret-vertical-align;
content: "";
@include caret-left;
@include caret-left();
}
}

View File

@ -10,7 +10,7 @@
overflow: hidden;
color: $bd-purple;
background-color: #f9f9f9;
@include border-radius;
@include border-radius();
.inverse {
color: $white;
@ -79,7 +79,7 @@
height: 4rem;
margin-right: .25rem;
margin-left: .25rem;
@include border-radius;
@include border-radius();
@include media-breakpoint-up(md) {
width: 6rem;

View File

@ -8,7 +8,7 @@
margin-bottom: 1.25rem;
border: 1px solid #eee;
border-left-width: .25rem;
@include border-radius;
@include border-radius();
h4 {
margin-top: 0;
@ -20,7 +20,7 @@
}
code {
@include border-radius;
@include border-radius();
}
+ .bd-callout {

View File

@ -27,7 +27,7 @@
color: #818a91;
background-color: transparent;
border: 0;
@include border-radius;
@include border-radius();
&:hover {
color: $white;