Skip to content

Commit c7184c6

Browse files
committed
Move .input--actor styles to end of file and update check size vars
1 parent cc5bcc1 commit c7184c6

File tree

1 file changed

+12
-12
lines changed
  • lib/generators/css_zero/add/templates/app/assets/stylesheets

1 file changed

+12
-12
lines changed

lib/generators/css_zero/add/templates/app/assets/stylesheets/input.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,10 @@
3131
}
3232
}
3333

34-
.input--actor {
35-
input {
36-
border: 0; inline-size: 100%; outline: 0;
37-
}
38-
39-
&:focus-within {
40-
outline: var(--input-outline-size, 2px) solid var(--color-selected-dark);
41-
}
42-
}
43-
4434
:is(.checkbox, .radio) {
4535
accent-color: var(--input-accent-color, var(--color-primary));
46-
block-size: var(--check-size, var(--size-4));
47-
inline-size: var(--check-size, var(--size-4));
36+
block-size: var(--input-check-size, var(--size-4));
37+
inline-size: var(--input-check-size, var(--size-4));
4838
}
4939

5040
:is(.range) {
@@ -72,3 +62,13 @@
7262
border-color: var(--color-negative);
7363
}
7464
}
65+
66+
.input--actor {
67+
input {
68+
border: 0; inline-size: 100%; outline: 0;
69+
}
70+
71+
&:focus-within {
72+
outline: var(--input-outline-size, 2px) solid var(--color-selected-dark);
73+
}
74+
}

0 commit comments

Comments
 (0)