web-html5-scripts/templates-and-navigation/product-page/style.css

944 lines
20 KiB
CSS
Raw Permalink Normal View History

2020-01-05 00:24:18 +01:00
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 100;
src: local('Roboto Thin'), local('Roboto-Thin'), url(https://fonts.gstatic.com/s/roboto/v20/KFOkCnqEu92Fr1MmgVxIIzc.ttf) format('truetype');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 300;
src: local('Roboto Light'), local('Roboto-Light'), url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmSU5fBBc9.ttf) format('truetype');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxP.ttf) format('truetype');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
src: local('Roboto Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmWUlfBBc9.ttf) format('truetype');
}
.accordion-group li:nth-child(4) .accordion-overlay {
background-color: #333;
opacity: 0.8;
}
.accordion-group li:nth-child(4).out .accordion-overlay {
background-color: #333;
opacity: 0;
}
.accordion-group li:nth-child(3) .accordion-overlay {
background-color: #9d9d9d;
opacity: 0.8;
}
.accordion-group li:nth-child(3).out .accordion-overlay {
background-color: #9d9d9d;
opacity: 0;
}
.accordion-group li:nth-child(2) .accordion-overlay {
background-color: #ca9964;
opacity: 0.8;
}
.accordion-group li:nth-child(2).out .accordion-overlay {
background-color: #ca9964;
opacity: 0;
}
.accordion-group li:nth-child(1) .accordion-overlay {
background-color: #a87339;
opacity: 0.8;
}
.accordion-group li:nth-child(1).out .accordion-overlay {
background-color: #a87339;
opacity: 0;
}
a {
color: inherit;
}
a.active,
a:active,
a:focus,
a:hover {
color: inherit;
text-decoration: none;
}
.red {
color: #ca9964;
}
.orange {
color: #e06014;
}
.blue {
color: #5aaed6;
}
.beige {
color: #d6ccad;
}
body {
font-family: "Roboto", sans-serif;
background: #fff;
}
.mg {
margin: 7rem 0 4rem 0;
}
.big {
color: #333;
font-size: 4.5rem;
font-weight: 700;
margin: 1rem;
}
.head {
color: #ca9964;
font-size: 4.8rem;
font-weight: 200;
margin: 1rem;
}
*,
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.site-outer {
overflow: hidden;
}
.site-outer .navbar {
background-color: #fff;
-webkit-transition: all 250ms ease-in-out;
-moz-transition: all 250ms ease-in-out;
transition: all 250ms ease-in-out;
}
.site-outer .navbar.slide-right {
-webkit-transform: translate3d(250px, 0, 0);
-moz-transform: translate3d(250px, 0, 0);
transform: translate3d(250px, 0, 0);
}
.site-outer .site-inner {
position: relative;
margin: 0;
padding: 0;
-webkit-transition: all 250ms ease-in-out;
-moz-transition: all 250ms ease-in-out;
transition: all 250ms ease-in-out;
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.site-outer .site-inner.slide-right {
-webkit-transform: translate3d(250px, 0, 0);
-moz-transform: translate3d(250px, 0, 0);
transform: translate3d(250px, 0, 0);
}
.container-menu {
margin: 0 auto;
}
.container-menu:before,
.container-menu:after {
content: "";
display: block;
zoom: 1;
}
.container-menu:after {
clear: both;
}
.container-menu .menu {
float: left;
padding: 3rem 1.5rem;
cursor: pointer;
position: relative;
display: inline-block;
width: 8rem;
}
.container-menu .menu div {
width: 5rem;
height: 0.4rem;
background-color: #333;
margin-bottom: 0.4rem;
-webkit-transition: all 500ms ease;
-moz-transition: all 500ms ease;
transition: all 500ms ease;
position: absolute;
}
.container-menu .menu div:nth-child(1) {
left: 1.5rem;
top: 2rem;
}
.container-menu .menu div:nth-child(2) {
left: 1.5rem;
top: 2.8rem;
}
.container-menu .menu div:nth-child(2):after {
content: "";
position: absolute;
left: 0;
top: 0;
width: 5rem;
height: 0.4rem;
background-color: #333;
-webkit-transition: all 350ms ease;
-moz-transition: all 350ms ease;
transition: all 350ms ease;
}
.container-menu .menu div:nth-child(3) {
right: 1.5rem;
top: 3.6rem;
}
.container-menu .menu.active div:nth-child(1),
.container-menu .menu.active div:nth-child(3) {
width: 0;
}
.container-menu .menu.active div:nth-child(2) {
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.container-menu .menu.active div:nth-child(2):after {
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
transform: rotate(90deg);
}
.container-menu .logotype {
cursor: pointer;
float: left;
}
.container-menu .logotype div {
margin: 0;
}
.container-menu .checkout {
float: right;
padding: 0.8rem 1.2rem 0;
}
.container-menu .checkout h3 {
font-size: 1.8rem;
font-weight: 300;
text-transform: uppercase;
}
.accordion-group {
overflow: hidden;
margin: 0 auto;
padding: 0;
list-style: none;
width: 100%;
height: 700px;
display: flex;
align-items: center;
-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
transition: all 300ms ease;
}
.accordion-group li {
cursor: pointer;
position: relative;
display: flex;
overflow: hidden;
margin: 0;
padding: 1.6em;
list-style: none;
width: 16.66666667%;
height: inherit;
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
-webkit-transition: all 250ms ease-in-out;
-moz-transition: all 250ms ease-in-out;
transition: all 250ms ease-in-out;
}
.accordion-group li h3 {
position: relative;
color: #fff;
text-transform: uppercase;
letter-spacing: 0.15rem;
padding: 0;
font-weight: 300;
margin: 6.5rem 0 0;
}
.accordion-group li .accordion-overlay {
position: absolute;
height: 100%;
width: 100%;
left: 0;
top: 0;
-webkit-transition: all 250ms ease-in-out;
-moz-transition: all 250ms ease-in-out;
transition: all 250ms ease-in-out;
}
.accordion-group li section {
display: flex;
align-items: center;
width: 75%;
height: 100%;
}
.accordion-group li section.big-section {
width: 100%;
}
.accordion-group li section article {
display: table-cell;
vertical-align: middle;
padding: 4rem;
position: relative;
right: -200%;
-webkit-transition: all 250ms ease-in-out;
-moz-transition: all 250ms ease-in-out;
transition: all 250ms ease-in-out;
}
.accordion-group li section article p {
background-color: rgba(255, 255, 255, 0.8);
padding: 1.6rem;
color: #333;
font-size: 1.6rem;
letter-spacing: 0.15rem;
}
.accordion-group li section article p:before,
.accordion-group li section article p:after {
content: "";
display: block;
height: 1px;
}
.accordion-group li.out {
width: 50%;
}
.accordion-group li.out section article {
right: 0;
}
.navigation {
background-color: #fff;
overflow: auto;
margin: 0;
padding: 0;
position: fixed;
top: 0;
left: 0;
width: 250px;
height: 100%;
-webkit-transition: all 250ms ease-in-out;
-moz-transition: all 250ms ease-in-out;
transition: all 250ms ease-in-out;
-webkit-transform: translate3d(-250px, 0, 0);
-moz-transform: translate3d(-250px, 0, 0);
transform: translate3d(-250px, 0, 0);
}
.navigation:before,
.navigation:after {
content: "";
display: block;
zoom: 1;
}
.navigation:after {
clear: both;
}
.navigation.slide-right {
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.navigation-login {
padding: 2rem;
line-height: 2;
border: none;
width: 100%;
border-radius: 0;
font-size: 1.8rem;
background-color: #ca9964;
font-weight: 100;
color: #fff;
text-transform: uppercase;
}
.navigation-search {
padding: 2rem 2rem 0;
}
.navigation-content {
padding: 0 2rem;
}
.navigation-content h3 {
color: #ca9964;
text-transform: uppercase;
letter-spacing: 0.15rem;
padding: 0;
font-weight: 300;
}
.navigation-content .navigation-menu {
list-style: none;
padding: 0;
}
.navigation-content .navigation-menu li {
display: block;
padding: 0.8rem 0;
margin: 1rem 0;
}
.navigation-content .navigation-menu li a {
color: #333;
text-transform: uppercase;
font-size: 1.3rem;
}
.navigation-content .navigation-menu li a.active,
.navigation-content .navigation-menu li a:active,
.navigation-content .navigation-menu li a:hover,
.navigation-content .navigation-menu li a:focus {
color: #ca9964;
text-decoration: none;
}
.to-checkout {
position: fixed;
top: 0;
right: 0;
width: 450px;
height: 100%;
background-color: #ca9964;
z-index: 10001;
-webkit-transform: translate3d(450px, 0, 0);
-moz-transform: translate3d(450px, 0, 0);
transform: translate3d(450px, 0, 0);
}
.to-checkout-inner {
padding: 2.5rem;
color: #fff;
}
.to-checkout-list {
padding: 0;
margin: 0;
display: block;
list-style: none;
}
.to-checkout-list li a {
color: #5aaed6;
}
#search {
height: 35px;
width: 100%;
position: relative;
}
@media (max-width: 767px) {
#search {
width: auto;
}
}
#search input {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 35px;
height: 35px;
border: 1px solid #333;
border-radius: 100%;
background: transparent;
color: #ca9964;
font-size: 16px;
font-weight: 400;
outline: none;
-webkit-transition: width 100ms ease-in-out;
-moz-transition: width 100ms ease-in-out;
transition: width 100ms ease-in-out;
}
#search input::-webkit-input-placeholder {
color: transparent;
}
#search input:-moz-placeholder {
color: transparent;
}
#search input::-moz-placeholder {
color: transparent;
}
#search input:-ms-input-placeholder {
color: transparent;
}
#search .search {
background-color: transparent;
position: absolute;
top: 0;
left: 0;
height: 35px;
width: 35px;
padding: 0;
border-radius: 100%;
outline: none;
border: 0;
color: #333;
cursor: pointer;
-webkit-transition: all 300ms ease-in-out;
-moz-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
}
#search .search:before,
#search .search:after {
content: "";
position: absolute;
width: 1rem;
height: 0.1rem;
background-color: #333;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
transform: rotate(45deg);
top: 3.3rem;
left: 3rem;
-webkit-transition: all 300ms ease-in-out;
-moz-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
}
#search .close {
-webkit-transition: all 400ms ease-in-out;
-moz-transition: all 400ms ease-in-out;
transition: all 400ms ease-in-out;
right: 0;
left: inherit;
}
#search .close:before {
content: "";
position: absolute;
top: 1.7rem;
left: 1.5rem;
width: 27px;
height: 4px;
margin-top: -1px;
margin-left: -13px;
background-color: #ca9964;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-transition: all 200ms ease-in-out;
-moz-transition: all 200ms ease-in-out;
transition: all 200ms ease-in-out;
}
#search .close:after {
content: "";
position: absolute;
top: 1.7rem;
left: 1.5rem;
width: 27px;
height: 4px;
margin-top: -1px;
margin-left: -13px;
background-color: #ca9964;
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-transition: all 200ms ease-in-out;
-moz-transition: all 200ms ease-in-out;
transition: all 200ms ease-in-out;
}
#search .square {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0 4rem 0 1rem;
width: 100%;
height: 35px;
border: 1px solid #333;
border-radius: 0;
color: #333;
background-color: transparent;
-webkit-transition: all 300ms ease-in-out;
-moz-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
}
#search .square::-webkit-input-placeholder {
color: #ca9964;
}
#search .square:-moz-placeholder {
color: #ca9964;
}
#search .square::-moz-placeholder {
color: #ca9964;
}
#search .square:-ms-input-placeholder {
color: #ca9964;
}
#search .square.active #search .square:hover,
#search .square:focus,
#search .square:active {
border-color: #ca9964;
}
.sm-box {
padding: 1.5rem;
height: 18rem;
color: #fff;
background-color: #fff;
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
width: 100%;
position: relative;
overflow: hidden;
display: table;
box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.35);
}
.sm-box-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
background-color: none;
z-index: 998;
-webkit-transition: all 250ms cubic-bezier(0.17, 0.67, 0.83, 0.67);
-moz-transition: all 250ms cubic-bezier(0.17, 0.67, 0.83, 0.67);
transition: all 250ms cubic-bezier(0.17, 0.67, 0.83, 0.67);
}
.sm-box-basket {
display: table-cell;
position: relative;
margin: 0 auto;
vertical-align: middle;
line-height: 135px;
z-index: 999;
-webkit-transition: all 250ms ease-in-out;
-moz-transition: all 250ms ease-in-out;
transition: all 250ms ease-in-out;
-webkit-transform: translate3d(0, -100%, 0);
-moz-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
.sm-box-content {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 4rem;
width: 100%;
color: #ca9964;
z-index: 999;
padding: 1rem 2rem;
background-color: #fff;
line-height: 1.5;
-webkit-transition: all 250ms cubic-bezier(0.17, 0.67, 0.83, 0.67);
-moz-transition: all 250ms cubic-bezier(0.17, 0.67, 0.83, 0.67);
transition: all 250ms cubic-bezier(0.17, 0.67, 0.83, 0.67);
-webkit-transform: translate3d(0, 100%, 0);
-moz-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
.sm-box.active,
.sm-box:hover {
box-shadow: 0 0 6px 4px rgba(0, 0, 0, 0.35);
}
.sm-box.active .sm-box-content,
.sm-box:hover .sm-box-content {
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.sm-box.active .sm-box-content > i,
.sm-box:hover .sm-box-content > i {
-webkit-animation: rotate 500ms ease;
-moz-animation: rotate 500ms ease;
animation: rotate 500ms ease;
}
.sm-box.active .sm-box-basket,
.sm-box:hover .sm-box-basket {
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.sm-box.active .sm-box-overlay,
.sm-box:hover .sm-box-overlay {
background-color: rgba(0, 0, 0, 0.6);
}
.product-box h2 {
-webkit-transition: all 250ms ease;
-moz-transition: all 250ms ease;
transition: all 250ms ease;
}
.product-box:hover h2 {
color: #ca9964;
}
.button {
outline: none;
border: 2px solid #fff;
padding: 1.2rem 2rem;
margin-bottom: 1rem;
width: 100%;
white-space: nowrap;
font-size: 12px;
text-transform: uppercase;
font-weight: 400;
vertical-align: middle;
line-height: 18px;
text-align: center;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
text-decoration: none;
color: #ca9964;
background-color: #fff;
border-radius: 2rem;
-webkit-transition: all 250ms ease;
-moz-transition: all 250ms ease;
transition: all 250ms ease;
display: inline-block;
}
.button.active,
.button:active,
.button:focus,
.button:hover {
text-decoration: none;
color: #fff;
outline: none;
}
.button-red {
background-color: #ca9964;
color: #fff;
border-color: #ca9964;
}
.button-red.active,
.button-red:active,
.button-red:focus,
.button-red:hover {
background-color: #d0a677;
border-color: #d0a677;
}
.button-transparent {
background-color: #fff;
color: #ca9964;
border-color: #ca9964;
}
.button-transparent.active,
.button-transparent:active,
.button-transparent:focus,
.button-transparent:hover {
background-color: #fff;
color: #ca9964;
border-color: #ca9964;
}
.modal-content {
border-radius: 0px;
}
.modal-header {
background-color: #ca9964;
color: #fff;
}
.badge-red {
background-color: #ca9964;
color: #fff;
}
.badge-white {
background-color: #fff;
color: #ca9964;
}
.input-group-addon-holder {
position: relative;
}
.input-group-addon-holder .number-icon {
position: absolute;
top: 16px;
right: 15px;
}
.input-group-addon-holder .number-icon > i {
display: none;
color: #5aaed6;
-webkit-transition: all 250ms ease;
-moz-transition: all 250ms ease;
transition: all 250ms ease;
}
.input-group-addon-holder .cvv-icon {
position: absolute;
top: 66px;
right: 15px;
}
.input-group-addon-holder .cvv-icon > i {
display: none;
color: #5aaed6;
-webkit-transition: all 250ms ease;
-moz-transition: all 250ms ease;
transition: all 250ms ease;
}
.input-group-addon {
color: #333;
border-color: #333;
background-color: #fff;
border-radius: 0;
}
.select-hidden {
display: none;
visibility: hidden;
padding-right: 1rem;
}
.select {
cursor: pointer;
display: inline-block;
position: relative;
font-size: 16px;
color: #333;
width: 100%;
height: 50px;
}
.form-control {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
height: 50px;
border: 1px solid #333;
border-radius: 0;
background: transparent;
color: #333;
font-size: 16px;
font-weight: 400;
outline: none;
-webkit-transition: all 300ms ease-in-out;
-moz-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
}
.form-control::-webkit-input-placeholder {
color: #333;
}
.form-control:-moz-placeholder {
color: #333;
}
.form-control::-moz-placeholder {
color: #333;
}
.form-control:-ms-input-placeholder {
color: #333;
}
.form-control-sibling {
border-top: 1px solid transparent;
}
.form-control.active .form-control:hover,
.form-control:focus,
.form-control:active {
border-color: #ca9964;
}
.select-styled {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
height: 50px;
border: 1px solid #333;
border-radius: 0;
background: transparent;
padding: 1.3rem;
color: #333;
font-size: 16px;
font-weight: 400;
outline: none;
-webkit-transition: all 300ms ease-in-out;
-moz-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
}
.select-styled:hover,
.select-styled.active {
border-color: #ca9964;
}
.select-options {
list-style: none;
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
z-index: 9999;
margin: 0;
padding: 0;
background-color: #fff;
border-left: 1px solid #ca9964;
border-right: 1px solid #ca9964;
border-bottom: 1px solid #ca9964;
}
.select-options li {
margin: 0;
height: 50px;
padding: 1.3rem;
-webkit-transition: all 250ms ease;
-moz-transition: all 250ms ease;
transition: all 250ms ease;
}
.select-options li:first-child {
display: none;
}
.select-options li:hover {
background-color: #d7b28a;
color: #fff;
}
.footer {
background-color: #333;
padding: 2rem 0;
}
.footer-inner h3 {
color: #595959;
}
.footer-inner .footer-list {
padding: 0;
margin: 0;
display: block;
}
.footer-inner .footer-list li {
display: block;
color: #fff;
margin-bottom: 0.8rem;
}
.footer-inner .footer-list li a:hover {
text-decoration: underline;
}
.footer-inner .footer-list-inline {
display: block;
}
.footer-inner .footer-list-inline li {
display: inline-block;
margin-right: 1.8rem;
}
@media (max-width: 767px) {
.accordion-group {
height: 360px;
}
.accordion-group li {
display: flex;
align-items: center;
justify-content: center;
}
.accordion-group li.out h3 {
opacity: 0;
}
.accordion-group li h3 {
opacity: 1;
-webkit-transition: all 300ms ease-in-out;
-moz-transition: all 300ms ease-in-out;
transition: all 300ms ease-in-out;
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
transform: rotate(90deg);
width: 2.5rem;
padding: 0;
margin: 10rem 0;
}
}
@-webkit-keyframes rotate {
from {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@-moz-keyframes rotate {
from {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes rotate {
from {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
-moz-transform: rotate(360deg);
transform: rotate(360deg);
}
}