133 lines
2.7 KiB
CSS
133 lines
2.7 KiB
CSS
/* ========== ВЕБ (дефолт): как в aiform_dev ========== */
|
|
.claim-form-container {
|
|
min-height: 100vh;
|
|
padding: 40px 0;
|
|
background: #ffffff;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.claim-form-card {
|
|
max-width: 100%;
|
|
width: 100%;
|
|
box-shadow: none;
|
|
border-radius: 0;
|
|
border: none;
|
|
}
|
|
|
|
.claim-form-card .ant-card-body {
|
|
padding: 16px 0;
|
|
}
|
|
|
|
.claim-form-card .ant-card-head {
|
|
background: #fafafa;
|
|
color: #000000;
|
|
border-bottom: 1px solid #d9d9d9;
|
|
border-radius: 8px 8px 0 0;
|
|
}
|
|
|
|
.claim-form-card .ant-card-head-title {
|
|
color: #000000;
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.steps {
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.steps-content {
|
|
min-height: 400px;
|
|
padding: 20px 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.claim-form-container {
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.claim-form-card {
|
|
margin: 0;
|
|
}
|
|
|
|
.steps-content {
|
|
padding: 10px 0;
|
|
}
|
|
}
|
|
|
|
/* ========== Telegram Mini App: отдельный компактный скин ========== */
|
|
.claim-form-container.telegram-mini-app {
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
padding: 12px 0 max(16px, env(safe-area-inset-bottom));
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.claim-form-container.telegram-mini-app .claim-form-card {
|
|
max-width: 100%;
|
|
box-shadow: none;
|
|
border-radius: 0;
|
|
border: none;
|
|
}
|
|
|
|
.claim-form-container.telegram-mini-app .claim-form-card .ant-card-head {
|
|
padding: 10px 12px;
|
|
min-height: auto;
|
|
}
|
|
|
|
.claim-form-container.telegram-mini-app .claim-form-card .ant-card-head-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
white-space: normal;
|
|
}
|
|
|
|
.claim-form-container.telegram-mini-app .claim-form-card .ant-card-body {
|
|
padding: 12px 0;
|
|
}
|
|
|
|
.claim-form-container.telegram-mini-app .steps {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.claim-form-container.telegram-mini-app .steps .ant-steps-item-title {
|
|
font-size: 12px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.claim-form-container.telegram-mini-app .steps .ant-steps-item-description {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.claim-form-container.telegram-mini-app .steps-content {
|
|
min-height: 280px;
|
|
padding: 8px 0 12px;
|
|
}
|
|
|
|
.claim-form-container.telegram-mini-app .ant-btn {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.claim-form-container.telegram-mini-app .ant-input,
|
|
.claim-form-container.telegram-mini-app .ant-select-selector {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.claim-form-container.telegram-mini-app .ant-card-extra .ant-space-item .ant-btn,
|
|
.claim-form-container.telegram-mini-app .ant-card-extra button {
|
|
padding: 6px 10px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* Кнопки действий в черновиках - вертикально в Telegram */
|
|
.claim-form-container.telegram-mini-app .draft-actions {
|
|
flex-direction: column !important;
|
|
}
|
|
|
|
.claim-form-container.telegram-mini-app .draft-actions .ant-btn {
|
|
width: 100%;
|
|
}
|