| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425 |
- @z-index-plans-new-tabs: 1;
- @z-index-group-member-picker-list: 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-margin-bottom: @highlighted-heading-height + @spacing-10;
- @nondiscounted-price-element-height: var(--line-height-02);
- @group-member-picker-height: 24px;
- @group-member-picker-top-height: 36px;
- @group-member-picker-sm-width: 50%;
- @group-member-picker-md-width: 25%;
- @group-member-picker-min-width: 234px;
- @container-plans-responsive-width: 95%;
- @table-4-column-width: 25%;
- @table-5-column-width: 20%;
- .plans-new-design {
- padding-top: var(--header-height);
- .container {
- padding: 0 var(--spacing-06);
- @media (min-width: @screen-sm-min) {
- width: @container-plans-responsive-width;
- }
- @media (min-width: @screen-xl-min) {
- width: @container-xl;
- }
- .geo-banner-container {
- margin-top: var(--spacing-08);
- }
- .plans-new-design-content-spacing {
- margin-top: var(--spacing-16);
- }
- .interstitial-new-design-content-spacing {
- margin-top: var(--spacing-13);
- }
- }
- .main-heading-section {
- text-align: center;
- max-width: 885px;
- margin-left: auto;
- margin-right: auto;
- @media (max-width: @screen-xs-max) {
- text-align: left;
- padding: 0 16px;
- }
- .plans-page-heading {
- margin-top: 8px;
- margin-bottom: unset;
- font-size: 3rem;
- font-weight: 600;
- line-height: 64px;
- @media (max-width: @screen-xs-max) {
- font-size: 2.25rem;
- line-height: 48px;
- padding-right: 5rem;
- }
- }
- .plans-page-sub-heading {
- font-size: 1.125rem;
- line-height: 24px;
- margin-top: 16px;
- margin-bottom: unset;
- }
- }
- .plans-new-content {
- display: flex;
- flex-direction: column;
- align-items: center;
- @media (min-width: @screen-sm-min) {
- border-left: 1px solid var(--neutral-20);
- border-right: 1px solid var(--neutral-20);
- border-bottom: 1px solid var(--neutral-20);
- border-radius: 8px;
- }
- // this is the border between the tabs and the content, specifically on the left and right side
- // this is necessary to enable top border radius on the plans-new-content
- &::before {
- content: '';
- display: block;
- z-index: @z-index-plans-new-tabs-content;
- position: absolute;
- top: -1px; // make border overlap with the border on .plans-new-tabs
- width: 100%;
- height: 20px; // arbitrary height since it's transparent, make sure that it's bigger than border radius
- background: transparent;
- border-top: 1px solid var(--neutral-20);
- @media (min-width: @screen-sm-min) {
- border-top-left-radius: 8px;
- border-top-right-radius: 8px;
- }
- }
- }
- .plans-new-tabs-container {
- z-index: @z-index-plans-new-tabs;
- margin-top: var(--spacing-16);
- // explicit padding to tell that the bottom left and bottom right
- // does not have bottom border defined in .plans-new-tabs
- // technically unnecessary because padding is already defined in bootstrap column
- padding: 0 16px;
- }
- .plans-new-tabs {
- display: flex;
- justify-content: center;
- gap: 8px;
- border-bottom: 1px solid var(--neutral-20);
- .plans-new-tab {
- cursor: pointer;
- font-size: 16px;
- font-weight: 600;
- border-top-right-radius: 8px;
- border-top-left-radius: 8px;
- .plans-new-tab-link {
- border: unset;
- display: flex;
- align-items: center;
- color: var(--neutral-70);
- margin: 0;
- border-top-right-radius: 8px;
- border-top-left-radius: 8px;
- border: 1px solid var(--neutral-20);
- padding: var(--spacing-05) var(--spacing-08);
- gap: var(--spacing-04);
- &:focus {
- background-color: unset;
- outline: 0;
- }
- &:hover {
- background-color: var(--neutral-20);
- }
- // tab navigation focus style
- &:focus-visible {
- .box-shadow-button-input();
- outline: 0;
- }
- .group-discount-bubble {
- padding: var(--spacing-01) var(--spacing-04);
- background-color: var(--green-10);
- color: var(--green-50);
- border-radius: var(--border-radius-full-new);
- font-family: 'DM Mono', monospace;
- font-feature-settings: 'ss05';
- font-size: var(--font-size-01);
- line-height: var(--line-height-01);
- font-weight: 500;
- @media (max-width: @screen-xs-max) {
- display: none;
- }
- }
- @media (max-width: @screen-xs-max) {
- font-size: var(--font-size-02);
- line-height: var(--line-height-02);
- padding: var(--spacing-05);
- gap: var(--spacing-02);
- }
- }
- &.active {
- .plans-new-tab-link {
- border: 1px solid white;
- position: relative;
- color: var(--green-50);
- // remove the border on tab focus
- &:focus-visible {
- &::before {
- content: unset;
- }
- }
- &::before {
- content: '';
- position: absolute;
- background: border-box
- linear-gradient(
- to bottom,
- @green-50 0%,
- @neutral-20 85%,
- @neutral-20 100%
- );
- -webkit-mask:
- linear-gradient(white 0 0) padding-box,
- linear-gradient(white 0 0);
- mask:
- linear-gradient(white 0 0) padding-box,
- linear-gradient(white 0 0);
- -webkit-mask-composite: xor;
- mask-composite: exclude;
- border-top-right-radius: 8px;
- border-top-left-radius: 8px;
- border: 1px solid transparent;
- border-bottom: 1px solid white;
- // make the border overlap with the .plans-new-tab-link border
- top: 0;
- bottom: -2px;
- left: -1px;
- right: -1px;
- }
- &:hover {
- background-color: unset;
- }
- }
- .plans-new-discount-badge {
- background-color: var(--green-10);
- color: var(--green-60);
- }
- }
- }
- }
- .plans-new-period-switcher-container {
- position: relative;
- display: inline-flex;
- background-color: var(--neutral-10);
- border-radius: var(--border-radius-full-new);
- padding: var(--spacing-03);
- margin-top: var(--spacing-09);
- margin-bottom: @switcher-container-margin-bottom;
- gap: var(--spacing-04);
- @media (max-width: @screen-xs-max) {
- margin-bottom: var(--spacing-09);
- }
- label {
- display: inline-flex;
- align-items: center;
- margin: 0;
- font-size: var(--font-size-05);
- font-weight: 600;
- line-height: var(--line-height-04);
- text-align: center;
- padding: var(--spacing-01) var(--spacing-04);
- border-radius: var(--border-radius-full-new);
- &:hover {
- background-color: var(--neutral-20);
- cursor: pointer;
- }
- }
- input[type='radio'] {
- position: absolute;
- left: -9999px;
- &:focus,
- &:focus-visible {
- outline: 0;
- }
- }
- input[type='radio']:focus-visible + label,
- input[type='radio']:checked:focus-visible + label {
- .box-shadow-button-input();
- }
- input[type='radio']:checked + label {
- background-color: var(--green-50);
- color: white;
- box-shadow: 0px 2px 4px 0px rgba(30, 37, 48, 0.16);
- .plans-new-discount-badge {
- background-color: var(--green-10);
- color: var(--green-60);
- }
- }
- .plans-new-discount-badge {
- margin-left: var(--spacing-03);
- }
- }
- .plans-new-discount-badge {
- font-size: var(--font-size-01);
- font-family: 'DM Mono', monospace;
- padding: 2px 8px;
- height: 20px;
- border-radius: 10px;
- background-color: var(--neutral-70);
- color: white;
- display: flex;
- align-items: center;
- font-weight: 500;
- line-height: var(--line-height-01);
- }
- .plans-new-tab-content {
- width: 100%;
- border: none;
- padding-top: 0;
- @media (max-width: @screen-xs-min) {
- padding: 0;
- }
- }
- .plans-new-mobile {
- display: none;
- @media (max-width: @screen-xs-max) {
- display: block;
- }
- }
- .plans-new-desktop {
- display: block;
- @media (max-width: @screen-xs-max) {
- display: none;
- }
- }
- .plans-new-table {
- width: 100%;
- // keep the borders separate to help with spacing and alignment in the CTAs
- border-collapse: separate;
- border-spacing: 0;
- th,
- td {
- width: @table-4-column-width;
- }
- }
- .plans-new-table-student {
- margin-left: @table-4-column-width / 2;
- }
- .plans-new-table-student-verification {
- font-weight: 600;
- font-size: var(--font-size-01);
- text-align: center;
- }
- .plans-new-table-group {
- margin-top: @spacing-11 + @highlighted-heading-height;
- }
- thead th {
- position: relative;
- padding: var(--spacing-06) var(--spacing-08) var(--spacing-04)
- var(--spacing-08);
- font-size: var(--font-size-05);
- font-weight: 600;
- line-height: var(--line-height-04);
- color: var(--neutral-90);
- text-align: center;
- @media (max-width: @screen-md-max) {
- padding: var(--spacing-05) var(--spacing-05) 0 var(--spacing-05);
- }
- }
- .plans-new-table-subheader {
- vertical-align: top;
- padding: 0 var(--spacing-08);
- @media (max-width: @screen-md-max) {
- padding: 0 var(--spacing-05);
- }
- &.plans-new-table-icon-cta-cell,
- &.plans-subheader-monthly-cta {
- vertical-align: bottom;
- }
- }
- .plans-new-table-cta-row {
- td {
- padding-bottom: var(--spacing-06);
- @media (max-width: @screen-md-max) {
- padding-bottom: var(--spacing-05);
- }
- // use transparent borders to use the same spacing as highlighted cells
- &:not(.plans-new-table-highlighted-cell) {
- border-right: var(--border-width-base) solid transparent;
- border-left: var(--border-width-base) solid transparent;
- }
- }
- .btn-block + .btn-block {
- margin-top: var(--spacing-04);
- }
- }
- .plans-new-table-header-grid-container {
- display: flex;
- flex-direction: column;
- align-items: center;
- s,
- .match-original-price-height {
- font-size: var(--font-size-02);
- line-height: @nondiscounted-price-element-height;
- color: var(--neutral-60);
- 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);
- }
- .plans-new-table-header-price-unit {
- font-size: var(--font-size-02);
- line-height: var(--line-height-02);
- text-align: center;
- }
- .plans-new-table-cta {
- margin-top: auto;
- a:nth-child(2) {
- margin-top: var(--spacing-04);
- }
- }
- .plans-new-table-header-icon {
- font-size: 56px;
- color: var(--neutral-90);
- }
- }
- .plans-new-table-header-price-unit-total {
- font-size: var(--font-size-01);
- line-height: var(--line-height-01);
- }
- .plans-new-table-header-desc {
- margin-top: var(--spacing-05);
- margin-bottom: var(--spacing-08);
- font-size: var(--font-size-02);
- line-height: var(--line-height-02);
- }
- .plans-new-group-member-picker {
- .plans-new-group-member-picker-text {
- font-size: var(--font-size-02);
- line-height: var(--line-height-02);
- font-weight: 600;
- margin-bottom: var(--spacing-02);
- }
- .plans-new-group-member-picker-form {
- position: relative;
- .plans-new-group-member-picker-button {
- width: 100%;
- background-color: white;
- border-radius: var(--border-radius-base-new);
- border: 1px solid var(--neutral-60);
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: var(--spacing-01) var(--spacing-03);
- margin-bottom: var(--spacing-04);
- height: @group-member-picker-height;
- font-size: var(--font-size-02);
- line-height: var(--line-height-02);
- &[aria-expanded='true'] {
- i {
- transform: rotate(180deg);
- transition: transform 0.35s ease;
- }
- }
- &[aria-expanded='false'] {
- i {
- transition: transform 0.35s ease;
- }
- }
- &[data-ol-plans-new-group-member-picker-button='group-all'] {
- height: @group-member-picker-top-height;
- }
- }
- ul.plans-new-group-member-picker-list {
- list-style-type: none;
- margin-bottom: 0;
- overflow: auto; // to enable box-shadow
- box-shadow: 0px 2px 4px 0px rgba(30, 37, 48, 0.16);
- padding: var(--spacing-02);
- position: absolute;
- top: @group-member-picker-height;
- background-color: white;
- width: 100%;
- margin-top: var(--spacing-01);
- z-index: @z-index-group-member-picker-list;
- &[data-ol-plans-new-group-member-picker-dropdown='group-all'] {
- top: @group-member-picker-top-height;
- }
- }
- li.plans-new-group-member-picker-footer {
- font-size: var(--font-size-02);
- line-height: var(--line-height-02);
- padding: var(--spacing-05) var(--spacing-04);
- span {
- display: block;
- }
- button {
- font-weight: 400;
- padding: 0;
- font-size: var(--font-size-02);
- line-height: var(--line-height-02);
- }
- }
- li {
- position: relative;
- &:not(:last-child) {
- margin-bottom: var(--spacing-02);
- }
- &:not(.plans-new-group-member-picker-footer):hover {
- input[type='radio']:not(:checked) + p {
- background-color: var(--neutral-10);
- }
- }
- input[type='radio'] {
- position: absolute;
- opacity: 0;
- cursor: pointer;
- &:focus + p {
- &:extend(.input-focus-style);
- }
- + p {
- padding: var(--spacing-05) var(--spacing-08) var(--spacing-05)
- var(--spacing-04);
- margin-bottom: 0;
- border-radius: var(--border-radius-base-new);
- }
- }
- input[type='radio']:checked + p {
- background-color: var(--green-10);
- color: var(--green-70);
- position: relative;
- word-wrap: break-word;
- &::after {
- content: url(../../../public/img/material-icons/check-green-20.svg);
- position: absolute;
- right: 12px;
- top: 50%;
- transform: translateY(-50%);
- @media (max-width: @screen-sm-max) {
- right: var(--spacing-04);
- }
- }
- }
- label {
- width: 100%;
- font-size: var(--font-size-02);
- line-height: var(--line-height-02);
- margin-bottom: var(--spacing-00);
- font-weight: 400;
- cursor: pointer;
- border-radius: var(--border-radius-base-new);
- .list-item-footer {
- font-size: var(--font-size-01);
- line-height: var(--line-height-01);
- }
- }
- }
- .plans-new-edu-discount {
- display: flex;
- align-items: flex-start;
- gap: var(--spacing-04);
- margin-bottom: var(--spacing-06);
- font-weight: 400;
- input[type='checkbox'] {
- margin: var(--spacing-02);
- accent-color: var(--green-50);
- &:focus-visible {
- .box-shadow-button-input();
- }
- }
- .plans-new-edu-discount-content {
- display: flex;
- flex-direction: column;
- span {
- line-height: var(--line-height-03);
- color: var(--neutral-90);
- }
- small {
- color: var(--neutral-70);
- font-size: var(--font-size-01);
- line-height: var(--line-height-01);
- }
- }
- }
- }
- }
- .plans-new-table-body:last-of-type {
- .plans-new-table-feature-row:last-of-type {
- .plans-new-table-feature-td.plans-new-table-highlighted-cell {
- border-bottom: var(--border-width-base) solid var(--green-50);
- }
- }
- }
- .plans-new-table-heading-row {
- // this means min-height, min-height does not work in table layout
- // https://stackoverflow.com/questions/7790222
- height: 64px;
- }
- .plans-new-table-heading-text {
- padding: var(--spacing-05) var(--spacing-08) var(--spacing-05)
- var(--spacing-05);
- font-weight: 600;
- font-size: var(--font-size-04);
- line-height: var(--line-height-03);
- vertical-align: bottom;
- }
- .plans-new-table-feature-row {
- &:nth-child(even) {
- background-color: var(--neutral-10);
- }
- }
- .plans-new-table-section-without-header-row {
- &:nth-child(odd):not(.plans-new-table-heading-row) {
- background-color: var(--neutral-10);
- }
- &:nth-child(even):not(.plans-new-table-heading-row) {
- background-color: var(--white);
- }
- }
- .plans-new-table-feature-th {
- font-weight: normal;
- padding: var(--spacing-05) var(--spacing-08) var(--spacing-05)
- var(--spacing-05);
- .plans-new-table-feature-th-content {
- line-height: var(--line-height-03);
- display: flex;
- justify-content: space-between;
- align-items: center;
- .plans-new-table-feature-tooltip-icon {
- cursor: help;
- margin-left: var(--spacing-05);
- }
- .tooltip.in {
- opacity: 1;
- }
- .tooltip-inner {
- padding: var(--spacing-04) var(--spacing-06);
- max-width: 258px;
- width: 258px;
- font-family: Lato, sans-serif;
- font-size: var(--font-size-02);
- text-align: left;
- background-color: var(--neutral-90);
- border-radius: var(--border-radius-base-new);
- }
- }
- }
- .plans-new-table-feature-td {
- padding: var(--spacing-05) var(--spacing-08);
- text-align: center;
- line-height: var(--line-height-03);
- .green-round-background {
- margin-right: 0;
- }
- }
- .plans-new-table-highlighted-heading {
- position: absolute;
- left: calc(-1 * var(--border-width-base));
- top: -1 * @highlighted-heading-height;
- height: @highlighted-heading-height;
- width: calc(100% + (2 * var(--border-width-base)));
- border-top-left-radius: var(--border-radius-large-new);
- border-top-right-radius: var(--border-radius-large-new);
- padding: @highlighted-heading-padding-vertical var(--spacing-04);
- font-weight: 600;
- text-align: center;
- line-height: @highlighted-heading-line-height;
- background-color: var(--green-50);
- color: var(--white);
- font-size: var(--font-size-03);
- }
- .plans-new-table-highlighted-cell {
- border-right: var(--border-width-base) solid var(--green-50);
- border-left: var(--border-width-base) solid var(--green-50);
- }
- .ai-assist {
- color: var(--neutral-90);
- @media (min-width: @screen-sm-min) {
- padding-left: 0 !important;
- padding-right: 0 !important;
- }
- .ai-assist-heading {
- margin-top: var(--spacing-12);
- margin-bottom: var(--spacing-12);
- text-align: center;
- }
- .ai-assist-container {
- padding: var(--spacing-10);
- border: 4px solid var(--neutral-10);
- border-radius: var(--border-radius-large-new);
- background:
- linear-gradient(270deg, var(--blue-10), #fff) 0.13%,
- #fff 63.21%;
- @media (max-width: @screen-sm-max) {
- background: #fff;
- border-width: 2px;
- border-radius: var(--border-radius-medium-new);
- border-color: var(--premium-gradient);
- padding: var(--spacing-09);
- }
- .ai-assist-content {
- display: flex;
- justify-content: space-between;
- gap: var(--spacing-07);
- @media (max-width: @screen-sm-max) {
- flex-direction: column;
- }
- .ai-assist-left {
- display: flex;
- gap: var(--spacing-07);
- flex-direction: column;
- max-width: @screen-xs;
- @media (max-width: @screen-sm-max) {
- max-width: 100%;
- }
- .ai-assist-price {
- font-weight: 600;
- font-size: var(--font-size-03);
- @media (max-width: @screen-sm-max) {
- font-weight: normal;
- font-size: var(--font-size-02);
- .price {
- font-size: var(--font-size-08);
- font-weight: 600;
- }
- }
- }
- .ai-assist-annually-price {
- display: block;
- }
- .ai-assist-monthly-price {
- display: none;
- }
- .ai-assist-header-switch {
- display: none;
- }
- .ai-assist-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- .ai-assist-header-content {
- display: flex;
- gap: var(--spacing-06);
- align-items: center;
- h3 {
- font-size: var(--font-size-07);
- margin: 0;
- padding: 0;
- @media (max-width: @screen-sm-max) {
- font-size: var(--font-size-05);
- }
- }
- img {
- @media (max-width: @screen-sm-max) {
- width: 24px;
- }
- }
- }
- .ai-assist-header-switch {
- align-items: center;
- gap: var(--spacing-03);
- user-select: none;
- input {
- margin: 0;
- }
- label {
- margin: 0;
- font-weight: normal;
- }
- }
- }
- }
- .ai-assist-right {
- display: flex;
- align-items: center;
- gap: var(--spacing-06);
- .ai-assist-features {
- list-style: none;
- display: flex;
- flex-direction: column;
- gap: var(--spacing-04);
- min-width: 210px;
- margin-bottom: 0;
- .feature-item {
- display: flex;
- align-items: center;
- font-size: var(--font-size-03);
- cursor: default;
- .feature-icon {
- margin-right: var(--spacing-05);
- color: var(--neutral-70);
- width: 16px;
- height: 16px;
- }
- .feature-text {
- color: var(--neutral-90);
- }
- }
- @media (min-width: @screen-sm-min) {
- .feature-item-selected {
- .feature-text {
- color: var(--blue-50);
- font-weight: 600;
- }
- .feature-icon {
- content: url(../../../public/img/check-circle-blue-filled.svg);
- }
- }
- }
- }
- .ai-assist-images {
- display: flex;
- align-items: flex-start;
- width: 280px;
- justify-content: center;
- @media (max-width: @screen-sm-max) {
- display: none;
- }
- }
- }
- }
- }
- .ai-assist-header-switch {
- display: flex !important;
- }
- .ai-assist-button-container {
- display: flex;
- gap: var(--spacing-05);
- &.mobile {
- display: none;
- margin-top: var(--spacing-06);
- flex-direction: column;
- }
- @media (max-width: @screen-sm-max) {
- &.mobile {
- display: flex;
- }
- &.desktop {
- display: none;
- }
- }
- .btn.monthly {
- display: none;
- }
- }
- .overleaf-assist-screenshot {
- height: auto;
- max-width: 280px;
- max-height: 200px;
- border-radius: var(--border-radius-base-new);
- display: none;
- &.selected {
- display: block;
- -webkit-animation: fade-in 1s;
- animation: fade-in 1s;
- }
- }
- }
- .ai-assist.monthly-period {
- .ai-assist-annually-price {
- display: none !important;
- }
- .ai-assist-monthly-price {
- display: block !important;
- }
- .ai-assist-button-container .btn.annual {
- display: none !important;
- }
- .ai-assist-button-container .btn.monthly {
- display: block !important;
- }
- }
- .plans-new-organizations {
- padding: var(--spacing-13) var(--spacing-08);
- .plans-new-organizations-text {
- text-align: center;
- font-size: var(--font-size-05);
- line-height: var(--line-height-04);
- margin-bottom: var(--spacing-00);
- }
- .plans-new-organizations-logo {
- margin-top: var(--spacing-09);
- display: flex;
- justify-content: space-around;
- align-items: center;
- @media (max-width: @screen-md-max) {
- flex-wrap: wrap;
- gap: 30px;
- }
- }
- }
- .plans-card-container-mobile {
- width: 100%;
- display: flex;
- flex-direction: column;
- gap: var(--spacing-06);
- .mt-spacing-06 {
- margin-top: var(--spacing-06);
- }
- .highlighted-plans-card {
- border: 2px solid var(--green-50) !important;
- }
- .plans-card-mobile {
- padding: var(--spacing-09);
- border: 2px solid var(--neutral-20);
- width: 100%; // might need max-width
- border-radius: 8px;
- display: flex;
- flex-direction: column;
- .plans-card-title-mobile {
- color: var(--neutral-90);
- font-size: var(--font-size-05); // 20px
- font-weight: 600;
- line-height: var(--line-height-04);
- }
- .plans-card-icon-container-mobile {
- margin-top: var(--spacing-04);
- .plans-card-icon {
- font-size: var(--font-size-09);
- color: var(--neutral-90);
- }
- }
- s {
- padding: var(--spacing-04) 0 0 0;
- color: var(--neutral-60);
- font-size: var(--font-size-04); // 18px
- font-weight: 600;
- line-height: var(--line-height-05);
- margin-bottom: var(--spacing-04);
- }
- .plans-card-price-container-mobile {
- display: flex;
- align-items: baseline;
- }
- .group-plans-card-price-container-mobile {
- display: flex;
- align-items: center;
- }
- .plans-card-price-mobile {
- color: var(--neutral-90);
- font-size: var(--font-size-08); // 36px
- font-weight: 600;
- line-height: var(--line-height-07);
- margin-right: var(--spacing-03);
- }
- .light-gray-text {
- color: var(--neutral-70);
- font-size: var(--font-size-02); // 14px
- line-height: var(--line-height-02);
- }
- .plans-card-description-mobile {
- .green-round-background {
- width: 20px;
- height: 20px;
- }
- .plans-card-description-list-mobile {
- list-style-type: none;
- padding-left: 0;
- margin-bottom: unset;
- li {
- display: flex;
- margin-top: var(--spacing-05);
- }
- }
- .plans-card-cta-container {
- margin-top: var(--spacing-08);
- width: 100%;
- .btn-block + .btn-block {
- margin-top: var(--spacing-04);
- }
- }
- }
- }
- }
- .plans-new-group-tab-card-container {
- margin-top: var(--spacing-09);
- }
- .plans-features-table-section-container-mobile {
- margin-top: var(--spacing-13);
- .plans-features-section-heading-mobile {
- font-size: var(--font-size-06);
- font-weight: 600;
- line-height: var(--line-height-05);
- color: var(--neutral-90);
- text-align: center;
- margin-bottom: var(--spacing-08);
- }
- .plans-features-table-mobile {
- width: 100%;
- .plans-features-table-sticky-header {
- position: sticky;
- top: 0;
- }
- .plans-features-table-header {
- margin-bottom: var(--space-08);
- }
- .plans-features-table-header-container-mobile {
- margin: var(--spacing-08) auto;
- border-bottom: unset;
- width: 100%;
- max-width: 544px;
- .plans-features-table-header-item-mobile {
- width: 33%;
- min-width: 114px;
- padding: unset;
- .plans-features-table-header-item-content-mobile {
- padding: var(--spacing-04);
- text-align: center;
- background-color: var(--neutral-10);
- }
- .plans-group-features-table-header-item-content-mobile {
- padding: var(--spacing-04);
- text-align: center;
- background-color: var(--neutral-10);
- height: 64px;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .plans-features-table-header-item-title-mobile {
- color: var(--neutral-90);
- line-height: var(--line-height-03);
- font-weight: 600;
- font-size: var(--font-size-03);
- }
- .plans-features-table-header-item-price-mobile {
- font-weight: 400;
- color: var(--neutral-70);
- line-height: var(--line-height-01);
- font-size: var(--spacing-05);
- }
- }
- .highlighted-styles {
- background-color: var(--neutral-80);
- .plans-features-table-header-item-title-mobile,
- .plans-features-table-header-item-price-mobile {
- color: var(--white);
- }
- }
- .plans-features-table-header-item-content-mobile.highlighted,
- .plans-group-features-table-header-item-content-mobile.highlighted {
- .highlighted-styles;
- }
- }
- tr.plans-features-table-row-for-margin {
- height: var(--spacing-08);
- }
- .plans-features-table-body-container-mobile {
- .plans-features-table-row-heading-mobile {
- font-weight: 600;
- text-align: center;
- line-height: var(--line-height-03);
- .plans-features-table-row-section-heading-content-mobile {
- padding-top: var(--spacing-08);
- padding-bottom: var(--spacing-05);
- font-size: var(--font-size-04);
- color: var(--neutral-90);
- }
- }
- // .plans-features-table-row-title-mobile and .plans-features-table-row-mobile are combined together to make one row visually, so we are using factors of 4 to alternatively color their backgrounds.
- .plans-features-table-row-title-mobile {
- &.plans-features-table-row-title-mobile-without-heading {
- &:nth-child(4n - 3) {
- background-color: var(--neutral-10);
- }
- &:nth-child(4n - 1) {
- background-color: var(--white);
- }
- }
- &:nth-child(4n - 2) {
- background-color: var(--neutral-10);
- }
- &:nth-child(4n) {
- background-color: var(--white);
- }
- .plans-features-table-row-title-content-mobile {
- display: flex;
- justify-content: center;
- align-items: center;
- padding-top: var(--spacing-06);
- font-weight: 600;
- line-height: var(--line-height-03);
- .plans-features-table-row-title-accordion {
- display: flex;
- justify-content: center;
- flex-direction: column;
- align-items: center;
- text-align: center;
- padding: 0 var(--spacing-04);
- .plans-features-table-row-title-accordion-header {
- font-size: var(--font-size-03);
- font-weight: 600;
- line-height: var(--line-height-03);
- display: flex;
- justify-content: center;
- background-color: unset;
- border: unset;
- .plans-features-table-row-title-accordion-icon {
- display: flex;
- align-items: center;
- transition: transform 0.35s ease;
- margin-left: var(--spacing-02);
- }
- &:not(.collapsed) {
- .plans-features-table-row-title-accordion-icon {
- transform: rotate(180deg);
- transition: transform 0.35s ease;
- }
- }
- }
- .plans-features-table-row-title-accordion-body {
- font-size: var(--font-size-01);
- line-height: var(--line-height-01);
- font-weight: 400;
- }
- }
- }
- }
- .plans-features-table-row-mobile {
- &.plans-features-table-row-mobile-without-heading {
- &:nth-child(4n - 2) {
- background-color: var(--neutral-10);
- }
- &:nth-child(4n) {
- background-color: var(--white);
- }
- }
- &:nth-child(4n - 3) {
- background-color: var(--white);
- }
- &:nth-child(4n - 1) {
- background-color: var(--neutral-10);
- }
- .plans-features-table-cell-content-mobile {
- text-align: center;
- padding-top: var(--spacing-05);
- padding-bottom: var(--spacing-06);
- }
- }
- }
- }
- }
- .plans-price-disclaimer {
- font-size: var(--font-size-01);
- line-height: var(--line-height-01);
- margin-top: var(--spacing-08);
- text-align: center;
- &:last-child {
- margin-bottom: var(--spacing-11);
- }
- &:not(:last-child) {
- margin-bottom: var(--spacing-08);
- }
- .plans-price-disclaimer-icons {
- display: flex;
- justify-content: center;
- gap: var(--spacing-04);
- }
- }
- .only-show-for-specific-plan-type {
- display: none;
- }
- &[data-ol-current-plan-type='group'] {
- .show-for-plan-type-group {
- display: block;
- }
- }
- &[data-ol-current-plan-type='individual'] {
- .show-for-plan-type-individual {
- display: block;
- }
- }
- &[data-ol-current-plan-type='student'] {
- .show-for-plan-type-student {
- display: block;
- }
- }
- .only-show-for-specific-plan-period {
- display: none;
- }
- &[data-ol-current-plan-period='annual'] {
- .show-for-plan-period-annual {
- display: block;
- }
- }
- &[data-ol-current-plan-period='monthly'] {
- .show-for-plan-period-monthly {
- display: block;
- }
- }
- }
- .plans-overleaf-common-request {
- color: var(--neutral-90);
- display: flex;
- align-items: center;
- justify-content: center;
- margin: var(--spacing-04) var(--spacing-08);
- text-align: center;
- gap: var(--spacing-06);
- @media (max-width: @screen-xs-max) {
- flex-direction: column;
- margin: 0;
- }
- a {
- font-size: var(--font-size-02);
- line-height: var(--line-height-02);
- }
- }
- .plans-faq {
- .faq-heading-container {
- text-align: center;
- margin-bottom: var(--spacing-10);
- @media (max-width: @screen-xs-max) {
- text-align: unset;
- }
- }
- .plans-faq-support {
- margin-top: var(--spacing-06);
- margin-bottom: var(--spacing-06);
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: var(--spacing-04);
- span {
- line-height: var(--line-height-03);
- font-size: var(--font-size-04);
- }
- button {
- font-family: 'DM Mono', monospace;
- font-weight: 500;
- text-decoration: none;
- color: var(--green-50);
- line-height: var(--line-height-03);
- font-size: var(--font-size-04);
- background-color: var(--white);
- border: unset;
- display: flex;
- align-items: center;
- }
- }
- }
- .plans-new-design.plans-interstitial-new-design {
- padding-top: var(--header-height);
- padding-bottom: var(--spacing-09);
- .plans-interstitial-new-content {
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .plans-new-table {
- th,
- td {
- width: @table-5-column-width;
- }
- }
- }
|