// // Ascribe // ----------------- // Main collection file // @node_modules: '../../node_modules'; // Normalize all the things @import (inline) '@{node_modules}/normalize-css/normalize.css'; @import (inline) '@{node_modules}/normalize-opentype.css/normalize-opentype.css'; // Variables & Mixins @import 'ascribe/_variables'; //@import "ascribe/_mixins'; @import 'ascribe/_typography.less'; @import 'ascribe/_branding.less'; @import 'ascribe/_helpers.less'; @import 'ascribe/_buttons.less'; @import 'ascribe/_media.less'; @import 'ascribe/_grid.less'; @import 'ascribe/_footer.less'; @import 'ascribe/_hero.less'; @import 'ascribe/_subtemplates.less'; @import 'ascribe/_feature-circles.less'; @import 'ascribe/_team.less'; @import 'ascribe/_blog.less'; @import 'vendor/print.less'; // HEADER @chevronOffsetHeader: 60px; .header + .chevron-divider { height: 175px; } .header { overflow: hidden; padding-bottom: 50px; .page-template-template-companywhite &, .page-template-template-general &, .page-template-default &, .blog &, .single-career &, .error404 &, .archive &, .single-post & { .logo { margin-top: 30px; position:relative; z-index:10; } nav { position: relative; width: 100%; text-align: center; margin: 0; top: 20px; ul { &:extend(.list-unstyled all, .small); li { display: inline-block; border: 1px solid #b8b9b9; margin: 0 15px 0 15px; height: 60px; padding: 0 30px; width: 160px; text-align: center; vertical-align: top; a { color: #000; display: block; font-size: 16px; position: relative; top: 50%; transform: translateY(-50%); &:after { content: ' Tour'; } } &:hover { border: 1px solid @pink; a { color: @pink; } } } } } @media screen and (max-width: 910px) { nav { ul { li { margin-right: 10px; width: 120px; padding: 0 10px; } } } } @media screen and (max-width: 750px) { .tour-switcher { display: none; } .phone-and-up { display: none; } .phone-only { display: block; } .hamburger { display: inline-block; } .mobile-nav { display:none; &.active { display:block; } } } } } .tour-switcher { .phone-and-up; } .logo { float:left; &.phone-only { width: 30px; margin-left:10px; } } .app-links { float: right; margin-top: 35px; .signInUpText; color: @black; position:relative; z-index:3; a { .signInUpText; color: @black; &:hover { color: @pink; } } } .hamburger { cursor:pointer; width: 25px; margin-left: 15px; position: relative; top: 2px; z-index:50; @media screen and (max-width: @phoneWidth) { display: inline-block; } } .mobile-nav { display: none; background-color: black; position: absolute; width: 120%; left: -10%; top: 0; text-align:center; z-index:4; ul { padding: 40px 0 20px; } li { font-weight: 400; padding-bottom: 15px; font-size: 13px; a { color: @white; &:hover { color: @pink; } } &:nth-child(-n+3) { font-size: 16px; padding-bottom: 35px; } &:nth-child(3) { border-bottom:1px solid @white; margin-bottom:25px; } } @media screen and (max-width: @phoneWidth) { display:none; &.active { display:block; } } } // MAIN .above-chevron { margin-top: -160px; margin-bottom: -160px; position: relative; z-index: 3; } // SUBTEMPLATES .four-oh-four { font-size: 34px; line-height: 41px; text-align: center; } .case-studies { height: 685px; position: relative; .case-study { position: absolute; top:0; left:0; width: 100%; height: 100%; background-size: cover; background-repeat: no-repeat; background-position: center; transition: .3s ease-out; visibility: visible; opacity: 1; &.hidden { visibility: hidden; opacity: 0; } } .slide-container { width: 100%; height: 100%; position: relative; left: 0px; } .description { white-space: normal; width: 60%; background: fade(@black,64); padding: 25px; position: absolute; bottom: 35px; right:0; .caseStudyText; } p { margin:0; } .slider-action { width: 80px; height: 80px; background-color: @white; cursor: pointer; position: absolute; top: calc(~"50% - 40px"); z-index: 2; span { background-repeat: no-repeat; display: block; position:relative; top:15px; margin:0 auto; background-image: url(../../images/leftright.png); width: 25px; height: 50px; } } #back { left:0; span { background-position: 0 0; } } #forward { right:0; span { background-position: 0 -50px; } } @media screen and (max-width: @tabletWidth) { height: 500px; .description { font-size: 17px; line-height: 20px; width: 70%; } .slider-action { transform: scale(0.7); } #back { transform-origin: left; } #forward { transform-origin: right; } } @media screen and (max-width: @phoneWidth) { height: 400px; background-color: black; .case-study { background-size: 100%; background-position: top; } .description { width: 100%; background-color: black; bottom: 0; } } } .old-new { padding-top: 130px; padding-bottom: 175px; h1 { .sectionHeader; text-align: center; } th { .oldWayNewWayTH; text-transform: uppercase; padding-bottom: 15px; } table { border-collapse: collapse; } td { border: 1px solid @blueLight; vertical-align: middle; .copyTextSmall; width: 50%; padding: 45px 0; p { width: 60%; margin: 0 auto; } } .new { border-bottom-color: @white; position: relative; background-color: @blueLight; &:before { position: absolute; left:-30px; top: calc(~"50% - 30px"); content: ''; display: block; width: 60px; height: 60px; background-image: url(../../images/icon-arrow.png); background-size:60px; background-repeat: no-repeat; } } tr { &:last-of-type { .new { border-bottom-color: @blueLight; } } } @media screen and (max-width: @tabletWidth) { padding-top: 20px; td { text-align: center; } } @media screen and (max-width: @phoneWidth) { .new { &:before { left:-20px; width: 40px; height: 40px; background-size: 40px; } } } } .product-overview { padding: 175px 0; border-top: 1px solid @greyHr; h1 { .sectionHeader; } p { .copyTextSmall; } &:nth-of-type(odd) { img { float: left; } .text-column { float: right; } } &:nth-of-type(even) { img { float: right; } } .text-column { width: 45%; } img { max-width: 55%; } &.small { border-top: 0; border-bottom: 25px solid @greyBg; padding: 100px 0; h1 { font-size: 22px; margin:0; } .text-column { text-align: center; } } @media screen and (max-width: @tabletWidth) { padding: 100px 0; &:first-of-type { border-top: 0; } img { max-width: 100%; width: 55%; } .text-column { text-align: center; } } @media screen and (max-width: @phoneWidth) { img { display: none; } .text-column { width: 100%; } } } .blue-box { &:extend(.text-center); padding: @spacer 0; background-color: @greyBg; @media (min-width: @tabletWidth) { padding: (@spacer * 2) 0; } &, h1 { color: #fff; font-size: 180%; line-height: 120%; margin-top: 0; } .button { margin-top: (@spacer/2) } > .row { background: transparent; } } .blue-copy { margin: auto; background-color: @blueBright; padding: @spacer; @media (@screen-sm) { padding: (@spacer * 2); } } // // Component: CTA section // .cta { padding: @spacer 0; min-height: 300px; text-align: center; background-size: cover; background-repeat: no-repeat; background-position: 55% 50%; // centering from the future display: flex; align-items: center; justify-content: center; @media (min-width: @phoneWidth) { padding: (@spacer * 2) 0; min-height: 520px; background-position: center; } // TODO: this should be the generic layout container for everything .cta__container { padding: 0 4%; margin: auto; max-width: 960px; } .cta__title { color: #fff; margin: 0 0 48px 0; text-align: center; } .cta__button { margin: 0 auto; } } .galleries-marketplaces { padding: @spacer 0; text-align: center; h1 { .galleriesPressTitle; } img { display:block; } @media (min-width: @tabletWidth) { padding: (@spacer * 2) 0; h1 { font-size: 27px; } } } .blog-features { background-color: @greyBg; padding: 75px 0; .centered-content > h1 { .galleriesPressTitle; text-align: center; text-transform: none; } .blog { .ttl-columns.column-3; margin-bottom: 40px; div { background-color: white; padding-bottom: 15px; min-height: 225px; } } h2 { .featureBlogDesc; margin:10px 10px 0; padding: 0 10px; } h1 { .featureBlogTitle; margin:0 10px; text-align: left; padding: 0 10px; } @media screen and (max-width: @phoneWidth) { .blog { width: 50%; } } @media screen and (max-width: @smallWidth) { .blog { width: 100%; div { width: 80%; margin:0 auto; img { width: 100%; } } } } } .faq { .copyTextMedium; dl,dt,dd { margin:0; padding:0; } .featured-faqs { margin-bottom:75px; dt { &:extend(.fontRegular); font-size: 25px; line-height: 32px; color: @pink; cursor: pointer; } dd { max-height:0; overflow-y:hidden; transition: .2s ease-out; margin-bottom: 5px; &.open { max-height: 800px; } } } .regular-faqs { dt { &:extend(.fontRegular); } dd { margin-bottom: 60px; } } } .value { h1 { &:extend(.fontRegular); color: @black; font-size: 25px; line-height: 1; margin-top: 0; text-align: left; } p { margin-bottom: 0 } } .careers { &:extend(.text-center); background-color: @greyBg; > .row { background: none; } a { &:extend(.h3); color: @black; &:hover { color: @pink; } } li { margin-bottom: 35px; } ul { list-style: none; } } .contact { label { .copyTextSmall; &.required { &:after { content: '*'; color: @pink; } } } input, textarea { margin-bottom: 20px; padding: 10px; color: @greyText; width: 80%; margin-top: 5px; border: 1px solid @greyHr; outline: none; &[aria-invalid=true] { border: 1px solid @pink; } } input[type=submit] { &:extend(.button, .button.blue); width: auto; } .contact-point { h1 { &:extend(.fontRegular); font-size: 19px; color: @pink; text-align: left; margin-bottom:0; } } .required-info { .copyTextSmall; color: @pink; } .wpcf7-not-valid-tip { .copyTextSmall; color: @pink; margin-top: -20px; margin-bottom: 10px; } div.wpcf7-validation-errors { border: none; padding:0; margin:0; } div.wpcf7-response-output, div.wpcf7-display-none, div.wpcf7-mail-sent-ok { border: 0!important; } } .press-articles { text-align: center; .press-article { text-align: left; margin-bottom: 35px; padding-bottom: 35px; border-bottom: 1px solid @greyHr; h1 { .teamName; margin-bottom:0; text-align: left; a { color: @black; &:hover { color: @blueBright; } } } } } .downloads { .left { float: left; } .right { float: right; } } .upcoming-events, .past-events { .event-container { width: 70%; float:left; } .event-archives { width: 30%; float: right; padding-left: 10%; padding-top: 50px; h1 { text-align: left; font-size: 19px; color: @pink; font-weight: 400; a { color:@pink; &:hover { color: @black; } } } ul { list-style: none; margin:0; margin-bottom: 40px; padding:0; li { font-size: 18px; line-height: 1.2; } a { color: @black; &:hover { color: @pink; } } } } h2 { text-align: center; position:relative; font-size: 19px; span { background-color: white; position: relative; z-index: 1; padding: 0 20px; } &:after { content: ''; display:block; height: 1px; background-color: @greyHr; position: absolute; top: 50%; left: 0; right: 0; } } .event { .copyText; h1 { .h4; text-align:left; margin-bottom:0; font-size: 19px; a { color: @black; &:hover { color: @pink; } } } time { .copyTextMedium; margin-bottom: 5px; display: block; } border-top: 1px solid @greyHr; padding-bottom:30px; margin-bottom:30px; } h2 + .event { border-top: 0; } & + .chevron-divider { height: 280px; margin-top: -100px; margin-bottom: -135px; position: relative; z-index:-1; } @media screen and (max-width: 550px) { .event-container, .event-archives { width: 100%; float: none; } .event-archives { padding: 0; } } } // // Component: Short Descriptions // .short-descriptions { &:extend(.text-center); padding-bottom: 0; } .short-description { p { margin-bottom: 0 } } .short-description__title { font-size: @font-size-h4; margin-top: 0; } .short-description__description { &:extend(.small); } .content-boxed { background-color: @greyBg; padding-top: 50px; } .existing-new { background-color: @greyBg; padding: 90px 0 120px; > .row { background: none; } .top-tab { div { padding: 25px 0; text-align: center; cursor: pointer; text-transform: uppercase; .oldWayNewWayTH; color: @black; font-weight: 400; } &.active { div { border: 1px solid @pink; border-bottom: 0; background-color: @white; color: @pink; } } } .content { text-align: center; display: none; background-color: @white; border: 1px solid @pink; padding: 60px 10%; margin-top: -1px; &.active { display: block; } } .content > ul { text-align: left; list-style: none; li { margin-bottom: 35px; } ul { margin-left: 10%; text-align: left; list-style-type: disc; li { margin-bottom:0; } } } .button { &:extend(.button.pink); } } .page-template-template-tour .subtemplate.content { text-align: center; &.grey { background-color: @greyBg; h1 { margin-top: 55px; } } } .get-started { &:extend(.text-center); h1:not(.subtemplate__title) { font-size: @font-size-h3; } } .pricing { background-repeat: no-repeat; background-size: cover; height: 470px; padding-top: 80px; text-align: center; color: @white; font-weight: 400; h1 { color: @white; margin-bottom: 10px; } .pricing-detail { .ttl-columns.column-2; margin-bottom: 30px; div { height: 135px; text-align: center; background-color: @white; .h1; color: @pink; p { position: relative; top: 50%; transform: translateY(-50%); } } small { color: @black; font-size: 16px; display: block; margin-top: 7px; } } a { color: @white; &:hover { color:@pink; } } @media screen and (max-width: @phoneWidth) { padding-top:0; .pricing-detail { div { height:80px; font-size: 20px; } } } } // ASCRIBE CHANGES .page-template-template-tour header .sticky.stuck { top: 0; } .page-template-template-tour header .sticky { top: 30px; } .case-studies #forward, .case-studies #back { display: none; } .home.page .feature-circles p, .old-new p, .centered-prodFeat p, .get-started .description p { text-align: center; } h1 > a, .press-articles .press-article h1 a { color: #d8127d; } .press-articles .press-article h1 a { font-size: 20px; } .press-articles .press-article h1 { margin-bottom: 10px; } .press-articles .press-article time { font-size: 14px; margin-bottom: 6px; display: block; } .subtemplate.press-articles > div > div > img { margin-bottom: 70px; } .subtemplate.downloads a[href=''] { display: none; } .subtemplate.downloads a[href=''] + a:not([href='']) { float: none; display: inline-block; margin: 0 auto; } .subtemplate.downloads .centered-content { text-align: center; }