mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 20:00:29 +01:00
Unify text selection color
This commit is contained in:
@@ -14,13 +14,15 @@
|
||||
box-shadow var(--transition-duration);
|
||||
}
|
||||
|
||||
::selection {
|
||||
@apply bg-selection;
|
||||
}
|
||||
|
||||
/* Disable user selection to make it more "app-like" */
|
||||
:not(input):not(textarea),
|
||||
:not(input):not(textarea)::after,
|
||||
:not(input):not(textarea)::before {
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
@apply select-none cursor-default;
|
||||
}
|
||||
|
||||
.hide-scrollbars {
|
||||
@@ -30,11 +32,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.destroy-pointer-event,
|
||||
.destroy-pointer-event * {
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
/* Style the scrollbars */
|
||||
::-webkit-scrollbar-corner,
|
||||
::-webkit-scrollbar {
|
||||
|
||||
Reference in New Issue
Block a user