mirror of
https://github.com/picocss/pico.git
synced 2025-04-22 09:26:14 -04:00
chore(button): Clean
This commit is contained in:
parent
f98b2d78a9
commit
169c2414d8
1 changed files with 4 additions and 6 deletions
|
@ -64,8 +64,8 @@ input[type="reset"],
|
||||||
|
|
||||||
@if $enable-transitions {
|
@if $enable-transitions {
|
||||||
transition: background-color var(--transition),
|
transition: background-color var(--transition),
|
||||||
border-color var(--transition), color var(--transition),
|
border-color var(--transition), color var(--transition),
|
||||||
box-shadow var(--transition);
|
box-shadow var(--transition);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:is([aria-current], :hover, :active, :focus) {
|
&:is([aria-current], :hover, :active, :focus) {
|
||||||
|
@ -83,9 +83,7 @@ input[type="reset"],
|
||||||
|
|
||||||
// .secondary, .contrast & .outline
|
// .secondary, .contrast & .outline
|
||||||
@if $enable-classes {
|
@if $enable-classes {
|
||||||
|
|
||||||
//:where(button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]) {
|
|
||||||
|
|
||||||
// Secondary
|
// Secondary
|
||||||
button.secondary,
|
button.secondary,
|
||||||
input[type="submit"].secondary,
|
input[type="submit"].secondary,
|
||||||
|
@ -199,4 +197,4 @@ input[type="reset"],
|
||||||
a[role="button"]:not([href]) {
|
a[role="button"]:not([href]) {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue