Skip to content

Commit 77803d5

Browse files
committed
Latest stylelint
1 parent f594e51 commit 77803d5

File tree

10 files changed

+77
-319
lines changed

10 files changed

+77
-319
lines changed

.stylelintrc.yml

Lines changed: 52 additions & 295 deletions
Large diffs are not rendered by default.

dist/textpattern/jquery-ui.css

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
outline: 0;
3333
list-style: none;
3434
font-size: 1rem;
35-
line-height: 1.5384615385;
35+
line-height: 1.5384615;
3636
text-decoration: none;
3737
}
3838

@@ -1563,14 +1563,14 @@ input[type=button] .ui-icon,
15631563
position: relative;
15641564
box-sizing: border-box;
15651565
margin: 0;
1566-
padding: 0.3076923077em 0.6153846154em;
1566+
padding: 0.3076923em 0.6153846em;
15671567
overflow: visible; /* 1 */
15681568
border: 1px solid var(--clr-btn-brdr);
15691569
background-clip: padding-box;
15701570
color: var(--clr-text-btn);
15711571
font-family: inherit;
15721572
font-size: 1rem; /* 2 */
1573-
line-height: 1.5384615385;
1573+
line-height: 1.5384615;
15741574
vertical-align: baseline;
15751575
text-align: center;
15761576
-webkit-appearance: none;
@@ -1985,7 +1985,7 @@ body.darkmode .ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-i
19851985
}
19861986
.ui-datepicker .ui-datepicker-title {
19871987
margin: 0 2.2em;
1988-
line-height: 1.8461538462;
1988+
line-height: 1.8461538;
19891989
text-align: center;
19901990
}
19911991
.ui-datepicker .ui-datepicker-title select {
@@ -2293,7 +2293,7 @@ body.darkmode .ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-i
22932293
outline: 0;
22942294
list-style: none;
22952295
font-size: 1rem; /* 1 */
2296-
line-height: 1.5384615385;
2296+
line-height: 1.5384615;
22972297
box-shadow: var(--standard-shadow);
22982298
}
22992299
.ui-menu .ui-menu {
@@ -2494,9 +2494,9 @@ body.darkmode .ui-progressbar-indeterminate .ui-progressbar-value {
24942494
.ui-selectmenu-icon {
24952495
flex: none;
24962496
order: 2;
2497-
margin: 0.2em 0.2307692308em 0;
2498-
-webkit-margin-end: -0.2307692308em;
2499-
margin-inline-end: -0.2307692308em;
2497+
margin: 0.2em 0.2307692em 0;
2498+
-webkit-margin-end: -0.2307692em;
2499+
margin-inline-end: -0.2307692em;
25002500
}
25012501

25022502
.ui-selectmenu-text {
@@ -2521,11 +2521,11 @@ body.darkmode .ui-progressbar-indeterminate .ui-progressbar-value {
25212521
.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
25222522
height: auto;
25232523
margin: 0.5em 0 0;
2524-
padding: 2px 0.6153846154em;
2524+
padding: 2px 0.6153846em;
25252525
border-top: 1px solid var(--clr-brdr);
25262526
font-size: 1rem;
25272527
font-weight: 700;
2528-
line-height: 1.5384615385;
2528+
line-height: 1.5384615;
25292529
}
25302530
.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup:first-child {
25312531
margin: 0;
@@ -2740,8 +2740,8 @@ body.darkmode .ui-slider .ui-slider-handle {
27402740
margin: 0;
27412741
padding: 0;
27422742
overflow: hidden;
2743-
font-size: 0.5384615385rem;
2744-
line-height: 1.5714285714;
2743+
font-size: 0.5384615rem;
2744+
line-height: 1.5714286;
27452745
cursor: default;
27462746
}
27472747

@@ -2807,7 +2807,7 @@ body.darkmode .ui-slider .ui-slider-handle {
28072807
}
28082808
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
28092809
display: block;
2810-
padding: 0.3846153846em 1em;
2810+
padding: 0.3846154em 1em;
28112811
}
28122812
.ui-tabs .ui-tabs-nav li:hover {
28132813
filter: brightness(1.05);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"sass": "1.63.6",
2929
"sass-loader": "13.3.2",
3030
"stylelint": "15.9.0",
31+
"stylelint-config-standard-scss": "10.0.0",
3132
"stylelint-order": "6.0.3",
32-
"stylelint-scss": "5.0.1",
3333
"stylelint-webpack-plugin": "4.1.1",
3434
"webpack": "5.88.1",
3535
"webpack-cli": "5.1.4"

scss/modules/jquery-ui/_button.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
position: relative;
2828
box-sizing: border-box;
2929
margin: 0;
30-
padding: 0.30769230769231em 0.61538461538462em; // 4px / 13px + 8px / 13px
30+
padding: 0.3076923em 0.6153846em; // 4px / 13px + 8px / 13px
3131
overflow: visible; /* 1 */
3232
border: 1px solid var(--clr-btn-brdr);
3333
background-clip: padding-box;

scss/modules/jquery-ui/_datepicker.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134

135135
.ui-datepicker-title {
136136
margin: 0 2.2em;
137-
line-height: 1.846153846153846; // 24px / 13px
137+
line-height: 1.8461538; // 24px / 13px
138138
text-align: center;
139139

140140
select {

scss/modules/jquery-ui/_selectmenu.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
.ui-selectmenu-icon {
5858
flex: none;
5959
order: 2;
60-
margin: 0.2em 0.230769230769231em 0;
61-
margin-inline-end: -0.230769230769231em;
60+
margin: 0.2em 0.2307692em 0;
61+
margin-inline-end: -0.2307692em;
6262
}
6363

6464
.ui-selectmenu-text {
@@ -83,7 +83,7 @@
8383
.ui-selectmenu-optgroup {
8484
height: auto;
8585
margin: 0.5em 0 0;
86-
padding: 2px 0.61538461538462em; // 8px / 13px
86+
padding: 2px 0.6153846em; // 8px / 13px
8787
border-top: 1px solid var(--clr-brdr);
8888
font-size: 1rem;
8989
font-weight: 700;

scss/modules/jquery-ui/_spinner.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
margin: 0;
4848
padding: 0;
4949
overflow: hidden;
50-
font-size: 0.53846153846154rem; // 7px / 13px
51-
line-height: 1.57142857142857; // 11px / 7px
50+
font-size: 0.5384615rem; // 7px / 13px
51+
line-height: 1.5714286; // 11px / 7px
5252
cursor: default;
5353
}
5454

scss/modules/jquery-ui/_tabs.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
.ui-tabs-anchor {
5151
display: block;
52-
padding: 0.38461538461538em 1em;
52+
padding: 0.3846154em 1em;
5353
}
5454

5555
li {

scss/setup/_mixins.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
@mixin hires-graphic($hdfile, $hdtype, $hdwidth, $hdheight) {
1212
$filename: $hdfile + "." + $hdtype !default;
1313
$hdfilename: $hdfile + "@2x." + $hdtype !default;
14+
1415
background-image: url("../img/" + $filename);
1516
background-size: $hdwidth $hdheight;
1617

scss/setup/_settings.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ $flat-theme: false !default; // true/false
55
// typography grid
66

77
$base-font-size: 13px !default;
8-
$base-line-height: 1.538461538461538 !default; // 20px / 13px
8+
$base-line-height: 1.5384615 !default; // 20px / 13px
99
$small-font-size: 11px !default;
10-
$small-line-height: 1.454545454545455 !default; // 16px / 11px
10+
$small-line-height: 1.4545455 !default; // 16px / 11px
1111

1212
// layout grid
1313

0 commit comments

Comments
 (0)