Initial commit
This commit is contained in:
Executable
+460
@@ -0,0 +1,460 @@
|
||||
/*----------------------------------------*/
|
||||
/* Button CSS START
|
||||
/*----------------------------------------*/
|
||||
|
||||
.cus-btn {
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border: 1px solid $accent-1;
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
font-size: clamp(14px, 0.938vw, 32px);
|
||||
// font-family: $font-sec;
|
||||
font-weight: 500;
|
||||
line-height: 120%;
|
||||
/* 21.6px */
|
||||
align-items: center;
|
||||
height: clamp(42px, 2.5vw, 84px);
|
||||
padding: 0 32px;
|
||||
text-decoration: none;
|
||||
border-radius: $br-10;
|
||||
cursor: pointer;
|
||||
text-transform: capitalize;
|
||||
background: $accent-1;
|
||||
user-select: none;
|
||||
text-align: center;
|
||||
-webkit-user-select: none;
|
||||
touch-action: manipulation;
|
||||
|
||||
span {
|
||||
svg {
|
||||
width: clamp(18px, 1.25vw, 32px);
|
||||
height: clamp(18px, 1.25vw, 32px);
|
||||
|
||||
path {
|
||||
fill: $white;
|
||||
}
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
color: $white;
|
||||
position: relative;
|
||||
transition: color 600ms cubic-bezier(0.48, 0, 0.12, 1);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
color: $accent-1;
|
||||
display: block;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
transition: all 500ms cubic-bezier(0.48, 0, 0.12, 1);
|
||||
z-index: 100;
|
||||
opacity: 0;
|
||||
top: 42%;
|
||||
left: 50%;
|
||||
transform: translateY(225%) translateX(-50%);
|
||||
height: 14px;
|
||||
line-height: 13px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
svg {
|
||||
path {
|
||||
fill: $accent-1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: -50%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: $accent-2;
|
||||
border: 0;
|
||||
transform-origin: bottom center;
|
||||
transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1);
|
||||
transform: skewY(9.3deg) scaleY(0);
|
||||
z-index: 50;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border: 1px solid $accent-1;
|
||||
|
||||
&:after {
|
||||
transform-origin: bottom center;
|
||||
transform: skewY(6.3deg) scaleY(2);
|
||||
}
|
||||
|
||||
span {
|
||||
&:last-child {
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
opacity: 1;
|
||||
|
||||
transition: all 900ms cubic-bezier(0.48, 0, 0.12, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cus-btn-2 {
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border: 1px solid $accent-1;
|
||||
display: inline-flex;
|
||||
text-transform: capitalize;
|
||||
justify-content: center;
|
||||
font-size: clamp(14px, 0.938vw, 32px);
|
||||
align-items: center;
|
||||
height: clamp(42px, 2.5vw, 84px);
|
||||
padding: 0 32px;
|
||||
font-family: $font-sec;
|
||||
font-weight: 500;
|
||||
line-height: 120%;
|
||||
/* 21.6px */
|
||||
text-decoration: none;
|
||||
border-radius: $br-10;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
user-select: none;
|
||||
text-align: center;
|
||||
-webkit-user-select: none;
|
||||
touch-action: manipulation;
|
||||
|
||||
span {
|
||||
svg {
|
||||
width: clamp(18px, 1.25vw, 32px);
|
||||
height: clamp(18px, 1.25vw, 32px);
|
||||
|
||||
path {
|
||||
fill: $accent-1;
|
||||
}
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
color: $accent-1;
|
||||
position: relative;
|
||||
transition: color 600ms cubic-bezier(0.48, 0, 0.12, 1);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
color: $white;
|
||||
display: block;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
transition: all 500ms cubic-bezier(0.48, 0, 0.12, 1);
|
||||
z-index: 100;
|
||||
opacity: 0;
|
||||
top: 42%;
|
||||
left: 50%;
|
||||
transform: translateY(225%) translateX(-50%);
|
||||
height: 14px;
|
||||
line-height: 13px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
svg {
|
||||
path {
|
||||
fill: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: -50%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: $accent-1;
|
||||
border: 0;
|
||||
transform-origin: bottom center;
|
||||
transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1);
|
||||
transform: skewY(9.3deg) scaleY(0);
|
||||
z-index: 50;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border: 1px solid $accent-1;
|
||||
|
||||
&:after {
|
||||
transform-origin: bottom center;
|
||||
transform: skewY(6.3deg) scaleY(2);
|
||||
}
|
||||
|
||||
span {
|
||||
&:last-child {
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
opacity: 1;
|
||||
transition: all 900ms cubic-bezier(0.48, 0, 0.12, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cus-arrow-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: $gap-8;
|
||||
color: $black;
|
||||
transition: $transition;
|
||||
|
||||
svg {
|
||||
path {
|
||||
transition: $transition;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
transition: 0.2s ease-in-out;
|
||||
color: $accent-1;
|
||||
gap: $gap-12;
|
||||
|
||||
svg {
|
||||
path {
|
||||
fill: $accent-1;
|
||||
transition: $transition;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*----------------------------------------*/
|
||||
/* scroll to top
|
||||
/*----------------------------------------*/
|
||||
.scrollToTopBtn {
|
||||
background-color: $accent-1;
|
||||
border: 1px solid $accent-1;
|
||||
border-radius: $br-8;
|
||||
color: $white;
|
||||
cursor: pointer;
|
||||
font-size: clamp(18px, 1.25vw, 48px);
|
||||
line-height: 48px;
|
||||
display: grid;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: clamp(40px, 2.5vw, 64px);
|
||||
height: clamp(40px, 2.5vw, 64px);
|
||||
position: fixed;
|
||||
bottom: 30px;
|
||||
right: 30px;
|
||||
z-index: 100;
|
||||
opacity: 0;
|
||||
transform: translateY(100px);
|
||||
transition: all .5s ease;
|
||||
|
||||
&:hover {
|
||||
background: $accent-2;
|
||||
color: $accent-1;
|
||||
transition: $transition;
|
||||
border: 1px solid $accent-1;
|
||||
}
|
||||
}
|
||||
|
||||
.showBtn {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
// SLIDER ARROWS
|
||||
.slider-arrows {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: $gap-16;
|
||||
|
||||
.arrow-btn {
|
||||
width: clamp(32px, 2.5vw, 64px);
|
||||
height: clamp(32px, 2.5vw, 64px);
|
||||
border-radius: $br-8;
|
||||
display: grid;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: $light-white;
|
||||
transition: $transition;
|
||||
border: 1px solid $accent-1;
|
||||
|
||||
svg {
|
||||
width: clamp(22px, 1.458vw, 64px);
|
||||
height: clamp(22px, 1.458vw, 64px);
|
||||
transition: $transition;
|
||||
|
||||
path {
|
||||
fill: $accent-1;
|
||||
transition: $transition;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: $accent-1;
|
||||
transition: $transition;
|
||||
|
||||
path {
|
||||
fill: $white;
|
||||
transition: $transition;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// SOCIAL ICONS
|
||||
.social-icons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: clamp(8px, 0.625vw, 20px);
|
||||
|
||||
@include media-query(490px) {
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
&.icon-v2 {
|
||||
gap: $gap-20;
|
||||
}
|
||||
|
||||
li {
|
||||
a {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 4px;
|
||||
transition: $transition;
|
||||
|
||||
svg {
|
||||
width: clamp(20px, 1.25vw, 48px);
|
||||
height: clamp(20px, 1.25vw, 48px);
|
||||
|
||||
path {
|
||||
transition: $transition;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
svg {
|
||||
path {
|
||||
fill: $accent-2;
|
||||
transition: $transition;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// =================== PAGINATIONS =================== //
|
||||
.pagination {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
|
||||
#border-pagination {
|
||||
padding: 10px;
|
||||
display: flex;
|
||||
gap: 11px;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
|
||||
li {
|
||||
display: inline;
|
||||
|
||||
&:first-child {
|
||||
margin-right: 24px;
|
||||
|
||||
@include media-query(490px) {
|
||||
margin-right: 9px;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-left: 24px;
|
||||
|
||||
@include media-query(490px) {
|
||||
margin-left: 9px;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
color: $dark-gray;
|
||||
transition: $transition;
|
||||
}
|
||||
|
||||
a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-decoration: none;
|
||||
color: $accent-1;
|
||||
width: clamp(36px, 2.448vw, 60px);
|
||||
height: clamp(36px, 2.448vw, 60px);
|
||||
border-radius: 4px;
|
||||
border: 1px solid $accent-1;
|
||||
background: $accent-3;
|
||||
float: left;
|
||||
transition: $transition;
|
||||
font-family: $font-sec;
|
||||
font-size: clamp(16px, 0.938vw, 32px);
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
line-height: 150%;
|
||||
|
||||
/* 21.6px */
|
||||
@include media-query(399px) {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
svg {
|
||||
@include media-query(490px) {
|
||||
width: 10px;
|
||||
height: 17px;
|
||||
}
|
||||
|
||||
path {
|
||||
stroke: $black;
|
||||
transition: $transition;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
background-color: $accent-1;
|
||||
color: $white;
|
||||
border: 1px solid $accent-1;
|
||||
|
||||
svg {
|
||||
path {
|
||||
transition: $transition;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: $accent-1;
|
||||
color: $white;
|
||||
border-radius: 1px solid $accent-1;
|
||||
|
||||
svg {
|
||||
path {
|
||||
transition: $transition;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
span {
|
||||
color: $white;
|
||||
transition: $transition;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+108
@@ -0,0 +1,108 @@
|
||||
.wrapper-dropdown {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: fit-content;
|
||||
text-align: left;
|
||||
border-radius: 12px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 20px 24px;
|
||||
background-color: white;
|
||||
width: 100%;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
.selected-display{
|
||||
font-weight: 500;
|
||||
color:#555555;
|
||||
}
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 16px;
|
||||
margin-top: -2px;
|
||||
border-width: 6px 6px 0 6px;
|
||||
border-style: solid;
|
||||
border-color: #fff transparent;
|
||||
}
|
||||
|
||||
.topbar-dropdown {
|
||||
width: max-content;
|
||||
background: $white;
|
||||
transition: 0.3s;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
right: 0;
|
||||
left: 0px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
z-index: 99;
|
||||
border-radius: 5px;
|
||||
box-shadow: inherit;
|
||||
-webkit-transform-origin: top;
|
||||
-moz-transform-origin: top;
|
||||
-ms-transform-origin: top;
|
||||
transform-origin: top;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
@include media-query(490px){
|
||||
top: 130%;
|
||||
left: -16px;
|
||||
}
|
||||
li {
|
||||
background-color: $accent-3;
|
||||
padding: 0 15px;
|
||||
color: $accent-1;
|
||||
line-height: 45px;
|
||||
border-radius: 0;
|
||||
overflow: hidden;
|
||||
|
||||
&:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: $accent-1;
|
||||
color: $black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
.topbar-dropdown {
|
||||
width: 100%;
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
border-radius: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.scrollable-menu {
|
||||
height: auto;
|
||||
max-height: 200px;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.arrow {
|
||||
float: right;
|
||||
rotate: 180deg;
|
||||
}
|
||||
|
||||
svg {
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.rotated {
|
||||
transform: rotate(-180deg);
|
||||
}
|
||||
}
|
||||
Executable
+168
@@ -0,0 +1,168 @@
|
||||
/*-------------------------
|
||||
Form Styling
|
||||
-------------------------*/
|
||||
|
||||
textarea.form-control {
|
||||
min-height: 130px;
|
||||
max-height: 150px;
|
||||
|
||||
@media (max-width: 578px) {
|
||||
min-height: 80px;
|
||||
max-height: 80px;
|
||||
}
|
||||
}
|
||||
|
||||
.form-control {
|
||||
padding: 16px 16px;
|
||||
padding-left: 44px;
|
||||
border-radius: $br-8;
|
||||
border: 1px solid $light-gray;
|
||||
background: transparent;
|
||||
font-family: $font-primary;
|
||||
font-size: 15px; /* 14px */
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
line-height: 150%;
|
||||
position: relative;
|
||||
color: $black;
|
||||
box-shadow: none;
|
||||
|
||||
@include media-query(430px) {
|
||||
padding-right: 54px;
|
||||
}
|
||||
&.form-control-2 {
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
outline: 0;
|
||||
color: $black !important;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $black !important;
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: $dark-gray;
|
||||
opacity: 1;
|
||||
}
|
||||
svg {
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: 18px;
|
||||
}
|
||||
}
|
||||
.input-block {
|
||||
border-radius: 0px;
|
||||
background: #ecf3f9;
|
||||
position: relative;
|
||||
svg,
|
||||
i {
|
||||
position: absolute;
|
||||
top: 18px;
|
||||
left: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="file"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
label {
|
||||
&.error {
|
||||
color: #ff0000;
|
||||
}
|
||||
}
|
||||
|
||||
.cus-checkBox {
|
||||
input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
label {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
cursor: pointer;
|
||||
|
||||
&::before {
|
||||
content: "\f0c8";
|
||||
font-family: $font-awesome;
|
||||
color: $medium-black;
|
||||
font-size: clamp(16px, 1.042vw, 20px);
|
||||
font-weight: 300;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked {
|
||||
+ label {
|
||||
&::before {
|
||||
content: "\f14a";
|
||||
color: $accent-1;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.material-checkbox {
|
||||
display: flex;
|
||||
font-size: 18px;
|
||||
color: #5D5D5D;
|
||||
cursor: pointer;
|
||||
|
||||
input[type="checkbox"] {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.checkmark {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-right: 12px;
|
||||
border: 2px solid $accent-1;
|
||||
border-radius: 4px;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked ~ .checkmark {
|
||||
background-color:$accent-1;
|
||||
border-color: $accent-1;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:checked ~ .checkmark:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 6px;
|
||||
width: 4px;
|
||||
height: 10px;
|
||||
border: solid white;
|
||||
border-width: 0 2px 2px 0;
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
input[type="checkbox"]:focus ~ .checkmark {
|
||||
box-shadow: 0 0 0 2px #dfec5065;
|
||||
}
|
||||
|
||||
&:hover input[type="checkbox"] ~ .checkmark {
|
||||
border-color: $accent-1;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:disabled ~ .checkmark {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:disabled ~ .checkmark:hover {
|
||||
border-color: $accent-1;
|
||||
}
|
||||
}
|
||||
Executable
+176
@@ -0,0 +1,176 @@
|
||||
.modal {
|
||||
&.show {
|
||||
display: grid !important;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.modal-dialog {
|
||||
max-width: 70%;
|
||||
|
||||
@include media-query(575px) {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
@include media-query(490px) {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
&.compare-dialog {
|
||||
@include media-query(1024px) {
|
||||
overflow: hidden;
|
||||
max-width: 100% !important;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
|
||||
.modal-body {
|
||||
.detail-wrapper {
|
||||
.quick-image-box {
|
||||
border-radius: $br-10;
|
||||
background-color: $white;
|
||||
display: grid;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.product-text-container {
|
||||
position: relative;
|
||||
border-radius: $br-10;
|
||||
padding: clamp(28px, 2.083vw, 64px) clamp(16px, 1.25vw, 40px);
|
||||
|
||||
@include media-query(1599px) {
|
||||
padding: 24px 0;
|
||||
}
|
||||
@include media-query(1024px) {
|
||||
padding: 24px;
|
||||
}
|
||||
@include media-query(490px) {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.quantity {
|
||||
@include media-query(490px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.product-text {
|
||||
@include media-query(490px) {
|
||||
overflow: hidden;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
|
||||
.close-content {
|
||||
position: absolute;
|
||||
right: 32px;
|
||||
top: 8px;
|
||||
@include media-query(1599px) {
|
||||
top: 32px;
|
||||
}
|
||||
@include media-query(490px) {
|
||||
top: 16px;
|
||||
right: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.label {
|
||||
padding: 4px 12px;
|
||||
border-radius: 2px;
|
||||
background-color: $accent-1;
|
||||
display: inline-flex;
|
||||
color: $white;
|
||||
|
||||
&.label-2 {
|
||||
background-color: #006937;
|
||||
}
|
||||
}
|
||||
|
||||
.content-block {
|
||||
.product-color {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
// Radio Button
|
||||
input[type=radio] {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
-webkit-appearance: none;
|
||||
border-radius: 5px;
|
||||
|
||||
@include media-query(992px) {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
&.radio-1 {
|
||||
background-color: $lightest-gray;
|
||||
}
|
||||
|
||||
&.radio-2 {
|
||||
background-color: $medium-black;
|
||||
}
|
||||
|
||||
&.radio-6 {
|
||||
background-color: $accent-1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
input[type=radio]:checked {
|
||||
border: 3px solid $white;
|
||||
border-radius: 3px;
|
||||
outline: 1px solid $black;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input[type=radio]:hover {
|
||||
transition: $transition;
|
||||
cursor: pointer;
|
||||
border: 3px solid $white;
|
||||
border-radius: 3px;
|
||||
outline: 1px solid $black;
|
||||
}
|
||||
|
||||
input[type=radio]:focus {
|
||||
outline-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.function-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 24px;
|
||||
|
||||
@include media-query(490px) {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.cart-btn {
|
||||
.cus-btn-2 {
|
||||
padding: 13.5px 32px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+59
@@ -0,0 +1,59 @@
|
||||
#preloader {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
display: grid;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: $light-white;
|
||||
z-index: 10000;
|
||||
|
||||
.loader {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
svg {
|
||||
height: 300px;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
path {
|
||||
animation-duration: 1s;
|
||||
animation-name: pulse;
|
||||
animation-iteration-count: infinite;
|
||||
color: $accent-1;
|
||||
|
||||
&.path-7 {
|
||||
animation-delay: -1s
|
||||
}
|
||||
&.path-6 {
|
||||
animation-delay: -.875s
|
||||
}
|
||||
&.path-5 {
|
||||
animation-delay: -.75s
|
||||
}
|
||||
&.path-4 {
|
||||
animation-delay: -.625s
|
||||
}
|
||||
&.path-3 {
|
||||
animation-delay: -.5s
|
||||
}
|
||||
&.path-2 {
|
||||
animation-delay: -.375s
|
||||
}
|
||||
&.path-1 {
|
||||
animation-delay: -.25s
|
||||
}
|
||||
&.path-0 {
|
||||
animation-delay: -.125s
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0% { opacity: .1; }
|
||||
30% { opacity: .8; }
|
||||
100% { opacity: .1; }
|
||||
}
|
||||
}
|
||||
Executable
+204
@@ -0,0 +1,204 @@
|
||||
/*--------------------------------------------------------------
|
||||
# Search Popup
|
||||
--------------------------------------------------------------*/
|
||||
.search-popup {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: -2;
|
||||
-webkit-transition: all 1s ease;
|
||||
-khtml-transition: all 1s ease;
|
||||
-moz-transition: all 1s ease;
|
||||
-ms-transition: all 1s ease;
|
||||
-o-transition: all 1s ease;
|
||||
transition: all 1s ease;
|
||||
|
||||
|
||||
.search-popup__overlay {
|
||||
position: fixed;
|
||||
width: 224vw;
|
||||
height: 224vw;
|
||||
top: calc(90px - 112vw);
|
||||
right: calc(50% - 112vw);
|
||||
z-index: 3;
|
||||
display: block;
|
||||
-webkit-border-radius: 50%;
|
||||
-khtml-border-radius: 50%;
|
||||
-moz-border-radius: 50%;
|
||||
-ms-border-radius: 50%;
|
||||
-o-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
-webkit-transform: scale(0);
|
||||
-khtml-transform: scale(0);
|
||||
-moz-transform: scale(0);
|
||||
-ms-transform: scale(0);
|
||||
-o-transform: scale(0);
|
||||
transform: scale(0);
|
||||
-webkit-transform-origin: center;
|
||||
transform-origin: center;
|
||||
-webkit-transition: transform .8s ease-in-out;
|
||||
-khtml-transition: transform .8s ease-in-out;
|
||||
-moz-transition: transform .8s ease-in-out;
|
||||
-ms-transition: transform .8s ease-in-out;
|
||||
-o-transition: transform .8s ease-in-out;
|
||||
transition: transform .8s ease-in-out;
|
||||
transition-delay: 0s;
|
||||
transition-delay: .3s;
|
||||
-webkit-transition-delay: .3s;
|
||||
background: linear-gradient(0deg, rgba(40, 37, 37, 0.20) 0%, rgba(40, 37, 37, 0.20) 100%), rgba(255, 251, 250, 1);
|
||||
cursor: url(../media/close.png), auto;
|
||||
@include media-query(767px) {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
transform: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 0;
|
||||
transform: translateY(-110%);
|
||||
}
|
||||
}
|
||||
.search-popup__content {
|
||||
position: fixed;
|
||||
width: 0;
|
||||
max-width: fit-content;
|
||||
padding: 30px 96px;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
opacity: 0;
|
||||
z-index: 3;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
-khtml-transform: translate(-50%, -50%);
|
||||
-moz-transform: translate(-50%, -50%);
|
||||
-ms-transform: translate(-50%, -50%);
|
||||
-o-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
-webkit-transition: opacity 0.5s 0s, width 0.8s 0.8s cubic-bezier(0.225, 0.01, 0.475, 1.01), transform 0.2s 0s;
|
||||
-khtml-transition: opacity 0.5s 0s, width 0.8s 0.8s cubic-bezier(0.225, 0.01, 0.475, 1.01), transform 0.2s 0s;
|
||||
-moz-transition: opacity 0.5s 0s, width 0.8s 0.8s cubic-bezier(0.225, 0.01, 0.475, 1.01), transform 0.2s 0s;
|
||||
-ms-transition: opacity 0.5s 0s, width 0.8s 0.8s cubic-bezier(0.225, 0.01, 0.475, 1.01), transform 0.2s 0s;
|
||||
-o-transition: opacity 0.5s 0s, width 0.8s 0.8s cubic-bezier(0.225, 0.01, 0.475, 1.01), transform 0.2s 0s;
|
||||
transition: opacity 0.5s 0s, width 0.8s 0.8s cubic-bezier(0.225, 0.01, 0.475, 1.01), transform 0.2s 0s;
|
||||
transition-delay: 0s, 0.8s, 0s;
|
||||
transition-delay: 0s, .4s, 0s;
|
||||
transition-delay: .2s;
|
||||
-webkit-transition-delay: .2s;
|
||||
|
||||
h3{
|
||||
font-family: $font-primary;
|
||||
font-size: 6.197916666666667vw;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
line-height: 130%;
|
||||
color: $light-black;
|
||||
}
|
||||
.search-popup__form {
|
||||
position: relative;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
.blur-layer{
|
||||
|
||||
border: 1px solid #FFFBFA;
|
||||
background: rgba(255, 251, 250, 0.50);
|
||||
backdrop-filter: blur(25px);
|
||||
padding: 8px;
|
||||
|
||||
input[type="search"],
|
||||
input[type="text"] {
|
||||
width: 59.583333333333336vw;
|
||||
background-color: #ffffff !important;
|
||||
font-size: 15px;
|
||||
color: #697585;
|
||||
border: none;
|
||||
outline: none;
|
||||
height: 66px;
|
||||
padding-left: 30px;
|
||||
&::placeholder{
|
||||
font-family: $font-sec;
|
||||
}
|
||||
}
|
||||
}
|
||||
button {
|
||||
padding: 0;
|
||||
width: 66px;
|
||||
height: 66px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: $light-black;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 16px;
|
||||
border-radius: 0;
|
||||
i {
|
||||
margin: 0;
|
||||
font-size: 24px;
|
||||
}
|
||||
&::after {
|
||||
background-color: #9b59b6;
|
||||
}
|
||||
}
|
||||
}
|
||||
.fade-text{
|
||||
color: rgba(0, 0, 0, 0.1);
|
||||
font-size: 22.2916666667vw;
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
line-height: 80%;
|
||||
letter-spacing: -8.56px;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
right: 5%;
|
||||
}
|
||||
}
|
||||
&.active {
|
||||
z-index: 9999;
|
||||
.search-popup__overlay {
|
||||
top: auto;
|
||||
bottom: calc(90px - 112vw);
|
||||
-webkit-transform: scale(1);
|
||||
-khtml-transform: scale(1);
|
||||
-moz-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
-o-transform: scale(1);
|
||||
transform: scale(1);
|
||||
transition-delay: 0s;
|
||||
-webkit-transition-delay: 0s;
|
||||
opacity: 1;
|
||||
-webkit-transition: transform 1.6s cubic-bezier(0.4, 0, 0, 1);
|
||||
-khtml-transition: transform 1.6s cubic-bezier(0.4, 0, 0, 1);
|
||||
-moz-transition: transform 1.6s cubic-bezier(0.4, 0, 0, 1);
|
||||
-ms-transition: transform 1.6s cubic-bezier(0.4, 0, 0, 1);
|
||||
-o-transition: transform 1.6s cubic-bezier(0.4, 0, 0, 1);
|
||||
transition: transform 1.6s cubic-bezier(0.4, 0, 0, 1);
|
||||
@include media-query(767px) {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
transform: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 0;
|
||||
transform: translateY(0%);
|
||||
}
|
||||
}
|
||||
.search-popup__content {
|
||||
width: 100%;
|
||||
opacity: 1;
|
||||
transition-delay: .7s;
|
||||
-webkit-transition-delay: .7s;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Executable
+74
@@ -0,0 +1,74 @@
|
||||
.video-link {
|
||||
display: inline-block;
|
||||
padding: 5px 10px;
|
||||
border-radius: 4px;
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
background-color: #f03;
|
||||
box-shadow: 0 5px 10px -3px rgba(0,0,0,.5);
|
||||
}
|
||||
.player {
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0,0,0,1);
|
||||
background: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,.65) 0%, rgba(0,0,0,1) 100%);
|
||||
background: -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,.65) 0%, rgba(0,0,0,1) 100%);
|
||||
background: -ms-radial-gradient(center, ellipse cover, rgba(0,0,0,.65) 0%, rgba(0,0,0,1) 100%);
|
||||
background: radial-gradient(center, ellipse cover, rgba(0,0,0,.65) 0%,rgba(0,0,0,1) 100%);
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 0.3s ease-in-out;
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
}
|
||||
.player__video {
|
||||
position: relative;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: auto;
|
||||
max-width: 65%;
|
||||
height: 77%;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 0 50px rgba(0,0,0,.95);
|
||||
-webkit-transform: translate(-50%,-50%);
|
||||
transform: translate(-50%,-50%);
|
||||
@include media-query(1024px){
|
||||
height: 30%;
|
||||
}
|
||||
@include media-query(490px){
|
||||
max-width: 78%;
|
||||
}
|
||||
}
|
||||
.js--show-video {
|
||||
opacity: 1;
|
||||
}
|
||||
.video-filler {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
.video-close {
|
||||
position: absolute;
|
||||
z-index: 0;
|
||||
top: 0;
|
||||
right: -30px;
|
||||
padding: 5px 10px;
|
||||
border: none;
|
||||
outline: none;
|
||||
border-radius: 0 50% 50% 0;
|
||||
cursor: pointer;
|
||||
font-size: 24px;
|
||||
color: #000;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 0 20px rgba(0,0,0,.75);
|
||||
}
|
||||
.video-iframe {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 2px solid #fff;
|
||||
}
|
||||
Reference in New Issue
Block a user