272 lines
3.8 KiB
CSS
272 lines
3.8 KiB
CSS
/* Subscription tiers page - manage monthly creator access levels */
|
|
|
|
.tiers-main {
|
|
flex: 1;
|
|
padding: 20px 32px;
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.tiers-header {
|
|
text-align: center;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.tiers-header h1 {
|
|
font-size: 2rem;
|
|
font-weight: 800;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.tiers-header p {
|
|
color: #64748b;
|
|
}
|
|
|
|
.tiers-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(280px, 380px) 1fr;
|
|
gap: 24px;
|
|
align-items: start;
|
|
}
|
|
|
|
.tiers-tabs {
|
|
border-bottom: 2px solid #e5e7eb;
|
|
display: flex;
|
|
gap: 24px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.tiers-tab {
|
|
background: transparent;
|
|
border: none;
|
|
border-bottom: 3px solid transparent;
|
|
color: #64748b;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-weight: 800;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.tiers-tab.active {
|
|
border-bottom-color: #3b82f6;
|
|
color: #2563eb;
|
|
}
|
|
|
|
.subscriptions-panel {
|
|
display: none;
|
|
}
|
|
|
|
.tier-panel,
|
|
.tier-card {
|
|
background: #ffffff;
|
|
border: 1px solid #eef2f7;
|
|
border-radius: 18px;
|
|
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.06);
|
|
}
|
|
|
|
.tier-panel {
|
|
padding: 24px;
|
|
}
|
|
|
|
.tier-panel h2,
|
|
.tier-list-header h2 {
|
|
font-size: 1.25rem;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.tier-form {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.tier-form label {
|
|
display: grid;
|
|
gap: 8px;
|
|
color: #334155;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.tier-form input,
|
|
.tier-form textarea {
|
|
border: 1px solid #dbe2ea;
|
|
border-radius: 12px;
|
|
font: inherit;
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.tier-form textarea {
|
|
min-height: 88px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.tier-form input:focus,
|
|
.tier-form textarea:focus {
|
|
border-color: #8b5cf6;
|
|
box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
|
|
outline: none;
|
|
}
|
|
|
|
.tier-form-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.tier-primary-btn,
|
|
.tier-secondary-btn,
|
|
.tier-card button {
|
|
border: none;
|
|
border-radius: 14px;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-weight: 800;
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.tier-primary-btn {
|
|
background: var(--gradient);
|
|
color: #ffffff;
|
|
flex: 1;
|
|
}
|
|
|
|
.tier-secondary-btn {
|
|
background: #f1f5f9;
|
|
color: #334155;
|
|
}
|
|
|
|
#tier-status {
|
|
color: #64748b;
|
|
min-height: 20px;
|
|
}
|
|
|
|
.tier-list-header {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.tier-list-header p {
|
|
color: #64748b;
|
|
}
|
|
|
|
.tiers-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.subscriptions-grid {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.subscription-card {
|
|
align-items: center;
|
|
background: #ffffff;
|
|
border: 1px solid #eef2f7;
|
|
border-radius: 18px;
|
|
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.06);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 18px 20px;
|
|
}
|
|
|
|
.subscription-card h3 {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.subscription-card p {
|
|
color: #64748b;
|
|
}
|
|
|
|
.subscription-price {
|
|
color: #3b82f6;
|
|
font-weight: 900;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tier-card {
|
|
padding: 20px;
|
|
}
|
|
|
|
.tier-card-top {
|
|
align-items: start;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.tier-card h3 {
|
|
font-size: 1.2rem;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.tier-level {
|
|
color: #64748b;
|
|
font-size: 0.9rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.tier-price {
|
|
color: #3b82f6;
|
|
font-size: 1.4rem;
|
|
font-weight: 900;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tier-desc {
|
|
color: #475569;
|
|
line-height: 1.45;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.tier-card-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.tier-card button {
|
|
background: #f1f5f9;
|
|
color: #334155;
|
|
padding: 9px 12px;
|
|
}
|
|
|
|
.tier-delete-btn {
|
|
color: #dc2626 !important;
|
|
}
|
|
|
|
.tiers-empty,
|
|
.tiers-error {
|
|
background: #ffffff;
|
|
border-radius: 18px;
|
|
color: #64748b;
|
|
padding: 32px;
|
|
text-align: center;
|
|
}
|
|
|
|
.tiers-error {
|
|
color: #ef4444;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.tiers-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.tiers-main {
|
|
padding: 16px;
|
|
}
|
|
|
|
.tiers-tabs {
|
|
gap: 16px;
|
|
}
|
|
|
|
.subscription-card {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
}
|