Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 92 additions & 4 deletions assets/css/admin/onboarding-wizard.css
Original file line number Diff line number Diff line change
Expand Up @@ -1014,11 +1014,99 @@
justify-content: flex-end;
gap: 4px;
}
@media (max-width: 680px) {
#subscrpt-section-1 .wpsubs-wizard-card {
@media (max-width: 782px) {
/* Stack the two-column body (form + preview/summary) on narrow screens. */
.wpsubs-p2-body {
grid-template-columns: 1fr;
gap: 20px;
}
.wpsubs-p1-right {
display: none;
.wpsubs-p2-preview-col {
position: static;
}
}

/* Page 1 plan summary card (right column). */
.wpsubs-p1-summary-card {
border: 1px solid var(--wpsubs-border);
border-radius: var(--wpsubs-radius);
background: var(--wpsubs-surface);
padding: 16px;
box-shadow: var(--wpsubs-shadow);
}
.wpsubs-p1-summary-type {
display: inline-block;
padding: 3px 9px;
border-radius: 999px;
background: var(--wpsubs-brand-light);
color: var(--wpsubs-brand);
font-size: 11px;
font-weight: 700;
letter-spacing: 0.02em;
}
.wpsubs-p1-summary-name {
font-size: 15px;
font-weight: 700;
color: var(--wpsubs-text);
margin: 10px 0 12px;
line-height: 1.35;
word-break: break-word;
}
.wpsubs-p1-summary-meta {
display: flex;
align-items: center;
gap: 6px;
padding-top: 12px;
border-top: 1px dashed var(--wpsubs-border);
font-size: 12px;
color: var(--wpsubs-text-muted);
}
.wpsubs-p1-summary-meta svg {
color: var(--wpsubs-text-subtle);
flex-shrink: 0;
}

/* Button loading state (plan create / connect requests in flight). */
.wpsubs-btn.is-loading {
opacity: 0.6;
cursor: progress;
pointer-events: none;
}

/* Free-trial line in the step-2 plan preview. */
.wpsubs-p1-preview-trial {
margin: 6px 0 0;
font-size: 12px;
font-weight: 600;
color: #15803d;
}

/* Pro-locked plan-type cards on the create-plan step. */
.wpsubs-p2-option-card:disabled {
opacity: 0.55;
cursor: not-allowed;
}

/* List layout for the plan-type cards (create-plan step): each row is
icon + text, full width, with the check centered on the right. */
.wpsubs-p2-option-cards--list {
display: flex;
flex-direction: column;
gap: 8px;
}
.wpsubs-p2-option-cards--list .wpsubs-p2-option-card {
flex-direction: row;
align-items: center;
gap: 12px;
padding: 12px 44px 12px 16px;
}
.wpsubs-p2-option-cards--list .wpsubs-p2-option-card__icon {
margin-bottom: 0;
flex-shrink: 0;
}
.wpsubs-p2-option-cards--list .wpsubs-p2-option-card__check {
top: 50%;
transform: translateY(-50%);
}
.wpsubs-p2-option-card__text {
min-width: 0;
}
Loading