Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Oct 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/scss/_ads.scss
Expand Up @@ -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;
Expand Down
12 changes: 6 additions & 6 deletions assets/scss/_algolia.scss
Expand Up @@ -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%;
Expand Down Expand Up @@ -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);
}
}

Expand Down Expand Up @@ -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 {
Expand All @@ -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;
}
}
8 changes: 4 additions & 4 deletions assets/scss/_component-examples.scss
Expand Up @@ -14,22 +14,22 @@
> [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);
}
}

.flex-items-top,
.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 {
Expand Down
2 changes: 1 addition & 1 deletion assets/scss/_nav.scss
Expand Up @@ -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;
Expand Down
18 changes: 9 additions & 9 deletions assets/scss/_sidebar.scss
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down Expand Up @@ -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;
Expand All @@ -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;
}
}
Expand All @@ -131,7 +131,7 @@
}

> .bd-toc-link {
color: rgba(0,0,0,.85);
color: rgba(0, 0, 0, .85);

&:hover {
background-color: transparent;
Expand All @@ -149,18 +149,18 @@
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;
}

.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;
}
1 change: 0 additions & 1 deletion build/.stylelintrc
Expand Up @@ -21,7 +21,6 @@
"declaration-no-important": true,
"font-family-name-quotes": "always-where-recommended",
"font-weight-notation": "numeric",
"function-comma-space-after": null,
"function-url-no-scheme-relative": true,
"function-url-quotes": "always",
"length-zero-no-unit": true,
Expand Down
2 changes: 1 addition & 1 deletion docs/4.0/examples/blog/blog.css
Expand Up @@ -47,7 +47,7 @@ h6,
.blog-masthead {
margin-bottom: 3rem;
background-color: #428bca;
box-shadow: inset 0 -.1rem .25rem rgba(0,0,0,.1);
box-shadow: inset 0 -.1rem .25rem rgba(0, 0, 0, .1);
}

/* Nav links */
Expand Down
10 changes: 5 additions & 5 deletions docs/4.0/examples/cover/cover.css
Expand Up @@ -32,7 +32,7 @@ body {
body {
color: #fff;
text-align: center;
text-shadow: 0 .05rem .1rem rgba(0,0,0,.5);
text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
Expand All @@ -41,7 +41,7 @@ body {
width: 100%;
height: 100%; /* For at least Firefox */
min-height: 100%;
box-shadow: inset 0 0 5rem rgba(0,0,0,.5);
box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}
.site-wrapper-inner {
display: table-cell;
Expand Down Expand Up @@ -73,14 +73,14 @@ body {
.nav-masthead .nav-link {
padding: .25rem 0;
font-weight: 700;
color: rgba(255,255,255,.5);
color: rgba(255, 255, 255, .5);
background-color: transparent;
border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
border-bottom-color: rgba(255,255,255,.25);
border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
Expand Down Expand Up @@ -120,7 +120,7 @@ body {
*/

.mastfoot {
color: rgba(255,255,255,.5);
color: rgba(255, 255, 255, .5);
}


Expand Down
4 changes: 2 additions & 2 deletions docs/4.0/examples/grid/grid.css
Expand Up @@ -17,8 +17,8 @@ h3 {
[class*="col-"] {
padding-top: 1rem;
padding-bottom: 1rem;
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);
}

hr {
Expand Down
2 changes: 1 addition & 1 deletion docs/4.0/examples/justified-nav/justified-nav.css
Expand Up @@ -20,7 +20,7 @@ body {
}

.navbar {
background-image: linear-gradient(to bottom, #f7f7f7 0%,#eee 100%);
background-image: linear-gradient(to bottom, #f7f7f7 0%, #eee 100%);
border: 1px solid #e5e5e5;
}

Expand Down
2 changes: 1 addition & 1 deletion scss/_button-group.scss
Expand Up @@ -202,7 +202,7 @@
input[type="radio"],
input[type="checkbox"] {
position: absolute;
clip: rect(0,0,0,0);
clip: rect(0, 0, 0, 0);
pointer-events: none;
}
}
Expand Down
4 changes: 2 additions & 2 deletions scss/_carousel.scss
Expand Up @@ -91,13 +91,13 @@
.carousel-control-prev {
left: 0;
@if $enable-gradients {
background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,.001));
background: linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .001));
}
}
.carousel-control-next {
right: 0;
@if $enable-gradients {
background: linear-gradient(270deg, rgba(0,0,0,.25), rgba(0,0,0,.001));
background: linear-gradient(270deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .001));
}
}

Expand Down
2 changes: 1 addition & 1 deletion scss/_reboot.scss
Expand Up @@ -30,7 +30,7 @@ html {
-webkit-text-size-adjust: 100%; // 4
-ms-text-size-adjust: 100%; // 4
-ms-overflow-style: scrollbar; // 5
-webkit-tap-highlight-color: rgba(0,0,0,0); // 6
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); // 6
}

// IE10+ doesn't honor `<meta name="viewport">` in some cases.
Expand Down