chatapp-h5/h5/yumi-invite-agency/yumi-invite-agency.css
2026-04-24 12:42:12 +08:00

457 lines
7.0 KiB
CSS

html {
-webkit-text-size-adjust: 100%;
-webkit-overflow-scrolling: touch;
}
body {
margin: 0;
min-height: 100%;
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}
* {
box-sizing: border-box;
}
button,
input {
font: inherit;
}
[hidden] {
display: none !important;
}
.fullPage {
width: 100vw;
min-height: 100vh;
background-color: #fff;
background-image: url("../assets/secondBg-CSqvFWr0-1776148661447.png");
background-size: 100% auto;
background-repeat: no-repeat;
position: relative;
color: rgba(0, 0, 0, 0.8);
}
.fullPage input::placeholder {
font-weight: 700;
color: rgba(0, 0, 0, 0.4);
}
.invite-btn {
padding: 4px 12px;
border-radius: 32px;
background: linear-gradient(269deg, #feb219 7.04%, #ff9326 96.78%);
color: #fff;
border: none;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
}
.invite-btn:disabled {
background: #d1d5db;
cursor: not-allowed;
}
.no-data {
text-align: center;
padding: 40px 20px;
color: #666;
}
.user-card {
cursor: default;
}
.result-action-btn {
padding: 4px 10px;
border-radius: 32px;
background: linear-gradient(269deg, #feb219 7.04%, #ff9326 96.78%);
color: #fff;
border: none;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
white-space: nowrap;
}
.result-action-btn:disabled {
background: #d1d5db;
cursor: not-allowed;
}
.status-bar-placeholder {
display: none;
height: 30px;
}
.status-bar-placeholder.is-visible {
display: block;
}
.header-container {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
height: 60px;
font-size: 16px;
}
.side-area,
.actions-area {
min-width: 1.5em;
display: flex;
align-items: center;
}
.actions-area {
justify-content: flex-end;
gap: 8px;
}
.header-title {
flex: 1;
margin: 0;
font-size: 1.2em;
font-weight: 600;
text-align: center;
letter-spacing: 0.3px;
}
.back-btn,
.help-btn {
width: 1.5em;
border: none;
background: transparent;
transition: all 0.2s ease;
padding: 0;
}
.back-btn:active,
.help-btn:active {
transform: scale(0.9);
}
.language-entry {
display: flex;
align-items: center;
color: #f59e0b !important;
cursor: pointer;
}
.language-name {
font-weight: 700;
}
.gradient-border-wrapper {
position: relative;
}
.gradient-border-wrapper::before {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
padding: var(--gradient-border-width, 1.5px);
background: linear-gradient(
var(--gradient-direction, to bottom),
var(--gradient-start-color, #ffc4c4),
var(--gradient-end-color, #fff6a6)
);
-webkit-mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
}
.gradient-border-content {
position: relative;
border-radius: inherit;
width: 100%;
height: 100%;
background: var(
--gradient-background,
linear-gradient(120deg, rgba(255, 216, 0, 0.1) 39.13%, rgba(255, 149, 0, 0.1) 119.28%)
);
}
.modal-overlay {
position: fixed;
inset: 0;
background-color: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
padding: 20px;
}
.modal {
background: #fff;
border-radius: 16px;
box-shadow:
0 20px 25px rgba(0, 0, 0, 0.1),
0 10px 10px rgba(0, 0, 0, 0.04);
width: 100%;
max-width: 320px;
padding: 24px 20px 20px;
text-align: center;
position: relative;
}
.modal-icon {
margin-bottom: 16px;
display: flex;
justify-content: center;
}
.icon-circle {
width: 56px;
height: 56px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
animation: iconPulse 0.6s ease-out;
border: 3px solid;
}
.icon-symbol {
font-size: 24px;
font-weight: 700;
line-height: 1;
}
.modal-title {
font-size: 18px;
font-weight: 600;
color: #1f2937;
margin-bottom: 12px;
line-height: 1.4;
}
.modal-message {
font-size: 14px;
color: #6b7280;
line-height: 1.5;
margin-bottom: 20px;
word-wrap: break-word;
}
.modal-actions {
display: flex;
justify-content: center;
}
.modal-btn {
border: none;
border-radius: 8px;
padding: 10px 32px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
min-width: 80px;
color: #fff;
}
.modal-btn:active {
transform: scale(0.98);
}
.modal-error .icon-circle-error {
background-color: #fee2e2;
border-color: #fecaca;
}
.modal-error .icon-symbol-error {
color: #dc2626;
}
.modal-error .modal-btn-error {
background-color: #dc2626;
}
.modal-warning .icon-circle-warning {
background-color: #fef3c7;
border-color: #fde68a;
}
.modal-warning .icon-symbol-warning {
color: #d97706;
}
.modal-warning .modal-btn-warning {
background-color: #d97706;
}
.modal-success .icon-circle-success {
background-color: #d1fae5;
border-color: #a7f3d0;
}
.modal-success .icon-symbol-success {
color: #059669;
}
.modal-success .modal-btn-success {
background-color: #059669;
}
.modal-info .icon-circle-info {
background-color: #dbeafe;
border-color: #bfdbfe;
}
.modal-info .icon-symbol-info {
color: #2563eb;
}
.modal-info .modal-btn-info {
background-color: #2563eb;
}
.modal-simple .modal-message {
font-size: 15px;
color: #374151;
margin-bottom: 24px;
}
.modal-simple .modal-btn {
background-color: #2563eb;
}
.modal-enter {
animation: modalEnter 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-leave {
animation: modalLeave 0.2s ease-in;
}
[dir="rtl"] .flip-img {
transform: scaleX(-1);
}
[dir="rtl"] .avatar {
margin-right: 0;
margin-left: 12px;
}
[dir="rtl"] .user-info {
text-align: right;
}
[dir="rtl"] .language-entry,
[dir="rtl"] .header-title {
direction: rtl;
}
@keyframes modalEnter {
0% {
opacity: 0;
transform: scale(0.7) translateY(-10px);
}
100% {
opacity: 1;
transform: scale(1) translateY(0);
}
}
@keyframes modalLeave {
0% {
opacity: 1;
transform: scale(1) translateY(0);
}
100% {
opacity: 0;
transform: scale(0.9) translateY(-5px);
}
}
@keyframes iconPulse {
0% {
transform: scale(0.8);
opacity: 0.5;
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
opacity: 1;
}
}
@media screen and (max-width: 360px) {
.fullPage {
font-size: 10px;
}
.header-container {
font-size: 10px;
}
}
@media screen and (min-width: 360px) {
.fullPage {
font-size: 12px;
}
.header-container {
font-size: 16px;
}
}
@media screen and (min-width: 768px) {
.fullPage {
font-size: 24px;
}
.header-container {
font-size: 24px;
}
}
@media screen and (min-width: 1024px) {
.fullPage {
font-size: 32px;
}
.header-container {
font-size: 32px;
}
}
@media (max-width: 480px) {
.modal {
max-width: 280px;
padding: 20px 16px 16px;
}
.icon-circle {
width: 48px;
height: 48px;
}
.icon-symbol {
font-size: 20px;
}
.modal-title {
font-size: 16px;
}
.modal-message {
font-size: 13px;
}
}