feat: exclude html for aria-busy

#349
This commit is contained in:
Lucas Larroche 2023-04-23 10:44:33 +07:00
parent 7e22e16910
commit 960e793bb2
10 changed files with 16 additions and 16 deletions

View file

@ -2024,7 +2024,7 @@ form[role=search], form[role=group] {
/** /**
* Loading ([aria-busy=true]) * Loading ([aria-busy=true])
*/ */
[aria-busy=true]:not(input, select, textarea)::before { [aria-busy=true]:not(input, select, textarea, html)::before {
display: inline-block; display: inline-block;
width: 1em; width: 1em;
height: 1em; height: 1em;
@ -2034,11 +2034,11 @@ form[role=search], form[role=group] {
content: ""; content: "";
vertical-align: -0.125em; vertical-align: -0.125em;
} }
[aria-busy=true]:not(input, select, textarea):not(:empty)::before { [aria-busy=true]:not(input, select, textarea, html):not(:empty)::before {
-webkit-margin-end: calc(var(--pico-spacing) * 0.5); -webkit-margin-end: calc(var(--pico-spacing) * 0.5);
margin-inline-end: calc(var(--pico-spacing) * 0.5); margin-inline-end: calc(var(--pico-spacing) * 0.5);
} }
[aria-busy=true]:not(input, select, textarea):empty { [aria-busy=true]:not(input, select, textarea, html):empty {
text-align: center; text-align: center;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -2334,7 +2334,7 @@ form[role=search], form[role=group] {
/** /**
* Loading ([aria-busy=true]) * Loading ([aria-busy=true])
*/ */
[aria-busy=true]:not(input, select, textarea)::before { [aria-busy=true]:not(input, select, textarea, html)::before {
display: inline-block; display: inline-block;
width: 1em; width: 1em;
height: 1em; height: 1em;
@ -2344,11 +2344,11 @@ form[role=search], form[role=group] {
content: ""; content: "";
vertical-align: -0.125em; vertical-align: -0.125em;
} }
[aria-busy=true]:not(input, select, textarea):not(:empty)::before { [aria-busy=true]:not(input, select, textarea, html):not(:empty)::before {
-webkit-margin-end: calc(var(--pico-spacing) * 0.5); -webkit-margin-end: calc(var(--pico-spacing) * 0.5);
margin-inline-end: calc(var(--pico-spacing) * 0.5); margin-inline-end: calc(var(--pico-spacing) * 0.5);
} }
[aria-busy=true]:not(input, select, textarea):empty { [aria-busy=true]:not(input, select, textarea, html):empty {
text-align: center; text-align: center;
} }

File diff suppressed because one or more lines are too long

View file

@ -1987,7 +1987,7 @@ form[role=search], form[role=group] {
/** /**
* Loading ([aria-busy=true]) * Loading ([aria-busy=true])
*/ */
[aria-busy=true]:not(input, select, textarea)::before { [aria-busy=true]:not(input, select, textarea, html)::before {
display: inline-block; display: inline-block;
width: 1em; width: 1em;
height: 1em; height: 1em;
@ -1997,11 +1997,11 @@ form[role=search], form[role=group] {
content: ""; content: "";
vertical-align: -0.125em; vertical-align: -0.125em;
} }
[aria-busy=true]:not(input, select, textarea):not(:empty)::before { [aria-busy=true]:not(input, select, textarea, html):not(:empty)::before {
-webkit-margin-end: calc(var(--pico-spacing) * 0.5); -webkit-margin-end: calc(var(--pico-spacing) * 0.5);
margin-inline-end: calc(var(--pico-spacing) * 0.5); margin-inline-end: calc(var(--pico-spacing) * 0.5);
} }
[aria-busy=true]:not(input, select, textarea):empty { [aria-busy=true]:not(input, select, textarea, html):empty {
text-align: center; text-align: center;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
css/pico.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -7,7 +7,7 @@
*/ */
// Everything except form elements // Everything except form elements
[aria-busy="true"]:not(input, select, textarea) { [aria-busy="true"]:not(input, select, textarea, html) {
&::before { &::before {
display: inline-block; display: inline-block;
width: 1em; width: 1em;