mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 16:46:14 -04:00
Fix .contrast link inside nav
This commit is contained in:
parent
3671719498
commit
d0730c8b6e
3 changed files with 7 additions and 3 deletions
|
@ -1529,7 +1529,7 @@ nav a:hover, nav a:active, nav a:focus {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav a.contrast:not([role="button"]) {
|
nav a.contrast:not([role="button"]), nav a.contrast:not([role="button"]):hover, nav a.contrast:not([role="button"]):active, nav a.contrast:not([role="button"]):focus {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
css/pico.min.css
vendored
2
css/pico.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -49,8 +49,12 @@ nav {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Disable underline for a.contrast in nav
|
||||||
@if $enable-classes {
|
@if $enable-classes {
|
||||||
&.contrast:not([role="button"]) {
|
&.contrast:not([role="button"]),
|
||||||
|
&.contrast:not([role="button"]):hover,
|
||||||
|
&.contrast:not([role="button"]):active,
|
||||||
|
&.contrast:not([role="button"]):focus {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue