mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 11:16:15 -04:00
fix: aria-current links and buttons
This commit is contained in:
parent
3644e4ccb5
commit
e43ed98d29
13 changed files with 104 additions and 69 deletions
|
@ -23,7 +23,7 @@
|
|||
text-decoration var(#{$✨}transition), box-shadow var(#{$✨}transition);
|
||||
}
|
||||
|
||||
&:is([aria-current], :hover, :active, :focus) {
|
||||
&:is([aria-current], :hover, :active, :focus):not([aria-current="false"]) {
|
||||
#{$✨}color: var(#{$✨}primary-hover);
|
||||
#{$✨}underline: var(#{$✨}primary-underline-hover);
|
||||
#{$✨}text-decoration: underline;
|
||||
|
@ -39,7 +39,7 @@
|
|||
#{$✨}color: var(#{$✨}secondary);
|
||||
#{$✨}underline: var(#{$✨}secondary-underline);
|
||||
|
||||
&:is([aria-current], :hover, :active, :focus) {
|
||||
&:is([aria-current], :hover, :active, :focus):not([aria-current="false"]) {
|
||||
#{$✨}color: var(#{$✨}secondary-hover);
|
||||
#{$✨}underline: var(#{$✨}secondary-underline-hover);
|
||||
}
|
||||
|
@ -50,7 +50,7 @@
|
|||
#{$✨}color: var(#{$✨}contrast);
|
||||
#{$✨}underline: var(#{$✨}contrast-underline);
|
||||
|
||||
&:is([aria-current], :hover, :active, :focus) {
|
||||
&:is([aria-current], :hover, :active, :focus):not([aria-current="false"]) {
|
||||
#{$✨}color: var(#{$✨}contrast-hover);
|
||||
#{$✨}underline: var(#{$✨}contrast-underline-hover);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue