2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

Enable stylelint's function-comma-space-after. (#24501)

The option is set to `always-single-line` in stylelint-config-standard which we extend.
This commit is contained in:
XhmikosR
2017-10-23 00:00:00 +03:00
committed by GitHub
parent 44278f89e3
commit 29d58fb758
15 changed files with 63 additions and 64 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
font-size: 13px;
line-height: 1.4;
text-align: left;
background-color: rgba(0,0,0,.05);
background-color: rgba(0, 0, 0, .05);
a {
color: #333;
+6 -6
View File
@@ -15,8 +15,8 @@
padding: .75rem 0 !important;
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0,0,0,.1);
box-shadow: 0 .5rem 1rem rgba(0,0,0,.175);
border: 1px solid rgba(0, 0, 0, .1);
box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .175);
@include media-breakpoint-up(md) {
width: 175%;
@@ -82,7 +82,7 @@
.algolia-docsearch-suggestion--category-header {
padding-top: .75rem !important;
margin-top: .75rem !important;
border-top: 1px solid rgba(0,0,0,.1);
border-top: 1px solid rgba(0, 0, 0, .1);
}
}
@@ -115,7 +115,7 @@
font-size: .75rem !important;
line-height: 1 !important;
color: #767676 !important;
border-top: 1px solid rgba(0,0,0,.1);
border-top: 1px solid rgba(0, 0, 0, .1);
}
.algolia-docsearch-footer--logo {
@@ -132,10 +132,10 @@
}
.algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight {
box-shadow: inset 0 -2px 0 0 rgba(95,45,171,.5) !important;
box-shadow: inset 0 -2px 0 0 rgba(95, 45, 171, .5) !important;
}
.ds-suggestion.ds-cursor .algolia-docsearch-suggestion--content {
background-color: rgba(208,189,236,.15) !important;
background-color: rgba(208, 189, 236, .15) !important;
}
}
+4 -4
View File
@@ -14,8 +14,8 @@
> [class^="col-"] {
padding-top: .75rem;
padding-bottom: .75rem;
background-color: rgba(86,61,124,.15);
border: 1px solid rgba(86,61,124,.2);
background-color: rgba(86, 61, 124, .15);
border: 1px solid rgba(86, 61, 124, .2);
}
}
@@ -23,13 +23,13 @@
.flex-items-middle,
.flex-items-bottom {
min-height: 6rem;
background-color: rgba(255,0,0,.1);
background-color: rgba(255, 0, 0, .1);
}
}
.bd-example-row-flex-cols .row {
min-height: 10rem;
background-color: rgba(255,0,0,.1);
background-color: rgba(255, 0, 0, .1);
}
.bd-highlight {
+1 -1
View File
@@ -5,7 +5,7 @@
.bd-navbar {
min-height: 4rem;
background-color: $bd-purple;
box-shadow: 0 .5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05), inset 0 -1px 0 rgba(0, 0, 0, .1);
@include media-breakpoint-down(md) {
padding-right: .5rem;
+9 -9
View File
@@ -52,7 +52,7 @@
.bd-sidebar {
order: 0;
// background-color: #f5f2f9;
border-bottom: 1px solid rgba(0,0,0,.1);
border-bottom: 1px solid rgba(0, 0, 0, .1);
@include media-breakpoint-up(md) {
@supports (position: sticky) {
@@ -61,7 +61,7 @@
z-index: 1000;
height: calc(100vh - 4rem);
}
border-right: 1px solid rgba(0,0,0,.1);
border-right: 1px solid rgba(0, 0, 0, .1);
}
@include media-breakpoint-up(xl) {
@@ -93,7 +93,7 @@
padding: 1rem 15px;
margin-right: -15px;
margin-left: -15px;
border-bottom: 1px solid rgba(0,0,0,.05);
border-bottom: 1px solid rgba(0, 0, 0, .05);
.form-control:focus {
border-color: $bd-purple-bright;
@@ -114,10 +114,10 @@
display: block;
padding: .25rem 1.5rem;
font-weight: 500;
color: rgba(0,0,0,.65);
color: rgba(0, 0, 0, .65);
&:hover {
color: rgba(0,0,0,.85);
color: rgba(0, 0, 0, .85);
text-decoration: none;
}
}
@@ -131,7 +131,7 @@
}
> .bd-toc-link {
color: rgba(0,0,0,.85);
color: rgba(0, 0, 0, .85);
&:hover {
background-color: transparent;
@@ -149,11 +149,11 @@
display: block;
padding: .25rem 1.5rem;
font-size: 90%;
color: rgba(0,0,0,.65);
color: rgba(0, 0, 0, .65);
}
.bd-sidebar .nav > li > a:hover {
color: rgba(0,0,0,.85);
color: rgba(0, 0, 0, .85);
text-decoration: none;
background-color: transparent;
}
@@ -161,6 +161,6 @@
.bd-sidebar .nav > .active > a,
.bd-sidebar .nav > .active:hover > a {
font-weight: 500;
color: rgba(0,0,0,.85);
color: rgba(0, 0, 0, .85);
background-color: transparent;
}