Skip to content

Commit 838b42b

Browse files
committed
Latest build
1 parent d96dba5 commit 838b42b

File tree

3 files changed

+58
-35
lines changed

3 files changed

+58
-35
lines changed

.stylelintrc.yml

Lines changed: 45 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ ignoreFiles:
33

44
defaultSeverity: warning
55

6+
customSyntax: postcss-scss
7+
68
plugins:
79
- stylelint-scss
810
- stylelint-order
@@ -12,6 +14,9 @@ rules:
1214
# Specify percentage or number notation for alpha-values.
1315
alpha-value-notation: number
1416

17+
# Disallow unknown annotations.
18+
#annotation-no-unknown: true
19+
1520
# Specify a list of disallowed at-rules.
1621
at-rule-disallowed-list:
1722
- debug
@@ -89,10 +94,10 @@ rules:
8994
# Disallow empty blocks.
9095
block-no-empty: true
9196

92-
# equire a newline after the opening brace of blocks.
97+
# Require a newline after the opening brace of blocks.
9398
block-opening-brace-newline-after: always-multi-line
9499

95-
#Require a newline or disallow whitespace before the opening brace of blocks.
100+
# Require a newline or disallow whitespace before the opening brace of blocks.
96101
#block-opening-brace-newline-before:
97102

98103
# Require a single space or disallow whitespace after the opening brace of blocks.
@@ -104,6 +109,9 @@ rules:
104109
# Specify modern or legacy notation for applicable color-functions.
105110
color-function-notation: modern
106111

112+
# Require or disallow alpha channel for hex colors.
113+
#color-hex-alpha: never
114+
107115
# Specify lowercase or uppercase for hexadecimal color values.
108116
color-hex-case: lower
109117

@@ -125,9 +133,6 @@ rules:
125133
# Disallow empty comments.
126134
comment-no-empty: true
127135

128-
# Specify a pattern for comments.
129-
#comment-pattern:
130-
131136
# Require or disallow whitespace on the inside of comment markers.
132137
comment-whitespace-inside: always
133138

@@ -140,6 +145,9 @@ rules:
140145
# Require or disallow an empty line before custom properties (Autofixable).
141146
custom-property-empty-line-before: never
142147

148+
# Disallow missing `var` function for custom properties.
149+
#custom-property-no-missing-var-function: true
150+
143151
# Specify a pattern for custom properties.
144152
#custom-property-pattern:
145153

@@ -194,6 +202,9 @@ rules:
194202
# Disallow `!important` within declarations.
195203
#declaration-no-important:
196204

205+
# Limit the number of values for a list of properties within declarations.
206+
#declaration-property-max-values:
207+
197208
# Specify a blacklist of disallowed property and unit pairs within declarations.
198209
#declaration-property-unit-blacklist:
199210

@@ -224,9 +235,6 @@ rules:
224235
# Specify a blacklist of disallowed functions.
225236
#function-blacklist:
226237

227-
# Disallow an invalid expression within `calc` functions.
228-
function-calc-no-invalid: true
229-
230238
# Disallow an unspaced operator within `calc` functions.
231239
function-calc-no-unspaced-operator: true
232240

@@ -251,6 +259,9 @@ rules:
251259
# Specify lowercase or uppercase for function names.
252260
function-name-case: lower
253261

262+
# Disallow unknown functions.
263+
#function-no-unknown: true
264+
254265
# Require a newline or disallow whitespace on the inside of the parentheses of functions.
255266
function-parentheses-newline-inside: always-multi-line
256267

@@ -278,12 +289,21 @@ rules:
278289
# Specify number or angle notation for degree hues.
279290
hue-degree-notation: number
280291

292+
# Specify string or URL notation for `@import` rules.
293+
#import-notation: url
294+
281295
# Specify indentation.
282296
indentation: 4
283297

298+
# Disallow duplicate selectors within keyframe blocks.
299+
keyframe-block-no-duplicate-selectors: true
300+
284301
# Disallow `!important` within keyframe declarations.
285302
keyframe-declaration-no-important: true
286303

304+
# Specify keyword or percentage notation for keyframe selectors.
305+
keyframe-selector-notation: percentage-unless-within-keyword-only-block
306+
287307
# Specify a pattern for keyframe names.
288308
#keyframes-name-pattern:
289309

@@ -372,10 +392,10 @@ rules:
372392
no-extra-semicolons: true
373393

374394
# Disallow double-slash comments (`//`) which are not supported by CSS.
375-
no-invalid-double-slash-comments: true
395+
#no-invalid-double-slash-comments: true
376396

377397
# Disallow invalid position `@import` rules within a stylesheet.
378-
#no-invalid-position-at-import-rule:
398+
#no-invalid-position-at-import-rule: true
379399

380400
# Disallow irregular whitespaces.
381401
no-irregular-whitespace: true
@@ -421,12 +441,12 @@ rules:
421441
except:
422442
- first-nested
423443

444+
# Specify a list of disallowed properties for selectors within rules.
445+
#rule-selector-property-disallowed-list:
446+
424447
# Require a single space or disallow whitespace on the inside of the brackets within attribute selectors.
425448
selector-attribute-brackets-space-inside: never
426449

427-
# Specify a list of disallowed attribute names.
428-
#selector-attribute-name-disallowed-list:
429-
430450
# Specify a blacklist of disallowed attribute operators.
431451
#selector-attribute-operator-blacklist:
432452

@@ -517,6 +537,9 @@ rules:
517537
# Disallow vendor prefixes for selectors.
518538
selector-no-vendor-prefix: true
519539

540+
# Specify simple or complex notation for `:not()` pseudo-class selectors.
541+
selector-not-notation: complex
542+
520543
# Specify a blacklist of disallowed pseudo-class selectors.
521544
#selector-pseudo-class-blacklist:
522545

@@ -1076,6 +1099,9 @@ rules:
10761099
# Require a single space or disallow whitespace before the colon in `$`-variable declarations.
10771100
scss/dollar-variable-colon-space-before: never
10781101

1102+
# Require `!default` flag for `$`-variable declarations.
1103+
scss/dollar-variable-default: true
1104+
10791105
# Disallow Sass variables that are used without interpolation with CSS features that use custom identifiers.
10801106
scss/dollar-variable-no-missing-interpolation: true
10811107

@@ -1088,6 +1114,9 @@ rules:
10881114
# Disallow duplicate mixins within a stylesheet.
10891115
scss/no-duplicate-mixins: true
10901116

1117+
# Disallows the use of global function names, as these global functions are now located inside built-in Sass modules.
1118+
scss/no-global-function-names: true
1119+
10911120
# Disallow linebreaks after Sass operators.
10921121
scss/operator-no-newline-after: true
10931122

@@ -1097,5 +1126,8 @@ rules:
10971126
# Disallow unspaced operators in Sass operations.
10981127
scss/operator-no-unspaced: true
10991128

1129+
# Disallow non-CSS `@import`s in partial files.
1130+
scss/partial-no-import: true
1131+
11001132
# Prevents unneeded nesting selectors.
11011133
scss/selector-no-redundant-nesting-selector: true

dist/textpattern/jquery-ui.css

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ body.darkmode .ui-state-disabled:not(.ui-button) {
250250
left: 0;
251251
width: 100%;
252252
height: 100%;
253-
background: rgba(0, 0, 0, 0.66);
253+
background: hsla(0deg, 0%, 0%, 0.66);
254254
}
255255

256256
/* Shadows
@@ -1564,23 +1564,18 @@ input[type=button] .ui-icon,
15641564
box-sizing: border-box;
15651565
margin: 0;
15661566
padding: 0.3076923077em 0.6153846154em;
1567-
overflow: visible;
1568-
/* 1 */
1567+
overflow: visible; /* 1 */
15691568
border: 1px solid var(--clr-btn-brdr);
15701569
background-clip: padding-box;
15711570
color: var(--clr-text-btn);
15721571
font-family: inherit;
1573-
font-size: 1rem;
1574-
/* 2 */
1572+
font-size: 1rem; /* 2 */
15751573
line-height: 1.5384615385;
15761574
vertical-align: baseline;
15771575
text-align: center;
15781576
-webkit-appearance: none;
1579-
-moz-appearance: none;
1580-
appearance: none;
1581-
/* 3 */
1582-
cursor: pointer;
1583-
/* 4 */
1577+
appearance: none; /* 3 */
1578+
cursor: pointer; /* 4 */
15841579
-webkit-user-select: none;
15851580
user-select: none;
15861581
}
@@ -1616,8 +1611,7 @@ a.ui-button {
16161611
* 1. `!important` required to override specificity.
16171612
*/
16181613
.ui-button.ui-state-focus {
1619-
border-color: var(--clr-focus) !important;
1620-
/* 1 */
1614+
border-color: var(--clr-focus) !important; /* 1 */
16211615
}
16221616

16231617
/**
@@ -2298,8 +2292,7 @@ body.darkmode .ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-i
22982292
border-color: var(--clr-brdr-lite);
22992293
outline: 0;
23002294
list-style: none;
2301-
font-size: 1rem;
2302-
/* 1 */
2295+
font-size: 1rem; /* 1 */
23032296
line-height: 1.5384615385;
23042297
box-shadow: var(--standard-shadow);
23052298
}
@@ -2412,7 +2405,7 @@ body.darkmode .ui-progressbar {
24122405
height: 6px;
24132406
animation: progressbar-stripes linear 4s infinite;
24142407
background-color: var(--clr-accent-grad-to);
2415-
background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.33) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.33) 50%, rgba(255, 255, 255, 0.33) 75%, transparent 75%, transparent);
2408+
background-image: linear-gradient(135deg, hsla(0deg, 0%, 100%, 0.33) 25%, transparent 25%, transparent 50%, hsla(0deg, 0%, 100%, 0.33) 50%, hsla(0deg, 0%, 100%, 0.33) 75%, transparent 75%, transparent);
24162409
background-size: 24px 24px;
24172410
}
24182411

@@ -2429,14 +2422,14 @@ body.darkmode .ui-progressbar {
24292422
*/
24302423
.ui-progressbar-indeterminate .ui-progressbar-value {
24312424
background-color: var(--clr-brdr);
2432-
background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.25) 75%, transparent 75%, transparent);
2425+
background-image: linear-gradient(135deg, hsla(0deg, 0%, 100%, 0.25) 25%, transparent 25%, transparent 50%, hsla(0deg, 0%, 100%, 0.25) 50%, hsla(0deg, 0%, 100%, 0.25) 75%, transparent 75%, transparent);
24332426
}
24342427

24352428
body.darkmode .ui-progressbar-value {
2436-
background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.33) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.33) 50%, rgba(255, 255, 255, 0.33) 75%, transparent 75%, transparent);
2429+
background-image: linear-gradient(135deg, hsla(0deg, 0%, 100%, 0.33) 25%, transparent 25%, transparent 50%, hsla(0deg, 0%, 100%, 0.33) 50%, hsla(0deg, 0%, 100%, 0.33) 75%, transparent 75%, transparent);
24372430
}
24382431
body.darkmode .ui-progressbar-indeterminate .ui-progressbar-value {
2439-
background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.25) 75%, transparent 75%, transparent);
2432+
background-image: linear-gradient(135deg, hsla(0deg, 0%, 100%, 0.25) 25%, transparent 25%, transparent 50%, hsla(0deg, 0%, 100%, 0.25) 50%, hsla(0deg, 0%, 100%, 0.25) 75%, transparent 75%, transparent);
24402433
}
24412434

24422435
/**
@@ -2846,7 +2839,7 @@ body.darkmode .ui-tabs .ui-tabs-nav li:hover {
28462839
border-bottom-width: 0;
28472840
list-style: none;
28482841
white-space: nowrap;
2849-
box-shadow: inset 0 -0.25em 0.5em rgba(102, 102, 102, 0.15);
2842+
box-shadow: inset 0 -0.25em 0.5em hsla(0deg, 0%, 40%, 0.15);
28502843
}
28512844
.ui-tabs:not(.ui-tabs-vertical) .ui-tabs-nav li.ui-tabs-active {
28522845
margin-bottom: -1px;
@@ -2855,7 +2848,7 @@ body.darkmode .ui-tabs .ui-tabs-nav li:hover {
28552848
}
28562849

28572850
body.darkmode .ui-tabs:not(.ui-tabs-vertical) .ui-tabs-nav li {
2858-
box-shadow: inset 0 -0.25em 0.5em rgba(0, 0, 0, 0.3);
2851+
box-shadow: inset 0 -0.25em 0.5em hsla(0deg, 0%, 0%, 0.3);
28592852
}
28602853
body.darkmode .ui-tabs:not(.ui-tabs-vertical) .ui-tabs-nav li.ui-tabs-active {
28612854
box-shadow: none;

webpack.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ module.exports = {
5252
new CleanWebpackPlugin(),
5353
new StyleLintPlugin({
5454
configFile: '.stylelintrc.yml',
55-
syntax: 'scss',
56-
context: 'scss',
5755
files: '**/*.scss',
5856
failOnError: false,
5957
quiet: false

0 commit comments

Comments
 (0)