2024-06-17 10:19:24 -04:00
|
|
|
// m-a stands for: monthly annual
|
2024-08-21 13:35:15 -04:00
|
|
|
@plans-m-a-switch-height: 34px;
|
|
|
|
@plans-m-a-switch-padding: 2px;
|
2024-07-25 09:44:53 -04:00
|
|
|
@plans-highlighted-text-height-desktop: 32px;
|
2024-06-17 10:19:30 -04:00
|
|
|
@plans-highlighted-text-height-mobile: 41px;
|
|
|
|
@plans-learn-more-link-color: hsl(206, 100%, 52%);
|
2024-07-15 09:29:12 -04:00
|
|
|
@plans-table-border-radius: var(--border-radius-medium-new);
|
2024-06-17 10:19:30 -04:00
|
|
|
@plans-table-td-mobile-min-height: 34px;
|
2024-07-15 09:29:12 -04:00
|
|
|
@highlighted-border: var(--border-width-base) solid var(--green-50);
|
|
|
|
@table-border-size: 2px;
|
|
|
|
@table-border: @table-border-size solid var(--neutral-10);
|
2024-07-25 09:45:32 -04:00
|
|
|
@plans-table-sticky-header-size: 60px;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
|
|
|
.plans-page {
|
|
|
|
p {
|
|
|
|
color: @neutral-70;
|
|
|
|
margin-bottom: @line-height-computed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plans-header {
|
|
|
|
h1,
|
|
|
|
h2 {
|
|
|
|
color: @neutral-70;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-08-12 10:01:47 -04:00
|
|
|
.group-customize-subscription-modal {
|
|
|
|
.modal-footer {
|
|
|
|
.btn-lg {
|
|
|
|
margin-bottom: var(--spacing-05);
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
2024-08-12 10:01:47 -04:00
|
|
|
.btn-inline-link {
|
|
|
|
font-weight: normal;
|
|
|
|
// TODO: add to .website-redesign
|
|
|
|
// copied .inline-green-link style
|
|
|
|
color: var(--green-50);
|
|
|
|
text-decoration: underline;
|
|
|
|
// text-decoration-;skip-ink is for letter with descender (like 'g' and 'y')
|
|
|
|
// this will force underline to not skip the descender
|
|
|
|
text-decoration-skip-ink: none;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-08-12 10:01:47 -04:00
|
|
|
&:hover {
|
|
|
|
color: var(--green-60);
|
|
|
|
}
|
|
|
|
|
|
|
|
// for accessibility with keyboard navigation
|
|
|
|
&:focus {
|
|
|
|
outline: 2px solid var(--green-50);
|
|
|
|
outline-offset: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.circle {
|
|
|
|
font-size: var(--font-size-05);
|
|
|
|
line-height: var(--line-height-04);
|
|
|
|
padding: 46px 18px;
|
|
|
|
margin: 0 auto @line-height-computed;
|
|
|
|
width: 120px;
|
|
|
|
height: 120px;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: var(--green-50);
|
|
|
|
color: white;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
.group-price {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
.group-price-per-user {
|
|
|
|
font-size: var(--font-size-02);
|
|
|
|
line-height: var(--line-height-02);
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.circle-lg {
|
|
|
|
height: 180px;
|
|
|
|
padding: 70px 8px;
|
|
|
|
width: 180px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.group-plan-option {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: var(--spacing-04);
|
|
|
|
}
|
|
|
|
|
|
|
|
label span {
|
|
|
|
font-size: var(--font-size-03);
|
|
|
|
line-height: var(--line-height-03);
|
|
|
|
font-weight: 400;
|
|
|
|
padding-left: var(
|
|
|
|
--spacing-04
|
|
|
|
); // TODO: move to standard input styling for checkbox and radio
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type='checkbox'],
|
|
|
|
input[type='radio'] {
|
|
|
|
// TODO: move to standard input styling for checkbox
|
|
|
|
accent-color: var(--green-50);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type='checkbox'] {
|
|
|
|
// TODO: move to standard input styling for checkbox
|
|
|
|
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group {
|
|
|
|
margin-bottom: var(--spacing-06); // TODO: move to main .form-group CSS
|
|
|
|
}
|
|
|
|
|
|
|
|
.group-plan-educational-discount {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.educational-discount-section {
|
|
|
|
margin-top: var(--spacing-06);
|
|
|
|
}
|
|
|
|
|
|
|
|
.group-modal-features {
|
|
|
|
font-size: var(--font-size-02);
|
|
|
|
line-height: var(--line-height-02);
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-08-12 10:01:47 -04:00
|
|
|
ul {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-08-12 10:01:47 -04:00
|
|
|
ul,
|
|
|
|
.list-item-pro-features-header {
|
|
|
|
margin-top: var(--spacing-06);
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-17 10:19:30 -04:00
|
|
|
.plans-top-switch ul {
|
2024-07-31 10:47:05 -04:00
|
|
|
background-color: var(--neutral-10);
|
|
|
|
display: inline-flex;
|
2024-06-17 10:19:24 -04:00
|
|
|
justify-content: center;
|
2024-07-31 10:47:05 -04:00
|
|
|
margin: var(--spacing-09) auto 0 auto;
|
|
|
|
border-radius: var(--border-radius-full-new);
|
|
|
|
padding: var(--spacing-01);
|
2024-06-17 10:19:24 -04:00
|
|
|
|
|
|
|
li {
|
2024-07-31 10:47:05 -04:00
|
|
|
display: flex;
|
|
|
|
margin-right: var(--spacing-02);
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
button {
|
2024-07-31 10:47:05 -04:00
|
|
|
background-color: var(--neutral-10);
|
|
|
|
color: var(--neutral-70);
|
|
|
|
border-radius: var(--border-radius-full-new);
|
|
|
|
font-size: var(--font-size-03);
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: var(--line-height-03);
|
|
|
|
padding: 0 var(--spacing-04);
|
2024-06-17 10:19:24 -04:00
|
|
|
|
|
|
|
// remove bootstrap default
|
|
|
|
&.btn:active {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2024-07-31 10:47:05 -04:00
|
|
|
&:hover {
|
|
|
|
// same background as btn-secondary hover
|
|
|
|
background-color: var(--neutral-20);
|
|
|
|
color: var(--neutral-70);
|
|
|
|
}
|
|
|
|
|
2024-06-17 10:19:24 -04:00
|
|
|
&:focus {
|
2024-07-31 10:47:05 -04:00
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
&:focus-visible {
|
|
|
|
outline: 0;
|
|
|
|
.box-shadow-button-input();
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
2024-07-31 10:47:05 -04:00
|
|
|
button {
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: var(--neutral-70);
|
|
|
|
border-color: var(--neutral-70);
|
|
|
|
color: var(--white);
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @screen-xs-max) {
|
2024-07-31 10:47:05 -04:00
|
|
|
border-radius: var(--border-radius-base-new);
|
2024-06-17 10:19:24 -04:00
|
|
|
|
|
|
|
li {
|
2024-07-31 10:47:05 -04:00
|
|
|
button {
|
|
|
|
font-size: var(--font-size-01);
|
|
|
|
line-height: var(--line-height-01);
|
|
|
|
text-wrap: auto;
|
|
|
|
padding: var(--spacing-02) var(--spacing-04);
|
|
|
|
border-radius: var(--border-radius-base-new);
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
2024-06-17 10:19:30 -04:00
|
|
|
&.plans-switch-group {
|
2024-06-17 10:19:24 -04:00
|
|
|
// force newline for the second span
|
|
|
|
span:first-child::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
span:last-child {
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-04 08:02:24 -04:00
|
|
|
a.btn.plans-v2-btn-header-light,
|
|
|
|
button.plans-v2-btn-header-light {
|
2024-06-17 10:19:24 -04:00
|
|
|
font-family: @font-family-sans-serif;
|
|
|
|
}
|
|
|
|
|
2024-06-17 10:19:30 -04:00
|
|
|
.monthly-annual-switch {
|
2024-06-17 10:19:24 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
position: relative;
|
2024-07-30 10:16:07 -04:00
|
|
|
margin-top: var(--spacing-10);
|
2024-06-17 10:19:24 -04:00
|
|
|
|
|
|
|
.underline {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
2024-07-30 10:16:07 -04:00
|
|
|
display: none;
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @screen-xs-max) {
|
2024-07-30 10:16:07 -04:00
|
|
|
margin-top: var(--spacing-08);
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
2024-06-17 10:19:30 -04:00
|
|
|
label {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
2024-08-21 13:35:15 -04:00
|
|
|
width: 60px;
|
2024-06-17 10:19:30 -04:00
|
|
|
height: @plans-m-a-switch-height;
|
2024-07-30 10:16:07 -04:00
|
|
|
margin: 0 var(--spacing-05);
|
2024-06-17 10:19:30 -04:00
|
|
|
|
|
|
|
input {
|
|
|
|
opacity: 0;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-06-17 10:19:30 -04:00
|
|
|
input + span {
|
2024-07-25 09:44:53 -04:00
|
|
|
background-color: var(--green-50);
|
2024-06-17 10:19:30 -04:00
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-06-17 10:19:30 -04:00
|
|
|
input:checked + span {
|
2024-07-30 10:16:07 -04:00
|
|
|
background-color: var(--neutral-70);
|
2024-06-17 10:19:30 -04:00
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-06-17 10:19:30 -04:00
|
|
|
input:checked + span::before {
|
2024-08-21 13:35:15 -04:00
|
|
|
transform: translateX(26px);
|
2024-06-17 10:19:30 -04:00
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-06-17 10:19:30 -04:00
|
|
|
span {
|
2024-06-17 10:19:24 -04:00
|
|
|
position: absolute;
|
2024-06-17 10:19:30 -04:00
|
|
|
cursor: pointer;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2024-06-17 10:19:24 -04:00
|
|
|
transition: 0.4s;
|
2024-06-17 10:19:30 -04:00
|
|
|
border-radius: @plans-m-a-switch-height;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
content: '';
|
2024-08-21 13:35:15 -04:00
|
|
|
height: @plans-m-a-switch-height - @plans-m-a-switch-padding -
|
|
|
|
@plans-m-a-switch-padding;
|
|
|
|
width: @plans-m-a-switch-height - @plans-m-a-switch-padding -
|
|
|
|
@plans-m-a-switch-padding;
|
|
|
|
left: @plans-m-a-switch-padding;
|
|
|
|
bottom: @plans-m-a-switch-padding;
|
2024-06-17 10:19:30 -04:00
|
|
|
background-color: @white;
|
|
|
|
transition: 0.4s;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-17 10:19:30 -04:00
|
|
|
.monthly-annual-switch-text {
|
2024-06-17 10:19:24 -04:00
|
|
|
position: relative;
|
|
|
|
|
2024-06-17 10:19:30 -04:00
|
|
|
.tooltip {
|
2024-09-16 11:04:07 -04:00
|
|
|
opacity: 1;
|
2024-06-17 10:19:30 -04:00
|
|
|
position: absolute;
|
|
|
|
color: @white;
|
|
|
|
width: auto;
|
2024-07-30 10:16:07 -04:00
|
|
|
border-radius: var(--border-radius-base-new);
|
|
|
|
margin-right: var(--spacing-05);
|
|
|
|
right: 100%;
|
2024-06-17 10:19:30 -04:00
|
|
|
top: 0;
|
|
|
|
z-index: 0;
|
2024-07-30 10:16:07 -04:00
|
|
|
font-weight: 600;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-06-17 10:19:30 -04:00
|
|
|
&.tooltip.in.left {
|
2024-06-17 10:19:24 -04:00
|
|
|
.tooltip-inner {
|
2024-07-25 09:44:53 -04:00
|
|
|
background-color: var(--green-50);
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip-arrow {
|
2024-07-25 09:44:53 -04:00
|
|
|
border-left-color: var(--green-50);
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-17 10:19:30 -04:00
|
|
|
span {
|
|
|
|
white-space: nowrap;
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
2024-06-17 10:19:30 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
right: -31%;
|
|
|
|
top: unset;
|
|
|
|
|
|
|
|
&.tooltip.in.bottom {
|
|
|
|
.tooltip-inner {
|
2024-07-25 09:44:53 -04:00
|
|
|
background-color: var(--green-50);
|
2024-06-17 10:19:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip-arrow {
|
|
|
|
border-left-color: unset;
|
2024-07-25 09:44:53 -04:00
|
|
|
border-bottom-color: var(--green-50);
|
2024-06-17 10:19:30 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:28:58 -04:00
|
|
|
//- class toggled by JS
|
2024-06-17 10:19:30 -04:00
|
|
|
&.plans-v2-m-a-tooltip-monthly-selected {
|
|
|
|
right: -119%;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: @font-size-extra-small;
|
|
|
|
position: relative;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-header.top-page-header {
|
|
|
|
// remove page-header border & margin on mobile
|
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
border-bottom: none;
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:28:58 -04:00
|
|
|
.plans-table-comments-icon {
|
2024-06-17 10:19:24 -04:00
|
|
|
i {
|
2024-07-15 09:30:09 -04:00
|
|
|
font-size: 64px;
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-26 10:20:56 -04:00
|
|
|
.plans-table-container {
|
2024-06-17 10:19:24 -04:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:28:58 -04:00
|
|
|
.plans-license-picker-form {
|
2024-07-30 10:16:16 -04:00
|
|
|
margin-top: var(--spacing-08);
|
2024-06-17 10:19:24 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
2024-07-30 10:16:16 -04:00
|
|
|
font-size: var(--font-size-03);
|
|
|
|
line-height: var(--line-height-03);
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
.plans-license-picker-select-container {
|
|
|
|
span {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
select {
|
|
|
|
background-color: @white;
|
|
|
|
border: 1px solid var(--neutral-60);
|
|
|
|
border-radius: var(--border-radius-base-new);
|
|
|
|
height: 31px;
|
|
|
|
margin-left: var(--spacing-04);
|
|
|
|
padding: 5.5px var(--spacing-04);
|
|
|
|
font-size: var(--font-size-02);
|
|
|
|
line-height: var(--line-height-02);
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
margin: 0 15px;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
i {
|
|
|
|
margin-left: var(--spacing-04);
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
//- element is selected by shared JS with default variant
|
|
|
|
.plans-v2-license-picker-educational-discount {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: var(--spacing-06);
|
|
|
|
|
|
|
|
&.total-licenses-not-eligible-for-discount {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
label {
|
|
|
|
margin-bottom: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
font-weight: normal;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
&.disabled span {
|
|
|
|
color: var(--neutral-40);
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
input[type='checkbox'].plans-v2-license-picker-educational-discount-checkbox {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-right: var(--spacing-04);
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
margin-right: 25px;
|
|
|
|
// scale the checkbox to around 30px width and height
|
|
|
|
transform: scale(2.307);
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
span.plans-v2-license-picker-educational-discount-learn-more-container {
|
|
|
|
display: none;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
margin-left: 5px;
|
|
|
|
display: inline;
|
|
|
|
// this white-space is important to ensure the "learn more" text won't get separated by a newline
|
|
|
|
white-space: nowrap;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
span.plans-v2-license-picker-educational-discount-learn-more-text {
|
|
|
|
color: @plans-learn-more-link-color;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
.tooltip {
|
|
|
|
// force white-space to have initial value since the `white-space: nowrap` rule
|
|
|
|
// on .plans-v2-license-picker-educational-discount-learn-more-container selector (the current code block) above
|
|
|
|
// will also affect every child inside of it, including the generated tooltip
|
|
|
|
white-space: initial;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
2024-07-30 10:16:16 -04:00
|
|
|
|
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
font-size: var(--font-size-02);
|
|
|
|
margin-top: var(--spacing-06);
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
2024-06-26 10:20:56 -04:00
|
|
|
.plans-table-individual,
|
|
|
|
.plans-table-student {
|
2024-06-17 10:19:30 -04:00
|
|
|
margin-top: 40px + @plans-highlighted-text-height-desktop;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
|
|
|
@media (max-width: @screen-xs-max) {
|
2024-06-17 10:19:30 -04:00
|
|
|
margin-top: 60px + @plans-highlighted-text-height-desktop;
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-26 10:20:56 -04:00
|
|
|
.plans-table-student {
|
2024-06-17 10:19:24 -04:00
|
|
|
@media (max-width: @screen-md-max) {
|
|
|
|
tr:first-of-type {
|
|
|
|
th:last-of-type {
|
|
|
|
// Last column is only a UI placeholder for desktop view.
|
|
|
|
// We need to hide it for mobile to have the full table fully visible on mobile
|
|
|
|
// without any empty horizontal space.
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-26 10:20:56 -04:00
|
|
|
.plans-table-group {
|
2024-07-30 10:16:16 -04:00
|
|
|
margin-top: 40px + @plans-highlighted-text-height-desktop;
|
|
|
|
|
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
margin-top: 40px + @plans-highlighted-text-height-mobile;
|
|
|
|
}
|
2024-07-15 09:29:12 -04:00
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-15 09:29:12 -04:00
|
|
|
.plans-table {
|
|
|
|
background-color: white;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
table-layout: fixed;
|
|
|
|
width: 100%;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-15 09:30:09 -04:00
|
|
|
.plans-table-th-content,
|
|
|
|
.plans-table-price,
|
2024-07-25 09:45:10 -04:00
|
|
|
.plans-table-comments-icon {
|
2024-07-15 09:30:09 -04:00
|
|
|
color: var(--neutral-90);
|
|
|
|
}
|
|
|
|
|
2024-07-25 09:45:10 -04:00
|
|
|
.plans-table-short-feature-list ul {
|
2024-07-25 09:45:20 -04:00
|
|
|
color: var(--neutral-70);
|
2024-07-25 09:45:10 -04:00
|
|
|
font-size: var(--font-size-02);
|
|
|
|
line-height: var(--line-height-02);
|
|
|
|
hyphens: auto;
|
|
|
|
padding-left: 15px;
|
|
|
|
text-align: left;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Table BORDER and PADDING
|
|
|
|
// Cannot add border to td, th directly due to highlighted column border.
|
|
|
|
// The outer div handles the border (see exception below for highlighted column).
|
|
|
|
// The inner div handles the padding.
|
|
|
|
// The 2 layers of divs make the highlighted column border appears
|
|
|
|
// as a solid vertical line across the table.
|
|
|
|
// The highlighted column's border handling is an exception. The inner div (div > div)
|
|
|
|
// of the highlighted column handles the horizontal border (gray) so that it appears as
|
|
|
|
// behind the vertical border (green).
|
|
|
|
// On mobile, there is no vertical border for the highighted column
|
2024-07-15 09:29:12 -04:00
|
|
|
td > div,
|
|
|
|
th > div {
|
2024-07-25 09:45:10 -04:00
|
|
|
// border
|
2024-07-15 09:29:12 -04:00
|
|
|
border-left: @table-border;
|
|
|
|
border-top: @table-border;
|
|
|
|
border-right: @table-border;
|
|
|
|
border-bottom: 0;
|
2024-07-25 09:45:10 -04:00
|
|
|
// border adjustments
|
|
|
|
&.plans-table-cell-cta-desktop,
|
|
|
|
&.plans-table-cell-cta-mobile,
|
|
|
|
&.plans-table-cell-short-feature-list,
|
|
|
|
&.plans-table-cell-price,
|
|
|
|
&.plans-table-cell-divider {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
&.plans-table-cell-divider {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2024-07-25 09:45:32 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
border: 0;
|
|
|
|
&.plans-table-th {
|
|
|
|
border-top: @table-border;
|
|
|
|
}
|
|
|
|
}
|
2024-07-25 09:45:10 -04:00
|
|
|
|
|
|
|
// padding
|
|
|
|
> div {
|
|
|
|
padding: var(--spacing-05) var(--spacing-08);
|
2024-07-30 10:16:25 -04:00
|
|
|
@media (max-width: @screen-sm-max) {
|
2024-07-25 09:45:10 -04:00
|
|
|
padding: var(--spacing-05);
|
|
|
|
}
|
2024-07-30 10:16:25 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
padding: var(--spacing-03);
|
|
|
|
}
|
2024-07-25 09:45:10 -04:00
|
|
|
}
|
|
|
|
// padding adjustments
|
|
|
|
&.plans-table-th > div {
|
|
|
|
padding-top: var(--spacing-06);
|
2024-07-25 09:45:20 -04:00
|
|
|
padding-bottom: var(--spacing-04);
|
2024-07-25 09:45:10 -04:00
|
|
|
}
|
|
|
|
&.plans-table-cell-price > div {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: var(--spacing-06);
|
2024-07-25 09:45:32 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
padding-top: var(--spacing-05);
|
|
|
|
}
|
2024-07-25 09:45:10 -04:00
|
|
|
}
|
|
|
|
&.plans-table-cell-short-feature-list > div {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
padding-bottom: var(--spacing-06);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.plans-table-cell-cta-desktop > div {
|
|
|
|
padding-top: var(--spacing-08);
|
|
|
|
}
|
|
|
|
&.plans-table-cell-cta-mobile > div {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: var(--spacing-06);
|
|
|
|
}
|
|
|
|
&.plans-table-feature-name > div {
|
|
|
|
padding-left: var(--spacing-05);
|
|
|
|
}
|
|
|
|
&.plans-table-cell-divider > div {
|
|
|
|
padding: var(--spacing-05) var(--spacing-08);
|
|
|
|
}
|
2024-07-15 09:29:12 -04:00
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-25 09:45:10 -04:00
|
|
|
// border adjustments for highlighted column
|
2024-07-15 09:29:12 -04:00
|
|
|
// remove left border for all col after highlighted column
|
|
|
|
.plans-table-green-highlighted ~ td > div,
|
|
|
|
.plans-table-green-highlighted ~ th > div {
|
|
|
|
border-left: 0;
|
|
|
|
}
|
|
|
|
// remove right border for all col before highlighted column
|
|
|
|
td:has(~ .plans-table-green-highlighted) > div,
|
|
|
|
th:has(~ .plans-table-green-highlighted) > div {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
|
|
|
// highlighted column border
|
|
|
|
th.plans-table-green-highlighted > div,
|
|
|
|
td.plans-table-green-highlighted > div {
|
|
|
|
border-left: @highlighted-border;
|
|
|
|
border-right: @highlighted-border;
|
|
|
|
// remove top gray border so that there is
|
|
|
|
// no shared corner with left/right green border
|
|
|
|
// and then apply the gray top border to the inner div, .plans-table-cell-content
|
|
|
|
border-top: 0;
|
|
|
|
|
2024-07-25 09:45:10 -04:00
|
|
|
&.plans-table-th {
|
|
|
|
border-top: @table-border-size solid var(--green-50);
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:29:12 -04:00
|
|
|
.plans-table-cell-content {
|
|
|
|
border-top: @table-border;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @screen-xs-max) {
|
2024-07-25 09:45:32 -04:00
|
|
|
// column is not highlighted on mobile
|
|
|
|
border: 0;
|
2024-07-25 09:45:10 -04:00
|
|
|
.plans-table-cell-content {
|
2024-07-25 09:45:32 -04:00
|
|
|
border: 0;
|
2024-07-25 09:45:10 -04:00
|
|
|
}
|
2024-07-15 09:29:12 -04:00
|
|
|
}
|
|
|
|
}
|
2024-07-25 09:45:10 -04:00
|
|
|
tr.plans-table-divider {
|
|
|
|
// highlighted divider will only show if the highlighted column is on the last visible column
|
|
|
|
.plans-table-last-col-highlighted > div {
|
|
|
|
border-right: @highlighted-border;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// add border for last row
|
|
|
|
tr:last-child {
|
|
|
|
td > div,
|
|
|
|
th > div {
|
|
|
|
border-bottom: @table-border;
|
|
|
|
}
|
|
|
|
td.plans-table-green-highlighted > div {
|
|
|
|
border-bottom: @highlighted-border;
|
2024-07-15 09:29:12 -04:00
|
|
|
|
|
|
|
@media (max-width: @screen-xs-max) {
|
2024-07-25 09:45:10 -04:00
|
|
|
// column is not highlighted on mobile, so
|
|
|
|
// match non-highlighted column border on mobile
|
|
|
|
border-bottom: @table-border;
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-25 09:45:10 -04:00
|
|
|
// remove borders
|
|
|
|
tr.plans-table-divider + tr {
|
|
|
|
td > div,
|
|
|
|
th > div {
|
2024-07-15 09:29:59 -04:00
|
|
|
border-top: 0;
|
|
|
|
}
|
2024-07-25 09:45:10 -04:00
|
|
|
.plans-table-green-highlighted {
|
|
|
|
.plans-table-cell-content {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
2024-07-15 09:29:59 -04:00
|
|
|
}
|
|
|
|
}
|
2024-07-25 09:45:10 -04:00
|
|
|
tr.plans-table-cols-2 {
|
|
|
|
th:last-child {
|
|
|
|
div {
|
|
|
|
border: 0;
|
|
|
|
}
|
2024-07-15 09:30:09 -04:00
|
|
|
}
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-25 09:45:10 -04:00
|
|
|
// border radius
|
2024-06-17 10:19:24 -04:00
|
|
|
|
|
|
|
tr {
|
2024-07-25 09:45:10 -04:00
|
|
|
th {
|
|
|
|
&:nth-child(2):not(.plans-table-green-highlighted) .plans-table-th {
|
|
|
|
border-top-left-radius: @plans-table-border-radius;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-25 09:45:10 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-07-15 09:29:12 -04:00
|
|
|
// top right border radius on desktop only
|
|
|
|
&:first-of-type {
|
|
|
|
th:last-child > .plans-table-th {
|
|
|
|
border-top-right-radius: @plans-table-border-radius;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-15 09:29:12 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-15 09:29:12 -04:00
|
|
|
// bottom right border radius on desktop only
|
|
|
|
&:last-child {
|
|
|
|
td:last-child {
|
|
|
|
.plans-table-cell {
|
|
|
|
border-bottom-right-radius: @plans-table-border-radius;
|
|
|
|
|
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
.plans-table-feature-name {
|
|
|
|
@media (min-width: @screen-sm-min) {
|
|
|
|
border-bottom-left-radius: @plans-table-border-radius;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-07-25 09:45:10 -04:00
|
|
|
}
|
2024-07-15 09:29:12 -04:00
|
|
|
|
2024-07-25 09:45:10 -04:00
|
|
|
// top left border radius on first feature row
|
|
|
|
.plans-table-first-feature-header > .plans-table-feature-name {
|
|
|
|
border-top-left-radius: @plans-table-border-radius;
|
2024-07-15 09:29:12 -04:00
|
|
|
|
2024-07-25 09:45:10 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
border-top-left-radius: 0;
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-25 09:45:10 -04:00
|
|
|
// We want these `div` inside `th` and `td` to have a 100% height so
|
|
|
|
// that their borders are all the full height of their row.
|
|
|
|
//
|
|
|
|
// To make both of them have 100% height of their respective `td` and `th`,
|
|
|
|
// we need to have the `table` has an explicit `height` rule.
|
|
|
|
// The value can be arbitrary, since it will be ignored by the browser
|
|
|
|
//
|
|
|
|
// See https://stackoverflow.com/a/56913789 for more details
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
th[scope='row'] {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:29:28 -04:00
|
|
|
th[scope='col'],
|
2024-07-15 09:29:12 -04:00
|
|
|
td {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:29:28 -04:00
|
|
|
th[scope='col'] {
|
2024-07-15 09:29:59 -04:00
|
|
|
font-family: 'Noto Sans', sans-serif;
|
|
|
|
font-size: var(--font-size-05);
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: var(--line-height-04);
|
2024-06-17 10:19:24 -04:00
|
|
|
vertical-align: top;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
vertical-align: middle;
|
2024-07-25 09:45:32 -04:00
|
|
|
@media (min-width: @screen-sm-min) {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
&:first-child th {
|
|
|
|
// keep the position here, otherwise messes up border on safari
|
|
|
|
position: relative;
|
|
|
|
}
|
2024-07-15 09:29:12 -04:00
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-15 09:29:12 -04:00
|
|
|
tr.plans-table-divider {
|
|
|
|
background-color: var(--neutral-10);
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-30 10:16:16 -04:00
|
|
|
.plans-table-cell-divider-content {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:29:12 -04:00
|
|
|
// direct child selector to NOT affect the generated tooltip
|
|
|
|
td > div {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.plans-table-divider-label {
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plans-table-divider-learn-more-container {
|
|
|
|
display: none;
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:29:12 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
background-color: var(--neutral-20);
|
|
|
|
border: 0;
|
|
|
|
|
2024-08-01 11:15:13 -04:00
|
|
|
.plans-table-cell-divider-content {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:29:12 -04:00
|
|
|
// direct child selector to NOT affect the generated tooltip
|
|
|
|
th > div,
|
|
|
|
td > div {
|
|
|
|
background-color: var(--neutral-20);
|
|
|
|
border: 0;
|
|
|
|
i {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plans-table-divider-learn-more-container {
|
|
|
|
display: inline;
|
|
|
|
// this white-space is important to ensure the "learn more" text won't get separated by a newline
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
span.plans-table-divider-learn-more-text {
|
|
|
|
color: @plans-learn-more-link-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
// force white-space to have initial value since the `white-space: nowrap` rule
|
|
|
|
// on .plans-table-divider-learn-more-container selector (the current code block) above
|
|
|
|
// will also affect every child inside of it, including the generated tooltip
|
|
|
|
.tooltip {
|
|
|
|
white-space: initial;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
2024-07-15 09:29:12 -04:00
|
|
|
|
|
|
|
.plans-table-last-col-highlighted > div {
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-17 10:19:24 -04:00
|
|
|
.fa-check {
|
|
|
|
color: @green;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: @screen-sm-min) {
|
|
|
|
// highlight rows on hover
|
2024-07-15 09:29:59 -04:00
|
|
|
.plans-table-feature-row:hover {
|
2024-07-15 09:28:58 -04:00
|
|
|
.plans-table-feature-name,
|
2024-06-26 10:20:56 -04:00
|
|
|
.plans-table-cell {
|
2024-06-17 10:19:24 -04:00
|
|
|
background-color: @table-hover-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @screen-sm-max) {
|
|
|
|
font-size: @font-size-small;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
tr {
|
|
|
|
display: flex;
|
|
|
|
// for mobile, we need to show the feature name (the first column) as its own row
|
|
|
|
// the flex-flow will make the whole tr overflow to a next row if
|
|
|
|
// total td width combined is bigger than viewport width
|
|
|
|
// so, one tr can have multiple "visible" row depending on the total width.
|
|
|
|
flex-flow: row wrap;
|
|
|
|
justify-content: space-around;
|
|
|
|
}
|
|
|
|
|
2024-07-25 09:45:32 -04:00
|
|
|
td,
|
|
|
|
th {
|
|
|
|
align-self: stretch;
|
|
|
|
}
|
|
|
|
|
2024-06-26 10:20:56 -04:00
|
|
|
// The forced width below (plans-table-cols-n) is to ensure the table columns have an equal width
|
2024-06-17 10:19:24 -04:00
|
|
|
// because on mobile, the first column (empty cell on first `tr` and feature name on the rest of `tr`) will be shown as its own row
|
|
|
|
// and the rest of the `tr` will incorporate a full width of the viewport
|
2024-08-12 09:41:26 -04:00
|
|
|
tr.plans-table-cols-4:not(.plans-table-divider) {
|
|
|
|
td,
|
|
|
|
th:not(:first-of-type) {
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:28:58 -04:00
|
|
|
tr.plans-table-cols-3:not(.plans-table-divider) {
|
2024-06-17 10:19:24 -04:00
|
|
|
td,
|
|
|
|
th:not(:first-of-type) {
|
|
|
|
width: calc(100% / 3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:28:58 -04:00
|
|
|
tr.plans-table-cols-2:not(.plans-table-divider) {
|
2024-06-17 10:19:24 -04:00
|
|
|
td,
|
|
|
|
th:not(:first-of-type) {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:29:28 -04:00
|
|
|
th[scope='col'] {
|
2024-06-17 10:19:24 -04:00
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:29:59 -04:00
|
|
|
// hide the first cell (which has no content)
|
|
|
|
tr:first-child,
|
|
|
|
.plans-table-price-row,
|
|
|
|
.plans-table-cta-mobile,
|
|
|
|
.plans-table-short-feature-list {
|
|
|
|
th:first-child,
|
|
|
|
td:first-child {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// for mobile, we need to show the feature name (the first td) as its own row
|
|
|
|
// the width: 100vw rule will enhance the flex-flow on the tr by ensuring the feature name (first column of each feature row)
|
|
|
|
// will have the full width of viewport,
|
|
|
|
// and making the first td appear like the it is in its own row (although it's technically still on the same tr as the other tds)
|
2024-07-15 09:29:28 -04:00
|
|
|
th[scope='row'] {
|
2024-06-17 10:19:24 -04:00
|
|
|
width: 100vw;
|
|
|
|
|
2024-07-15 09:28:58 -04:00
|
|
|
span.plans-table-feature-name {
|
2024-06-17 10:19:24 -04:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
span {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-26 10:20:56 -04:00
|
|
|
// plans-table-cell class only appears for the inner `div` of a `td`
|
2024-06-17 10:19:24 -04:00
|
|
|
// that doesn't contain divider or feature name
|
|
|
|
// (i.e it contains either check mark icon or a dash)
|
2024-06-26 10:20:56 -04:00
|
|
|
.plans-table-cell {
|
2024-06-17 10:19:24 -04:00
|
|
|
height: 100%;
|
|
|
|
|
2024-06-26 10:20:56 -04:00
|
|
|
.plans-table-cell-content {
|
2024-06-17 10:19:24 -04:00
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @screen-xs-max) {
|
2024-06-26 10:20:56 -04:00
|
|
|
.plans-table-cell-content {
|
2024-06-17 10:19:30 -04:00
|
|
|
min-height: @plans-table-td-mobile-min-height;
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-26 10:20:56 -04:00
|
|
|
.plans-table-th {
|
2024-06-17 10:19:24 -04:00
|
|
|
height: 100%;
|
|
|
|
|
2024-06-26 10:20:56 -04:00
|
|
|
.plans-table-th-content {
|
2024-06-17 10:19:24 -04:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:30:09 -04:00
|
|
|
.plans-table-btn-buy-container-desktop,
|
|
|
|
.plans-table-btn-buy-container-mobile {
|
|
|
|
gap: var(--spacing-04);
|
|
|
|
}
|
|
|
|
|
2024-06-26 10:20:56 -04:00
|
|
|
.plans-table-btn-buy-container-desktop {
|
2024-06-17 10:19:24 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-26 10:20:56 -04:00
|
|
|
.plans-table-btn-buy-container-mobile {
|
2024-06-17 10:19:24 -04:00
|
|
|
display: none;
|
|
|
|
|
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-07-30 10:16:25 -04:00
|
|
|
|
|
|
|
.btn {
|
|
|
|
.btn-xs;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-25 09:45:20 -04:00
|
|
|
.visible-desktop,
|
2024-07-30 10:16:25 -04:00
|
|
|
.visible-mobile-and-tablet {
|
2024-07-25 09:45:20 -04:00
|
|
|
display: none;
|
|
|
|
}
|
2024-07-30 10:16:25 -04:00
|
|
|
@media (min-width: (@screen-lg-min)) {
|
2024-07-25 09:45:20 -04:00
|
|
|
.visible-desktop {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2024-07-30 10:16:25 -04:00
|
|
|
@media (max-width: @screen-md-max) {
|
|
|
|
.visible-mobile-and-tablet {
|
2024-07-25 09:45:20 -04:00
|
|
|
display: inline-block;
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// this class should only appear on the group table
|
2024-07-15 09:30:09 -04:00
|
|
|
.plans-group-total-price {
|
2024-06-17 10:19:24 -04:00
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:30:09 -04:00
|
|
|
.plans-table-price-row {
|
|
|
|
.match-non-discounted-price-alignment,
|
2024-07-15 09:29:59 -04:00
|
|
|
s {
|
2024-07-15 09:30:09 -04:00
|
|
|
display: block;
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: var(--font-size-02);
|
|
|
|
line-height: var(--line-height-02);
|
|
|
|
color: var(--neutral-60);
|
|
|
|
}
|
|
|
|
|
|
|
|
.plans-table-price-container {
|
|
|
|
p.plans-table-price-period-label {
|
|
|
|
margin: 0;
|
|
|
|
font-size: var(--font-size-02);
|
|
|
|
line-height: var(--line-height-02);
|
|
|
|
color: @ol-blue-gray-3;
|
|
|
|
font-weight: 400;
|
2024-07-15 09:29:59 -04:00
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-15 09:30:09 -04:00
|
|
|
p.plans-table-price {
|
|
|
|
margin: 0;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-15 09:30:09 -04:00
|
|
|
span {
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: var(--font-size-07);
|
|
|
|
line-height: var(--line-height-06);
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-25 09:45:10 -04:00
|
|
|
.plans-table-feature-name-content {
|
2024-06-17 10:19:24 -04:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
|
2024-07-15 09:28:58 -04:00
|
|
|
i.plans-table-feature-question-icon {
|
2024-06-17 10:19:24 -04:00
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:28:58 -04:00
|
|
|
span.plans-table-feature-learn-more-container {
|
2024-06-17 10:19:24 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
display: inline-block;
|
|
|
|
text-align: left;
|
|
|
|
width: 100%;
|
|
|
|
background-color: @ol-blue-gray-0;
|
2024-06-17 10:19:30 -04:00
|
|
|
min-height: @plans-table-td-mobile-min-height;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-15 09:28:58 -04:00
|
|
|
i.plans-table-feature-question-icon {
|
2024-06-17 10:19:24 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-07-15 09:28:58 -04:00
|
|
|
span.plans-table-feature-learn-more-container {
|
2024-06-17 10:19:24 -04:00
|
|
|
margin-left: 5px;
|
|
|
|
display: inline;
|
|
|
|
// this white-space is important to ensure the "learn more" text won't get separated by a newline
|
|
|
|
white-space: nowrap;
|
|
|
|
|
2024-07-15 09:28:58 -04:00
|
|
|
span.plans-table-feature-learn-more-text {
|
2024-06-17 10:19:30 -04:00
|
|
|
color: @plans-learn-more-link-color;
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip {
|
|
|
|
// force white-space to have initial value since the `white-space: nowrap` rule
|
2024-07-15 09:28:58 -04:00
|
|
|
// on .plans-table-feature-learn-more-container selector (the current code block) above
|
2024-06-17 10:19:24 -04:00
|
|
|
// will also affect every child inside of it, including the generated tooltip
|
|
|
|
white-space: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-26 10:20:56 -04:00
|
|
|
p.plans-table-green-highlighted-text {
|
2024-07-25 09:44:53 -04:00
|
|
|
border: 2px solid var(--green-50);
|
2024-06-17 10:19:24 -04:00
|
|
|
position: absolute;
|
2024-06-17 10:19:30 -04:00
|
|
|
top: -1 * @plans-highlighted-text-height-desktop;
|
2024-06-17 10:19:24 -04:00
|
|
|
left: 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2024-07-25 09:44:53 -04:00
|
|
|
font-size: var(--font-size-03);
|
|
|
|
line-height: var(--line-height-02);
|
|
|
|
font-weight: 600;
|
|
|
|
background-color: var(--green-50);
|
2024-07-15 09:29:12 -04:00
|
|
|
border-radius: var(--border-radius-large-new) var(--border-radius-large-new)
|
|
|
|
0 0;
|
2024-06-17 10:19:24 -04:00
|
|
|
color: @white;
|
2024-06-17 10:19:30 -04:00
|
|
|
height: @plans-highlighted-text-height-desktop;
|
2024-06-17 10:19:24 -04:00
|
|
|
margin: 0;
|
2024-07-15 09:29:12 -04:00
|
|
|
width: 100%;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
|
|
|
@media (max-width: @screen-sm-max) {
|
2024-06-17 10:19:30 -04:00
|
|
|
top: -1 * @plans-highlighted-text-height-mobile;
|
|
|
|
height: @plans-highlighted-text-height-mobile;
|
2024-07-25 09:44:53 -04:00
|
|
|
font-size: var(--font-size-01);
|
|
|
|
line-height: var(--line-height-01);
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-25 09:45:32 -04:00
|
|
|
.plans-table-th-content {
|
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
height: @plans-table-sticky-header-size!important;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
2024-07-15 09:28:58 -04:00
|
|
|
.plans-table-sticky-header-container {
|
2024-06-17 10:19:24 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
// `height: 60%` is just an arbitrary percentage
|
|
|
|
// since we need to cover the whole plans_v2_table
|
|
|
|
// but not too much so it vertically overflows the page
|
|
|
|
// and it's not trivial to calculate the precise table height
|
|
|
|
height: 60%;
|
|
|
|
width: 100%;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2024-07-25 09:45:32 -04:00
|
|
|
.plans-table-sticky-header-without-switch {
|
|
|
|
margin-bottom: -107px;
|
2024-07-30 10:16:16 -04:00
|
|
|
margin-top: @plans-highlighted-text-height-mobile + 40px +
|
|
|
|
@table-border-size;
|
2024-07-25 09:45:32 -04:00
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-25 09:45:32 -04:00
|
|
|
.plans-table-sticky-header-with-switch {
|
|
|
|
margin-bottom: -140px;
|
|
|
|
margin-top: @plans-table-sticky-header-size + 34px;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-25 09:45:32 -04:00
|
|
|
.plans-table-sticky-header {
|
|
|
|
display: none;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-25 09:45:32 -04:00
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: @z-index-plans-page-table-header-mobile;
|
|
|
|
height: @plans-table-sticky-header-size;
|
|
|
|
border-bottom: @table-border;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-25 09:45:32 -04:00
|
|
|
// separate sticky class because we want to remove the class (to visually remove the sticky header)
|
|
|
|
// with javascript whenever the table is not visible anymore
|
|
|
|
&.sticky {
|
|
|
|
position: sticky;
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-25 09:45:32 -04:00
|
|
|
.plans-table-sticky-header-item {
|
|
|
|
background-color: @white;
|
|
|
|
flex: 1 1 0px;
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-07-25 09:45:32 -04:00
|
|
|
span {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 0 var(--spacing-01);
|
2024-07-15 09:30:09 -04:00
|
|
|
color: var(--neutral-90);
|
|
|
|
font-size: var(--font-size-03);
|
|
|
|
font-weight: 600;
|
2024-06-17 10:19:24 -04:00
|
|
|
text-align: center;
|
2024-07-15 09:30:09 -04:00
|
|
|
line-height: var(--line-height-02);
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-25 09:45:32 -04:00
|
|
|
.plans-table-sticky-header-item-green-highlighted span {
|
|
|
|
color: var(--green-50);
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.plans-v2-faq {
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// need for specificity to override default a color
|
|
|
|
p > a {
|
|
|
|
color: @ol-blue;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: @ol-dark-blue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-09-04 08:02:24 -04:00
|
|
|
.plans-v2-university-info-light {
|
2024-06-17 10:19:24 -04:00
|
|
|
padding: @padding-lg @padding-xxl;
|
2024-09-04 08:02:24 -04:00
|
|
|
background-color: var(--white);
|
2024-06-17 10:19:24 -04:00
|
|
|
border-radius: 20px;
|
2024-09-04 08:02:24 -04:00
|
|
|
max-width: @screen-sm-max; // 991px
|
|
|
|
margin: auto;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: var(--spacing-07); // 20px
|
2024-06-17 10:19:24 -04:00
|
|
|
|
2024-09-04 08:02:24 -04:00
|
|
|
@media (max-width: @screen-sm-max) {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: start;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3.plans-v2-university-info-header-light {
|
|
|
|
margin: 0;
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
2024-09-04 08:02:24 -04:00
|
|
|
p.plans-v2-university-info-text-light {
|
|
|
|
margin: 0;
|
|
|
|
margin-top: @margin-sm;
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
a.plans-v2-btn-university-info {
|
|
|
|
margin-top: @margin-md;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @screen-sm-max) {
|
2024-09-04 08:02:24 -04:00
|
|
|
h3.plans-v2-university-info-header-light {
|
2024-06-17 10:19:24 -04:00
|
|
|
margin: 0 0 @margin-md 0;
|
|
|
|
}
|
|
|
|
|
2024-09-04 08:02:24 -04:00
|
|
|
p.plans-v2-university-info-text-light {
|
2024-06-17 10:19:24 -04:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
padding: @padding-lg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
padding-top: calc(var(--spacing-16) + var(--header-height));
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: var(--spacing-08);
|
|
|
|
}
|
|
|
|
.plans-v2-top-switch {
|
|
|
|
margin-top: var(--spacing-09);
|
|
|
|
}
|
|
|
|
|
|
|
|
.plans-page-quote-row {
|
|
|
|
margin: var(--spacing-13) 0;
|
|
|
|
}
|
2024-07-31 10:46:52 -04:00
|
|
|
|
|
|
|
.plans-payment-methods {
|
|
|
|
margin-top: var(--spacing-08);
|
|
|
|
margin-bottom: var(--spacing-09);
|
|
|
|
p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
.plans-payment-methods-icons {
|
|
|
|
display: flex;
|
|
|
|
gap: var(--spacing-04);
|
|
|
|
justify-content: center;
|
|
|
|
margin-top: var(--spacing-05);
|
|
|
|
}
|
|
|
|
}
|
2024-06-17 10:19:24 -04:00
|
|
|
}
|
2024-08-12 09:41:26 -04:00
|
|
|
|
|
|
|
.plans-page-interstitial {
|
|
|
|
padding-bottom: var(--spacing-09);
|
|
|
|
h1 {
|
|
|
|
margin-bottom: var(--spacing-13);
|
|
|
|
}
|
|
|
|
.monthly-annual-switch {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.plans-table-btn-buy-container-mobile {
|
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
.btn {
|
|
|
|
// interstitial page is a 4 column layout and CTA text cannot fit without adjustments
|
|
|
|
font-size: 11px;
|
|
|
|
text-wrap: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-09-03 11:04:09 -04:00
|
|
|
|
|
|
|
&.plans-page
|
|
|
|
.plans-table-price-row
|
|
|
|
.plans-table-price-container
|
|
|
|
.plans-table-price
|
|
|
|
span {
|
|
|
|
@media (max-width: @screen-xs-max) {
|
|
|
|
font-size: var(--font-size-05);
|
|
|
|
line-height: var(--line-height-05);
|
|
|
|
}
|
|
|
|
}
|
2024-08-12 09:41:26 -04:00
|
|
|
}
|