mirror of
https://github.com/picocss/pico.git
synced 2025-04-30 04:49:13 -04:00
Merge branch 'dev' into pr/141
This commit is contained in:
commit
f1bde7f7f7
69 changed files with 1999 additions and 258 deletions
|
@ -68,7 +68,8 @@ ul {
|
|||
|
||||
// Links
|
||||
// 1. Remove the gray background on active links in IE 10
|
||||
a {
|
||||
a,
|
||||
[role="link"] {
|
||||
--color: var(--primary);
|
||||
--background-color: transparent;
|
||||
outline: none;
|
||||
|
@ -81,6 +82,7 @@ a {
|
|||
text-decoration var(--transition), box-shadow var(--transition);
|
||||
}
|
||||
|
||||
&[aria-current],
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
|
@ -97,7 +99,7 @@ a {
|
|||
&.secondary {
|
||||
--color: var(--secondary);
|
||||
|
||||
&:is(:hover, :active, :focus) {
|
||||
&:is([aria-current], :hover, :active, :focus) {
|
||||
--color: var(--secondary-hover);
|
||||
}
|
||||
|
||||
|
@ -110,7 +112,7 @@ a {
|
|||
&.contrast {
|
||||
--color: var(--contrast);
|
||||
|
||||
&:is(:hover, :active, :focus) {
|
||||
&:is([aria-current], :hover, :active, :focus) {
|
||||
--color: var(--contrast-hover);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue