// // Magento Enterprise Edition // // NOTICE OF LICENSE // // This source file is subject to the Magento Enterprise Edition End User License Agreement // that is bundled with this package in the file LICENSE_EE.txt. // It is also available through the world-wide-web at this URL: // http://www.magento.com/license/enterprise-edition // If you did not receive a copy of the license and are unable to // obtain it through the world-wide-web, please send an email // to license@magento.com so we can send you a copy immediately. // // DISCLAIMER // // Do not edit or add to this file if you wish to upgrade Magento to newer // versions in the future. If you wish to customize Magento for your // needs please refer to http://www.magento.com for more information. // // @category design // @package rwd_default // @copyright Copyright (c) 2006-2017 X.commerce, Inc. and affiliates (http://www.magento.com) // @license http://www.magento.com/license/enterprise-edition // /* ============================================ * * Homepage * ============================================ */ /* -------------------------------------------- * * Primary Banner */ body.cms-home, body.stockist-index-index, body.cms-page-view, body.contacts-index-index, body.category-about { /* .page-header { position: absolute; z-index: 99; width: 100%; } */ .main-container { padding-left: 0; padding-right: 0; max-width: 100%; @include bp(min-width, $bp-medium + 1) { padding: 0; padding-top: 78px; } .breadcrumbs { display: none; } .hero { position: relative; img { width: 100%; max-width: 100%; } .hero-text { position: absolute; h1 { font-family: $f-stack-gt-compressed-bold; font-size: 4vw; text-transform: uppercase; margin-bottom: .8vw; line-height: 1em; } p { font-family: $f-stack-gt-extended-medium; text-transform: uppercase; letter-spacing: 1.1px; font-size: 1vw; display: inline-block; padding-bottom: .3vw; } } &.hero1 { .hero-text { width: 35%; right:0; top: 50%; transform: translateY(-50%); color: #fff; text-align: center; h1 { color: #fff; } p { border-bottom: 1px solid #fff; } a { color: #fff; } } } &.hero2 { .hero-text { width: 35%; left:17%; top: 50%; transform: translateY(-50%); color: $c-text; text-align: left; h1 { color: $c-text; } p { border-bottom: 1px solid $c-text; } } } @include bp(max-width, $bp-medium) { .hero-text { h1 { font-size: 7vw; } p { font-size: 1.9vw; } } &.hero1 { .hero-text { width: 48%; //text-align: left; } } &.hero2 { .hero-text { width: 48%; left: 8%; } } } @include bp(max-width, $bp-small) { .hero-text { h1 { font-size: 10vw; } p { font-size: 2.5vw; } } &.hero1 { .hero-text { width: 43%; text-align: left; } } &.hero2 { .hero-text { left: auto; right: 9%; text-align: right; } } } } .slick-slider { //overflow: hidden; max-width: 100%; margin: 40px auto; height: 44vw; .slick-slide { //margin: 0 30px; //opacity: 0; img { width: 70%; opacity: .5; display: block; margin: 22% auto; //transform: scale(.7); transition: all 400ms ease; } p { font-family: $f-stack-gt-extended-medium; opacity: 0; text-align: center; padding: 10px 0 0; transition: all 400ms ease; } &.slick-active { opacity: 1; } &.slick-center { img { width: 100%; opacity: 1; margin: 0; //transform: scale(1); } p { opacity: 1; } /* + .slick-slide, - .slick-slide { opacity: 1; } */ } } .slick-prev, .slick-next { font-size: 0; line-height: 0; position: absolute; top: 0; display: block; width: 30%; height: 100%; padding: 0; cursor: pointer; color: #000; border: none; outline: none; background: transparent; z-index: 2; transform: translate(0); &:before { display: none; } &:after { } } .slick-prev { left: 0; &:after { @include arrow(left, 10px, 1px, #000); position: absolute; left: $trim; top: 50%; margin-top: -20px; } } .slick-next { right: 0; &:after { @include arrow(right, 10px, 1px, #000); position: absolute; right: $trim; top: 50%; margin-top: -20px; } } @include bp(max-width, $bp-medium) { max-width: 150%; margin: 40px auto; height: 88vw; width: 200%; margin-left: -25%; } @include bp(max-width, $bp-small) { max-width: 200%; margin: 40px auto; height: 88vw; width: 200%; margin-left: -50%; } } } .home-footer { background: #000; padding: $trim $trim 0; .tag { color: #fff; font-family: $f-stack-gt-extended-medium; text-transform: uppercase; font-size: $f-size-xxl + 2; text-align: center; padding: 60px 0; } ul.images { margin: auto; padding: 0; display: flex; justify-content: space-between; max-width: $max-container-width; li { margin: 0; padding: 0; width: 24%; @include bp(max-width, $bp-small) { width:48%; &:nth-child(1n+3) { display: none; } } img { width: 100%; max-width: 100%; } } } } /* .slideshow-container { margin-top: 0; } */ } /* .slideshow .banner-msg { position: absolute; text-align: center; text-transform: uppercase; width: 100%; top: 30%; @include not-selectable; } .slideshow .banner-msg h2 { color: #FFFFFF; font-size: 24px; @include single-text-shadow(1px, 1px, 3px, false, #555555); } .slideshow .banner-msg h2 strong { font-weight: bold; display: block; font-size: 36px; } @include bp(max-width, $bp-medium) { .slideshow .banner-msg h2 { font-size: 20px; } .slideshow .banner-msg h2 strong { font-size: 24px; } } @include bp(max-width, $bp-xsmall) { .slideshow .banner-msg { top: 20%; } .slideshow .banner-msg h2 { font-size: 14px; } .slideshow .banner-msg h2 strong { font-size: 16px; } } */ /* -------------------------------------------- * * Promotion Banner Section */ /* .promos { margin: 0 0 $gap 0; padding: 0; width: 100%; } .promos:after { @include clearfix; } */ /* Specifying the body only in order to override the .std ul li styling */ /* body .promos > li { margin: 0 0 10px 0; list-style: none; text-align: center; position: relative; border: 1px solid $c-module-border; @include not-selectable; } .promos > li:last-child { margin-bottom: 0; } .promos img { max-width: 100%; width: 100%; } .promos a:hover { @include opacity(0.8); display: block; } .promos span { color: #FFFFFF; text-transform: uppercase; position: absolute; display: block; width: 100%; top: 10%; font-weight: 500; font-size: 20px; font-family: $f-stack-special; @include single-text-shadow(1px, 1px, 3px, false, #555555); } .promos strong { font-weight: 600; font-size: 26px; display: block; } @include bp(min-width, $bp-medium + 1) { .promos span { font-size: 16px; } .promos strong { font-size: 17px; } */ /* Config: Three columns + flexible gutter */ // Container: 480 - (2 * 30 trim wide) = 420 // Math: (420 - (2 * 10 gutter)) / 3 items = 133.333333333 /* body .promos > li { float: left; width: percentage(133.333333333 / 420); margin-right: percentage(10 / 420); } .promos > li:nth-child(3n) { margin-right: 0; } } @include bp(min-width, 880px) { .promos span { font-size: 18px; } .promos strong { font-size: 24px; } } */ /* -------------------------------------------- * * New Products Section */ /* Hiding the reviews content via CSS because we can't modify the template, */ /* since it may be used in other places where those elements are needed */ /* .cms-index-index .products-grid .ratings, .cms-index-index .products-grid .actions, .cms-index-noroute .products-grid .ratings, .cms-index-noroute .products-grid .actions { display: none; } .cms-index-index h2.subtitle { padding: 6px 0; text-align: center; color: $c-text-primary; font-weight: 600; border-bottom: 1px solid $c-module-border; border-top: 1px solid $c-module-border; } .cms-index-noroute h2.subtitle { display: none; } */ .__affirm-logo { padding-right: 1px; } body #shoppinggives-charity-widget .title-container .sg-title-sm, body #shoppinggives-charity-widget div.sg-main-text-sm { font-size: 12px; } #shoppinggives-charity-widget {z-index: 0;} #shopping-gives-change-comm { border: 1px solid $c-text; padding: 0px 8px 4px; }