move some utility styles to utility file

This commit is contained in:
dDeepLb 2026-04-05 05:18:14 +03:00
parent 90acaa11b1
commit 5cc248747e
2 changed files with 47 additions and 46 deletions

View file

@ -39,22 +39,6 @@ textarea {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.NoSelect {
touch-action: manipulation;
/* iOS Safari */
-webkit-touch-callout: none;
/* Safari */
-webkit-user-select: none;
/* Konqueror HTML */
-khtml-user-select: none;
/* Old versions of Firefox */
-moz-user-select: none;
/* Internet Explorer/Edge */
-ms-user-select: none;
/* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
user-select: none;
}
.custom-select {
/* Default background color */
--button-color: white;
@ -341,36 +325,6 @@ input[type="search"]::-webkit-calendar-picker-indicator {
padding-left: min(2vh, 1vw);
}
.truncated-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
}
/* A scrollable container with a standardized-ish scrollbar layout */
.scroll-box {
overflow: hidden auto;
scroll-padding: 3px;
scrollbar-gutter: stable;
scrollbar-color: rgb(149, 149, 149) rgb(0, 0, 0, 0.7);
}
@media (hover: hover) {
.scroll-box {
scrollbar-color: rgb(149, 149, 149, 0.9) rgb(0, 0, 0, 0.4);
transition: scrollbar-color 0.3s ease;
}
.scroll-box:hover {
scrollbar-color: rgb(149, 149, 149) rgb(0, 0, 0, 0.7);
}
}
[hidden] {
display: none !important;
}
bc-tint-input {
--hue: 0;

View file

@ -45,3 +45,50 @@
[concealed] {
visibility: hidden !important;
}
[hidden] {
display: none !important;
}
.truncated-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
}
.no-select,
.NoSelect {
touch-action: manipulation;
/* iOS Safari */
-webkit-touch-callout: none;
/* Safari */
-webkit-user-select: none;
/* Konqueror HTML */
-khtml-user-select: none;
/* Old versions of Firefox */
-moz-user-select: none;
/* Internet Explorer/Edge */
-ms-user-select: none;
/* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
user-select: none;
}
/* A scrollable container with a standardized-ish scrollbar layout */
.scroll-box {
overflow: hidden auto;
scroll-padding: 3px;
scrollbar-gutter: stable;
scrollbar-color: rgb(149, 149, 149) rgb(0, 0, 0, 0.7);
}
@media (hover: hover) {
.scroll-box {
scrollbar-color: rgb(149, 149, 149, 0.9) rgb(0, 0, 0, 0.4);
transition: scrollbar-color 0.3s ease;
}
.scroll-box:hover {
scrollbar-color: rgb(149, 149, 149) rgb(0, 0, 0, 0.7);
}
}