Skip to content

Commit 899484f

Browse files
tbradshamatticbot
authored andcommitted
Stylelint: Fix inline spacing rules (#44383)
* Fix @stylistic/at-rule-name-space-after * Fix @stylistic/block-opening-brace-space-before * Fix @stylistic/declaration-bang-space-after * Fix @stylistic/declaration-bang-space-before * Fix @stylistic/declaration-block-semicolon-space-before * Fix @stylistic/declaration-colon-space-after * Fix @stylistic/declaration-colon-space-before * Fix @stylistic/function-comma-space-after and @stylistic/function-comma-space-before * Fix @stylistic/media-feature-colon-space-after and @stylistic/media-feature-colon-space-before * Fix @stylistic/selector-combinator-space-after and @stylistic/selector-combinator-space-before * Fix @stylistic/selector-list-comma-space-before * Fix @stylistic/value-list-comma-space-after * Fix @stylistic/selector-attribute-brackets-space-inside * Fix @stylistic/selector-pseudo-class-parentheses-space-inside * Fix @stylistic/function-parentheses-space-inside * Add changelogs * Use \$ so it's not treated as a SASS var * Add another \$ * One-liner is better than the proposed format * Tweak comments Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/16379507232 Upstream-Ref: Automattic/jetpack@5f20752
1 parent 6411f86 commit 899484f

File tree

18 files changed

+337
-337
lines changed

18 files changed

+337
-337
lines changed

assets/admin-style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@
5757
padding: 0;
5858
}
5959

60-
.wpcomsh-notice a{
60+
.wpcomsh-notice a {
6161
color: #fff;
6262
}
6363

64-
.wpcomsh-notice .dashicons-info{
64+
.wpcomsh-notice .dashicons-info {
6565
height: 24px;
6666
width: 24px;
6767
font-size: 26px;

custom-colors/css/colors-control-beta.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
.color-grid.main li {
4040
height: 55px;
4141
width: 55px;
42-
background-image: radial-gradient( center top, circle farthest-side, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 80% );
42+
background-image: radial-gradient(center top, circle farthest-side, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 80%);
4343
background-position: center center;
4444
background-size: cover;
4545
border: 2px solid #fff;
4646
border-radius: 50%;
47-
box-shadow: inset 0 -1px 4px rgba(0,0,0,0.1);
47+
box-shadow: inset 0 -1px 4px rgba(0, 0, 0, 0.1);
4848
}
4949

5050
.disable-background .color-grid.main li,
@@ -61,7 +61,7 @@
6161
position: relative;
6262
background-size: 100% 100%;
6363
border-radius: 2%;
64-
box-shadow: inset 0 -1px 4px rgba(0,0,0,0.1);
64+
box-shadow: inset 0 -1px 4px rgba(0, 0, 0, 0.1);
6565
height: 55px;
6666
margin-bottom: 0;
6767
width: 100%;
@@ -91,7 +91,7 @@
9191

9292
.color-grid li {
9393
background: #f1f1f1;
94-
border: 5px solid rgba(0,0,0,0.1);
94+
border: 5px solid rgba(0, 0, 0, 0.1);
9595
border-width: 1px 1px 5px;
9696
font-size: 0;
9797
box-sizing: border-box;
@@ -144,7 +144,7 @@
144144
position: relative;
145145
left: 14px;
146146
top: 20px;
147-
text-shadow: 0 0 2px rgba(0,0,0,0.4);
147+
text-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
148148
}
149149

150150
.color-grid.main .selected {
@@ -282,7 +282,7 @@ a.button.right-pill {
282282

283283
.color-suggestions li {
284284
background: #f1f1f1;
285-
border: 3px solid rgba(0,0,0,0.1);
285+
border: 3px solid rgba(0, 0, 0, 0.1);
286286
font-size: 0;
287287
margin: 0 10px 15px;
288288
float: left;
@@ -634,7 +634,7 @@ input#iris {
634634
background-repeat: repeat;
635635
background-size: 100% 100%;
636636
border-radius: 2%;
637-
box-shadow: inset 0 -1px 4px rgba(0,0,0,0.1);
637+
box-shadow: inset 0 -1px 4px rgba(0, 0, 0, 0.1);
638638
width: 260px;
639639
height: 55px;
640640
margin-bottom: 8px;

custom-colors/css/colors-control.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
.color-grid.main li {
4141
height: 55px;
4242
width: 55px;
43-
background-image: radial-gradient( center top, circle farthest-side, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 80% );
43+
background-image: radial-gradient(center top, circle farthest-side, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 80%);
4444
background-position: center center;
4545
background-size: cover;
4646
border: 2px solid #fff;
4747
border-radius: 50%;
48-
box-shadow: inset 0 -1px 4px rgba(0,0,0,0.1);
48+
box-shadow: inset 0 -1px 4px rgba(0, 0, 0, 0.1);
4949
}
5050

5151
.disable-background .color-grid.main li,
@@ -62,7 +62,7 @@
6262
position: relative;
6363
background-size: 100% 100%;
6464
border-radius: 2%;
65-
box-shadow: inset 0 -1px 4px rgba(0,0,0,0.1);
65+
box-shadow: inset 0 -1px 4px rgba(0, 0, 0, 0.1);
6666
height: 55px;
6767
margin-bottom: 20px;
6868
width: 100%;
@@ -83,7 +83,7 @@
8383

8484
.color-grid li {
8585
background: #f1f1f1;
86-
border: 5px solid rgba(0,0,0,0.1);
86+
border: 5px solid rgba(0, 0, 0, 0.1);
8787
border-width: 1px 1px 5px;
8888
font-size: 0;
8989
box-sizing: border-box;
@@ -136,7 +136,7 @@
136136
position: relative;
137137
left: 15px;
138138
top: 18px;
139-
text-shadow: 0 0 2px rgba(0,0,0,0.4);
139+
text-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
140140
}
141141

142142
.color-grid.main .selected {
@@ -239,7 +239,7 @@ a.revert {
239239

240240
.color-suggestions li {
241241
background: #f1f1f1;
242-
border: 3px solid rgba(0,0,0,0.1);
242+
border: 3px solid rgba(0, 0, 0, 0.1);
243243
font-size: 0;
244244
margin: 0 3px 15px;
245245
float: left;
@@ -607,7 +607,7 @@ input#iris {
607607
background-repeat: repeat;
608608
background-size: 100% 100%;
609609
border-radius: 2%;
610-
box-shadow: inset 0 -1px 4px rgba(0,0,0,0.1);
610+
box-shadow: inset 0 -1px 4px rgba(0, 0, 0, 0.1);
611611
width: 260px;
612612
height: 55px;
613613
margin-bottom: 8px;

custom-colors/css/rtl/colors-control-rtl.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
position: relative;
6565
background-size: 100% 100%;
6666
border-radius: 2%;
67-
box-shadow: inset 0 -1px 4px rgba(0,0,0,0.1);
67+
box-shadow: inset 0 -1px 4px rgba(0, 0, 0, 0.1);
6868
height: 55px;
6969
margin-bottom: 20px;
7070
width: 100%;
@@ -93,7 +93,7 @@
9393

9494
.color-grid li {
9595
background: #f1f1f1;
96-
border: 5px solid rgba(0,0,0,0.1);
96+
border: 5px solid rgba(0, 0, 0, 0.1);
9797
font-size: 0;
9898
box-sizing: border-box;
9999
display: block;
@@ -143,7 +143,7 @@
143143
opacity: 0.4;
144144
float: right;
145145
position: relative;
146-
text-shadow: 0 0 2px rgba(0,0,0,0.4);
146+
text-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
147147
font-size: 20px;
148148
right: 17px;
149149
top: 20px;
@@ -252,7 +252,7 @@ a.revert {
252252

253253
.color-suggestions li {
254254
background: #f1f1f1;
255-
border: 3px solid rgba(0,0,0,0.1);
255+
border: 3px solid rgba(0, 0, 0, 0.1);
256256
font-size: 0;
257257
margin: 0 3px 15px;
258258
float: right;
@@ -625,7 +625,7 @@ input#iris {
625625
background-repeat: repeat;
626626
background-size: 100% 100%;
627627
border-radius: 2%;
628-
box-shadow: inset 0 -1px 4px rgba(0,0,0,0.1);
628+
box-shadow: inset 0 -1px 4px rgba(0, 0, 0, 0.1);
629629
width: 260px;
630630
height: 55px;
631631
margin-bottom: 8px;

jetpack_vendor/automattic/jetpack-classic-theme-helper/src/custom-post-types/css/portfolio-shortcode.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@
5050
margin-right: 0;
5151
}
5252

53-
@media screen and (max-width:768px) {
53+
@media screen and (max-width: 768px) {
5454

55-
.portfolio-entry-mobile-first-item-row{
55+
.portfolio-entry-mobile-first-item-row {
5656
margin-right: 4%;
5757
width: 48%;
58-
clear:both;
58+
clear: both;
5959
}
6060

6161
.portfolio-entry-first-item-row {
62-
clear:none;
62+
clear: none;
6363
}
6464

65-
.portfolio-entry-mobile-last-item-row{
65+
.portfolio-entry-mobile-last-item-row {
6666
width: 48%;
6767
margin-right: 0;
6868
}

jetpack_vendor/automattic/jetpack-classic-theme-helper/src/custom-post-types/css/testimonial-shortcode.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@
5050
margin-right: 0;
5151
}
5252

53-
@media screen and (max-width:768px) {
53+
@media screen and (max-width: 768px) {
5454

55-
.testimonial-entry-mobile-first-item-row{
55+
.testimonial-entry-mobile-first-item-row {
5656
margin-right: 4%;
5757
width: 48%;
58-
clear:both;
58+
clear: both;
5959
}
6060

6161
.testimonial-entry-first-item-row {
62-
clear:none;
62+
clear: none;
6363
}
6464

65-
.testimonial-entry-mobile-last-item-row{
65+
.testimonial-entry-mobile-last-item-row {
6666
width: 48%;
6767
margin-right: 0;
6868
}

jetpack_vendor/automattic/jetpack-connection/src/sso/jetpack-sso-login.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@
7878
}
7979

8080

81-
.jetpack-sso-form-display #loginform>p,
82-
.jetpack-sso-form-display #loginform>div {
81+
.jetpack-sso-form-display #loginform > p,
82+
.jetpack-sso-form-display #loginform > div {
8383
display: none;
8484
}
8585

0 commit comments

Comments
 (0)