/* ============================================ * * Catalog - Product * ============================================ */ .product-view { .product-essential { .extra-info { .ratings { .rating-box, .amount { float: left; } .rating-box { margin-right: $gap; } &:after { @include clearfix; } } .no-rating { img, a {float: left; } } } &:after { @include clearfix; } } .product-collateral { .no-rating{ img, a { float: none; } } } .product-shop .product-name .h1, .product-img-box .product-name h1 { color: $c-action; margin-bottom: 10px; border: 0; } .product-model { font-size: $f-size-xxs; color: $c-text-gray; } .product-shop { width: 55%; float: right; .product-name { /*display: none;*/ float: left; } .product-name .h1 { float: left; margin-bottom: 5px; } .extra-info { float: left; padding-right: $trim/2; clear: left; } .price-info { float: right; padding-left: $trim/2; text-align: right; display: none; } .extra-info, .price-info { margin-bottom: $box-spacing; } .short-description { margin-bottom: $box-spacing; clear: both; } .ratings { margin-bottom: 0px; } .availability { font-size: $f-size-xxs; } .price-box { margin-top: 0; .old-price, .special-price, .regular-price { padding-right: 0; line-height: 1.2; } .regular-price .price, .special-price .price, .full-product-price .price { color: #c00; font-size: $f-size-xxl; } .special-price .price-label { font-size: $f-size-l; text-transform: none; } .price-excluding-tax, .price-including-tax { display: block; line-height: 1.2; .label { font-size: $f-size-xl; font-weight: 300; } .price { font-size: 20px; } } } } .old-price { .price-label { /*display: none;*/ } } .add-to-cart-wrapper { width: 55%; float: right; clear: right; .price-box { margin-top: 0; float: left; .old-price, .special-price, .regular-price { padding-right: 0; line-height: 1.2; } .regular-price .price, .special-price .price, .full-product-price .price { color: #c00; font-size: $f-size-xxl; } .special-price .price-label { font-size: $f-size-l; text-transform: none; } .price-excluding-tax, .price-including-tax { display: block; line-height: 1.2; .label { font-size: $f-size-xl; font-weight: 300; } .price { font-size: 20px; } } } } } @include bp(max-width, 850px) { .product-view { .product-shop { .price-box { .price-excluding-tax, .price-including-tax { .label { font-size: $f-size-l; } .price { font-size: $f-size-xxl; } } } } } } @include bp(max-width, $bp-medium) { .product-view { .add-to-cart-wrapper { float: none; width: 100%; clear: both; } .product-shop { .price-box { .price-excluding-tax, .price-including-tax { .label { font-size: $f-size-xl; } .price { font-size: 20px; } } } } } } @include bp(max-width, 420px) { .product-view { .product-shop { .price-box { .price-excluding-tax, .price-including-tax { margin-bottom: 5px; span { display: block; } } } } } } .product-img-box { width: 45%; float: left; position: relative; .product-name { h1 { border: 0; } } .product-image { margin-bottom: $box-spacing; } .product-image img { max-width: 100%; // Since product detail page images are not cropped to a specific aspect ratio, in order to make the image not // cut off on tall skinny screens, we are setting a max-height on the image max-height: 350px; // Centering the image for instances where max-height kicks in margin: 0px auto; } } // On smaller devices, we want to further limit the height of the image, to prevent cropping @include bp(max-width, $bp-xsmall) { .product-img-box .product-image img { max-height: 300px; } } .product-image-gallery { position: relative; .gallery-image { display: none; &.visible { display: block; &.hidden { visibility:hidden; } } } @include loadingOverlay(); } .product-image-thumbs { li { display: inline-block; } li:first-child { margin-left: -1px; } a { display: inline-block; border: 1px solid transparent; } } .no-touch .product-image-thumbs { a:hover { border-color: darken($c-module-border-light, 15%); } } .product-view .product-shop, .product-view .add-to-cart-wrapper, .product-view .block-related { padding-left: $trim/2; } .product-img-box { padding-right: $trim/2; } .product-view .product-shop, .product-img-box, .product-collateral, .product-view .block-related, .box-collateral { margin-bottom: $box-spacing; } .std.sectioncontent img { width: 100%; max-width: 100%; } .product-view { .add-to-box:after, .add-to-cart:after { @include clearfix; } .add-to-cart { display: inline-block; padding-bottom: 3px; margin-bottom: 10px; border-bottom: 1px solid $c-module-border; width: 100%; } /* Set a min-height so that the floated elements break appropriately */ .add-to-cart .qty-wrapper, .product-options-bottom .price-box, .add-to-cart-buttons { min-height: 40px; } .product-options-bottom .price-box, .add-to-cart .qty-wrapper, .add-to-cart-buttons .button, .add-to-cart-buttons .paypal-logo { margin-bottom: 10px; } .add-to-cart .qty-wrapper, .add-to-cart .qty-wrapper label { margin-right: 7px; float: left; } .add-to-cart .qty-wrapper label { line-height: 40px; } .add-to-cart .qty-wrapper .qty { float: left; height: 40px; } .add-to-cart-buttons { float: left; margin-right: 10px; .paypal-logo { clear: left; text-align: center; .paypal-button { margin: 0 auto; display: block; width: 145px; } .bml_button { display: block; width: 150px; margin: 0 auto; a { text-align: center; } } .paypal-or { display: block; margin-bottom: 10px; margin-left: 0; margin-right: 0; line-height: 1; text-align: center; } } } .add-to-cart-buttons .button { height: 40px; line-height: 25px; font-size: $f-size-xl; padding: 0px; float: left; min-width: 160px; width: 100%; } } #description { float: left; width: 100%; text-align: justify; } #description ul { list-style: none; } #description li, #bundle li, #narrow-by-list li a { text-indent: -9px; &:before { @include triangle(right, 5px, $c-blue); position: relative; display: inline-block; left: 0px; width: 10px; } } #details, #specs { float:left; width: 50%; } #details { padding-right: 1%; } #specs { padding-left: 1%; } #additional { float: left; width: 50%; } @include bp(max-width, $bp-xsmall) { .product-view .add-to-cart-buttons { .paypal-or { line-height: 20px; } .paypal-logo, .paypal-or, .paypal-button, .button { text-align: center; width: 100%; display: block; margin-right: 0; margin-left: 0; float: none; } } } /* This is the "or" that separates the "Add to Cart" and "Add to X" links */ .add-to-box .or { display: none; } .product-view .add-to-links { clear: both; margin-top: 0px; margin-right: 15px; float: left; &:after { @include clearfix; } li { float: left; } a { padding: 2px 7px 2px 0px; margin-left: 7px; border-right: 1px solid $c-module-border; } li:first-child a { margin-left: 0px; } li:last-child a { border-right: 0px; } } .product-view .sharing-links { float: left; &:after { @include clearfix; } li { float: left; padding: 0px 7px 7px; } a { @include image-replacement; @extend .icon-sprite; display: block; width: 26px; height: 26px; } a:hover { opacity: 0.8; } a.link-wishlist { background-position: 0px -225px; } a.link-compare { background-position: 0px -250px; } a.link-email-friend { background-position: 0px (-325px + 3px); } a.link-facebook { background-position: 0px -425px; } a.link-twitter { background-position: 0px (-375px + 3px); } } @include bp(max-width, 599px) { .add-to-box .add-to-links { a { float: none; width: auto; @include image-replacement-override; } } } .product-collateral { clear: both; } .product-collateral div.owl-wrapper { margin-top: 0px; } #description, #additional, #related, #upsell, #download, #garantie, #bundle, #customer-reviews, #recent { margin-top: 20px; float: left; width: 100%; } #download, #review { width: 100%; } .product-collateral div.returntotop { float:right; margin-top: 0; margin-right: 10px; a { &:after { @include triangle(up, 5px, $c-blue); position: relative; display: inline-block; left: 5px; width: 10px; } } } .collateral-tabs { dd { h2 { display: none; } } } .box-collateral { clear: both; } @include bp(min-width, $bp-medium + 1) { .product-collateral { @include tabs; } } @include bp(max-width, $bp-medium) { .product-collateral { @include accordion; @include accordionCollapse; } } @include bp(max-width, $bp-medium) { .product-view .product-shop, .product-view .add-to-cart-wrapper, .product-view .block-related, .product-img-box, .product-collateral, #description, #additional, #details, #specs { width: 100%; float: none; padding-right: 0; padding-left: 0; } } @include bp(min-width, $bp-medium + 1) { .product-view .product-shop .product-name { display: block; } .product-img-box .product-name { display: none; } } @include bp(max-width, $bp-xsmall) { .product-view .product-shop, .product-img-box, .product-collateral, .product-view .block-related, .box-collateral { margin-bottom: $trim-small; } } .product-view .ratings { .rating-links { float: left; white-space: nowrap; line-height: 13px; } } #product-attribute-specs-table { max-width: $max-std-formatted-width; border: none; th { border-right: none; border-bottom: none; } } /* -------------------------------------------- * * Catalog - Grouped Product List */ .grouped-items-table-wrapper { border: solid 1px $c-table-border; width: 100%; padding: $box-spacing; margin-bottom: 15px; tbody tr:last-child td { border-bottom: none; } @include bp(max-width, $bp-xsmall) { margin-bottom: $trim-small; } } .grouped-items-table { .name-wrapper { color: $c-text-primary; font-family: $f-stack-special; } .qty-wrapper { padding-top: $element-spacing; } .qty-label { margin-left: $element-spacing; } td { padding: 4px; } } /* -------------------------------------------- * * Catalog - Product Options */ .product-options { width: 100%; margin: 0px 0 0; padding: 0px 15px 15px; border: 0px solid $c-fieldset-border; clear: both; position: relative; } .product-options p.required { position: absolute; top: 6px; right: 15px; } .product-options dt { margin: $gap 0 3px; font-weight: normal; } .product-options dt:first-child { margin-top: 0; } .product-options dd .qty-holder { display: block; padding: $gap 0 0 0; } .product-options dd .qty-holder .qty { width: 3em; } .product-options dd .qty-holder label { vertical-align: middle; } .product-options dd .qty-disabled { background: none; border: 0; padding: 0 2px; } .product-options dd { padding: 0 0 10px 0; margin: 0 0 5px; border-bottom: 1px solid $c-fieldset-border-light; } .product-options dl.last dd.last { border-bottom: 0; padding-bottom: 5px; margin-bottom: 0; } .product-options dd .input-text { width: 98%; } .product-options dd .input-box { padding-top: 0; } .product-options dd input.datetime-picker { width: 150px; } .product-options dd .time-picker { @include inline-block; padding: 2px 0; vertical-align: middle; } .product-options dd textarea { width: 98%; height: 8em; } .product-options dd select { width: 330px; max-width: 100%; } .product-options ul.options-list { margin-right: 5px; } .product-options ul.options-list li { line-height: 1.5; margin-bottom: 7px; } .product-options ul.options-list li:last-child { margin-bottom: 0; } .product-options ul.options-list .radio, .product-options ul.options-list .checkbox { float: left; margin-top: 5px; } .product-options ul.options-list .label { display: block; } .product-options ul.options-list label { font-weight: normal; } .product-options p.note { margin: 0; font-size: $f-size-xxs; } .product-options-bottom, .add-to-box { background-color: $c-module-background; padding: 15px 20px; border: 1px solid $c-fieldset-border; margin-bottom: $box-spacing; } .add-to-box { border-top: 1px solid $c-fieldset-border; } .product-options-bottom:after { @include clearfix; } .product-options-bottom .product-pricing, .product-options-bottom .tier-prices { float: right; margin: 0; padding: 0 0 $gap; border: 0; background: 0; color: $c-text; @include bp(max-width, $bp-xsmall) { float: none; width: 100%; text-align: right; padding-bottom: $gap / 2; margin-bottom: $gap; border-bottom: 1px solid $c-fieldset-border; } } .product-options-bottom .tier-prices li { background: 0; padding: 2px 0; } .product-options-bottom .tier-prices .price, .product-options-bottom .tier-prices .benefit { color: $c-text; } /* "display: none" should be removed if products on site have a long list of product options and those product options */ /* affect the price so that the customer can see the updated price close to the "Add to Cart" button */ .product-options-bottom .price-box { /*display: none;*/ float: none; margin: 0 0 $gap; padding: 0; } @include bp(max-width, $bp-xsmall) { .product-options-bottom .price-box .price-as-configured { text-align: right; .price-label { display: block; } } } .product-options-bottom .price-tax { float: left; } /* -------------------------------------------- * * Related Products */ #related { display: inline-block; } /* Block: Related */ .block-related { li { margin-bottom: $element-spacing; } .block-title { border-bottom: none; h2 { @include h2(); margin-bottom: 0; } } .block-subtitle { margin-bottom: $element-spacing; } .product { margin-left: 20px; position: relative; } .checkbox { float: left; margin-top: 36px; } .product-details { margin-left: 90px; } .product-name { margin-bottom: 3px; } .product-details .price-box { margin: 2px 0 3px; a, p, span { float: left; margin-left: 3px; &:first-child { margin-left: 0; } } &:after { @include clearfix; } } .link-wishlist { display: none; } } /* -------------------------------------------- * * Upsell Products */ .box-up-sell { margin-top: $box-spacing-large; .ratings { display: none; } } .content-left { width: 50%; float: left; border-right: 1px solid #dedede; padding-right: 1%; } .content-right { width: 50%; float: right; border-left: none; padding-left: 1%; } @include bp(max-width, $bp-medium) { .product-view .content-left, .product-view .content-right { width: 100%; float: none; padding-right: 0; padding-left: 0; border: none; } } /* -------------------------------------------- * * Promotional buttons */ .round-button { top: 0%; position: absolute; left: 0%; z-index: 2; @include bp(max-width, $bp-medium) { } } /*.round-button-circle { border-radius: 5%; border:0px solid #cfdcec; overflow:hidden; box-shadow: 0 0 3px gray; }*/ .round-button-circle:hover { } .promotext { margin:auto; span { color: $c-red; font-family: 'Roboto Condensed','Helvetica Neue',Verdana,Arial,sans-serif; font-size: 22px; font-style: normal; font-weight: 900; line-height: 1.2; margin: auto; padding: 5px; text-rendering: optimizespeed; text-transform: uppercase; white-space: nowrap; display:block; @include bp(max-width, $bp-medium) { font-size: 2em; } @include bp(max-width, $bp-small) { font-size: 1.5em; } @include bp(max-width, $bp-xsmall) { font-size: 1.2em; } } @include bp(max-width, $bp-xsmall) { } } .products-grid .round-button { background-position: right bottom; position: absolute; z-index: 2; @include bp(max-width, $bp-medium) { } @include bp(max-width, $bp-xsmall) { } } /*.products-grid .round-button-circle { border-radius: 5%; border:0px solid #cfdcec; overflow:hidden; box-shadow: 0 0 3px gray; } */ .products-grid .round-button-circle:hover { } .products-grid .promotext { width: 100%; margin:auto; text-align: center; span { color: $c-red; font-family: 'Roboto Condensed','Helvetica Neue',Verdana,Arial,sans-serif; font-size: 12px; font-style: normal; font-weight: 900; line-height: 1; margin: auto; padding: 5px; text-rendering: optimizespeed; text-transform: uppercase; display:block; @include bp(max-width, $bp-medium) { font-size: 10px; } @include bp(max-width, $bp-xsmall) { font-size: 10px; } } @include bp(max-width, $bp-xsmall) { } }