¨4.0.1¨
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
}
|
||||
|
||||
svg {
|
||||
direction: ltr #{'/*rtl:ignore*/'};
|
||||
direction: ltr #{"/*rtl:ignore*/"};
|
||||
height: 60px;
|
||||
width: 245px;
|
||||
|
||||
|
||||
@@ -2,10 +2,22 @@
|
||||
height: 60px;
|
||||
padding: 0 15px;
|
||||
|
||||
.header-wishlist,
|
||||
.header-cart {
|
||||
.header-column-right-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 20px;
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
> span,
|
||||
.icon-wrap > i {
|
||||
color: $color-default;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
}
|
||||
|
||||
> span {
|
||||
line-height: 28px;
|
||||
@@ -15,27 +27,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
.header-wishlist {
|
||||
&:hover {
|
||||
> span,
|
||||
.icon-wrap > i {
|
||||
color: $color-default;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.header-cart {
|
||||
margin-left: 35px;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
> span,
|
||||
.icon-wrap > i {
|
||||
color: $color-default;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.icon-wrap {
|
||||
@@ -43,7 +36,7 @@
|
||||
margin-right: 10px;
|
||||
|
||||
> i {
|
||||
font-size: 34px;
|
||||
font-size: 30px;
|
||||
line-height: 36px;
|
||||
color: $color-black;
|
||||
transition: $transition-default;
|
||||
@@ -58,20 +51,16 @@
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
color: $color-white;
|
||||
background: $color-red;
|
||||
background: $color-default;
|
||||
background: var(--color-primary);
|
||||
text-align: center;
|
||||
border-radius: 50%;
|
||||
border-radius: $radius-full;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: $xl) {
|
||||
.header-column-right {
|
||||
.icon-wrap {
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.header-wishlist,
|
||||
.header-cart {
|
||||
> span {
|
||||
display: none;
|
||||
@@ -82,18 +71,23 @@
|
||||
|
||||
@media screen and (max-width: $lg) {
|
||||
.header-column-right {
|
||||
.header-column-right-item {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.icon-wrap {
|
||||
> i {
|
||||
font-size: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.header-column-right {
|
||||
.header-compare,
|
||||
.header-wishlist {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header-cart {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 391px) {
|
||||
.header-column-right {
|
||||
padding-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,13 +11,16 @@
|
||||
.header-search-lg {
|
||||
position: relative;
|
||||
display: flex;
|
||||
background: $color-white-lite;
|
||||
border: 1px solid $border-color;
|
||||
border-radius: $radius-default;
|
||||
|
||||
.search-input {
|
||||
height: 58px;
|
||||
padding-left: 30px;
|
||||
background: $color-white-lite;
|
||||
border: none;
|
||||
border-radius: $radius-default;
|
||||
}
|
||||
|
||||
.header-search-right {
|
||||
@@ -30,15 +33,16 @@
|
||||
display: flex;
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
margin-left: 40px;
|
||||
margin-left: 30px;
|
||||
padding: 0;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 0 $radius-default $radius-default 0;
|
||||
border-radius: $radius-default;
|
||||
|
||||
> i {
|
||||
font-size: 18px;
|
||||
font-size: 20px;
|
||||
line-height: 36px;
|
||||
transform: rotateY(-180deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -139,7 +143,7 @@
|
||||
position: static;
|
||||
display: flex;
|
||||
flex-grow: 0;
|
||||
margin-left: auto;
|
||||
margin: 0 -10px 0 auto;
|
||||
padding: 0 15px;
|
||||
align-items: center;
|
||||
}
|
||||
@@ -158,7 +162,7 @@
|
||||
}
|
||||
|
||||
> i {
|
||||
font-size: 34px;
|
||||
font-size: 30px;
|
||||
line-height: 36px;
|
||||
color: $color-black;
|
||||
cursor: pointer;
|
||||
|
||||
@@ -1,18 +1,32 @@
|
||||
.search-suggestions {
|
||||
position: absolute;
|
||||
left: 41px;
|
||||
left: 42px;
|
||||
top: 60px;
|
||||
right: 41px;
|
||||
right: 42px;
|
||||
background: $color-white;
|
||||
border-bottom: 2px solid $color-default;
|
||||
border-bottom: 2px solid var(--color-primary);
|
||||
border-radius: 0 0 $radius-default $radius-default;
|
||||
border-bottom: 1px solid $color-gray-lite;
|
||||
border-radius: $radius-default;
|
||||
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
|
||||
|
||||
.search-suggestions-inner {
|
||||
max-height: 425px;
|
||||
background: $color-white;
|
||||
padding-bottom: 11px;
|
||||
padding-bottom: 14px;
|
||||
}
|
||||
|
||||
.more-results {
|
||||
font-size: 14px;
|
||||
display: block;
|
||||
padding: 6px 0;
|
||||
color: $color-gray-dark;
|
||||
background: $color-white-dark;
|
||||
text-align: center;
|
||||
border-top: 1px solid $color-gray-lite;
|
||||
|
||||
&:hover {
|
||||
color: $color-default;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
@@ -25,7 +39,7 @@
|
||||
|
||||
&:after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
content: "";
|
||||
left: 0;
|
||||
top: 7px;
|
||||
height: 15px;
|
||||
@@ -62,7 +76,7 @@
|
||||
line-height: 26px;
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
padding: 0 20px;
|
||||
padding: 1px 20px;
|
||||
color: $color-gray;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@@ -72,27 +86,9 @@
|
||||
}
|
||||
|
||||
.product-suggestion {
|
||||
padding-bottom: 3px;
|
||||
|
||||
.title {
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.more-results {
|
||||
font-size: 14px;
|
||||
display: block;
|
||||
margin: 14px 0 -14px;
|
||||
padding: 6px 0;
|
||||
color: $color-gray-dark;
|
||||
background: $color-white-dark;
|
||||
text-align: center;
|
||||
border-top: 1px solid $color-gray-lite;
|
||||
|
||||
&:hover {
|
||||
color: $color-default;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.product-suggestion-list {
|
||||
@@ -163,20 +159,20 @@
|
||||
|
||||
@media screen and (max-width: $lg) {
|
||||
.search-suggestions {
|
||||
top: 76px;
|
||||
top: 71px;
|
||||
left: 15px;
|
||||
right: 15px;
|
||||
display: none;
|
||||
|
||||
.search-suggestions-inner {
|
||||
max-height: 359px;
|
||||
max-height: 285px;
|
||||
}
|
||||
}
|
||||
|
||||
.header-wrap-inner {
|
||||
&.sticky {
|
||||
.search-suggestions {
|
||||
top: 71px;
|
||||
top: 66px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
top: -200px;
|
||||
right: 0;
|
||||
min-width: 320px;
|
||||
padding: 10px 0;
|
||||
padding: 8px 0;
|
||||
background: $color-white;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
z-index: 150;
|
||||
@@ -24,6 +24,23 @@
|
||||
}
|
||||
}
|
||||
|
||||
.header-search {
|
||||
.header-search-lg {
|
||||
.search-input {
|
||||
height: 54px;
|
||||
}
|
||||
|
||||
.btn-search {
|
||||
height: 46px;
|
||||
width: 46px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.search-suggestions {
|
||||
top: 57px;
|
||||
}
|
||||
|
||||
.searched-keywords {
|
||||
display: none;
|
||||
}
|
||||
@@ -34,3 +51,12 @@
|
||||
transition: 600ms ease;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: $lg) {
|
||||
.header-wrap-inner {
|
||||
&.sticky {
|
||||
padding: 5px 0;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user