Skip to content

Commit b0d2717

Browse files
committed
Fix lint errors
1 parent a5e1418 commit b0d2717

14 files changed

+31
-40
lines changed

app/assets/stylesheets/components/_alert-icon.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
.alert-icon--centered-top {
88
position: absolute;
99
left: 50%;
10-
top: 0px;
10+
top: 0;
1111
transform: translate(-50%, -50%);
1212
}

app/assets/stylesheets/components/_block-link.scss

+1-4
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,10 @@
2424
&::before {
2525
@include u-border('1px', 'primary');
2626
border-radius: 6px;
27-
bottom: 0;
27+
inset: 0 units(-1) 0 units(-1);
2828
content: '';
29-
left: units(-1);
3029
pointer-events: none;
3130
position: absolute;
32-
right: units(-1);
33-
top: 0;
3431
}
3532
}
3633
}

app/assets/stylesheets/components/_full-screen.scss

+1-4
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@
55
}
66

77
.full-screen {
8-
bottom: 0;
9-
left: 0;
8+
inset: 0;
109
position: fixed;
11-
right: 0;
12-
top: 0;
1310
z-index: 1000;
1411
}
1512

app/assets/stylesheets/components/_spinner-dots.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
animation-iteration-count: infinite;
6666
animation-timing-function: linear;
6767
animation-delay: 0.01s; // See: https://stackoverflow.com/a/40028240
68-
background-color: currentColor;
68+
background-color: currentcolor;
6969
border-radius: 50%;
7070
content: '';
7171
display: block;

app/assets/stylesheets/components/_step-indicator.scss

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ $step-indicator-line-height: 4px;
66
lg-step-indicator {
77
display: block;
88
border-bottom: 1px solid color('primary-light');
9-
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
9+
box-shadow: 0 2px 2px rgb(0 0 0 / 10%);
1010
margin-bottom: units(4);
1111
position: relative;
1212

@@ -29,9 +29,9 @@ lg-step-indicator {
2929
&::before {
3030
background: linear-gradient(
3131
to right,
32-
rgba(255, 255, 255, 1),
33-
rgba(255, 255, 255, 1) 17%,
34-
rgba(255, 255, 255, 0)
32+
rgb(255 255 255 / 100%),
33+
rgb(255 255 255 / 100%) 17%,
34+
rgb(255 255 255 / 0%)
3535
);
3636
left: 0;
3737
z-index: 1;
@@ -40,9 +40,9 @@ lg-step-indicator {
4040
&::after {
4141
background: linear-gradient(
4242
to left,
43-
rgba(255, 255, 255, 1),
44-
rgba(255, 255, 255, 1) 17%,
45-
rgba(255, 255, 255, 0)
43+
rgb(255 255 255 / 100%),
44+
rgb(255 255 255 / 100%) 17%,
45+
rgb(255 255 255 / 0%)
4646
);
4747
right: 0;
4848
}

app/assets/stylesheets/design-system-waiting-room.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// To be removed once design system incorporates styles included below.
22

3-
//basscss-base-typography
4-
//------------------------------------------------
3+
// basscss-base-typography
4+
// ------------------------------------------------
55
h1,
66
h2,
77
h3,
@@ -18,7 +18,7 @@ ul {
1818
}
1919

2020
// basscss-utility-typography
21-
//------------------------------------------------
21+
// ------------------------------------------------
2222
.break-word {
2323
word-wrap: break-word;
2424
}

app/assets/stylesheets/tables-report.css.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
.usa-alert.usa-alert--info.usa-alert--email {
1212
.usa-alert__body {
13-
&:before {
13+
&::before {
1414
background-image: url('email/info.png');
1515
}
1616
}

app/assets/stylesheets/variables/_email.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ $success-color: #3adb76;
2121
$warning-color: #ffae00;
2222
$alert-color: #ec5840;
2323
$light-gray: #f3f3f3;
24-
$black: #111111;
25-
$white: #ffffff;
24+
$black: #111;
25+
$white: #fff;
2626
$gray: #5b616a;
2727
$medium-gray: #cacaca;
2828
$dark-gray: #212121;

app/components/icon_component.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55

66
.icon {
77
mask-size: 100%;
8-
background-color: currentColor;
8+
background-color: currentcolor;
99
}

app/components/phone_input_component.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ lg-phone-input {
1010
.iti__flag {
1111
background-image: url('/flags.png');
1212

13-
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
13+
@media (resolution >= 2x) {
1414
background-image: url('/[email protected]');
1515
}
1616
}

app/components/security_key_image_component.scss

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
.security-key-image__key {
2-
animation: security-key-image__key__move 4s ease-in-out infinite;
2+
animation: security-key-image-key-move 4s ease-in-out infinite;
33

44
@media (prefers-reduced-motion) {
55
animation: none;
66
}
77
}
88

99
.security-key-image__arrow {
10-
animation: security-key-image__arrow__move 4s ease-in-out infinite;
10+
animation: security-key-image-arrow-move 4s ease-in-out infinite;
1111

1212
@media (prefers-reduced-motion) {
1313
animation: none;
@@ -16,15 +16,15 @@
1616

1717
.security-key--mobile {
1818
.security-key-image__key {
19-
animation-name: security-key-image__key__move__mobile;
19+
animation-name: security-key-image-key-move-mobile;
2020
}
2121

2222
.security-key-image__arrow {
23-
animation-name: security-key-image__arrow__move__mobile;
23+
animation-name: security-key-image-arrow-move-mobile;
2424
}
2525
}
2626

27-
@keyframes security-key-image__key__move {
27+
@keyframes security-key-image-key-move {
2828
25% {
2929
transform: translate(0, 0);
3030
}
@@ -39,7 +39,7 @@
3939
}
4040
}
4141

42-
@keyframes security-key-image__key__move__mobile {
42+
@keyframes security-key-image-key-move-mobile {
4343
25% {
4444
transform: translate(0, 0);
4545
}
@@ -54,7 +54,7 @@
5454
}
5555
}
5656

57-
@keyframes security-key-image__arrow__move {
57+
@keyframes security-key-image-arrow-move {
5858
7.5% {
5959
transform: translate(0, 0);
6060
}
@@ -75,7 +75,7 @@
7575
}
7676
}
7777

78-
@keyframes security-key-image__arrow__move__mobile {
78+
@keyframes security-key-image-arrow-move-mobile {
7979
7.5% {
8080
transform: translate(0, 0);
8181
}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.webauthn-input--unsupported-passkey .usa-checkbox__label {
2-
background: rgba(255, 0, 0, 0.1);
2+
background: rgb(255 0 0 / 10%);
33
}

app/javascript/packages/document-capture/components/_file-input.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
outline-offset: 2px;
1111
}
1212

13-
.usa-file-input:not(.usa-file-input--has-value):not(.usa-file-input--value-pending)
13+
.usa-file-input:not(.usa-file-input--has-value, .usa-file-input--value-pending)
1414
.usa-file-input__target,
1515
.usa-form-group--error .usa-file-input .usa-file-input__target,
1616
.usa-form-group--success .usa-file-input .usa-file-input__target {
1717
border-width: 3px;
1818
}
1919

20-
.usa-file-input:not(.usa-file-input--has-value):not(.usa-file-input--value-pending) {
20+
.usa-file-input:not(.usa-file-input--has-value, .usa-file-input--value-pending) {
2121
.usa-file-input__target {
2222
border-color: color('primary');
2323
border-radius: 0.375rem;

app/javascript/packages/document-capture/components/acuant-capture.scss

+1-4
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,13 @@
1616

1717
.usa-file-input__target {
1818
align-items: center;
19-
bottom: 0;
19+
inset: 0;
2020
display: flex;
2121
flex-direction: column;
2222
height: 100%;
2323
justify-content: center;
24-
left: 0;
2524
margin-top: 0;
2625
position: absolute;
27-
right: 0;
28-
top: 0;
2926
}
3027

3128
&::after {

0 commit comments

Comments
 (0)