mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-21 20:50:40 +00:00
chore: disable user-select for button-like elements (#142)
This commit is contained in:
parent
8ba04bfb36
commit
0509d3f82a
@ -12,6 +12,7 @@
|
|||||||
background: var(--accent-color-lite);
|
background: var(--accent-color-lite);
|
||||||
padding: $padding-8 $padding-16;
|
padding: $padding-8 $padding-16;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__content {
|
&__content {
|
||||||
@ -46,6 +47,7 @@
|
|||||||
padding: $padding-8 $padding-16;
|
padding: $padding-8 $padding-16;
|
||||||
border-bottom: $border-1 transparent;
|
border-bottom: $border-1 transparent;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__content {
|
&__content {
|
||||||
@ -94,11 +96,17 @@
|
|||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
margin: $padding-8 0;
|
margin: $padding-8 0;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
&__link {
|
&__link {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: inherit !important;
|
color: inherit !important;
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:visited:hover {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
Loading…
Reference in New Issue
Block a user