Skip to content

Commit adf861d

Browse files
tbradshamatticbot
authored andcommitted
Stylelint: Fix newline rules (#44382)
* Fix @stylistic/selector-max-empty-lines * Fix @stylistic/max-empty-lines * Fix @stylistic/block-closing-brace-newline-after * Fix @stylistic/block-closing-brace-newline-before * Fix @stylistic/block-opening-brace-newline-after * Fix @stylistic/declaration-block-semicolon-newline-after * Fix @stylistic/declaration-colon-newline-after * Fix @stylistic/no-missing-end-of-source-newline * Fix @stylistic/selector-list-comma-newline-after * Fix @stylistic/value-list-comma-newline-after * Add changelogs Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/16376342801 Upstream-Ref: Automattic/jetpack@fcfa897
1 parent e7033bd commit adf861d

File tree

28 files changed

+332
-236
lines changed

28 files changed

+332
-236
lines changed

assets/admin-style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
/*
4545
* Atomic notifications customized to standout. Based on Calypso notifications.
4646
*/
47-
.wpcomsh-notice, .rtl .wpcomsh-notice {
47+
.wpcomsh-notice,
48+
.rtl .wpcomsh-notice {
4849
border: none;
4950
background: #2D3337;
5051
box-sizing: border-box;

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,8 @@ a.button.right-pill {
430430
padding-top: 3px;
431431
}
432432

433-
.color-picker #colourlovers-palettes-container .previous, .color-picker #colourlovers-palettes-container .next {
433+
.color-picker #colourlovers-palettes-container .previous,
434+
.color-picker #colourlovers-palettes-container .next {
434435
margin-top: 10px;
435436
}
436437

@@ -502,7 +503,8 @@ a.button.right-pill {
502503
zoom: 1;
503504
}
504505

505-
#more-patterns, #less-patterns {
506+
#more-patterns,
507+
#less-patterns {
506508
margin-bottom: 10px;
507509
}
508510

@@ -776,7 +778,6 @@ input#iris {
776778
}
777779

778780

779-
780781
.media-modal {
781782
z-index: 1001000 !important;
782783
}

custom-colors/css/colors-control.css

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@ a.revert {
253253
margin-left: 0;
254254
}
255255

256-
.color-suggestions li:nth-of-type(6), .color-suggestions li:nth-of-type(11) {
256+
.color-suggestions li:nth-of-type(6),
257+
.color-suggestions li:nth-of-type(11) {
257258
margin-left: 0;
258259
}
259260

@@ -377,7 +378,8 @@ a.revert {
377378
padding-top: 3px;
378379
}
379380

380-
.color-picker #colourlovers-palettes-container .previous, .color-picker #colourlovers-palettes-container .next {
381+
.color-picker #colourlovers-palettes-container .previous,
382+
.color-picker #colourlovers-palettes-container .next {
381383
margin-top: 10px;
382384
}
383385

@@ -449,7 +451,8 @@ a.revert {
449451
zoom: 1;
450452
}
451453

452-
#more-patterns, #less-patterns {
454+
#more-patterns,
455+
#less-patterns {
453456
margin-bottom: 10px;
454457
}
455458

@@ -562,7 +565,8 @@ input#iris {
562565
margin-bottom: 0;
563566
}
564567

565-
.free-mode .color-grid.main li, .free-mode .enable-background .color-grid.main .text-placeholder.clrs {
568+
.free-mode .color-grid.main li,
569+
.free-mode .enable-background .color-grid.main .text-placeholder.clrs {
566570
display: none;
567571
}
568572

@@ -571,7 +575,9 @@ input#iris {
571575
margin-bottom: 0;
572576
}
573577

574-
.free-mode #more-palettes, .free-mode .no-free-palettes, .free-mode #generate-palette {
578+
.free-mode #more-palettes,
579+
.free-mode .no-free-palettes,
580+
.free-mode #generate-palette {
575581
display: none !important;
576582
}
577583

@@ -717,7 +723,8 @@ input#iris {
717723
}
718724

719725
/* Don't flash replaced sections on first load */
720-
#accordion-section-background_image, #accordion-section-colors {
726+
#accordion-section-background_image,
727+
#accordion-section-colors {
721728
display: none;
722729
}
723730

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

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ a.revert {
266266
margin-right: 0;
267267
}
268268

269-
.color-suggestions li:nth-of-type(6), .color-suggestions li:nth-of-type(11) {
269+
.color-suggestions li:nth-of-type(6),
270+
.color-suggestions li:nth-of-type(11) {
270271
margin-right: 0;
271272
}
272273

@@ -395,7 +396,8 @@ a.revert {
395396
padding-top: 3px;
396397
}
397398

398-
.color-picker #colourlovers-palettes-container .previous, .color-picker #colourlovers-palettes-container .next {
399+
.color-picker #colourlovers-palettes-container .previous,
400+
.color-picker #colourlovers-palettes-container .next {
399401
margin-top: 10px;
400402
}
401403

@@ -467,7 +469,8 @@ a.revert {
467469
zoom: 1;
468470
}
469471

470-
#more-patterns, #less-patterns {
472+
#more-patterns,
473+
#less-patterns {
471474
margin-bottom: 10px;
472475
}
473476

@@ -580,7 +583,8 @@ input#iris {
580583
margin-bottom: 0;
581584
}
582585

583-
.free-mode .color-grid.main li, .free-mode .enable-background .color-grid.main .text-placeholder.clrs {
586+
.free-mode .color-grid.main li,
587+
.free-mode .enable-background .color-grid.main .text-placeholder.clrs {
584588
display: none;
585589
}
586590

@@ -589,7 +593,9 @@ input#iris {
589593
margin-bottom: 0;
590594
}
591595

592-
.free-mode #more-palettes, .free-mode .no-free-palettes, .free-mode #generate-palette {
596+
.free-mode #more-palettes,
597+
.free-mode .no-free-palettes,
598+
.free-mode #generate-palette {
593599
display: none !important;
594600
}
595601

@@ -735,7 +741,8 @@ input#iris {
735741
}
736742

737743
/* Don't flash replaced sections on first load */
738-
#accordion-section-background_image, #accordion-section-colors {
744+
#accordion-section-background_image,
745+
#accordion-section-colors {
739746
display: none;
740747
}
741748

footer-credit/footer-credit/css/control.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
.footercredit-upgrade-link .dashicons::before {
2020
position: relative;
2121
top: 3px;
22-
}
22+
}

footer-credit/footer-credit/css/rtl/control-rtl.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
.footercredit-upgrade-link .dashicons::before {
2222
position: relative;
2323
top: 3px;
24-
}
24+
}

frontend-notices/gifting-banner/css/gifting-banner.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,16 @@
99
.wpcom-gifting-banner {
1010
background: #000;
1111
color: #fff;
12-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
13-
Cantarell, "Helvetica Neue", sans-serif;
12+
font-family:
13+
-apple-system,
14+
BlinkMacSystemFont,
15+
"Segoe UI",
16+
Roboto,
17+
Oxygen-Sans,
18+
Ubuntu,
19+
Cantarell,
20+
"Helvetica Neue",
21+
sans-serif;
1422
}
1523

1624
.wpcom-gifting-banner__img {

frontend-notices/gifting-banner/css/rtl/gifting-banner-rtl.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,16 @@
1111
.wpcom-gifting-banner {
1212
background: #000;
1313
color: #fff;
14-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
15-
Cantarell, "Helvetica Neue", sans-serif;
14+
font-family:
15+
-apple-system,
16+
BlinkMacSystemFont,
17+
"Segoe UI",
18+
Roboto,
19+
Oxygen-Sans,
20+
Ubuntu,
21+
Cantarell,
22+
"Helvetica Neue",
23+
sans-serif;
1624
}
1725

1826
.wpcom-gifting-banner__img {

jetpack_vendor/automattic/jetpack-classic-theme-helper/src/custom-post-types/css/edit-items.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
text-align: center;
1212
}
1313

14-
.widefat .menu-label-row, .widefat .menu-label-row td {
14+
.widefat .menu-label-row,
15+
.widefat .menu-label-row td {
1516
background-color: #d6d6d6;
1617
color: #111;
1718
border: 0 none;
@@ -25,6 +26,7 @@
2526
margin-top: 4px;
2627
}
2728

28-
.tablenav .view-switch a, .tablenav div.tablenav-pages {
29+
.tablenav .view-switch a,
30+
.tablenav div.tablenav-pages {
2931
display: none;
30-
}
32+
}

jetpack_vendor/automattic/jetpack-classic-theme-helper/src/custom-post-types/css/many-items.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
.many-items-table th, .many-items-table td {
1+
.many-items-table th,
2+
.many-items-table td {
23
width: 25%;
34
}
45

5-
.many-items-table input, .many-items-table textarea {
6+
.many-items-table input,
7+
.many-items-table textarea {
68
width: 100%;
79
}
810

0 commit comments

Comments
 (0)