tiefen_space_h5/app/globals.css

334 lines
6.7 KiB
CSS
Raw Permalink Normal View History

2024-06-24 22:12:13 +08:00
@tailwind base;
@tailwind components;
@tailwind utilities;
body{
color:#fff;
/* padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom); */
2024-08-06 16:21:34 +08:00
}
footer{
/* Fallback for non-iOS devices */
bottom: 0;
/* iOS 11.0+ */
padding-bottom: constant(safe-area-inset-bottom);
2024-08-06 16:21:34 +08:00
/* iOS 11.2+ */
padding-bottom: env(safe-area-inset-bottom);
}
/* :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;
}
} */
2024-08-15 20:29:15 +08:00
* {
-webkit-user-select: none; /* Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE/Edge */
user-select: none; /* 标准语法 */
}
img{
pointer-events: none;
}
2024-07-31 18:16:25 +08:00
@media only screen and (min-device-width: 320px) and (max-device-width: 1024px) {
select:focus, textarea:focus, input:focus {
font-size: 16px !important;
}
}
2024-08-05 13:10:33 +08:00
/* .adm-image-viewer-slides-inner > *{
margin: 0;
} */
.adm-swiper-horizontal .adm-swiper-track {
transform: none;
}
2024-07-30 22:53:41 +08:00
.custom-tabs .adm-tabs {
border: none;
--active-line-color: #ff8383;
--active-title-color: #fff;
--title-color: #a0a0a0;
--inactive-title-color: #5c5c5c;
--tab-border-color: #ff8383;
}
/* .custom-tabs .adm-tabs .adm-tabs-tab {
color: #a0a0a0;
} */
.custom-tabs .adm-tabs .adm-tabs-tab {
/* font-weight: bold; */
font-size: 24px;
}
.custom-tabs .adm-tabs-tab-line {
background: none;
background-image: url("https://filecdn01.tiefen.fun/web_app_public/icons/tabindicator.png");
height: 34px;
background-position: -2px -18px;
background-size: cover;
background-repeat: no-repeat;
z-index: 1;
}
.custom-tabs .adm-tabs-header {
border-bottom: none;
}
.adm-list-body-inner {
/* margin-top: 8px; */
}
.adm-image-viewer-indicator{
color: #fff;
}
2024-07-17 20:30:33 +08:00
.text-ellipsis {
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.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-07-17 20:30:33 +08:00
.text-ellipsis-7 {
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 7;
}
2024-06-25 20:18:37 +08:00
.scrollbarBox {
/* IE 10+ */
overflow-x: hidden;
overflow-y: auto;
scroll-behavior: smooth;
}
2024-08-07 18:08:33 +08:00
.scrollbarBoxX {
/* IE 10+ */
overflow-y: hidden;
overflow-x: auto;
scroll-behavior: smooth;
}
2024-06-25 20:18:37 +08:00
2024-08-07 18:08:33 +08:00
.scrollbarBoxX::-webkit-scrollbar, .scrollbarBox::-webkit-scrollbar {
2024-06-25 20:18:37 +08:00
/* display:none; */
width: 6px;
}
2024-08-07 18:08:33 +08:00
.scrollbarBoxX::-webkit-scrollbar-thumb,.scrollbarBox::-webkit-scrollbar-thumb {
2024-06-25 20:18:37 +08:00
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
}
2024-08-07 18:08:33 +08:00
.scrollbarBoxX::-webkit-scrollbar-track,.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;
2024-07-24 19:08:22 +08:00
background-image: url("https://filecdn01.tiefen.fun/web_app_public/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;
2024-07-24 19:08:22 +08:00
background-image: url("https://filecdn01.tiefen.fun/web_app_public/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;
2024-07-23 20:56:25 +08:00
/* 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;
}
2024-07-11 23:57:26 +08:00
.spaceBoxTwo .adm-jumbo-tabs-header .adm-jumbo-tabs-tab-list{
display: grid;
grid-template-columns: repeat(2, 1fr);
}
.spaceBoxThree .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;
}
2024-07-23 20:56:25 +08:00
.adm-floating-panel-header .adm-floating-panel-bar{
background-color: #ffffff!important;
width: 30px!important;
}
.adm-tab-bar .adm-tab-bar-item-icon{
height:32px;
2024-06-29 12:07:37 +08:00
}
.adm-image-viewer-slides .adm-image-viewer-slide{
2024-07-22 14:38:59 +08:00
/* margin-right: 0; */
2024-06-29 12:07:37 +08:00
}
.videoMask{
display: none;
}
.adm-dialog .adm-center-popup-wrap{
top: 0;
left: 0;
transform: none;
max-width: none;
width: 100%;
height: 100%;
}
.adm-dialog .adm-dialog-content{
max-height: none;
height: 100%;
2024-07-06 11:05:19 +08:00
}
.adm-toast-icon{
display: flex;
justify-content: center;
align-items: center;
2024-07-08 20:07:36 +08:00
}
.adm-floating-panel .adm-floating-panel-content {
flex: 1;
overflow-y: scroll;
2024-08-14 19:59:03 +08:00
background: rgb(7 5 10/ var(--tw-bg-opacity))!important;
2024-07-08 20:07:36 +08:00
}
.adm-list>div>div>div>div{
padding: 0;
}
.adm-list-item-content{
padding: 0;
}
.customize-body img{
max-height: 90vh;
filter: blur(8px);
}
.customize-body>div>div{
display: flex;
justify-content: center;
align-items: center;
}
.customize-body>div>div>div{
transform: matrix(1, 0, 0, 1, 0, 0);
overflow: hidden;
height: max-content;
width: max-content;
border-radius: 0.25rem;
}
/* .customize-body>div>div{
display: flex;
justify-content: center;
align-items: center;
}
.customize-body>div>div>div{
transform: matrix(1, 0, 0, 1, 0, 0);
overflow: hidden;
height: max-content;
width: max-content;
border-radius: 0.25rem;
} */
2024-08-13 12:34:50 +08:00
.mediaDom .adm-image-viewer-slides-inner{
padding-top: 68px;
}
2024-07-19 16:22:43 +08:00
.mediaDom .adm-image-viewer-slide{
2024-08-13 12:34:50 +08:00
max-height: calc(100vh - 100px);
width: 100vw;
2024-07-19 16:22:43 +08:00
}
.photos-body img{
/* max-height: 90vh; */
filter: blur(8px);
}
.photos-body .adm-image-viewer-control{
display: flex;
justify-content: center;
align-items: center;
}
.photos-body .adm-image-viewer-image-wrapper{
overflow: hidden;
height: max-content;
width: max-content;
border-radius: 0.25rem;
2024-07-22 14:38:59 +08:00
}
2024-08-13 12:34:50 +08:00
.photos-bodyBox-full{
width: 100vw;
max-height: calc(100vh);
}
2024-07-22 14:38:59 +08:00
.photos-bodyBox{
width: 100vw;
2024-08-13 12:34:50 +08:00
max-height: calc(100vh - 120px);
2024-08-05 15:55:20 +08:00
}
.adm-checkbox.adm-checkbox-checked .adm-checkbox-icon {
border-color: #FF669E;
background-color: #FF669E;
}