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