mirror of
https://github.com/picocss/pico.git
synced 2025-04-27 11:36:14 -04:00
refactor: icons
This commit is contained in:
parent
7fa3c4a099
commit
0b081e3657
15 changed files with 104 additions and 152 deletions
|
@ -29,27 +29,6 @@
|
|||
&:empty {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
// Primary and secondary buttons
|
||||
&:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]) {
|
||||
&::before {
|
||||
background-image: var(#{$✨}icon-loading-button);
|
||||
}
|
||||
|
||||
@if $enable-classes {
|
||||
&.outline {
|
||||
&::before {
|
||||
background-image: var(#{$✨}icon-loading);
|
||||
}
|
||||
}
|
||||
|
||||
&.contrast:not(.outline) {
|
||||
&::before {
|
||||
background-image: var(#{$✨}icon-loading-button-contrast);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Buttons and links
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue