-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gutenboarding: Integrate PlansTable & PlansDetails into PlansGrid. (#…
…41935) * Integrate mock prototype into plans grid. * Remove mock files and /new/plans route. * Fixed type errors. * Integrate the plans store with the grid ✨ * Update PlanItem key and remove unused plans-table wrappers. * Remove lib/plans.ts from gutenboarding * Update plans store. - Add resetPlan action - Use undefined instead of PLAN_FREE as selected plan - extract defaultPaidPlan and freePlan as constants * Use resetPlan when ending Gutenboarding flow. - update PlanAction type Co-authored-by: Omar Alshaker <omar@omaralshaker.com> Co-authored-by: Razvan Papadopol <razvan.papadopol@automattic.com>
- Loading branch information
1 parent
e816f74
commit 1b7437d
Showing
21 changed files
with
316 additions
and
374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
client/landing/gutenboarding/components/plans/plans-details/style.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
@import 'assets/stylesheets/gutenberg-base-styles'; | ||
@import '../../../mixins.scss'; | ||
@import '../../../variables.scss'; | ||
|
||
.plans-details { | ||
width: 100%; | ||
table-layout: fixed; | ||
margin-bottom: 110px; | ||
|
||
th, | ||
td { | ||
padding: 16px 24px; | ||
|
||
&:first-child { | ||
padding-left: 0; | ||
width: 40%; | ||
} | ||
|
||
&:not( :first-child ) { | ||
white-space: nowrap; | ||
} | ||
} | ||
|
||
// TODO: Deal with a11y later. | ||
.hidden { | ||
display: none; | ||
} | ||
} | ||
|
||
.plans-details__header-row { | ||
th { | ||
font-weight: 600; | ||
font-size: 14px; | ||
line-height: 20px; | ||
text-transform: uppercase; | ||
color: var( --studio-gray-20 ); | ||
padding-top: 5px; | ||
padding-bottom: 5px; | ||
border-bottom: 1px solid #eaeaeb; | ||
} | ||
} | ||
|
||
.plans-details__feature-row { | ||
th, | ||
td { | ||
font-size: 14px; | ||
line-height: 17px; | ||
letter-spacing: 0.2px; | ||
border-bottom: 1px solid #eaeaeb; | ||
vertical-align: top; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.