2024-06-24 22:12:13 +08:00
|
|
|
@tailwind base;
|
|
|
|
@tailwind components;
|
|
|
|
@tailwind utilities;
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--foreground-rgb: 0, 0, 0;
|
|
|
|
--background-start-rgb: 214, 219, 220;
|
|
|
|
--background-end-rgb: 255, 255, 255;
|
2024-06-25 20:18:37 +08:00
|
|
|
|
2024-06-24 22:12:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--foreground-rgb: 255, 255, 255;
|
|
|
|
--background-start-rgb: 0, 0, 0;
|
|
|
|
--background-end-rgb: 0, 0, 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
/* color: rgb(var(--foreground-rgb));
|
|
|
|
background: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
transparent,
|
|
|
|
rgb(var(--background-end-rgb))
|
|
|
|
)
|
|
|
|
rgb(var(--background-start-rgb)); */
|
|
|
|
}
|
2024-06-25 20:18:37 +08:00
|
|
|
|
|
|
|
.scrollbarBox {
|
|
|
|
/* IE 10+ */
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scrollbarBox::-webkit-scrollbar {
|
|
|
|
/* display:none; */
|
|
|
|
width: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scrollbarBox::-webkit-scrollbar-thumb {
|
|
|
|
border-radius: 10px;
|
|
|
|
-webkit-box-shadow: inset 0 0 5px rgba(138, 138, 138, 0.2);
|
|
|
|
background: nb-theme(background-basic-color-4);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.scrollbarBox::-webkit-scrollbar-track{
|
|
|
|
-webkit-box-shadow: inset 0 0 5px rgba(138, 138, 138, 0.2);
|
|
|
|
border-radius: 10px;
|
|
|
|
background: nb-theme(background-basic-color-2);
|
|
|
|
;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scrollbarBox_hidden {
|
|
|
|
scrollbar-width: none;
|
|
|
|
/* firefox */
|
|
|
|
-ms-overflow-style: none;
|
|
|
|
|
|
|
|
/* IE 10+ */
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.adm-list-body,.adm-list-item{
|
|
|
|
border:none!important;
|
|
|
|
background:none!important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.whitespace-no-wrap{
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|