tiefen_space_h5/app/globals.css

135 lines
2.5 KiB
CSS
Raw Normal View History

2024-06-24 22:12:13 +08:00
@tailwind base;
@tailwind components;
@tailwind utilities;
body{
color:#fff;
}
/* :root {
2024-06-24 22:12:13 +08:00
--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;
}
} */
.text-ellipsis-3 {
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 3;
2024-06-24 22:12:13 +08:00
}
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);
2024-06-25 20:18:37 +08:00
}
.scrollbarBox::-webkit-scrollbar-track {
2024-06-25 20:18:37 +08:00
-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;
2024-06-25 20:18:37 +08:00
}
}
.adm-list-body,
.adm-list-item {
border: none !important;
background: none !important;
2024-06-25 20:18:37 +08:00
}
.whitespace-no-wrap {
2024-06-25 20:18:37 +08:00
white-space: nowrap;
}
2024-06-26 19:46:31 +08:00
.imageBlur {
2024-06-26 19:46:31 +08:00
filter: blur(8px);
}
.tabPinkLine::after {
content: "";
position: absolute;
background-image: url(http://localhost:3000/icons/tabindicator.png);
height: 34px;
background-position: -2px -18px;
background-size: cover;
background-repeat: no-repeat;
z-index: 1;
width: 34px;
right: 0;
bottom: -20px;
}
.titlePinkLine::after {
content: "";
position: absolute;
background-image: url(http://localhost:3000/icons/pinkline.png);
height: 12px;
width: inherit;
min-width: 42px;
max-width: 100%;
background-size: contain;
background-repeat: no-repeat;
z-index: 1;
right: -8px;
bottom: -4px;
}
.adm-floating-panel{
--border-radius:16px !important;
}
.adm-jumbo-tabs-tab-active{
color:#fff!important;
font-weight: bold;
}
.adm-jumbo-tabs-tab-description{
background: none;
width: 100%!important;
}
.adm-jumbo-tabs-header{
position: sticky;
top: 0;
z-index: 10;
background-color: #07050A;
color: #ffffff88;
}
.adm-jumbo-tabs-header .adm-jumbo-tabs-tab-list{
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.adm-floating-panel-header{
background-color: #07050A!important;
}
.adm-tab-bar .adm-tab-bar-item-icon{
height:32px;
2024-06-26 19:46:31 +08:00
}