|
|
@@ -1,4 +1,22 @@
|
|
|
-@import './plans-new-variables.less';
|
|
|
+@z-index-plans-new-tabs: 1;
|
|
|
+@z-index-plans-new-tabs-content: 0;
|
|
|
+
|
|
|
+@highlighted-heading-line-height: (@line-height-03 / 1rem) * 16px; // convert to px
|
|
|
+@highlighted-heading-padding-vertical: @spacing-02;
|
|
|
+@highlighted-heading-height: (
|
|
|
+ @highlighted-heading-line-height + (2 * @highlighted-heading-padding-vertical)
|
|
|
+);
|
|
|
+
|
|
|
+@switcher-container-width: 270px;
|
|
|
+@switcher-container-height: 44px;
|
|
|
+@switcher-container-border-radius: @switcher-container-height / 2;
|
|
|
+@switcher-container-padding: 6px;
|
|
|
+@switcher-container-margin-bottom: @highlighted-heading-height + @spacing-10;
|
|
|
+@switcher-padding-vertical: 2px;
|
|
|
+@switcher-height: @switcher-container-height - 2 * @switcher-container-padding;
|
|
|
+@switcher-border-radius: @switcher-height / 2;
|
|
|
+
|
|
|
+@nondiscounted-price-element-height: var(--line-height-02);
|
|
|
|
|
|
.plans-new-design {
|
|
|
padding-top: calc(var(--spacing-16) + var(--header-height));
|
|
|
@@ -337,60 +355,43 @@
|
|
|
}
|
|
|
|
|
|
.plans-new-table-header-grid-container {
|
|
|
- display: grid;
|
|
|
- grid-column-gap: var(--spacing-04);
|
|
|
- // priceUnitTotal is an optional row
|
|
|
- grid-template:
|
|
|
- 'nonDiscountedPrice price .' 2fr
|
|
|
- 'priceUnit priceUnit priceUnit' 1fr
|
|
|
- 'priceUnitTotal priceUnitTotal priceUnitTotal' auto / 1fr 1fr 1fr;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
|
|
|
- .plans-new-table-header-price {
|
|
|
- grid-area: price;
|
|
|
- justify-self: center;
|
|
|
+ s {
|
|
|
+ font-size: var(--font-size-02);
|
|
|
+ line-height: @nondiscounted-price-element-height;
|
|
|
+ color: var(--neutral-40);
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
|
|
|
+ .plans-new-table-header-price {
|
|
|
font-size: var(--font-size-08);
|
|
|
font-weight: 600;
|
|
|
line-height: var(--line-height-07);
|
|
|
color: var(--neutral-90);
|
|
|
+
|
|
|
+ // will affect the element if header does not have nondiscounted price
|
|
|
+ &:first-child {
|
|
|
+ margin-top: @nondiscounted-price-element-height;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.plans-new-table-header-price-unit {
|
|
|
- grid-area: priceUnit;
|
|
|
- justify-self: center;
|
|
|
-
|
|
|
font-size: var(--font-size-02);
|
|
|
line-height: var(--line-height-02);
|
|
|
}
|
|
|
|
|
|
.plans-new-table-header-price-unit-total {
|
|
|
- grid-area: priceUnitTotal;
|
|
|
- justify-self: center;
|
|
|
-
|
|
|
font-size: var(--font-size-01);
|
|
|
line-height: var(--line-height-01);
|
|
|
}
|
|
|
|
|
|
- .plans-new-table-header-nondiscounted-price {
|
|
|
- grid-area: nonDiscountedPrice;
|
|
|
- justify-self: end;
|
|
|
- align-self: end;
|
|
|
-
|
|
|
- font-size: var(--font-size-04);
|
|
|
- line-height: var(--line-height-05);
|
|
|
- color: var(--neutral-40);
|
|
|
- font-weight: 600;
|
|
|
- }
|
|
|
-
|
|
|
.plans-new-table-header-icon {
|
|
|
- // this element should only be placed in the grid
|
|
|
- // where it's the only element in the grid
|
|
|
- // the grid-area below will make sure that it covers the whole grid
|
|
|
- grid-area: ~'span 2 / span 3';
|
|
|
- justify-self: center;
|
|
|
-
|
|
|
font-size: 56px;
|
|
|
color: var(--neutral-90);
|
|
|
+ margin-top: @nondiscounted-price-element-height;
|
|
|
}
|
|
|
}
|
|
|
|