Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
ptd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Quan Nguyen
ptd
Commits
76841094
Commit
76841094
authored
Sep 10, 2020
by
Chi Bui
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix css 10/09
parent
92ad0608
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
278 additions
and
136 deletions
+278
-136
styles.css
themes/contrib/estore/css/styles.css
+271
-132
custom.js
themes/contrib/estore/js/custom.js
+5
-2
commerce-checkout-completion-message.html.twig
...s/commerce/commerce-checkout-completion-message.html.twig
+1
-1
page.html.twig
themes/contrib/estore/templates/system/page.html.twig
+1
-1
No files found.
themes/contrib/estore/css/styles.css
View file @
76841094
...
@@ -26,12 +26,13 @@ article.commerce-product.teaser .product-image .products-hover-wrapper {
...
@@ -26,12 +26,13 @@ article.commerce-product.teaser .product-image .products-hover-wrapper {
opacity
:
0
!important
;
opacity
:
0
!important
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
article
.commerce-product.teaser
form
[
class
*=
"add-to-cart-form"
]
button
[
id
*=
"edit-submit"
]
{
display
:
none
;
article
.commerce-product.teaser
form
[
class
*=
"add-to-cart-form"
]
button
[
id
*=
"edit-submit"
]
{
display
:
none
;
}
}
article
.commerce-product.teaser
:hover
form
[
class
*=
"add-to-cart-form"
]
button
[
id
*=
"edit-submit"
]
{
article
.commerce-product.teaser
:hover
form
[
class
*=
"add-to-cart-form"
]
button
[
id
*=
"edit-submit"
]
{
display
:
none
;
display
:
none
;
}
}
article
.commerce-product.teaser
.product-image
img
:hover
{
article
.commerce-product.teaser
.product-image
img
:hover
{
...
@@ -174,7 +175,6 @@ article.commerce-product.teaser .product-image img {
...
@@ -174,7 +175,6 @@ article.commerce-product.teaser .product-image img {
/* background: linear-gradient(122deg, rgb(236, 226, 228) 0%, rgba(254,224,160,1) 37%, rgb(241, 186, 153) 100%)
/* background: linear-gradient(122deg, rgb(236, 226, 228) 0%, rgba(254,224,160,1) 37%, rgb(241, 186, 153) 100%)
/* background: linear-gradient(45deg,#fee0a0 24% , #f5b58f); */
/* background: linear-gradient(45deg,#fee0a0 24% , #f5b58f); */
/* background: linear-gradient(45deg,#fee0a0 , #facd87); */
/* background: linear-gradient(45deg,#fee0a0 , #facd87); */
}
}
/* Page not found */
/* Page not found */
...
@@ -256,9 +256,11 @@ header .link_content .field--type-text-with-summary p {
...
@@ -256,9 +256,11 @@ header .link_content .field--type-text-with-summary p {
.region-middle-header
.main-menu
{
.region-middle-header
.main-menu
{
width
:
100%
;
width
:
100%
;
}
}
.pin
.main-menu
{
.pin
.main-menu
{
width
:
100%
;
width
:
100%
;
}
}
.pin
.main-menu
.menu--main
{
.pin
.main-menu
.menu--main
{
display
:
flex
;
display
:
flex
;
width
:
100%
;
width
:
100%
;
...
@@ -299,7 +301,7 @@ header.navbar .main-menu ul.menu li {
...
@@ -299,7 +301,7 @@ header.navbar .main-menu ul.menu li {
}
}
.menu--main
.open
ul
.sidebar-submenu-2
{
.menu--main
.open
ul
.sidebar-submenu-2
{
padding
:
20px
20px
14px
!important
;
padding
:
20px
20px
14px
!important
;
}
}
.menu--main
.open
ul
.sidebar-submenu-2.sidebar-submenu-3
li
{
.menu--main
.open
ul
.sidebar-submenu-2.sidebar-submenu-3
li
{
...
@@ -496,7 +498,7 @@ header.navbar .category-menu ul.menu ul.dropdown-menu li span {
...
@@ -496,7 +498,7 @@ header.navbar .category-menu ul.menu ul.dropdown-menu li span {
font-weight
:
300
;
font-weight
:
300
;
bottom
:
10px
;
bottom
:
10px
;
position
:
absolute
;
position
:
absolute
;
right
:
15px
;
right
:
0
;
}
}
.region-right-middle-header
{
.region-right-middle-header
{
...
@@ -566,7 +568,6 @@ header.navbar .category-menu ul.menu ul.dropdown-menu li {
...
@@ -566,7 +568,6 @@ header.navbar .category-menu ul.menu ul.dropdown-menu li {
}
}
@media
(
min-width
:
991px
)
and
(
max-width
:
1200px
)
{
@media
(
min-width
:
991px
)
and
(
max-width
:
1200px
)
{
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
a
.cart-icon
{
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
a
.cart-icon
{
margin-left
:
0
!important
;
margin-left
:
0
!important
;
margin-right
:
8px
!important
margin-right
:
8px
!important
...
@@ -609,25 +610,31 @@ header.navbar .category-menu ul.menu ul.dropdown-menu li {
...
@@ -609,25 +610,31 @@ header.navbar .category-menu ul.menu ul.dropdown-menu li {
.acc-bottom
{
.acc-bottom
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.cart-form
button
:hover
{
.cart-form
button
:hover
{
color
:
white
!important
;
color
:
white
!important
;
}
}
header
.navbar
.category-menu
ul
.menu
li
.active
li
a
{
header
.navbar
.category-menu
ul
.menu
li
.active
li
a
{
color
:
black
;
color
:
black
;
}
}
header
.navbar
.category-menu
ul
.menu
li
.active
li
.active
a
{
color
:
#c40316
;
header
.navbar
.category-menu
ul
.menu
li
.active
li
.active
a
{
color
:
#c40316
;
}
}
header
.navbar
.category-menu
ul
.menu
li
.active
a
{
header
.navbar
.category-menu
ul
.menu
li
.active
a
{
color
:
#c40316
;
color
:
#c40316
;
}
}
.block-views-blockfaq-block-1
.accordion
:hover
{
.block-views-blockfaq-block-1
.accordion
:hover
{
background-color
:
#e0dede
;
background-color
:
#e0dede
;
}
}
.block-views-blockfaq-block-1
.accordion.active
{
.block-views-blockfaq-block-1
.accordion.active
{
color
:
white
;
color
:
white
;
}
}
.block-views-blockfaq-block-1
.active
,
.block-views-blockfaq-block-1
.active.accordion
:hover
{
.block-views-blockfaq-block-1
.active
,
.block-views-blockfaq-block-1
.active.accordion
:hover
{
background-color
:
#c40316
;
background-color
:
#c40316
;
}
}
...
@@ -636,7 +643,8 @@ header.navbar .category-menu ul.menu li.active a{
...
@@ -636,7 +643,8 @@ header.navbar .category-menu ul.menu li.active a{
background-color
:
#c40316
;
background-color
:
#c40316
;
color
:
white
;
color
:
white
;
}
}
.button.btn-inde
{
.button.btn-inde
{
cursor
:
pointer
;
cursor
:
pointer
;
width
:
30px
;
width
:
30px
;
background-color
:
rgb
(
255
,
255
,
255
);
background-color
:
rgb
(
255
,
255
,
255
);
...
@@ -656,60 +664,69 @@ header.navbar .category-menu ul.menu li.active a{
...
@@ -656,60 +664,69 @@ header.navbar .category-menu ul.menu li.active a{
/* height: 34px; */
/* height: 34px; */
}
}
.cart-form
.cart-total
{
.cart-form
.cart-total
{
border
:
1px
solid
rgb
(
212
212
212
);
border
:
1px
solid
rgb
(
212
212
212
);
border-bottom
:
none
;
border-bottom
:
none
;
margin-bottom
:
0
!important
;
margin-bottom
:
0
!important
;
}
}
.cart-form
.order-total-line
{
.cart-form
.order-total-line
{
width
:
100%
;
width
:
100%
;
display
:
inline-block
;
display
:
inline-block
;
padding
:
17px
20px
!important
;
padding
:
17px
20px
!important
;
border-bottom
:
1px
solid
rgb
(
244
,
244
,
244
);
border-bottom
:
1px
solid
rgb
(
244
,
244
,
244
);
}
}
.collection-region
.col-product
{
.collection-region
.col-product
{
padding-left
:
10px
;
padding-left
:
10px
;
padding-right
:
10px
;
padding-right
:
10px
;
}
}
.collection-region
.col-product
.col-sm-6
{
.collection-region
.col-product
.col-sm-6
{
padding-left
:
10px
;
padding-left
:
10px
;
padding-right
:
10px
;
padding-right
:
10px
;
}
}
.cart-form
button
.btn-default
{
.cart-form
button
.btn-default
{
background-color
:
#ea5354
!important
;
background-color
:
#ea5354
!important
;
color
:
white
!important
;
color
:
white
!important
;
outline
:
none
!important
;
;
outline
:
none
!important
;
;
}
}
.cart-form
button
.btn-info
{
.cart-form
button
.btn-info
{
background
:
white
!important
;
background
:
white
!important
;
outline
:
5px
auto
-webkit-focus-ring-color
!important
;
outline
:
5px
auto
-webkit-focus-ring-color
!important
;
}
}
.cart-form
button
{
.cart-form
button
{
border
:
none
!important
;
border
:
none
!important
;
outline
:
none
!important
;
;
outline
:
none
!important
;
;
background
:
white
!important
;
background
:
white
!important
;
color
:
black
!important
;
color
:
black
!important
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
margin-right
:
0
!important
;
margin-right
:
0
!important
;
width
:
100%
;
width
:
100%
;
}
}
.cart-form
div
.form-wrapper
{
.cart-form
div
.form-wrapper
{
padding
:
20px
;
padding
:
20px
;
border
:
1px
solid
rgb
(
212
212
212
);
border
:
1px
solid
rgb
(
212
212
212
);
border-top
:
none
;
border-top
:
none
;
}
}
/* Chrome, Safari, Edge, Opera */
/* Chrome, Safari, Edge, Opera */
input
::-webkit-outer-spin-button
,
input
::-webkit-outer-spin-button
,
input
::-webkit-inner-spin-button
{
input
::-webkit-inner-spin-button
{
-webkit-appearance
:
none
;
-webkit-appearance
:
none
;
margin
:
0
;
margin
:
0
;
}
}
.button.btn-inde
:hover
{
.button.btn-inde
:hover
{
border-color
:
#ea442c
;
border-color
:
#ea442c
;
outline
:
0
;
outline
:
0
;
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
),
0
0
8px
rgb
(
228
,
165
,
156
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
),
0
0
8px
rgb
(
228
,
165
,
156
);
}
}
article
.commerce-product.full
.product-right
.form-group
{
article
.commerce-product.full
.product-right
.form-group
{
...
@@ -719,20 +736,25 @@ article.commerce-product.full .product-right .form-group {
...
@@ -719,20 +736,25 @@ article.commerce-product.full .product-right .form-group {
float
:
initial
;
float
:
initial
;
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
article
.commerce-product.full
.product-right
.form-group
button
{
margin-bottom
:
0
!important
;
article
.commerce-product.full
.product-right
.form-group
button
{
margin-bottom
:
0
!important
;
}
}
article
.commerce-product.full
.product-right
.field--name-variations
form
{
article
.commerce-product.full
.product-right
.field--name-variations
form
{
vertical-align
:
middle
;
vertical-align
:
middle
;
display
:
flex
;
display
:
flex
;
}
}
article
.commerce-product.full
.product-right
div
.button.btn-inde
{
article
.commerce-product.full
.product-right
div
.button.btn-inde
{
order
:
1
;
order
:
1
;
}
}
article
.commerce-product.full
.product-right
.field--name-quantity
input
[
type
=
"number"
]
{
article
.commerce-product.full
.product-right
.field--name-quantity
input
[
type
=
"number"
]
{
margin-bottom
:
0px
!important
;
margin-bottom
:
0px
!important
;
order
:
1
;
order
:
1
;
}
}
input
[
type
=
number
]
{
input
[
type
=
number
]
{
width
:
40px
!important
;
width
:
40px
!important
;
text-align
:
center
;
text-align
:
center
;
...
@@ -743,10 +765,12 @@ input[type=number] {
...
@@ -743,10 +765,12 @@ input[type=number] {
height
:
32px
;
height
:
32px
;
margin-bottom
:
3px
;
margin-bottom
:
3px
;
}
}
/* Firefox */
/* Firefox */
input
[
type
=
number
]
{
input
[
type
=
number
]
{
-moz-appearance
:
textfield
;
-moz-appearance
:
textfield
;
}
}
.block-views-blockfaq-block-1
.active
a
,
.block-views-blockfaq-block-1
.active.accordion
:after
{
.block-views-blockfaq-block-1
.active
a
,
.block-views-blockfaq-block-1
.active.accordion
:after
{
color
:
white
!important
color
:
white
!important
}
}
...
@@ -766,9 +790,11 @@ input[type=number] {
...
@@ -766,9 +790,11 @@ input[type=number] {
.block-views-blockfaq-block-1
.active
:after
{
.block-views-blockfaq-block-1
.active
:after
{
content
:
"\2212"
;
content
:
"\2212"
;
}
}
.main-container-inner
{
.main-container-inner
{
margin
:
12px
0
10px
;
margin
:
12px
0
10px
;
}
}
.block-views-blockfaq-block-1
.panel
{
.block-views-blockfaq-block-1
.panel
{
padding-top
:
5px
;
padding-top
:
5px
;
background-color
:
white
;
background-color
:
white
;
...
@@ -777,12 +803,14 @@ input[type=number] {
...
@@ -777,12 +803,14 @@ input[type=number] {
transition
:
max-height
0.2s
ease-out
;
transition
:
max-height
0.2s
ease-out
;
box-shadow
:
none
;
box-shadow
:
none
;
}
}
.menu--category-menu.product
{
.menu--category-menu.product
{
/* overflow:auto; */
/* overflow:auto; */
/* max-height: 785px; */
/* max-height: 785px; */
padding-bottom
:
40px
;
padding-bottom
:
40px
;
}
}
.menu--category-menu.product
ul
.sidebar-submenu-2
{
.menu--category-menu.product
ul
.sidebar-submenu-2
{
position
:
relative
;
position
:
relative
;
left
:
0
;
left
:
0
;
width
:
99%
;
width
:
99%
;
...
@@ -791,7 +819,8 @@ input[type=number] {
...
@@ -791,7 +819,8 @@ input[type=number] {
/* padding-left: 10px !important; */
/* padding-left: 10px !important; */
border
:
none
;
border
:
none
;
}
}
.menu--category-menu.product
.open
ul
.sidebar-submenu-2
{
.menu--category-menu.product
.open
ul
.sidebar-submenu-2
{
position
:
relative
;
position
:
relative
;
left
:
0
;
left
:
0
;
width
:
99%
;
width
:
99%
;
...
@@ -800,17 +829,21 @@ input[type=number] {
...
@@ -800,17 +829,21 @@ input[type=number] {
/* padding-left: 10px !important; */
/* padding-left: 10px !important; */
border
:
none
;
border
:
none
;
}
}
.menu--category-menu.product
.open
ul
.sidebar-submenu-2
li
:nth-last-child
(
1
)
{
.menu--category-menu.product
.open
ul
.sidebar-submenu-2
li
:nth-last-child
(
1
)
{
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0.06
)
!important
;
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0.06
)
!important
;
}
}
.menu--category-menu.product
ul
.sidebar-submenu-2
li
:nth-child
(
1
)
{
.menu--category-menu.product
ul
.sidebar-submenu-2
li
:nth-child
(
1
)
{
/* border-top: 1px solid rgba(0, 0, 0, 0.06) !important; */
/* border-top: 1px solid rgba(0, 0, 0, 0.06) !important; */
}
}
.menu--category-menu.product
.open
ul
.sidebar-submenu-2
li
{
.menu--category-menu.product
.open
ul
.sidebar-submenu-2
li
{
width
:
100%
!important
;
width
:
100%
!important
;
padding-left
:
20px
!important
;
padding-left
:
20px
!important
;
padding
:
5px
11px
!important
;
padding
:
5px
11px
!important
;
}
}
@media
(
min-width
:
768px
)
{
@media
(
min-width
:
768px
)
{
.webform-flex--container
{
.webform-flex--container
{
width
:
91%
!important
width
:
91%
!important
...
@@ -1029,31 +1062,35 @@ header.navbar .category-menu ul.menu.litte-menu {
...
@@ -1029,31 +1062,35 @@ header.navbar .category-menu ul.menu.litte-menu {
border-radius
:
50%
;
border-radius
:
50%
;
padding
:
5px
;
padding
:
5px
;
}
}
.cart-form
.table-responsive
.views-field-edit-quantity
.form-group
input
[
type
=
number
]
{
.cart-form
.table-responsive
.views-field-edit-quantity
.form-group
input
[
type
=
number
]
{
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
.cart-form
.table-responsive
.views-field-edit-quantity
.form-group
{
.cart-form
.table-responsive
.views-field-edit-quantity
.form-group
{
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
height
:
100%
;
height
:
100%
;
}
}
.cart-form
.table-responsive
.views-field-edit-quantity
{
.cart-form
.table-responsive
.views-field-edit-quantity
{
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
.region-footer-fourth
.field--name-body
table
{
.region-footer-fourth
.field--name-body
table
{
line-height
:
2.1
;
line-height
:
2.1
;
}
}
.region-footer-fourth
.field--name-body
p
{
.region-footer-fourth
.field--name-body
p
{
line-height
:
2.1
;
line-height
:
2.1
;
}
}
.hl-link
img
{
.hl-link
img
{
height
:
35px
;
height
:
35px
;
right
:
15px
;
right
:
15px
;
}
}
header
.link_content
{
header
.link_content
{
/* background: #eb5335; */
/* background: #eb5335; */
/* background-color: #ea442c; */
/* background-color: #ea442c; */
...
@@ -1067,7 +1104,8 @@ header .link_content {
...
@@ -1067,7 +1104,8 @@ header .link_content {
white-space
:
nowrap
;
white-space
:
nowrap
;
width
:
100%
;
width
:
100%
;
border-radius
:
5px
;
border-radius
:
5px
;
z-index
:
50
;
;
z-index
:
50
;
;
}
}
header
.link_content
a
{
header
.link_content
a
{
...
@@ -1079,11 +1117,10 @@ header .link_content a {
...
@@ -1079,11 +1117,10 @@ header .link_content a {
/* header .link_content a:hover {
/* header .link_content a:hover {
color: white;
color: white;
} */
} */
.pin
{
.pin
{
border
:
1.7
5px
solid
#e94537
;
border
:
2.
5px
solid
#e94537
;
border-radius
:
4px
;
border-radius
:
4px
;
padding
:
5px
;
padding
:
3px
5px
;
/* background: #e94537; */
/* background: #e94537; */
/* color: white !important; */
/* color: white !important; */
}
}
...
@@ -1095,9 +1132,9 @@ header .link_content a {
...
@@ -1095,9 +1132,9 @@ header .link_content a {
}
}
.cong
{
.cong
{
border-top
:
1.7
5px
solid
#e94537
;
border-top
:
2.
5px
solid
#e94537
;
border-bottom
:
1.7
5px
solid
#e94537
;
border-bottom
:
2.
5px
solid
#e94537
;
border-left
:
1.7
5px
solid
#e94537
;
border-left
:
2.
5px
solid
#e94537
;
height
:
29px
;
height
:
29px
;
line-height
:
25px
;
line-height
:
25px
;
width
:
10px
;
width
:
10px
;
...
@@ -1108,9 +1145,9 @@ header .link_content a {
...
@@ -1108,9 +1145,9 @@ header .link_content a {
}
}
.tru
{
.tru
{
border-top
:
1.7
5px
solid
#e94537
;
border-top
:
2.
5px
solid
#e94537
;
border-bottom
:
1.7
5px
solid
#e94537
;
border-bottom
:
2.
5px
solid
#e94537
;
border-right
:
1.7
5px
solid
#e94537
;
border-right
:
2.
5px
solid
#e94537
;
height
:
28px
;
height
:
28px
;
width
:
10px
;
width
:
10px
;
color
:
#e94537
;
color
:
#e94537
;
...
@@ -1294,11 +1331,13 @@ header.navbar .block-search-navigation .search-icon {
...
@@ -1294,11 +1331,13 @@ header.navbar .block-search-navigation .search-icon {
display
:
block
!important
;
display
:
block
!important
;
/* position: relative; */
/* position: relative; */
}
}
.region-middle-header
button
.button-label
{
.region-middle-header
button
.button-label
{
display
:
none
;
display
:
none
;
}
}
.region-middle-header
input
{
.region-middle-header
input
{
border
:
2.5px
solid
#e94537
;
border
:
2.
1
5px
solid
#e94537
;
/* background: #fcdb99; */
/* background: #fcdb99; */
width
:
100%
!important
;
width
:
100%
!important
;
height
:
48px
;
height
:
48px
;
...
@@ -1308,11 +1347,13 @@ header.navbar .block-search-navigation .search-icon {
...
@@ -1308,11 +1347,13 @@ header.navbar .block-search-navigation .search-icon {
padding
:
0
145px
0
20px
;
padding
:
0
145px
0
20px
;
border-radius
:
6px
;
border-radius
:
6px
;
}
}
.region-middle-header
button
span
{
.region-middle-header
button
span
{
margin-right
:
0
;
margin-right
:
0
;
margin-left
:
0
;
margin-left
:
0
;
margin-top
:
5px
;
margin-top
:
5px
;
}
}
.region-middle-header
button
{
.region-middle-header
button
{
font-size
:
20px
;
font-size
:
20px
;
text-transform
:
uppercase
;
text-transform
:
uppercase
;
...
@@ -1334,6 +1375,13 @@ header.navbar .block-search-navigation .search-icon {
...
@@ -1334,6 +1375,13 @@ header.navbar .block-search-navigation .search-icon {
/* invi 1440 */
/* invi 1440 */
@media
(
max-width
:
1200px
)
{
@media
(
max-width
:
1200px
)
{
#block-sodienthoai
h3
{
font-size
:
20px
;
margin-right
:
5px
;
}
header
.link_content
a
{
font-size
:
22px
}
header
.navbar
.main-menu
ul
.menu
li
a
{
header
.navbar
.main-menu
ul
.menu
li
a
{
font-size
:
13px
!important
;
font-size
:
13px
!important
;
}
}
...
@@ -1444,6 +1492,7 @@ header.navbar .block-search-navigation .search-icon {
...
@@ -1444,6 +1492,7 @@ header.navbar .block-search-navigation .search-icon {
.middle-header-wrapper
.region-left-middle-header
.branding-block
.logo
img
.logo_img
{
.middle-header-wrapper
.region-left-middle-header
.branding-block
.logo
img
.logo_img
{
height
:
35px
!important
;
height
:
35px
!important
;
width
:
35px
!important
;
width
:
35px
!important
;
left
:
2px
;
}
}
.img-logo
.logo-bottom
{
.img-logo
.logo-bottom
{
...
@@ -1451,59 +1500,75 @@ header.navbar .block-search-navigation .search-icon {
...
@@ -1451,59 +1500,75 @@ header.navbar .block-search-navigation .search-icon {
width
:
42px
!important
;
width
:
42px
!important
;
}
}
}
}
.region-content
img
{
.region-content
img
{
max-width
:
100%
max-width
:
100%
}
}
.block-wrap
p
{
.block-wrap
p
{
font-size
:
15px
;
font-size
:
15px
;
color
:
#000
color
:
#000
}
}
.region-footer-fourth
.block-views-blocklist-social-block-social
.view-content
.img-responsive
{
.region-footer-fourth
.block-views-blocklist-social-block-social
.view-content
.img-responsive
{
width
:
40px
;
width
:
40px
;
height
:
40px
;
height
:
40px
;
margin-top
:
10px
;
margin-top
:
10px
;
}
}
/* invi 991 response */
/* invi 991 response */
@media
(
max-width
:
991px
)
{
@media
(
max-width
:
991px
)
{
body
{
body
{
overflow-x
:
hidden
;
overflow-x
:
hidden
;
}
}
.main-container
{
.main-container
{
height
:
auto
!important
;
height
:
auto
!important
;
}
}
.region-middle-header
.form-group
{
.region-middle-header
.form-group
{
display
:
none
!important
;
display
:
none
!important
;
}
}
.img-logo
div
.logo-top
{
.img-logo
div
.logo-top
{
height
:
13px
!important
;
height
:
13px
!important
;
width
:
38px
!important
;
width
:
38px
!important
;
}
}
.img-logo
div
.logo-center
{
.img-logo
div
.logo-center
{
height
:
33px
!important
;
height
:
33px
!important
;
width
:
38px
!important
;
width
:
38px
!important
;
}
}
.middle-header-wrapper
.region-left-middle-header
.branding-block
a
.logo
img
.logo_img
{
.middle-header-wrapper
.region-left-middle-header
.branding-block
a
.logo
img
.logo_img
{
height
:
28px
!important
;
height
:
28px
!important
;
width
:
28px
!important
;
width
:
28px
!important
;
}
left
:
5px
.img-logo
div
.logo-bottom
{
}
.img-logo
div
.logo-bottom
{
height
:
19px
!important
;
height
:
19px
!important
;
width
:
38px
!important
;
width
:
38px
!important
;
}
}
.region-right-middle-header
.block-views-blocklist-social-block-social
{
.region-right-middle-header
.block-views-blocklist-social-block-social
{
display
:
none
;
display
:
none
;
width
:
0
!important
width
:
0
!important
}
}
.region-middle-bottom-header
.form-group
{
.region-middle-bottom-header
.form-group
{
display
:
none
!important
;
display
:
none
!important
;
}
}
.mobile-top
.form--inline.form-inline
{
.mobile-top
.form--inline.form-inline
{
display
:
flex
;
display
:
flex
;
margin
:
25px
0
;
margin
:
25px
0
;
}
}
.mobile-top
.form--inline.form-inline
.form-group
{
.mobile-top
.form--inline.form-inline
.form-group
{
margin-right
:
9px
;
margin-right
:
9px
;
}
}
#scrollUp
{
#scrollUp
{
height
:
30px
!important
;
height
:
30px
!important
;
width
:
30px
!important
;
width
:
30px
!important
;
...
@@ -1903,8 +1968,7 @@ width: 28px !important;
...
@@ -1903,8 +1968,7 @@ width: 28px !important;
}
}
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
.my-cart-wrap
{
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
.my-cart-wrap
{
/* display: none; */
display
:
none
;
text-align
:
left
;
visibility
:
hidden
;
visibility
:
hidden
;
width
:
0
;
width
:
0
;
}
}
...
@@ -5071,9 +5135,14 @@ th {
...
@@ -5071,9 +5135,14 @@ th {
.table-bordered
>
thead
>
tr
>
td
{
.table-bordered
>
thead
>
tr
>
td
{
border-bottom-width
:
2px
;
border-bottom-width
:
2px
;
}
}
.region-content
.cart-form
.form-actions.form-group.js-form-wrapper.form-wrapper
button
.btn-default
:hover
{
color
:
white
!important
;
}
.cart
.table-hover
>
tbody
>
tr
:hover
{
background-color
:
white
;
}
.table-striped
>
tbody
>
tr
:nth-of-type
(
odd
)
{
.table-striped
>
tbody
>
tr
:nth-of-type
(
odd
)
{
background-color
:
#f9f9f9
;
/* background-color: #f9f9f9; */
}
}
.table-hover
>
tbody
>
tr
:hover
{
.table-hover
>
tbody
>
tr
:hover
{
...
@@ -5828,9 +5897,11 @@ select[multiple].input-lg,
...
@@ -5828,9 +5897,11 @@ select[multiple].input-lg,
margin-bottom
:
0
;
margin-bottom
:
0
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
.layout-region-checkout-main
.form-control
{
.layout-region-checkout-main
.form-control
{
width
:
100%
;
width
:
100%
;
}
}
.form-inline
.form-control
{
.form-inline
.form-control
{
display
:
inline-block
;
display
:
inline-block
;
width
:
auto
;
width
:
auto
;
...
@@ -11246,7 +11317,7 @@ body.toolbar-loading.toolbar {
...
@@ -11246,7 +11317,7 @@ body.toolbar-loading.toolbar {
}
}
.middle-header-wrapper
{
.middle-header-wrapper
{
padding
:
10px
0
;
padding-top
:
10px
;
/* background: white; */
/* background: white; */
}
}
...
@@ -11270,11 +11341,13 @@ body.toolbar-loading.toolbar {
...
@@ -11270,11 +11341,13 @@ body.toolbar-loading.toolbar {
height
:
47px
;
height
:
47px
;
position
:
absolute
;
position
:
absolute
;
top
:
4px
;
top
:
4px
;
left
:
6px
;
left
:
6px
;
}
}
.blog-middle-wrapper
{
.blog-middle-wrapper
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.img-logo
{
.img-logo
{
position
:
relative
;
position
:
relative
;
/* margin-top: 10px; */
/* margin-top: 10px; */
...
@@ -11369,17 +11442,21 @@ left: 6px;
...
@@ -11369,17 +11442,21 @@ left: 6px;
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
{
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
{
/* width: 138px; */
/* width: 138px; */
margin
:
0
auto
;
margin
:
0
auto
;
position
:
absolute
!important
;
right
:
10px
!important
;
top
:
5px
!important
;
justify-content
:
flex-end
!important
;
}
}
}
}
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
a
.cart-icon
{
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
a
.cart-icon
{
position
:
relative
;
position
:
relative
;
display
:
block
;
display
:
block
;
float
:
left
;
/* float: left; */
width
:
45px
;
width
:
45px
;
height
:
45px
;
height
:
45px
;
margin-left
:
25px
;
margin-left
:
25px
;
margin-right
:
20px
;
/* margin-right: 20px; */
text-align
:
center
;
text-align
:
center
;
color
:
#fff
;
color
:
#fff
;
border
:
2px
solid
transparent
;
border
:
2px
solid
transparent
;
...
@@ -11420,7 +11497,8 @@ left: 6px;
...
@@ -11420,7 +11497,8 @@ left: 6px;
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
.my-cart-wrap
{
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
.my-cart-wrap
{
float
:
right
;
float
:
right
;
/* margin-left: 20px; */
margin-left
:
20px
;
margin-top
:
9px
;
}
}
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
.my-cart-wrap
.my-cart
{
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
.my-cart-wrap
.my-cart
{
...
@@ -11433,14 +11511,18 @@ left: 6px;
...
@@ -11433,14 +11511,18 @@ left: 6px;
font-size
:
12px
;
font-size
:
12px
;
font-weight
:
600
;
font-weight
:
600
;
}
}
.region-right-middle-header
.table-responsive
table
tbody
tr
td
{
line-height
:
normal
!important
;
padding
:
26px
2px
26px
15px
;
text-align
:
left
!important
;
}
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
.cart-contents
{
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
.cart-contents
{
position
:
absolute
;
position
:
absolute
;
z-index
:
200
;
z-index
:
200
;
top
:
130%
;
top
:
130%
;
left
:
0
;
left
:
0
;
visibility
:
hidden
;
visibility
:
hidden
;
width
:
36
0px
;
width
:
42
0px
;
padding
:
20px
15px
;
padding
:
20px
15px
;
transition
:
all
0.5s
ease
;
transition
:
all
0.5s
ease
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
...
@@ -11469,12 +11551,16 @@ left: 6px;
...
@@ -11469,12 +11551,16 @@ left: 6px;
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
.cart-contents
.cart-block-links
a
{
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
.cart-contents
.cart-block-links
a
{
display
:
inline-block
;
display
:
inline-block
;
padding
:
5px
10
px
;
padding
:
9px
54
px
;
color
:
#7f7d7d
;
color
:
#7f7d7d
;
border
:
1px
solid
#e2e2e2
;
border
:
1px
solid
#e2e2e2
;
border-radius
:
20px
;
border-radius
:
20px
;
font-size
:
16px
;
font-weight
:
bold
;
}
.layout__region.layout__region--top-slideshow
{
/* min-height: 500px */
}
}
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
.cart-contents
.cart-block-links
a
:hover
{
.middle-header-wrapper
.region-right-middle-header
.cart-block-wrapper
.cart-contents
.cart-block-links
a
:hover
{
color
:
#e94337
;
color
:
#e94337
;
}
}
...
@@ -11519,6 +11605,12 @@ header.navbar .category-menu {
...
@@ -11519,6 +11605,12 @@ header.navbar .category-menu {
}
}
@media
(
max-width
:
991px
)
{
@media
(
max-width
:
991px
)
{
#block-sodienthoai
{
display
:
none
;
}
.middle-header-wrapper
{
padding-bottom
:
20px
}
header
.navbar
.category-menu
{
header
.navbar
.category-menu
{
width
:
100%
;
width
:
100%
;
/* height: 40px !important; */
/* height: 40px !important; */
...
@@ -11527,12 +11619,12 @@ header.navbar .category-menu {
...
@@ -11527,12 +11619,12 @@ header.navbar .category-menu {
}
}
header
.navbar
.category-menu
.block-title
{
header
.navbar
.category-menu
.block-title
{
padding
:
9
px
30px
;
padding
:
8
px
30px
;
transition
:
all
0.5s
ease-in-out
;
transition
:
all
0.5s
ease-in-out
;
color
:
#fff
;
color
:
#fff
;
font-weight
:
600
;
font-weight
:
600
;
/* background: #eb5235; */
/* background: #eb5235; */
height
:
5
7
px
;
height
:
5
2
px
;
background-color
:
#e94337
;
background-color
:
#e94337
;
font-size
:
15px
;
font-size
:
15px
;
border-radius
:
5px
;
border-radius
:
5px
;
...
@@ -11575,23 +11667,29 @@ header.navbar .category-menu ul.menu {
...
@@ -11575,23 +11667,29 @@ header.navbar .category-menu ul.menu {
border
:
2px
solid
#e94337
;
border
:
2px
solid
#e94337
;
background
:
#fff
none
repeat
scroll
0
0
;
background
:
#fff
none
repeat
scroll
0
0
;
}
}
header
.navbar
.category-menu
ul
.menu.hide-block.product
{
header
.navbar
.category-menu
ul
.menu.hide-block.product
{
display
:
block
!important
;
display
:
block
!important
;
}
}
.layout-region-checkout-secondary
{
.layout-region-checkout-secondary
{
border
:
1px
solid
#ddd
;
border
:
1px
solid
#ddd
;
padding
:
15px
;
padding
:
15px
;
}
}
.checkout-pane
.form-tel
{
.checkout-pane
.form-tel
{
width
:
100%
;
width
:
100%
;
}
}
.layout-region-checkout-footer
{
.layout-region-checkout-footer
{
width
:
100%
!important
;
width
:
100%
!important
;
float
:
revert
!important
;
float
:
revert
!important
;
}
}
.checkout-pane
.order-total-line
:nth-child
(
2
)
{
.checkout-pane
.order-total-line
:nth-child
(
2
)
{
margin-top
:
10px
;
margin-top
:
10px
;
}
}
.checkout-pane
.order-total-line
{
.checkout-pane
.order-total-line
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -11600,6 +11698,7 @@ header.navbar .category-menu ul.menu.hide-block.product {
...
@@ -11600,6 +11698,7 @@ header.navbar .category-menu ul.menu.hide-block.product {
padding-right
:
29px
!important
;
padding-right
:
29px
!important
;
border-bottom
:
1px
solid
#ddd
;
border-bottom
:
1px
solid
#ddd
;
}
}
header
.navbar
.category-menu
ul
.menu.hide-block.product-index
{
header
.navbar
.category-menu
ul
.menu.hide-block.product-index
{
display
:
block
!important
;
display
:
block
!important
;
}
}
...
@@ -11630,6 +11729,10 @@ header.navbar .category-menu ul.menu li:hover {
...
@@ -11630,6 +11729,10 @@ header.navbar .category-menu ul.menu li:hover {
header
.navbar
.category-menu
ul
.menu
li
a
{
header
.navbar
.category-menu
ul
.menu
li
a
{
padding
:
0
20px
;
padding
:
0
20px
;
color
:
#333
;
color
:
#333
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
width
:
97%
;
white-space
:
nowrap
;
}
}
header
.navbar
.category-menu
ul
.menu
li
a
:hover
{
header
.navbar
.category-menu
ul
.menu
li
a
:hover
{
...
@@ -11698,12 +11801,15 @@ header.navbar .main-menu ul.menu .sidebar-submenu-2 li a {
...
@@ -11698,12 +11801,15 @@ header.navbar .main-menu ul.menu .sidebar-submenu-2 li a {
.commerce-checkout-flow-multistep-default
{
.commerce-checkout-flow-multistep-default
{
margin-bottom
:
80px
!important
;
margin-bottom
:
80px
!important
;
}
}
.layout-region-checkout-secondary
h3
{
.layout-region-checkout-secondary
h3
{
margin-top
:
0
;
margin-top
:
0
;
}
}
.layout-region-checkout-secondary
.table-responsive
table
tbody
tr
td
{
.layout-region-checkout-secondary
.table-responsive
table
tbody
tr
td
{
line-height
:
33px
!important
;
line-height
:
33px
!important
;
}
}
.commerce-checkout-flow-multistep-default
button
{
.commerce-checkout-flow-multistep-default
button
{
width
:
100%
;
width
:
100%
;
font-weight
:
800
;
font-weight
:
800
;
...
@@ -12270,7 +12376,7 @@ header.navbar .block-search-navigation .search-icon.active {
...
@@ -12270,7 +12376,7 @@ header.navbar .block-search-navigation .search-icon.active {
}
}
.estore-homepage-first
.collection-region
{
.estore-homepage-first
.collection-region
{
margin
:
20px
0
10px
;
margin
:
20px
0
10px
;
}
}
.estore-homepage-first
.collection-region
.collection-banner
img
{
.estore-homepage-first
.collection-region
.collection-banner
img
{
...
@@ -12290,13 +12396,15 @@ header.navbar .block-search-navigation .search-icon.active {
...
@@ -12290,13 +12396,15 @@ header.navbar .block-search-navigation .search-icon.active {
background-color
:
#e94337
;
background-color
:
#e94337
;
font-size
:
18px
;
font-size
:
18px
;
}
}
.features-products-carousel
.product-item
article
.commerce-product.teaser
{
box-shadow
:
0px
0px
7px
0px
rgba
(
0
,
0
,
0
,
.21
);
.features-products-carousel
.product-item
article
.commerce-product.teaser
{
box-shadow
:
0px
0px
7px
0px
rgba
(
0
,
0
,
0
,
.21
);
overflow
:
hidden
;
overflow
:
hidden
;
margin-top
:
8px
;
margin-top
:
8px
;
min-height
:
420px
;
min-height
:
420px
;
padding
:
0
!important
padding
:
0
!important
}
}
.estore-homepage-first
.collection-region
.view-display-id-block_hot_product
{
.estore-homepage-first
.collection-region
.view-display-id-block_hot_product
{
padding
:
15px
;
padding
:
15px
;
border
:
1px
solid
#e2e2e2
;
border
:
1px
solid
#e2e2e2
;
...
@@ -12725,11 +12833,13 @@ article.commerce-product.full .product-right {
...
@@ -12725,11 +12833,13 @@ article.commerce-product.full .product-right {
overflow
:
hidden
;
overflow
:
hidden
;
text-decoration
:
none
;
text-decoration
:
none
;
}
}
.region-sidebar-second
article
.commerce-product
.product-price
{
.region-sidebar-second
article
.commerce-product
.product-price
{
left
:
23px
;
left
:
23px
;
position
:
relative
;
position
:
relative
;
top
:
10px
;
top
:
10px
;
}
}
/* */
/* */
.product-left
.field--name-field-images
.field--item
:nth-child
(
1
)
img
{
.product-left
.field--name-field-images
.field--item
:nth-child
(
1
)
img
{
width
:
100%
!important
;
width
:
100%
!important
;
...
@@ -12877,7 +12987,7 @@ article.commerce-product.full .product-bottom .tab-title {
...
@@ -12877,7 +12987,7 @@ article.commerce-product.full .product-bottom .tab-title {
margin-top
:
0
;
margin-top
:
0
;
}
}
article
.commerce-product.full
.product-bottom
.product-desciption
{
article
.commerce-product.full
.product-bottom
.product-desciption
{
margin-top
:
0
;
margin-top
:
0
;
display
:
inline
;
display
:
inline
;
border-bottom
:
2px
solid
;
border-bottom
:
2px
solid
;
...
@@ -12885,6 +12995,7 @@ article.commerce-product.full .product-bottom .product-desciption{
...
@@ -12885,6 +12995,7 @@ article.commerce-product.full .product-bottom .product-desciption{
font-style
:
italic
;
font-style
:
italic
;
/* margin-bottom: 10px; */
/* margin-bottom: 10px; */
}
}
article
.commerce-product.full
.product-bottom
.tab-content
{
article
.commerce-product.full
.product-bottom
.tab-content
{
padding
:
20px
;
padding
:
20px
;
/* border: 1px solid #e2e2e2; */
/* border: 1px solid #e2e2e2; */
...
@@ -12896,12 +13007,13 @@ article.commerce-product.full .product-bottom .tab-content {
...
@@ -12896,12 +13007,13 @@ article.commerce-product.full .product-bottom .tab-content {
border
:
1px
solid
#e2e2e2
;
border
:
1px
solid
#e2e2e2
;
height
:
427px
;
height
:
427px
;
}
}
#block-views-block-products-block-products
h2
{
#block-views-block-products-block-products
h2
{
margin-top
:
0
;
margin-top
:
0
;
}
}
article
.commerce-product.teaser
{
article
.commerce-product.teaser
{
padding
:
5px
0
5px
;
padding
:
5px
0
5px
;
}
}
.block-webform
{
.block-webform
{
...
@@ -12909,9 +13021,10 @@ article.commerce-product.teaser {
...
@@ -12909,9 +13021,10 @@ article.commerce-product.teaser {
}
}
@media
(
max-width
:
991px
)
{
@media
(
max-width
:
991px
)
{
header
.navbar
.category-menu
ul
.menu
{
header
.navbar
.category-menu
ul
.menu
{
top
:
50px
;
top
:
50px
;
}
}
.estore-homepage-first
.collection-region
.collection-hot-product
.view-display-id-block_hot_product
{
.estore-homepage-first
.collection-region
.collection-hot-product
.view-display-id-block_hot_product
{
height
:
auto
!important
;
height
:
auto
!important
;
}
}
...
@@ -13087,22 +13200,28 @@ article.commerce-product.teaser:hover form[class*="add-to-cart-form"] button[id*
...
@@ -13087,22 +13200,28 @@ article.commerce-product.teaser:hover form[class*="add-to-cart-form"] button[id*
article
.commerce-product.teaser
.product-image
{
article
.commerce-product.teaser
.product-image
{
position
:
relative
;
position
:
relative
;
}
}
.region-middle-bottom-header
button
.button-label
{
.region-middle-bottom-header
button
.button-label
{
display
:
none
;
display
:
none
;
}
}
.region-content
.cart-form
{
.region-content
.cart-form
{
margin-bottom
:
50px
margin-bottom
:
50px
}
}
.region-content
.cart-form
.form-actions.form-group.js-form-wrapper.form-wrapper
button
:hover
{
.region-content
.cart-form
.form-actions.form-group.js-form-wrapper.form-wrapper
button
:hover
{
color
:
black
!important
;
color
:
black
!important
;
}
}
.region-content
.cart-form
.form-actions.form-group.js-form-wrapper.form-wrapper
button
:focus
{
.region-content
.cart-form
.form-actions.form-group.js-form-wrapper.form-wrapper
button
:focus
{
border-color
:
#ea5354
;
border-color
:
#ea5354
;
background-color
:
#ea5354
;
background-color
:
#ea5354
;
}
}
.region-content
.cart-form
.form-actions.form-group.js-form-wrapper.form-wrapper
{
.region-content
.cart-form
.form-actions.form-group.js-form-wrapper.form-wrapper
{
text-align
:
center
;
text-align
:
center
;
}
}
article
.commerce-product.teaser
.product-image
.products-hover-wrapper
{
article
.commerce-product.teaser
.product-image
.products-hover-wrapper
{
display
:
none
;
display
:
none
;
/* position: absolute;
/* position: absolute;
...
@@ -13128,10 +13247,11 @@ article.commerce-product.teaser .product-title {
...
@@ -13128,10 +13247,11 @@ article.commerce-product.teaser .product-title {
height
:
30px
;
height
:
30px
;
}
}
.search-product
.title
a
:hover
{
.search-product
.title
a
:hover
{
color
:
#e94337
;
color
:
#e94337
;
}
}
.search-product
.title
a
{
.search-product
.title
a
{
margin
:
15px
0
0
;
margin
:
15px
0
0
;
padding
:
0
;
padding
:
0
;
text-align
:
center
;
text-align
:
center
;
...
@@ -13145,9 +13265,9 @@ article.commerce-product.teaser .product-title {
...
@@ -13145,9 +13265,9 @@ article.commerce-product.teaser .product-title {
font-weight
:
700px
;
font-weight
:
700px
;
line-height
:
1.1
;
line-height
:
1.1
;
color
:
#333
;
color
:
#333
;
}
}
.search-product
.product-price
{
.search-product
.product-price
{
text-align
:
center
;
text-align
:
center
;
color
:
#e94537
;
color
:
#e94537
;
line-height
:
1.8
;
line-height
:
1.8
;
...
@@ -13264,7 +13384,8 @@ article.commerce-product.teaser form[class*="add-to-cart-form"] button[id*="edit
...
@@ -13264,7 +13384,8 @@ article.commerce-product.teaser form[class*="add-to-cart-form"] button[id*="edit
article
.commerce-product.teaser
form
[
class
*=
"add-to-cart-form"
]
button
[
id
*=
"edit-submit"
]
{
article
.commerce-product.teaser
form
[
class
*=
"add-to-cart-form"
]
button
[
id
*=
"edit-submit"
]
{
top
:
35%
;
top
:
35%
;
}
}
.menu--category-menu
.open
ul
.sidebar-submenu-2
{
.menu--category-menu
.open
ul
.sidebar-submenu-2
{
border
:
none
!important
;
border
:
none
!important
;
min-height
:
auto
;
min-height
:
auto
;
}
}
...
@@ -13428,12 +13549,14 @@ p:last-child,
...
@@ -13428,12 +13549,14 @@ p:last-child,
width
:
1430px
;
width
:
1430px
;
max-width
:
100%
;
max-width
:
100%
;
}
}
}
}
@media
(
max-width
:
1199px
)
{
@media
(
max-width
:
1199px
)
{
.container-fluid
{
.container-fluid
{
margin
:
0
2%
;
margin
:
0
2%
;
}
}
}
}
@media
(
max-width
:
767px
)
{
@media
(
max-width
:
767px
)
{
...
@@ -13449,10 +13572,12 @@ p:last-child,
...
@@ -13449,10 +13572,12 @@ p:last-child,
.alert
{
.alert
{
margin-top
:
20px
;
margin-top
:
20px
;
}
}
.menu--category-menu.product
.dropdown-menu
{
.menu--category-menu.product
.dropdown-menu
{
display
:
flex
!important
;
display
:
flex
!important
;
flex-direction
:
column
;
flex-direction
:
column
;
}
}
article
.commerce-product.full
.product-right
.field--name-variations
button
{
article
.commerce-product.full
.product-right
.field--name-variations
button
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
background
:
#e94537
;
background
:
#e94537
;
...
@@ -13465,65 +13590,79 @@ article.commerce-product.full .product-right .field--name-variations button {
...
@@ -13465,65 +13590,79 @@ article.commerce-product.full .product-right .field--name-variations button {
a
{
a
{
transition
:
all
0.1s
ease-in-out
;
transition
:
all
0.1s
ease-in-out
;
}
}
.search-product
.col
{
.search-product
.col
{
padding
:
10px
;
padding
:
10px
;
}
}
#views-bootstrap-products-page-list
.col
{
#views-bootstrap-products-page-list
.col
{
padding-right
:
10px
;
padding-right
:
10px
;
padding-left
:
10px
;
padding-left
:
10px
;
}
}
.views-view-grid
article
.commerce-product.teaser
{
box-shadow
:
0px
0px
7px
0px
rgba
(
0
,
0
,
0
,
.21
);
.views-view-grid
article
.commerce-product.teaser
{
box-shadow
:
0px
0px
7px
0px
rgba
(
0
,
0
,
0
,
.21
);
overflow
:
hidden
;
overflow
:
hidden
;
margin-bottom
:
15px
;
margin-bottom
:
15px
;
padding
:
5px
;
padding
:
5px
;
}
}
.search-product
.product-wrapper
{
box-shadow
:
0px
0px
7px
0px
rgba
(
0
,
0
,
0
,
.21
);
.search-product
.product-wrapper
{
box-shadow
:
0px
0px
7px
0px
rgba
(
0
,
0
,
0
,
.21
);
overflow
:
hidden
;
overflow
:
hidden
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.cart-form
.table-responsive
{
.cart-form
.table-responsive
{
min-height
:
200px
;
min-height
:
200px
;
}
}
.btn
{
.btn
{
padding
:
7px
12px
;
padding
:
7px
12px
;
transition
:
all
0.3s
ease-in-out
;
transition
:
all
0.3s
ease-in-out
;
font-size
:
13px
;
font-size
:
13px
;
}
}
.table-responsive
table
tbody
tr
td
{
.table-responsive
table
tbody
tr
td
{
text-align
:
center
;
text-align
:
center
;
}
}
.table-responsive
table
tbody
tr
td
:nth-child
(
1
)
{
text-align
:
left
;
.table-responsive
table
tbody
tr
td
:nth-child
(
1
)
{
text-align
:
left
;
}
}
.table-responsive
table
thead
tr
th
{
.table-responsive
table
thead
tr
th
{
text-align
:
center
;
text-align
:
center
;
}
}
.table-responsive
table
thead
tr
th
:nth-child
(
1
)
{
.table-responsive
table
thead
tr
th
:nth-child
(
1
)
{
text-align
:
left
;
text-align
:
left
;
}
}
label
,
label
,
.field--label
{
.field--label
{
color
:
#333
;
color
:
#333
;
}
}
header
.navbar
.category-menu
ul
.menu
li
.more-category
{
header
.navbar
.category-menu
ul
.menu
li
.more-category
{
position
:
relative
;
position
:
relative
;
}
}
header
.navbar
.category-menu
ul
.menu
li
.less-category
{
header
.navbar
.category-menu
ul
.menu
li
.less-category
{
position
:
relative
;
position
:
relative
;
}
}
.menu--category-menu.product
ul
.sidebar-submenu-2
li
a
{
.menu--category-menu.product
ul
.sidebar-submenu-2
li
a
{
line-height
:
initial
!important
;
line-height
:
initial
!important
;
white-space
:
normal
;
white-space
:
normal
;
}
}
.menu--category-menu
.open
ul
.sidebar-submenu-2
li
a
{
.menu--category-menu
.open
ul
.sidebar-submenu-2
li
a
{
line-height
:
1.5
;
line-height
:
1.5
;
padding
:
0
20px
!important
;
padding
:
0
20px
!important
;
}
}
.menu--category-menu
.open
ul
.sidebar-submenu-2
li
:nth-child
(
10
),
.menu--category-menu
.open
ul
.sidebar-submenu-2
li
:nth-last-child
(
1
)
{
.menu--category-menu
.open
ul
.sidebar-submenu-2
li
:nth-child
(
10
),
.menu--category-menu
.open
ul
.sidebar-submenu-2
li
:nth-last-child
(
1
)
{
border-bottom
:
none
;
border-bottom
:
none
;
}
}
themes/contrib/estore/js/custom.js
View file @
76841094
...
@@ -133,9 +133,13 @@ for (i = 0; i < acc.length; i++) {
...
@@ -133,9 +133,13 @@ for (i = 0; i < acc.length; i++) {
let
price
=
textPrice
.
eq
(
i
).
text
();
let
price
=
textPrice
.
eq
(
i
).
text
();
cost
=
price
.
split
(
''
).
slice
(
0
,
1
).
join
(
""
);
cost
=
price
.
split
(
''
).
slice
(
0
,
1
).
join
(
""
);
if
(
cost
==
"0"
)
{
if
(
cost
==
"0"
)
{
textPrice
.
eq
(
i
).
text
(
"Liên hệ"
)
textPrice
.
eq
(
i
).
text
(
"Liên hệ"
)
;
}
}
}
}
console
.
log
(
screen
.
width
);
if
(
$
(
"article.commerce-product.full .field--name-price"
).
text
()
==
"Liên hệ"
){
$
(
"article.commerce-product.full .product-right .field--name-variations button"
).
hide
()
}
$
(
window
).
scroll
(
function
()
{
$
(
window
).
scroll
(
function
()
{
if
(
$
(
window
).
scrollTop
()
>
130
)
{
if
(
$
(
window
).
scrollTop
()
>
130
)
{
...
@@ -199,4 +203,3 @@ for (i = 0; i < acc.length; i++) {
...
@@ -199,4 +203,3 @@ for (i = 0; i < acc.length; i++) {
$
(
".mobile-modal"
).
hide
();
$
(
".mobile-modal"
).
hide
();
})
})
})(
window
.
jQuery
,
window
.
Drupal
);
})(
window
.
jQuery
,
window
.
Drupal
);
themes/contrib/estore/templates/commerce/commerce-checkout-completion-message.html.twig
View file @
76841094
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<h2>
{{
'Payment instructions'
|
t
}}
</h2>
<h2>
{{
'Payment instructions'
|
t
}}
</h2>
<h4
style=
"font-weight: 400"
>
{{
'You can view your order on your account page when logged in.'
|
t
}}
</h4>
<h4
style=
"font-weight: 400"
>
{{
'You can view your order on your account page when logged in.'
|
t
}}
</h4>
<h4>
{{
'Your order number is @number.'
|
t
(
{
'@number'
:
order_entity.getOrderNumber
}
)
}}
</h4>
<h4>
Your order number is
<span
style=
"color: #e94337"
>
{{
'@number.'
|
t
(
{
'@number'
:
order_entity.getOrderNumber
}
)
}}
</span>
</h4>
<h4
style=
"font-weight: 400"
>
{{
payment_instructions
}}
</h4>
<h4
style=
"font-weight: 400"
>
{{
payment_instructions
}}
</h4>
</div>
</div>
{%
endif
%}
{%
endif
%}
...
...
themes/contrib/estore/templates/system/page.html.twig
View file @
76841094
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
<div
class=
"wrap-header"
>
<div
class=
"wrap-header"
>
<div
class=
"middle-header-wrapper clearfix"
>
<div
class=
"middle-header-wrapper clearfix"
>
<div
class=
"container-fluid"
>
<div
class=
"container-fluid"
>
<div
class=
"col-md-3 col-xs-7"
>
<div
class=
"col-md-3 col-xs-7
page-logo
"
>
{%
if
page.left_middle_header
%}
{%
if
page.left_middle_header
%}
{{
page.left_middle_header
}}
{{
page.left_middle_header
}}
{%
endif
%}
{%
endif
%}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment