tiefen_space_h5/app/globals.css

377 lines
7.6 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
body {
color: #fff;
/* padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom); */
}
footer {
/* Fallback for non-iOS devices */
bottom: 0;
/* iOS 11.0+ */
padding-bottom: constant(safe-area-inset-bottom);
/* iOS 11.2+ */
padding-bottom: env(safe-area-inset-bottom);
}
/* :root {
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
}
@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}
} */
* {
-webkit-user-select: none; /* Safari */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE/Edge */
user-select: none; /* 标准语法 */
}
img {
pointer-events: none;
}
input {
/* 移除边框 */
border: none;
/* 移除背景颜色 */
background-color: transparent;
/* 移除内边距 */
padding: 0;
/* 移除外边距 */
margin: 0;
/* 移除默认焦点样式 */
outline: none;
/* 移除圆角 */
border-radius: 0;
/* 移除阴影 */
box-shadow: none;
/* 设置字体 */
font-family: inherit;
font-size: inherit;
color: inherit;
}
input,
textarea {
-webkit-user-select: auto; /* Safari */
-moz-user-select: auto; /* Firefox */
-ms-user-select: auto; /* IE/Edge */
user-select: auto; /* 标准语法 */
}
@media only screen and (min-device-width: 320px) and (max-device-width: 1024px) {
select:focus,
textarea:focus,
input:focus {
font-size: 16px !important;
}
}
/* .adm-image-viewer-slides-inner > *{
margin: 0;
} */
.adm-swiper-horizontal .adm-swiper-track {
transform: none;
}
.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;
}
.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;
}
.text-ellipsis-7 {
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 7;
}
.scrollbarBox {
/* IE 10+ */
overflow-x: hidden;
overflow-y: auto;
scroll-behavior: smooth;
}
.scrollbarBoxX {
/* IE 10+ */
overflow-y: hidden;
overflow-x: auto;
scroll-behavior: smooth;
}
.scrollbarBoxX::-webkit-scrollbar,
.scrollbarBox::-webkit-scrollbar {
/* display:none; */
width: 6px;
}
.scrollbarBoxX::-webkit-scrollbar-thumb,
.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);
}
.scrollbarBoxX::-webkit-scrollbar-track,
.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;
}
.imageBlur {
filter: blur(8px);
}
.tabPinkLine::after {
content: "";
position: absolute;
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;
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;
/* 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;
}
.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;
}
.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;
}
.adm-image-viewer-slides .adm-image-viewer-slide {
/* margin-right: 0; */
}
.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%;
color: #ffffff85;
}
.adm-dialog .adm-dialog-header {
font-size: large;
}
.adm-dialog .adm-dialog-footer .adm-dialog-action-row {
& > :first-child {
color: #ffffff80;
}
& > :last-child {
color: #ffffff;
}
}
.adm-toast-icon {
display: flex;
justify-content: center;
align-items: center;
}
.adm-floating-panel .adm-floating-panel-content {
flex: 1;
overflow-y: scroll;
background: rgb(7 5 10 / var(--tw-bg-opacity)) !important;
}
.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;
} */
.mediaDom .adm-image-viewer-slides-inner {
padding-top: 68px;
}
.mediaDom .adm-image-viewer-slide {
max-height: calc(100vh - 100px);
width: 100vw;
}
.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;
}
.photos-bodyBox-full {
width: 100vw;
max-height: calc(100vh);
}
.photos-bodyBox {
width: 100vw;
max-height: calc(100vh - 120px);
}
.adm-checkbox.adm-checkbox-checked .adm-checkbox-icon,
.adm-radio.adm-radio-checked .adm-radio-icon {
border-color: #ff669e !important;
background-color: #ff669e !important;
}
.adm-modal .adm-modal-content {
max-height: 100vh;
}