| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564 |
- @register-v-spacing: 20px;
- .deprecated-sl-masthead {
- display: inline-block;
- margin-top: @header-height;
- width: 100%;
- text-align: center;
- h1 {
- font-size: 3.3rem;
- line-height: 5rem;
- margin-bottom: 0;
- margin-top: @line-height-computed;
- }
- .img {
- max-width: 420px;
- background-image: url('../../../public/img/ol_plus_sl.png');
- background-size: 100%;
- background-repeat: no-repeat;
- margin: 20px auto 0;
- height: 197px;
- }
- }
- .deprecated-sl-login-buttons {
- margin: 35px 0;
- }
- .deprecated-sl-msg {
- width: 80%;
- margin: 35px auto 0;
- }
- .deprecated-sl-long-cta {
- padding-top: 12.5px;
- padding-bottom: 93px;
- .card {
- margin-top: 12.5px;
- min-height: 397px;
- }
- h3 {
- margin-top: 0;
- }
- }
- .masthead {
- background-image: -webkit-linear-gradient(
- to left,
- rgba(79, 156, 69, 1),
- rgba(28, 91, 38, 1)
- );
- background-image: linear-gradient(
- to left,
- rgba(79, 156, 69, 1),
- rgba(28, 91, 38, 1)
- );
- position: relative;
- text-align: center;
- overflow: hidden;
- padding-top: @header-height;
- h1,
- p,
- label {
- color: white;
- text-align: center;
- }
- h1 {
- font-size: 4.75rem;
- line-height: 6.25rem;
- margin-bottom: 0;
- margin-top: @line-height-computed;
- text-shadow: 0 1px 3px rgba(0, 0, 0, 0.42);
- span {
- font-family: @font-family-sans-serif;
- font-weight: 100;
- letter-spacing: 5px;
- }
- }
- p:first-of-type {
- font-size: @line-height-computed;
- font-weight: 200;
- margin-top: 0;
- text-rendering: auto;
- margin-bottom: @line-height-computed;
- }
- label {
- display: block;
- }
- .register-banner {
- background-image: -webkit-linear-gradient(
- top,
- rgba(0, 0, 0, 0.7),
- rgba(0, 0, 0, 0.9)
- );
- background-image: linear-gradient(
- to bottom,
- rgba(0, 0, 0, 0.7),
- rgba(0, 0, 0, 0.9)
- );
- padding: @register-v-spacing 0;
- position: absolute;
- bottom: 0;
- width: 100%;
- h2 {
- color: white;
- margin-top: 0;
- font-family: @font-family-sans-serif;
- font-weight: 500;
- letter-spacing: 1px;
- margin-bottom: @register-v-spacing;
- }
- .form-group {
- margin-left: @line-height-computed / 4;
- margin-right: @line-height-computed / 4;
- }
- .input-lg {
- border-radius: 9999px;
- }
- }
- .hp-register-password-error {
- margin-bottom: 9px;
- }
- .register-banner__password-error {
- padding: 5px 9px;
- border: none;
- border-radius: @btn-border-radius-base;
- }
- .screenshot {
- height: 600px;
- margin: auto;
- margin-bottom: -50px;
- overflow-y: hidden;
- box-shadow: 0 0 50px rgba(0, 0, 0, 0.67);
- max-width: 960px;
- .img {
- max-width: 960px;
- background-image: url('../../../public/img/homepage.png');
- background-size: 100%;
- background-repeat: no-repeat;
- margin: auto;
- height: 672px;
- }
- @media only screen and (-webkit-min-device-pixel-ratio: 2),
- only screen and (min--moz-device-pixel-ratio: 2),
- only screen and (-o-min-device-pixel-ratio: 2/1),
- only screen and (min-device-pixel-ratio: 2),
- only screen and (min-resolution: 192dpi),
- only screen and (min-resolution: 2dppx) {
- .img {
- background-image: url('../../../public/img/homepage@2x.png');
- }
- }
- }
- }
- .hp-register-external-separator {
- margin: 0 0 (@register-v-spacing / 5);
- color: #fff;
- }
- .hp-register-external-separator-or {
- vertical-align: middle;
- &::before,
- &::after {
- content: '';
- display: inline-block;
- vertical-align: middle;
- width: 5em;
- height: 1px;
- background-color: rgba(255, 255, 255, 0.3);
- }
- &::before {
- margin-right: 1.25em;
- }
- &::after {
- margin-left: 1.25em;
- }
- }
- .hp-register-newsletter-checkbox {
- font-size: 90%;
- & > .checkbox-newsletter {
- text-align: left;
- @media only screen and (min-width: @screen-sm-min) {
- text-align: center;
- }
- }
- }
- .hp-login-btn {
- .login-btn;
- min-width: 220px;
- }
- .hp-login-btn-large {
- .hp-login-btn;
- min-width: 256px;
- padding-left: 30px;
- font-size: 20px;
- }
- .hp-login-btn-icon-large {
- .login-btn-icon;
- width: 32px;
- height: 32px;
- }
- .hp-register-form-email-pwd {
- position: relative;
- }
- .hp-register-form-email-pwd-btn-container.form-group {
- display: block;
- margin-top: (@register-v-spacing / 2);
- @media only screen and (min-width: @screen-md-min) {
- position: absolute;
- display: inline-block;
- height: 100%;
- top: -(@register-v-spacing / 2);
- & > .btn-hero {
- height: 100%;
- }
- }
- }
- .sign-up-home-page {
- display: flex;
- justify-content: space-evenly;
- align-items: center;
- }
- .sign-up-btn {
- display: flex;
- align-items: center;
- }
- .universities-container {
- border-bottom: 1px solid @gray-lighter;
- }
- .universities {
- text-align: center;
- .uni-logo {
- display: inline-block;
- padding: 0 @padding-md;
- width: 20%;
- }
- }
- .pattern-container {
- background: url('../../../public/img/pattern-home.png') repeat #f1f1f1;
- border-top: 1px solid @gray-lightest;
- border-bottom: 1px solid @gray-lightest;
- }
- .pattern-grid {
- background: url('../../../public/img/grid.png') repeat @content-alt-bg-color;
- border-top: 1px solid @gray-lighter;
- border-bottom: 1px solid @gray-lighter;
- }
- .real-time-example {
- .cursor {
- background-color: hsl(200, 70%, 70%);
- display: inline-block;
- width: 2px;
- color: transparent;
- line-height: 1.4;
- position: relative;
- &:after {
- content: 'Joe';
- top: 22px;
- right: 0;
- position: absolute;
- display: block;
- background-color: hsl(200, 70%, 70%);
- padding: (@line-height-computed / 4) (@line-height-computed / 2);
- font-size: 0.8rem;
- z-index: 100;
- font-family: @font-family-sans-serif;
- color: white;
- font-weight: 700;
- }
- }
- }
- .track-changes-example {
- .removed,
- .added {
- color: #333;
- margin: 0 -1px;
- padding: 0 3px;
- }
- .added {
- background-color: hsl(200, 70%, 80%);
- }
- .removed {
- background-color: hsl(200, 70%, 95%);
- position: relative;
- &:after {
- content: ' ';
- position: absolute;
- top: 50%;
- left: 0;
- right: 0;
- border-top: 1px solid hsl(200, 70%, 40%);
- }
- }
- }
- .real-time-example-code {
- border-radius: 3px;
- border-left: 42px solid @gray-lighter;
- background-color: white;
- padding: 12px;
- font-family: @font-family-monospace;
- .highlight {
- color: @blue;
- }
- box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
- }
- @media only screen and (max-width: @screen-sm-max) {
- .doc-history-example {
- margin-bottom: @margin-md;
- }
- .universities {
- .uni-logo {
- padding: @padding-md;
- width: 50%;
- }
- }
- }
- .website-redesign {
- .home-animation-text-container {
- padding-top: @header-height;
- display: flex;
- flex-direction: column;
- align-items: center;
- .home-begin-text {
- font-weight: 400;
- display: flex;
- color: #5f5ff0;
- font-size: 4rem;
- line-height: 1.25;
- font-family: 'DM Mono', monospace;
- align-self: flex-start;
- width: 100%;
- margin-top: 0;
- font-weight: 400;
- @media (max-width: @screen-sm-max) {
- text-align: center;
- flex-direction: column;
- align-items: center;
- font-size: 2.25rem;
- }
- }
- .home-parenthesis-text {
- color: #bbdbb8;
- font-size: 4rem;
- line-height: 1.25;
- font-family: 'DM Mono', monospace;
- display: inherit;
- #home-animation-text {
- font-family: 'DM Mono', monospace;
- color: @neutral-70;
- }
- @media (max-width: @screen-sm-max) {
- font-size: 2.25rem;
- }
- }
- }
- .home-top-text {
- text-align: center;
- font-size: 1.25rem;
- line-height: 1.4;
- margin-bottom: 0;
- @media (max-width: @screen-sm-max) {
- font-size: 1.125rem;
- line-height: 1.33;
- padding: 0 100px;
- }
- @media (max-width: @screen-xs-max) {
- padding: 0 20px;
- }
- // force different line for desktop on both text
- > span:first-of-type {
- display: block;
- @media (max-width: @screen-sm-max) {
- display: inline;
- }
- }
- // need to have an extra space only for mobile
- // since on mobile all the text are inline
- .dash-text {
- @media (max-width: @screen-sm-max) {
- &::after {
- content: ' ';
- }
- }
- }
- }
- .home-registration {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-top: 20px;
- .home-registration-sso {
- display: flex;
- gap: 16px;
- @media (max-width: @screen-sm-max) {
- flex-direction: column;
- width: 100%;
- }
- .form-group {
- .hp-login-btn {
- width: 100%;
- }
- }
- }
- .home-registration-separator {
- margin: 8px 0;
- color: @neutral-90;
- > span {
- vertical-align: middle;
- &::before,
- &::after {
- content: '';
- display: inline-block;
- vertical-align: middle;
- width: 196px;
- height: 1px;
- background-color: @neutral-20;
- @media (max-width: @screen-sm-max) {
- flex-direction: column;
- width: 100%;
- width: 156px;
- }
- }
- &::before {
- margin-right: 20px;
- @media (max-width: @screen-sm-max) {
- margin-right: 5px;
- }
- }
- &::after {
- margin-left: 20px;
- @media (max-width: @screen-sm-max) {
- margin-left: 5px;
- }
- }
- }
- }
- .home-registration-password {
- display: flex;
- flex-direction: column;
- .home-registration-password-input {
- display: flex;
- flex-direction: row;
- gap: 16px;
- margin-bottom: 0;
- }
- }
- .home-registration-sign-up {
- display: block;
- margin-top: 16px;
- width: 100%;
- margin-bottom: 0;
- > button {
- width: 100%;
- }
- }
- .tos-agreement-notice {
- font-size: 0.75rem;
- a {
- color: @green-60;
- text-decoration: underline;
- font-weight: 400;
- }
- }
- }
- .home-register-newsletter-checkbox {
- font-size: 0.75rem;
- margin-top: 10px;
- text-align: center;
- input[type='checkbox'] {
- margin-top: 2px;
- }
- }
- .home-millions-user-text {
- text-align: center;
- font-size: 1.25rem;
- margin-bottom: 5px;
- @media (max-width: @screen-sm-max) {
- font-size: 1rem;
- }
- }
- .home-university-logos {
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- > img {
- max-width: 145px;
- }
- // 991px
- @media (max-width: @screen-sm-max) {
- justify-content: center;
- gap: 50px;
- }
- }
- .home-templates-button-desktop {
- @media (max-width: @screen-sm-max) {
- display: none;
- }
- }
- .home-templates-button-mobile {
- display: none;
- @media (max-width: @screen-sm-max) {
- display: block;
- }
- }
- .home-plans-footer {
- text-align: center;
- font-size: 1.125rem;
- line-height: 1.333;
- }
- }
|