Update styleguide with landing page components: pricing, step cards, protection lists, pill CTAs, alternating sections
This commit is contained in:
parent
579ee62873
commit
716bfd4577
1 changed files with 249 additions and 86 deletions
335
styleguide.html
335
styleguide.html
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
<link rel="stylesheet" href="common.css">
|
||||
<link rel="stylesheet" href="mps.css">
|
||||
<link rel="stylesheet" href="landing.css">
|
||||
|
||||
<style>
|
||||
body { color: #515151; background-color: #F9F9FA; }
|
||||
|
|
@ -81,6 +82,12 @@
|
|||
border-radius: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.sg-demo-alt {
|
||||
background: #F9F9FA;
|
||||
}
|
||||
.sg-demo-dark {
|
||||
background: #f0f6ff;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
|
@ -97,12 +104,12 @@ Style Guide — Make Post Sell Design System
|
|||
<section class="nav-grid">
|
||||
<section class="nav">
|
||||
<section class="logo">
|
||||
<br>
|
||||
<a href="/"><img class="logo" src="/static/mps.png" /></a>
|
||||
</section>
|
||||
<section class="middle"></section>
|
||||
<section class="log-in" style="margin: 30px;">
|
||||
<a href="/">Home</a> |
|
||||
<section class="log-in">
|
||||
<a href="/">Home</a>
|
||||
<span class="nav-sep">|</span>
|
||||
<a href="/styleguide.html">Style Guide</a>
|
||||
</section>
|
||||
</section>
|
||||
|
|
@ -213,6 +220,13 @@ Style Guide — Make Post Sell Design System
|
|||
<div class="sg-swatch-hex">#515151</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sg-swatch">
|
||||
<div class="sg-swatch-color" style="background: #666666;"></div>
|
||||
<div class="sg-swatch-info">
|
||||
<div class="sg-swatch-name">Text Desc</div>
|
||||
<div class="sg-swatch-hex">#666666</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sg-swatch">
|
||||
<div class="sg-swatch-color" style="background: #777;"></div>
|
||||
<div class="sg-swatch-info">
|
||||
|
|
@ -251,6 +265,13 @@ Style Guide — Make Post Sell Design System
|
|||
<div class="sg-swatch-hex">#e0e0e0</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sg-swatch">
|
||||
<div class="sg-swatch-color" style="background: #eeeeee;"></div>
|
||||
<div class="sg-swatch-info">
|
||||
<div class="sg-swatch-name">Border Light</div>
|
||||
<div class="sg-swatch-hex">#eeeeee</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -259,24 +280,41 @@ Style Guide — Make Post Sell Design System
|
|||
<div class="sg-section">
|
||||
<div class="sg-section-title">Typography</div>
|
||||
|
||||
<div class="sg-demo">
|
||||
<span class="huge-bold-dark">Huge Bold Dark</span>
|
||||
<br/><br/>
|
||||
<span class="big-bold-dark">Big Bold Dark</span>
|
||||
<br/><br/>
|
||||
<span class="bold-dark">Bold Dark</span>
|
||||
<br/><br/>
|
||||
Body text in #515151 on Helvetica.
|
||||
<br/><br/>
|
||||
<a href="#">Link style — green #a3c765, weight 600</a>
|
||||
</div>
|
||||
<div class="sg-code">font-family: helvetica;
|
||||
|
||||
.huge-bold-dark — 2.7em, weight 550, color #0b0b0b
|
||||
<div class="sg-subsection">
|
||||
<div class="sg-label">App Typography (common.css)</div>
|
||||
<div class="sg-demo">
|
||||
<span class="huge-bold-dark">Huge Bold Dark</span>
|
||||
<br/><br/>
|
||||
<span class="big-bold-dark">Big Bold Dark</span>
|
||||
<br/><br/>
|
||||
<span class="bold-dark">Bold Dark</span>
|
||||
<br/><br/>
|
||||
Body text in #515151 on Helvetica.
|
||||
<br/><br/>
|
||||
<a href="#">Link style — green #a3c765, weight 600</a>
|
||||
</div>
|
||||
<div class="sg-code">.huge-bold-dark — 2.7em, weight 550, color #0b0b0b
|
||||
.big-bold-dark — 1.4em, weight 550, color #0b0b0b
|
||||
.bold-dark — weight 550, color #0b0b0b
|
||||
body text — default size, color #515151
|
||||
a (links) — color #a3c765, weight 600</div>
|
||||
</div>
|
||||
|
||||
<div class="sg-subsection">
|
||||
<div class="sg-label">Landing Typography (landing.css)</div>
|
||||
<div class="sg-demo">
|
||||
<h1 class="landing-hero-title" style="white-space: normal;">Hero Title</h1>
|
||||
<p class="landing-hero-subtitle">Hero subtitle line</p>
|
||||
<h2 class="landing-section-title">Section Title</h2>
|
||||
<p class="landing-body">Landing body text with <a href="#">inline link</a> and proper line-height.</p>
|
||||
<p class="landing-muted">Muted caption text, centered.</p>
|
||||
</div>
|
||||
<div class="sg-code">.landing-hero-title — 2.4em mobile / 4.5em desktop, weight 700
|
||||
.landing-hero-subtitle — 1.25em, weight 500
|
||||
.landing-section-title — 2em, weight 700, centered
|
||||
.landing-body — 1.05em, line-height 1.7, color #515151
|
||||
.landing-muted — 14px, color #999, centered</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ======== BUTTONS ======== -->
|
||||
|
|
@ -284,59 +322,204 @@ a (links) — color #a3c765, weight 600</div>
|
|||
<div class="sg-section-title">Buttons</div>
|
||||
|
||||
<div class="sg-subsection">
|
||||
<div class="sg-label">Primary CTA (Green)</div>
|
||||
<div class="sg-label">App Buttons (common.css)</div>
|
||||
<div class="sg-demo">
|
||||
<a href="#" class="shop-new-button mps-button">+ New Shop</a>
|
||||
<a href="#" class="shop-new-button mps-button">✐ Source Code</a>
|
||||
</div>
|
||||
<div class="sg-code"><a href="#" class="shop-new-button mps-button">+ New Shop</a></div>
|
||||
</div>
|
||||
|
||||
<div class="sg-subsection">
|
||||
<div class="sg-label">Secondary (Blue)</div>
|
||||
<div class="sg-demo">
|
||||
<a href="#" class="product-edit-button mps-button">🕮 PyPi</a>
|
||||
<a href="#" class="product-edit-button mps-button">🕮 Blog</a>
|
||||
</div>
|
||||
<div class="sg-code"><a href="#" class="product-edit-button mps-button">🕮 PyPi</a></div>
|
||||
</div>
|
||||
|
||||
<div class="sg-subsection">
|
||||
<div class="sg-label">Purple (Source / Code)</div>
|
||||
<div class="sg-demo">
|
||||
<a href="#" class="source-button mps-button">🕮 PyPi</a>
|
||||
<a href="#" class="shop-new-button mps-button">+ New Shop</a>
|
||||
<a href="#" class="product-edit-button mps-button">🕮 Edit</a>
|
||||
<a href="#" class="source-button mps-button">✐ Source Code</a>
|
||||
</div>
|
||||
<div class="sg-code"><a href="#" class="source-button mps-button">✐ Source Code</a></div>
|
||||
</div>
|
||||
|
||||
<div class="sg-subsection">
|
||||
<div class="sg-label">Navy (Log Out / Activate)</div>
|
||||
<div class="sg-demo">
|
||||
<a href="#" class="log-out-button mps-button">Log Out</a>
|
||||
<a href="#" class="cart-activate-button mps-button">Activate</a>
|
||||
</div>
|
||||
<div class="sg-code"><a href="#" class="log-out-button mps-button">Log Out</a></div>
|
||||
</div>
|
||||
|
||||
<div class="sg-subsection">
|
||||
<div class="sg-label">Danger (Delete)</div>
|
||||
<div class="sg-demo">
|
||||
<a href="#" class="cart-delete-button mps-button">Delete</a>
|
||||
<a href="#" class="shop-switch-button mps-button">Switch Shop</a>
|
||||
</div>
|
||||
<div class="sg-code"><a href="#" class="cart-delete-button mps-button">Delete</a></div>
|
||||
<div class="sg-code">Green CTA: .shop-new-button.mps-button
|
||||
Blue: .product-edit-button.mps-button
|
||||
Purple: .source-button.mps-button
|
||||
Navy: .log-out-button.mps-button
|
||||
Danger: .cart-delete-button.mps-button
|
||||
Outline: .shop-switch-button.mps-button
|
||||
|
||||
border-radius: 4px, min-width: 250px</div>
|
||||
</div>
|
||||
|
||||
<div class="sg-subsection">
|
||||
<div class="sg-label">Outline (Switch / Public)</div>
|
||||
<div class="sg-label">Landing Page CTAs (landing.css)</div>
|
||||
<div class="sg-demo">
|
||||
<a href="#" class="shop-switch-button mps-button">Switch Shop</a>
|
||||
<a href="#" class="cart-public-button mps-button"><span class="lock">🔒</span> Public</a>
|
||||
<div class="landing-cta-group">
|
||||
<a href="#" class="shop-new-button mps-button landing-cta">+ Open a Shop</a>
|
||||
<a href="#" class="source-button mps-button landing-cta">✐ Source Code</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sg-code"><a href="#" class="shop-switch-button mps-button">Switch Shop</a></div>
|
||||
<div class="sg-code">Add .landing-cta for pill shape + hover lift
|
||||
|
||||
border-radius: 50px, padding: 16px 32px
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.08)
|
||||
hover: translateY(-1px), deeper shadow
|
||||
|
||||
.landing-cta-large — 18px font, 48px horizontal padding</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ======== LANDING SECTIONS ======== -->
|
||||
<div class="sg-section">
|
||||
<div class="sg-section-title">Landing Sections</div>
|
||||
|
||||
<div class="sg-subsection">
|
||||
<div class="sg-label">Alternating sections (no HR dividers)</div>
|
||||
<div class="sg-demo" style="padding: 0; overflow: hidden;">
|
||||
<div style="padding: 24px; background: #FFFFFF;">
|
||||
<h2 class="landing-section-title" style="font-size: 1.2em;">White section (.landing-section)</h2>
|
||||
</div>
|
||||
<div style="padding: 24px; background: #F9F9FA;">
|
||||
<h2 class="landing-section-title" style="font-size: 1.2em;">Alt section (.landing-section-alt)</h2>
|
||||
</div>
|
||||
<div style="padding: 24px; background: #FFFFFF;">
|
||||
<h2 class="landing-section-title" style="font-size: 1.2em;">White section</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sg-code"><section class="landing-section">...</section>
|
||||
<section class="landing-section landing-section-alt">...</section>
|
||||
|
||||
.landing-section — padding: 64px mobile, 80px tablet, 100px desktop
|
||||
.landing-section-alt — background: #F9F9FA
|
||||
.landing-final-cta — gradient: #f8faf5 to #f0f6ff</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ======== PRICING CARDS ======== -->
|
||||
<div class="sg-section">
|
||||
<div class="sg-section-title">Pricing Cards</div>
|
||||
|
||||
<div class="sg-demo sg-demo-alt">
|
||||
<div class="landing-pricing" style="max-width: 500px;">
|
||||
<div class="landing-pricing-card">
|
||||
<span class="landing-pricing-icon">📅</span>
|
||||
<span class="landing-pricing-amount">$14<span class="landing-pricing-period">/month</span></span>
|
||||
<span class="landing-pricing-desc">Pay as you go. Cancel anytime.</span>
|
||||
</div>
|
||||
<div class="landing-pricing-card landing-pricing-featured">
|
||||
<span class="landing-pricing-badge">Best value</span>
|
||||
<span class="landing-pricing-icon">🌟</span>
|
||||
<span class="landing-pricing-amount">$97<span class="landing-pricing-period">/year</span></span>
|
||||
<span class="landing-pricing-desc">Save 42%. Two months free.</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sg-code">.landing-pricing-card — white bg, 1px border, 16px radius
|
||||
.landing-pricing-featured — 2px green border, green shadow
|
||||
.landing-pricing-badge — absolute pill, green bg, white text
|
||||
.landing-pricing-amount — 3em, weight 700
|
||||
.landing-pricing-period — 0.35em, color #999</div>
|
||||
</div>
|
||||
|
||||
<!-- ======== FEATURE CARDS ======== -->
|
||||
<div class="sg-section">
|
||||
<div class="sg-section-title">Feature Cards</div>
|
||||
|
||||
<div class="sg-demo">
|
||||
<div class="mps-card-grid" style="max-width: 500px;">
|
||||
<div class="mps-card">
|
||||
<span class="mps-card-icon">💰</span>
|
||||
<span class="mps-card-title">Card Title</span>
|
||||
<span class="mps-card-desc">Card description with details about the feature goes here.</span>
|
||||
</div>
|
||||
<div class="mps-card">
|
||||
<span class="mps-card-icon">📈</span>
|
||||
<span class="mps-card-title"><a href="#">Linked Card Title</a></span>
|
||||
<span class="mps-card-desc">Cards with links in the title use green hover.</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sg-code"><div class="mps-card-grid">
|
||||
<div class="mps-card">
|
||||
<span class="mps-card-icon">...</span>
|
||||
<span class="mps-card-title">Title</span>
|
||||
<span class="mps-card-desc">Description</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Landing: 12px radius, subtle shadow, hover lift
|
||||
Grid: 1 col mobile, 2 col tablet+, .three-col for 3</div>
|
||||
</div>
|
||||
|
||||
<!-- ======== STEP CARDS ======== -->
|
||||
<div class="sg-section">
|
||||
<div class="sg-section-title">Step Cards</div>
|
||||
|
||||
<div class="sg-demo">
|
||||
<div class="mps-card-grid three-col" style="max-width: 600px;">
|
||||
<div class="mps-card landing-step-card">
|
||||
<span class="landing-step-number">1</span>
|
||||
<span class="mps-card-title">First Step</span>
|
||||
<span class="mps-card-desc">Description of the first step.</span>
|
||||
</div>
|
||||
<div class="mps-card landing-step-card">
|
||||
<span class="landing-step-number">2</span>
|
||||
<span class="mps-card-title">Second Step</span>
|
||||
<span class="mps-card-desc">Description of the second step.</span>
|
||||
</div>
|
||||
<div class="mps-card landing-step-card">
|
||||
<span class="landing-step-number">3</span>
|
||||
<span class="mps-card-title">Third Step</span>
|
||||
<span class="mps-card-desc">Description of the third step.</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sg-code">.landing-step-card — centered text
|
||||
.landing-step-number — 44px green circle, white number, weight 700</div>
|
||||
</div>
|
||||
|
||||
<!-- ======== PROTECTION LISTS ======== -->
|
||||
<div class="sg-section">
|
||||
<div class="sg-section-title">Protection Lists</div>
|
||||
|
||||
<div class="sg-demo">
|
||||
<div class="landing-two-lists" style="max-width: 600px;">
|
||||
<div class="landing-list-card landing-list-bad">
|
||||
<ul>
|
||||
<li><span class="landing-x">❌</span> Negative item</li>
|
||||
<li><span class="landing-x">❌</span> Another negative</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="landing-list-card landing-list-good">
|
||||
<ul>
|
||||
<li><span class="landing-check">✔</span> <b>Positive item</b> <span class="landing-list-detail">— Details</span></li>
|
||||
<li><span class="landing-check">✔</span> <b>Another positive</b> <span class="landing-list-detail">— More details</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sg-code">.landing-list-bad — bg #fef2f2, border #f5d5d5
|
||||
.landing-list-good — bg #f0f9e8, border #d5e8c0
|
||||
.landing-x — color #c77765
|
||||
.landing-check — color #678731
|
||||
.landing-list-detail — color #666
|
||||
|
||||
Grid: stacked mobile, 2 col at 800px+</div>
|
||||
</div>
|
||||
|
||||
<!-- ======== COMPARISON CARDS ======== -->
|
||||
<div class="sg-section">
|
||||
<div class="sg-section-title">Comparison Cards</div>
|
||||
|
||||
<div class="sg-demo">
|
||||
<div class="mps-comparison" style="max-width: 500px;">
|
||||
<div class="mps-comparison-card marketplace">
|
||||
<span class="mps-comparison-amount" style="color: #c77765;">$14.00</span>
|
||||
<span class="mps-comparison-label">Marketplace (30% commission)</span>
|
||||
</div>
|
||||
<div class="mps-comparison-card mps">
|
||||
<span class="mps-comparison-amount" style="color: #678731;">$19.12</span>
|
||||
<span class="mps-comparison-label">Make Post Sell (0% commission)</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sg-code">.mps-comparison-card.marketplace — bg #f8d7da, border #c77765
|
||||
.mps-comparison-card.mps — bg #e8f5d4, border #678731
|
||||
.mps-comparison-amount — 2.4em, weight 600
|
||||
|
||||
Landing: 16px radius, 32px padding</div>
|
||||
</div>
|
||||
|
||||
<!-- ======== RIBBON ======== -->
|
||||
<div class="sg-section">
|
||||
<div class="sg-section-title">Ribbons</div>
|
||||
|
|
@ -405,34 +588,7 @@ Background: #FFFFFF</div>
|
|||
<div class="alert-message">Danger alert — red background #f8d7da</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sg-code"><div class="alert alert-success">
|
||||
<div class="alert-message">Message</div>
|
||||
</div>
|
||||
|
||||
Variants: alert-success, alert-info, alert-warning, alert-danger</div>
|
||||
</div>
|
||||
|
||||
<!-- ======== LISTS ======== -->
|
||||
<div class="sg-section">
|
||||
<div class="sg-section-title">Check & Cross Lists</div>
|
||||
|
||||
<div class="sg-demo">
|
||||
<ul style="list-style-type: none; padding-left: 0;">
|
||||
<li style="margin-bottom: 10px;"><b style="color: #678731;"> ✔ Positive item</b>
|
||||
<span style="color: #515151;"> — <span class="avoid-wrap">Description here</span></span>
|
||||
</li>
|
||||
<li style="margin-bottom: 10px;"><b style="color: #678731;"> ✔ Another positive</b>
|
||||
<span style="color: #515151;"> — <span class="avoid-wrap">More details</span></span>
|
||||
</li>
|
||||
</ul>
|
||||
<ul style="list-style-type: none; padding-left: 0;">
|
||||
<li style="margin-bottom: 10px;"><b style="color: #c77765">❌</b> Negative item we protect against</li>
|
||||
<li style="margin-bottom: 10px;"><b style="color: #c77765">❌</b> Another negative item</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="sg-code">Checkmark: color #678731, ✔
|
||||
Cross: color #c77765, ❌
|
||||
list-style-type: none</div>
|
||||
<div class="sg-code">Variants: alert-success, alert-info, alert-warning, alert-danger</div>
|
||||
</div>
|
||||
|
||||
<!-- ======== LAYOUT ======== -->
|
||||
|
|
@ -466,6 +622,13 @@ Desktop (800px+): 3 columns (logo | middle | log-in)</div>
|
|||
@media (min-width: 800px) — tablet/desktop
|
||||
@media (min-width: 1200px) — wide desktop</div>
|
||||
</div>
|
||||
|
||||
<div class="sg-subsection">
|
||||
<div class="sg-label">CSS Files</div>
|
||||
<div class="sg-code">common.css — shared app styles (layout, buttons, nav, wells, footer, cards)
|
||||
mps.css — message ribbon, alerts
|
||||
landing.css — landing page (hero, sections, pricing, CTAs, lists, steps)</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ======== FOOTER ======== -->
|
||||
|
|
@ -536,7 +699,7 @@ Desktop (800px+): 4 columns (2fr 1fr 1fr 1fr)</div>
|
|||
</div>
|
||||
|
||||
<div class="mps-footer-ctas">
|
||||
<a href="https://my.makepostsell.com/s/new" class="shop-new-button mps-button">+ New Shop</a>
|
||||
<a href="https://my.makepostsell.com/s/new" class="shop-new-button mps-button">+ New Shop</a>
|
||||
<a href="https://blog.makepostsell.com/" class="product-edit-button mps-button">🕮 Blog</a>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue