mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 19:26:14 -04:00
Improvements
- Add .contrast variant - Separate _button-styles.scss - Edit .secondary, mark, figcaption, hgroup, tooltips - Docs: Add More about grids, External links icon, Second theme switcher
This commit is contained in:
parent
066c0a04fd
commit
73237bdcd4
26 changed files with 516 additions and 229 deletions
|
@ -48,6 +48,12 @@ nav {
|
|||
&:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@if $enable-classes {
|
||||
&.contrast:not([role="button"]) {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
overflow: hidden;
|
||||
transform: translate(-50%, -.25rem);
|
||||
border-radius: $round;
|
||||
background: var(--secondary);
|
||||
color: var(--secondary-inverse);
|
||||
background: var(--contrast);
|
||||
color: var(--contrast-inverse);
|
||||
font-size: .85rem;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
|
@ -33,9 +33,9 @@
|
|||
content: attr(data-tooltip);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity $transition;
|
||||
}
|
||||
|
||||
// Caret
|
||||
&::after {
|
||||
padding: 0;
|
||||
transform: translate(-50%, 0rem);
|
||||
|
@ -44,7 +44,7 @@
|
|||
border-left: .3rem solid transparent;
|
||||
border-radius: 0;
|
||||
background-color: transparent;
|
||||
color: var(--secondary);
|
||||
color: var(--contrast);
|
||||
content: '';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue