mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
fix majority of scss linter errors
This commit is contained in:
parent
47d5168dc8
commit
b2dccb15d7
9 changed files with 17 additions and 11 deletions
|
@ -12,6 +12,9 @@ linters:
|
|||
ColorKeyword:
|
||||
enabled: true
|
||||
|
||||
ColorVariable:
|
||||
enabled: false
|
||||
|
||||
Comment:
|
||||
enabled: true
|
||||
exclude: ['_normalize.scss', 'bootstrap.scss']
|
||||
|
@ -55,6 +58,9 @@ linters:
|
|||
IdSelector:
|
||||
enabled: true
|
||||
|
||||
ImportantRule:
|
||||
enabled: false
|
||||
|
||||
ImportPath:
|
||||
enabled: true
|
||||
leading_underscore: false
|
||||
|
|
|
@ -146,8 +146,8 @@
|
|||
background-image: none \9;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
border-color: #51a7e8;
|
||||
outline: none;
|
||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 5px rgba(81, 167, 232, 0.5);
|
||||
}
|
||||
|
||||
|
|
|
@ -266,9 +266,9 @@ input[type="checkbox"] {
|
|||
.form-control-warning,
|
||||
.form-control-error {
|
||||
padding-right: ($input-padding-x * 3);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center right ($input-height * .25);
|
||||
background-size: ($input-height * .65) ($input-height * .65);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
// Form validation states
|
||||
|
|
|
@ -41,8 +41,8 @@ a.label {
|
|||
// Make them extra rounded with a modifier to replace v3's badges.
|
||||
|
||||
.label-pill {
|
||||
padding-left: .6em;
|
||||
padding-right: .6em;
|
||||
padding-left: .6em;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
|
||||
|
|
|
@ -48,8 +48,8 @@
|
|||
a.list-group-item,
|
||||
button.list-group-item {
|
||||
width: 100%;
|
||||
text-align: inherit;
|
||||
color: $list-group-link-color;
|
||||
text-align: inherit;
|
||||
|
||||
.list-group-item-heading {
|
||||
color: $list-group-link-heading-color;
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
|
||||
// When fading in the modal, animate it to slide down
|
||||
&.fade .modal-dialog {
|
||||
transform: translate(0, -25%);
|
||||
transition: transform .3s ease-out;
|
||||
transform: translate(0, -25%);
|
||||
}
|
||||
&.in .modal-dialog { transform: translate(0, 0); }
|
||||
}
|
||||
|
|
|
@ -69,9 +69,9 @@
|
|||
|
||||
.navbar-brand {
|
||||
float: left;
|
||||
margin-right: 1rem;
|
||||
padding-top: .25rem;
|
||||
padding-bottom: .25rem;
|
||||
margin-right: 1rem;
|
||||
font-size: $font-size-lg;
|
||||
|
||||
@include hover-focus {
|
||||
|
@ -89,12 +89,12 @@
|
|||
width: 1px;
|
||||
padding-top: .425rem;
|
||||
padding-bottom: .425rem;
|
||||
overflow: hidden;
|
||||
margin-left: $navbar-padding-horizontal;
|
||||
margin-right: $navbar-padding-horizontal;
|
||||
overflow: hidden;
|
||||
|
||||
&:before {
|
||||
content: '\00a0';
|
||||
content: "\00a0";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -176,8 +176,8 @@ mark,
|
|||
|
||||
> img {
|
||||
@extend .img-responsive;
|
||||
line-height: 1;
|
||||
margin-bottom: ($spacer-y / 2);
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
.p-r-0 { padding-right: 0 !important; }
|
||||
.p-b-0 { padding-bottom: 0 !important; }
|
||||
.p-l-0 { padding-left: 0 !important; }
|
||||
.p-x-0 { padding-left: 0 !important; padding-right: 0 !important; }
|
||||
.p-x-0 { padding-right: 0 !important; padding-left: 0 !important; }
|
||||
.p-y-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
|
||||
|
||||
.p-a { padding: $spacer !important; }
|
||||
|
|
Loading…
Reference in a new issue