Unify text selection color

This commit is contained in:
Gregory Schier
2023-03-30 16:36:24 -07:00
parent 42de045263
commit 90a96ef8e5

View File

@@ -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 {