Scert/frontend/src/views/SetupWizard/SetupWizard.css

1462 lines
24 KiB
CSS

.setup-card {
width: 100%;
height: 100%;
min-width: 0;
min-height: 0;
display: grid;
grid-template-rows: auto auto minmax(0, 1fr) auto;
gap: 14px;
padding: 26px 30px 22px;
overflow: hidden;
color: #172033;
background:
radial-gradient(circle at 100% 0%, rgba(232, 240, 255, 0.72), transparent 32%),
linear-gradient(145deg, #ffffff 0%, #fbfdff 100%);
}
.setup-card > header {
min-width: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.warning-card {
display: grid;
gap: 8px;
margin-top: 18px;
padding-top: 16px;
border-top: 1px solid rgba(255, 255, 255, 0.3);
font-size: 12px;
line-height: 1.7;
letter-spacing: 0;
overflow-wrap: anywhere;
}
.warning-card strong {
font-size: 13px;
}
.setup-eyebrow {
margin: 0 0 6px;
color: #4d76b7;
font-size: 11px;
font-weight: 900;
letter-spacing: 0.12em;
line-height: 1.2;
}
.setup-card h2 {
margin: 0;
color: #172033;
font-size: clamp(24px, 2.2vw, 32px);
letter-spacing: -0.05em;
line-height: 1.15;
}
.local-badge {
flex: 0 0 auto;
padding: 7px 11px;
border: 1px solid #d5e4ff;
border-radius: 999px;
color: #2f63b2;
background: #eaf2ff;
font-size: 11px;
font-weight: 800;
white-space: nowrap;
}
.setup-progress {
min-width: 0;
display: grid;
grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr);
align-items: center;
gap: 7px;
margin: 0;
padding: 12px 14px;
border: 1px solid #e4ebf5;
border-radius: 16px;
background: rgba(247, 250, 254, 0.9);
}
.progress-step {
min-width: 0;
display: grid;
grid-template-columns: auto minmax(0, 1fr);
column-gap: 8px;
align-items: center;
color: #8995a8;
}
.progress-step b {
grid-row: 1 / span 2;
display: grid;
place-items: center;
width: 30px;
height: 30px;
border: 2px solid #ffffff;
border-radius: 50%;
color: #ffffff;
background: #315faa;
font-size: 11px;
box-shadow: 0 0 0 1px #315faa, 0 5px 12px rgba(49, 95, 170, 0.16);
}
.progress-step:not(.active):not(.complete) b {
color: #6b7890;
background: #e4eaf3;
box-shadow: none;
}
.progress-step.complete b {
background: #4b9b74;
box-shadow: 0 0 0 1px #4b9b74, 0 5px 12px rgba(75, 155, 116, 0.14);
}
.progress-step strong,
.progress-step small {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.progress-step strong {
color: #32405a;
font-size: 11px;
line-height: 1.2;
}
.progress-step small {
margin-top: 2px;
color: #8995a8;
font-size: 10px;
line-height: 1.2;
}
.setup-progress i {
height: 1px;
background: #d5deeb;
}
/* 中间步骤内容独立滚动,避免高级配置展开后被外层卡片裁切。 */
.setup-form {
min-width: 0;
min-height: 0;
display: grid;
grid-template-rows: minmax(0, 1fr) auto;
gap: 10px;
overflow: hidden;
}
.setup-step-grid {
min-width: 0;
min-height: 0;
display: block;
overflow-x: hidden;
overflow-y: auto;
scrollbar-gutter: stable;
}
.setup-step-card {
width: 100%;
height: auto;
min-width: 0;
min-height: 100%;
box-sizing: border-box;
overflow: visible;
}
fieldset {
min-width: 0;
min-height: 0;
margin: 0;
padding: 18px 20px;
border: 1px solid #dce5f1;
border-radius: 17px;
background: rgba(255, 255, 255, 0.97);
box-shadow: 0 14px 32px rgba(31, 50, 87, 0.07);
}
legend {
max-width: 100%;
padding: 0 7px;
color: #243653;
font-size: 13px;
font-weight: 900;
line-height: 1.2;
}
legend span {
display: inline-grid;
place-items: center;
width: 25px;
height: 25px;
margin-right: 7px;
border-radius: 8px;
color: #ffffff;
background: linear-gradient(145deg, #3d70c1, #285398);
font-size: 10px;
box-shadow: 0 5px 12px rgba(49, 95, 170, 0.18);
}
.setup-grid {
min-width: 0;
display: grid;
align-items: start;
gap: 9px 12px;
}
.two-columns {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.three-columns {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
label {
min-width: 0;
display: grid;
align-content: start;
gap: 5px;
margin-top: 8px;
color: #34445f;
font-size: 10px;
font-weight: 800;
line-height: 1.25;
}
input,
select,
textarea {
min-width: 0;
width: 100%;
border: 1px solid #d4deeb;
border-radius: 9px;
outline: 0;
color: #172033;
background: #fbfcfe;
font: inherit;
font-size: 11px;
font-weight: 500;
transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
input,
select {
height: 37px;
padding: 0 10px;
}
textarea {
min-height: 54px;
padding: 8px 10px;
resize: none;
line-height: 1.35;
}
input:hover,
select:hover,
textarea:hover {
border-color: #b8c9e1;
background: #ffffff;
}
input:focus,
select:focus,
textarea:focus {
border-color: #4f7ed5;
background: #ffffff;
box-shadow: 0 0 0 3px rgba(79, 126, 213, 0.12);
}
label > small {
color: #53647b;
font-size: 9px;
font-weight: 500;
line-height: 1.35;
}
.email-field {
min-width: 0;
}
.email-input-group {
min-width: 0;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(88px, 112px);
gap: 6px;
position: relative;
}
.email-autofill-probe {
position: absolute;
top: 0;
left: 0;
z-index: -1;
width: 1px;
height: 1px;
padding: 0;
border: 0;
opacity: 0;
pointer-events: none;
}
.email-input-group input,
.email-input-group select {
min-width: 0;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.email-input-group input.email-autofill-probe {
width: 1px;
height: 1px;
}
.email-primary-grid,
.email-delivery-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.email-headers-field {
margin-top: 9px;
}
.email-headers-field textarea {
min-height: 48px;
}
.notification-credential-field {
min-width: 0;
display: grid;
gap: 5px;
grid-column: 1 / -1;
margin-top: 1px;
}
.notification-credential-field .credential-visibility-row {
margin-top: 0;
}
.notification-credential-field textarea {
min-height: 58px;
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
font-size: 10px;
line-height: 1.45;
}
.notification-credential-field > small {
color: #53647b;
font-size: 9px;
font-weight: 500;
line-height: 1.35;
}
.compact-options {
gap: 7px;
}
.compact-row {
min-height: 37px;
grid-template-columns: auto minmax(0, 1fr);
align-items: flex-start;
margin-top: 8px;
padding: 7px 9px;
border-radius: 9px;
background: #f6f8fc;
}
.compact-row input,
.confirm-row input {
width: 16px;
height: 16px;
margin: 1px 0 0;
accent-color: #315faa;
}
.compact-row span,
.confirm-row span {
min-width: 0;
}
.compact-row > span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.compact-row strong,
.compact-row small,
.confirm-row strong,
.confirm-row small {
display: block;
}
.compact-row strong,
.confirm-row strong {
color: #34445f;
font-size: 10px;
line-height: 1.25;
white-space: nowrap;
}
.compact-row small,
.confirm-row small {
margin-top: 3px;
overflow: hidden;
color: #53647b;
font-size: 9px;
font-weight: 500;
line-height: 1.35;
text-overflow: ellipsis;
white-space: nowrap;
}
.confirm-row {
min-width: 0;
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: flex-start;
margin-top: 9px;
padding: 9px 10px;
border-radius: 9px;
background: #f6f8fc;
}
.setup-section-heading {
display: grid;
gap: 3px;
margin: 12px 0 2px;
padding-bottom: 2px;
}
.setup-section-heading strong {
color: #263c63;
font-size: 11px;
}
.setup-section-heading span {
color: #53647b;
font-size: 9px;
font-weight: 500;
line-height: 1.35;
}
.provider-description,
.dns-verification-success,
.dns-verification-progress,
.dns-verification-report {
min-width: 0;
display: grid;
gap: 4px;
margin-top: 9px;
padding: 9px 11px;
border-radius: 10px;
font-size: 10px;
line-height: 1.35;
}
.provider-description {
color: #435571;
background: #f4f7fb;
}
.provider-description.unavailable {
color: #805f20;
background: #fff8e8;
}
.dns-verification-progress {
border: 1px solid #cbdcf2;
color: #2d5b99;
background: #f0f6ff;
}
.dns-verification-progress strong {
font-size: 11px;
}
.dns-verification-progress small {
color: #53647b;
font-size: 9px;
}
.provider-description strong,
.dns-verification-success strong {
font-size: 11px;
}
.provider-description span,
.dns-verification-success span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
.reset-preview {
display: flex;
align-items: center;
gap: 8px;
white-space: nowrap;
}
.reset-preview strong,
.reset-preview span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.reset-preview strong {
flex: 0 0 auto;
}
.reset-preview span:first-of-type {
flex: 0 1 auto;
color: #315faa;
font-weight: 800;
}
.reset-preview span:last-of-type {
flex: 1 1 auto;
}
.credential-grid {
margin-top: 0;
}
.credential-visibility-row {
grid-column: 1 / -1;
min-width: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-top: 8px;
padding: 7px 9px;
border: 1px solid #dbe5f1;
border-radius: 8px;
color: #34445f;
background: #f7faff;
font-size: 10px;
font-weight: 800;
}
.credential-visibility-control {
display: inline-flex;
align-items: center;
gap: 5px;
margin: 0;
color: #315faa;
font-size: 10px;
font-weight: 700;
white-space: nowrap;
}
.credential-visibility-control input {
width: 14px;
height: 14px;
margin: 0;
}
.dns-test-actions {
min-width: 0;
display: flex;
align-items: center;
gap: 9px;
margin-top: 9px;
color: #53647b;
font-size: 10px;
line-height: 1.35;
}
.dns-test-actions > span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.dns-test-button {
flex: 0 0 auto;
min-width: 112px;
padding: 8px 10px;
border: 0;
border-radius: 8px;
color: #ffffff;
background: linear-gradient(135deg, #3568b9, #28569d);
font-size: 10px;
font-weight: 900;
box-shadow: 0 7px 16px rgba(49, 95, 170, 0.2);
}
.inline-error,
.setup-error,
.setup-success {
min-width: 0;
margin: 0;
padding: 8px 10px;
border-radius: 8px;
font-size: 10px;
line-height: 1.4;
}
.inline-error,
.setup-error {
border: 1px solid #efc6c6;
color: #a33d3d;
background: #fff1f1;
}
.setup-success,
.dns-verification-success {
border: 1px solid #bfe7d1;
color: #24734b;
background: #effbf4;
}
.dns-verification-report {
display: grid;
gap: 7px;
margin-top: 9px;
padding: 9px 11px;
border: 1px solid #d7e2f0;
border-radius: 10px;
color: #435571;
background: #f7faff;
}
.dns-report-heading {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 10px;
}
.dns-report-heading strong {
color: #2d4775;
font-size: 11px;
}
.dns-report-heading span {
min-width: 0;
overflow: hidden;
color: #53647b;
font-size: 9px;
font-weight: 500;
text-overflow: ellipsis;
white-space: nowrap;
}
.dns-verification-stage {
display: grid;
grid-template-columns: 72px auto minmax(0, 1fr);
align-items: center;
gap: 7px;
padding: 6px 7px;
border-radius: 7px;
background: #eef4fb;
font-size: 9px;
}
.dns-verification-stage .dns-stage-name {
color: #34445f;
font-weight: 800;
}
.dns-verification-stage strong {
color: #28734c;
font-size: 9px;
white-space: nowrap;
}
.dns-verification-stage small {
min-width: 0;
overflow: hidden;
color: #53647b;
font-size: 9px;
font-weight: 500;
text-overflow: ellipsis;
white-space: nowrap;
}
.dns-verification-stage.is-warning {
background: #fff8e8;
}
.dns-verification-stage.is-warning strong {
color: #996d16;
}
.dns-verification-stage.is-failed {
background: #fff1f1;
}
.dns-verification-stage.is-failed strong {
color: #a33d3d;
}
.target-switch {
width: fit-content;
display: inline-flex;
gap: 4px;
margin-top: 0;
padding: 4px;
border: 1px solid #e1e8f3;
border-radius: 11px;
background: #f3f6fb;
}
.target-switch button {
padding: 7px 11px;
border: 0;
border-radius: 8px;
color: #4d6078;
background: transparent;
font-size: 10px;
font-weight: 800;
white-space: nowrap;
}
.target-switch button.active {
color: #274f91;
background: #ffffff;
box-shadow: 0 3px 10px rgba(36, 64, 107, 0.1);
}
.access-target-field {
min-width: 0;
display: grid;
gap: 5px;
align-content: start;
margin-top: 8px;
color: #34445f;
font-size: 10px;
font-weight: 800;
line-height: 1.25;
}
footer {
min-width: 0;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 14px;
padding: 0 1px;
color: #53647b;
font-size: 10px;
line-height: 1.35;
}
footer > span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.wizard-actions {
display: flex;
flex: 0 0 auto;
align-items: center;
gap: 7px;
}
footer button {
min-width: 154px;
padding: 10px 14px;
border: 0;
border-radius: 9px;
color: #ffffff;
background: linear-gradient(135deg, #3568b9, #28569d);
font-size: 11px;
font-weight: 900;
box-shadow: 0 8px 18px rgba(49, 95, 170, 0.22);
transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
footer button:not(:disabled):hover,
.dns-test-button:not(:disabled):hover {
transform: translateY(-1px);
filter: brightness(1.04);
box-shadow: 0 11px 22px rgba(49, 95, 170, 0.27);
}
footer .back-button {
min-width: 84px;
border: 1px solid #d5ddea;
color: #32405a;
background: #ffffff;
box-shadow: none;
}
button {
cursor: pointer;
}
button:disabled {
cursor: wait;
opacity: 0.62;
}
@media (max-width: 1200px) and (min-width: 901px) {
.setup-card {
padding: 22px 24px 18px;
gap: 11px;
}
.setup-progress {
padding: 10px 11px;
}
fieldset {
padding: 15px 17px;
}
}
@media (max-height: 800px) and (min-width: 901px) {
.setup-card {
padding-top: 18px;
padding-bottom: 15px;
gap: 9px;
}
.setup-progress {
padding-top: 8px;
padding-bottom: 8px;
margin-bottom: 0;
}
.progress-step b {
width: 26px;
height: 26px;
}
fieldset {
padding-top: 12px;
padding-bottom: 12px;
}
label {
gap: 3px;
margin-top: 5px;
}
input,
select {
height: 33px;
}
textarea {
min-height: 44px;
padding-top: 6px;
padding-bottom: 6px;
}
.notification-credential-field textarea {
min-height: 46px;
}
.provider-description,
.dns-verification-success,
.dns-verification-progress,
.dns-test-actions {
margin-top: 6px;
}
footer button {
padding-top: 8px;
padding-bottom: 8px;
}
}
@media (max-width: 900px) {
.setup-card {
padding: 16px 18px 14px;
gap: 9px;
}
.setup-progress {
gap: 4px;
padding: 8px 9px;
}
.progress-step {
column-gap: 6px;
}
.progress-step b {
width: 25px;
height: 25px;
font-size: 10px;
}
.progress-step strong {
font-size: 10px;
}
.progress-step small {
display: none;
}
fieldset {
padding: 12px 13px;
}
footer {
gap: 9px;
font-size: 9px;
}
footer button {
min-width: 128px;
padding: 9px 11px;
}
}
@media (max-width: 640px) {
.setup-card {
padding: 10px 10px 9px;
}
.setup-card h2 {
font-size: 20px;
}
.local-badge {
padding: 5px 8px;
font-size: 9px;
}
.setup-progress {
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 3px;
padding: 6px;
}
.setup-progress i {
display: none;
}
.progress-step {
grid-template-columns: auto minmax(0, 1fr);
column-gap: 4px;
}
.progress-step b {
width: 21px;
height: 21px;
font-size: 9px;
}
.progress-step strong {
font-size: 9px;
}
fieldset {
padding: 8px;
border-radius: 11px;
}
legend {
font-size: 10px;
}
legend span {
width: 19px;
height: 19px;
margin-right: 4px;
border-radius: 6px;
font-size: 8px;
}
.two-columns,
.three-columns,
.email-primary-grid,
.email-delivery-grid {
grid-template-columns: minmax(0, 1fr);
}
.email-field {
grid-column: auto;
}
input,
select {
height: 30px;
padding: 0 8px;
font-size: 10px;
}
textarea {
min-height: 42px;
font-size: 10px;
}
.notification-credential-field textarea {
min-height: 42px;
}
label {
gap: 3px;
margin-top: 5px;
font-size: 9px;
}
label > small {
display: none;
}
.email-input-group {
grid-template-columns: minmax(0, 1fr) minmax(78px, 96px);
gap: 5px;
}
.provider-description,
.dns-verification-success,
.dns-verification-progress {
padding: 6px 8px;
font-size: 9px;
}
.provider-description span,
.dns-verification-success span,
.dns-verification-progress small,
.dns-test-actions > span {
display: none;
}
.dns-verification-stage {
grid-template-columns: 64px auto;
}
.dns-verification-stage small {
grid-column: 1 / -1;
}
.dns-test-actions {
margin-top: 5px;
}
.dns-test-button {
min-width: 96px;
padding: 6px 8px;
font-size: 9px;
}
.reset-preview {
gap: 5px;
font-size: 9px;
}
footer {
grid-template-columns: minmax(0, 1fr) auto;
gap: 6px;
font-size: 8px;
}
footer > span {
white-space: normal;
}
.wizard-actions {
gap: 4px;
}
footer button {
min-width: 92px;
padding: 7px 8px;
font-size: 9px;
}
footer .back-button {
min-width: 58px;
}
}
/* 初始化第二步采用分组网格,避免通知配置在低高度窗口中纵向堆叠。 */
.setup-notification-step {
display: flex;
flex-direction: column;
min-height: 0;
}
.notification-layout {
min-width: 0;
min-height: 0;
display: grid;
gap: 7px;
}
.notification-row {
min-width: 0;
display: grid;
align-items: end;
gap: 8px 10px;
}
.notification-row label {
min-width: 0;
margin-top: 0;
}
.notification-service-row,
.notification-api-row,
.notification-recipient-row {
grid-template-columns: minmax(0, 1fr);
}
.notification-auth-row {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.notification-delivery-row {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.notification-auth-note {
min-width: 0;
min-height: 34px;
display: flex;
align-items: center;
padding: 0 10px;
border: 1px dashed #d5dfed;
border-radius: 9px;
color: #687891;
background: #f8fafd;
font-size: 9px;
line-height: 1.35;
}
.setup-notification-step input:not([type="checkbox"]),
.setup-notification-step select {
height: 34px;
}
.setup-notification-step .confirm-row {
align-items: center;
}
.setup-notification-step .confirm-row > input[type="checkbox"] {
width: 16px;
height: 16px;
min-height: 16px;
margin: 0;
padding: 0;
}
.setup-notification-step .confirm-row strong {
display: flex;
align-items: center;
}
.setup-notification-step textarea {
min-height: 48px;
}
.notification-credential-field {
margin-top: 0;
}
.notification-credential-field textarea {
min-height: 50px;
}
.reset-preview {
min-height: 30px;
margin-top: 0;
padding-top: 6px;
padding-bottom: 6px;
}
.notification-bottom-row {
min-width: 0;
display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
align-items: stretch;
gap: 10px;
}
.notification-bottom-row .email-headers-field {
min-width: 0;
margin-top: 0;
}
.notification-bottom-row .email-option-grid {
min-width: 0;
align-items: stretch;
gap: 6px;
}
.notification-bottom-row .compact-row {
min-height: 34px;
margin-top: 0;
padding: 6px 5px;
column-gap: 3px;
}
@media (max-width: 900px) and (min-width: 641px) {
.notification-service-row,
.notification-api-row,
.notification-auth-row,
.notification-sender-row {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.notification-delivery-row {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.notification-bottom-row {
grid-template-columns: minmax(0, 1fr);
}
}
@media (max-width: 640px) {
.notification-service-row,
.notification-api-row,
.notification-auth-row,
.notification-sender-row,
.notification-delivery-row,
.notification-bottom-row {
grid-template-columns: minmax(0, 1fr);
}
.notification-bottom-row .email-option-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
/* 第二步默认只展示基础配置,高级参数按需展开。 */
.notification-guide {
display: flex;
align-items: center;
gap: 8px 12px;
min-width: 0;
padding: 9px 11px;
border: 1px solid #dce8f8;
border-radius: 10px;
color: #526783;
background: linear-gradient(135deg, #f7faff, #f2f7ff);
font-size: 10px;
line-height: 1.4;
}
.notification-guide strong {
flex: 0 0 auto;
color: #285398;
font-size: 11px;
}
.notification-guide span {
min-width: 0;
}
.notification-service-row {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.smtp-basic-panel {
background: linear-gradient(135deg, #fbfdff, #f6faff);
}
.smtp-config-row {
grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
}
.smtp-options-row {
grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
align-items: stretch;
}
.smtp-plaintext-row {
min-height: 34px;
margin-top: 7px !important;
padding: 7px 9px;
border: 1px dashed #e2c98b;
border-radius: 9px;
background: #fffaf0;
}
.notification-smtp-tip {
margin-top: 8px;
padding: 7px 9px;
border-radius: 8px;
color: #6b7180;
background: #f5f7fa;
font-size: 9px;
line-height: 1.45;
}
.notification-basic-panel {
min-width: 0;
padding: 12px;
border: 1px solid #e0e8f3;
border-radius: 12px;
background: #fcfdff;
}
.notification-section-heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 10px;
min-width: 0;
margin-bottom: 3px;
}
.notification-section-heading > div {
display: grid;
gap: 3px;
min-width: 0;
}
.notification-section-heading strong {
color: #243653;
font-size: 11px;
}
.notification-section-heading span {
color: #687891;
font-size: 9px;
font-weight: 500;
line-height: 1.4;
}
.notification-recommended-badge {
flex: 0 0 auto;
padding: 4px 7px;
border-radius: 999px;
color: #2e6a50;
background: #e8f6ed;
font-size: 9px;
font-weight: 800;
white-space: nowrap;
}
.notification-basic-row {
grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
}
.notification-basic-panel .notification-sender-row {
grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.35fr);
}
.notification-basic-panel label {
margin-top: 7px;
}
.notification-advanced-panel {
min-width: 0;
border: 1px solid #e2e8f2;
border-radius: 12px;
background: #f9fbfe;
overflow: hidden;
}
.notification-advanced-toggle {
width: 100%;
min-width: 0;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 12px;
border: 0;
border-radius: 0;
color: #34445f;
background: transparent;
text-align: left;
}
.notification-advanced-toggle:hover {
background: #f1f6fd;
}
.notification-advanced-toggle > span:first-child {
display: grid;
gap: 3px;
min-width: 0;
}
.notification-advanced-toggle strong {
color: #34445f;
font-size: 11px;
}
.notification-advanced-toggle small {
color: #718198;
font-size: 9px;
font-weight: 500;
line-height: 1.35;
}
.notification-advanced-action {
flex: 0 0 auto;
color: #3565ae;
font-size: 10px;
font-weight: 800;
white-space: nowrap;
}
.notification-advanced-content {
display: grid;
gap: 8px;
padding: 0 12px 12px;
border-top: 1px solid #e7edf5;
}
.notification-advanced-tip {
padding: 7px 9px;
border-radius: 8px;
color: #687891;
background: #f1f5fa;
font-size: 9px;
line-height: 1.4;
}
.notification-advanced-content .notification-row label {
margin-top: 0;
}
@media (max-width: 900px) and (min-width: 641px) {
.notification-service-row,
.notification-basic-row,
.notification-basic-panel .notification-sender-row {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.notification-basic-panel .notification-sender-row label:last-child {
grid-column: 1 / -1;
}
}
@media (max-width: 640px) {
.notification-guide {
align-items: flex-start;
flex-direction: column;
gap: 4px;
}
.notification-service-row,
.notification-basic-row,
.notification-basic-panel .notification-sender-row {
grid-template-columns: minmax(0, 1fr);
}
.notification-basic-panel .notification-sender-row label:last-child {
grid-column: auto;
}
.notification-section-heading {
align-items: flex-start;
flex-direction: column;
gap: 5px;
}
}