|
|
|
|
@ -30,7 +30,8 @@ textarea {
|
|
|
|
|
min-height: var(--sp2); |
|
|
|
|
padding: 0 var(--sp); |
|
|
|
|
color: var(--color-text-neutral-loud); |
|
|
|
|
border: 1px solid var(--color--gray-60); |
|
|
|
|
/* border: 1px solid var(--color--gray-60); */ |
|
|
|
|
border: 1px solid var(--border-dark); |
|
|
|
|
border-radius: var(--border-radius); |
|
|
|
|
background-color: var(--color--white); |
|
|
|
|
font-family: inherit; |
|
|
|
|
@ -39,13 +40,45 @@ textarea {
|
|
|
|
|
appearance: none; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea):focus { |
|
|
|
|
:is( |
|
|
|
|
[type="color"], |
|
|
|
|
[type="date"], |
|
|
|
|
[type="datetime-local"], |
|
|
|
|
[type="email"], |
|
|
|
|
[type="file"], |
|
|
|
|
[type="month"], |
|
|
|
|
[type="number"], |
|
|
|
|
[type="password"], |
|
|
|
|
[type="search"], |
|
|
|
|
[type="tel"], |
|
|
|
|
[type="text"], |
|
|
|
|
[type="time"], |
|
|
|
|
[type="url"], |
|
|
|
|
[type="week"], |
|
|
|
|
textarea |
|
|
|
|
):focus { |
|
|
|
|
border: solid 2px var(--color--primary-50); |
|
|
|
|
outline: solid 2px var(--color--primary-50); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@supports (outline-style: double) { |
|
|
|
|
:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea):focus { |
|
|
|
|
:is( |
|
|
|
|
[type="color"], |
|
|
|
|
[type="date"], |
|
|
|
|
[type="datetime-local"], |
|
|
|
|
[type="email"], |
|
|
|
|
[type="file"], |
|
|
|
|
[type="month"], |
|
|
|
|
[type="number"], |
|
|
|
|
[type="password"], |
|
|
|
|
[type="search"], |
|
|
|
|
[type="tel"], |
|
|
|
|
[type="text"], |
|
|
|
|
[type="time"], |
|
|
|
|
[type="url"], |
|
|
|
|
[type="week"], |
|
|
|
|
textarea |
|
|
|
|
):focus { |
|
|
|
|
border-width: 1px; |
|
|
|
|
outline-width: 6px; |
|
|
|
|
outline-style: double; |
|
|
|
|
@ -53,25 +86,107 @@ textarea {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
[disabled]:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea) { |
|
|
|
|
[disabled]:is( |
|
|
|
|
[type="color"], |
|
|
|
|
[type="date"], |
|
|
|
|
[type="datetime-local"], |
|
|
|
|
[type="email"], |
|
|
|
|
[type="file"], |
|
|
|
|
[type="month"], |
|
|
|
|
[type="number"], |
|
|
|
|
[type="password"], |
|
|
|
|
[type="search"], |
|
|
|
|
[type="tel"], |
|
|
|
|
[type="text"], |
|
|
|
|
[type="time"], |
|
|
|
|
[type="url"], |
|
|
|
|
[type="week"], |
|
|
|
|
textarea |
|
|
|
|
) { |
|
|
|
|
color: var(--color--gray-60); |
|
|
|
|
background-color: var(--color--gray-100); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.error:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea) { |
|
|
|
|
.error:is( |
|
|
|
|
[type="color"], |
|
|
|
|
[type="date"], |
|
|
|
|
[type="datetime-local"], |
|
|
|
|
[type="email"], |
|
|
|
|
[type="file"], |
|
|
|
|
[type="month"], |
|
|
|
|
[type="number"], |
|
|
|
|
[type="password"], |
|
|
|
|
[type="search"], |
|
|
|
|
[type="tel"], |
|
|
|
|
[type="text"], |
|
|
|
|
[type="time"], |
|
|
|
|
[type="url"], |
|
|
|
|
[type="week"], |
|
|
|
|
textarea |
|
|
|
|
) { |
|
|
|
|
border: solid 2px var(--color--red); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.error:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea):focus { |
|
|
|
|
.error:is( |
|
|
|
|
[type="color"], |
|
|
|
|
[type="date"], |
|
|
|
|
[type="datetime-local"], |
|
|
|
|
[type="email"], |
|
|
|
|
[type="file"], |
|
|
|
|
[type="month"], |
|
|
|
|
[type="number"], |
|
|
|
|
[type="password"], |
|
|
|
|
[type="search"], |
|
|
|
|
[type="tel"], |
|
|
|
|
[type="text"], |
|
|
|
|
[type="time"], |
|
|
|
|
[type="url"], |
|
|
|
|
[type="week"], |
|
|
|
|
textarea |
|
|
|
|
):focus { |
|
|
|
|
outline-color: var(--color--red); |
|
|
|
|
outline-offset: -2px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.error:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea) + .ck-editor > .ck-editor__main { |
|
|
|
|
.error:is( |
|
|
|
|
[type="color"], |
|
|
|
|
[type="date"], |
|
|
|
|
[type="datetime-local"], |
|
|
|
|
[type="email"], |
|
|
|
|
[type="file"], |
|
|
|
|
[type="month"], |
|
|
|
|
[type="number"], |
|
|
|
|
[type="password"], |
|
|
|
|
[type="search"], |
|
|
|
|
[type="tel"], |
|
|
|
|
[type="text"], |
|
|
|
|
[type="time"], |
|
|
|
|
[type="url"], |
|
|
|
|
[type="week"], |
|
|
|
|
textarea |
|
|
|
|
) |
|
|
|
|
+ .ck-editor |
|
|
|
|
> .ck-editor__main { |
|
|
|
|
border: solid 2px var(--color--red); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.form-element--small:is([type="color"], [type="date"], [type="datetime-local"], [type="email"], [type="file"], [type="month"], [type="number"], [type="password"], [type="search"], [type="tel"], [type="text"], [type="time"], [type="url"], [type="week"], textarea) { |
|
|
|
|
.form-element--small:is( |
|
|
|
|
[type="color"], |
|
|
|
|
[type="date"], |
|
|
|
|
[type="datetime-local"], |
|
|
|
|
[type="email"], |
|
|
|
|
[type="file"], |
|
|
|
|
[type="month"], |
|
|
|
|
[type="number"], |
|
|
|
|
[type="password"], |
|
|
|
|
[type="search"], |
|
|
|
|
[type="tel"], |
|
|
|
|
[type="text"], |
|
|
|
|
[type="time"], |
|
|
|
|
[type="url"], |
|
|
|
|
[type="week"], |
|
|
|
|
textarea |
|
|
|
|
) { |
|
|
|
|
min-height: var(--sp2-5); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|