mirror of
https://github.com/picocss/pico.git
synced 2025-04-21 17:16:14 -04:00
fix: form helper text
This commit is contained in:
parent
641483e42c
commit
25b505e206
10 changed files with 16 additions and 16 deletions
|
@ -1441,17 +1441,17 @@ textarea[aria-invalid] {
|
|||
background-size: 1rem var(--pico-icon-height) !important;
|
||||
}
|
||||
|
||||
:where(input, select, textarea) + small {
|
||||
:where(input, select, textarea, fieldset) + small {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-top: calc(var(--pico-spacing) * -0.75);
|
||||
margin-bottom: var(--pico-spacing);
|
||||
color: var(--pico-muted-color);
|
||||
}
|
||||
:where(input, select, textarea)[aria-invalid=false] + small {
|
||||
:where(input, select, textarea, fieldset)[aria-invalid=false] + small {
|
||||
color: var(--pico-ins-color);
|
||||
}
|
||||
:where(input, select, textarea)[aria-invalid=true] + small {
|
||||
:where(input, select, textarea, fieldset)[aria-invalid=true] + small {
|
||||
color: var(--pico-del-color);
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
2
css/pico.classless.min.css
vendored
2
css/pico.classless.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -1597,17 +1597,17 @@ textarea[aria-invalid] {
|
|||
background-size: 1rem var(--pico-icon-height) !important;
|
||||
}
|
||||
|
||||
:where(input, select, textarea, .grid) + small {
|
||||
:where(input, select, textarea, fieldset, .grid) + small {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-top: calc(var(--pico-spacing) * -0.75);
|
||||
margin-bottom: var(--pico-spacing);
|
||||
color: var(--pico-muted-color);
|
||||
}
|
||||
:where(input, select, textarea, .grid)[aria-invalid=false] + small {
|
||||
:where(input, select, textarea, fieldset, .grid)[aria-invalid=false] + small {
|
||||
color: var(--pico-ins-color);
|
||||
}
|
||||
:where(input, select, textarea, .grid)[aria-invalid=true] + small {
|
||||
:where(input, select, textarea, fieldset, .grid)[aria-invalid=true] + small {
|
||||
color: var(--pico-del-color);
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1404,17 +1404,17 @@ textarea[aria-invalid] {
|
|||
background-size: 1rem var(--pico-icon-height) !important;
|
||||
}
|
||||
|
||||
:where(input, select, textarea) + small {
|
||||
:where(input, select, textarea, fieldset) + small {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-top: calc(var(--pico-spacing) * -0.75);
|
||||
margin-bottom: var(--pico-spacing);
|
||||
color: var(--pico-muted-color);
|
||||
}
|
||||
:where(input, select, textarea)[aria-invalid=false] + small {
|
||||
:where(input, select, textarea, fieldset)[aria-invalid=false] + small {
|
||||
color: var(--pico-ins-color);
|
||||
}
|
||||
:where(input, select, textarea)[aria-invalid=true] + small {
|
||||
:where(input, select, textarea, fieldset)[aria-invalid=true] + small {
|
||||
color: var(--pico-del-color);
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
2
css/pico.fluid.classless.min.css
vendored
2
css/pico.fluid.classless.min.css
vendored
File diff suppressed because one or more lines are too long
2
css/pico.min.css
vendored
2
css/pico.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -3,7 +3,7 @@
|
|||
|
||||
@if map.get($modules, "forms/basics") {
|
||||
// Helper
|
||||
$helper-previous-tags: "input, select, textarea";
|
||||
$helper-previous-tags: "input, select, textarea, fieldset";
|
||||
/**
|
||||
* Basics form elements
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue