mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 16:46:14 -04:00
style: button text not selectable
This commit is contained in:
parent
2645a769d8
commit
a730228855
1 changed files with 1 additions and 1 deletions
|
@ -64,6 +64,7 @@
|
||||||
line-height: var(#{$✨}line-height);
|
line-height: var(#{$✨}line-height);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
@if $enable-transitions {
|
@if $enable-transitions {
|
||||||
transition: background-color var(#{$✨}transition), border-color var(#{$✨}transition),
|
transition: background-color var(#{$✨}transition), border-color var(#{$✨}transition),
|
||||||
|
@ -187,6 +188,5 @@
|
||||||
:is(button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]) {
|
:is(button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]) {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
user-select: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue