mirror of
https://github.com/picocss/pico
synced 2025-09-15 13:47:53 +00:00
style: button text not selectable
This commit is contained in:
parent
2645a769d8
commit
a730228855
@ -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…
x
Reference in New Issue
Block a user