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
bd5d395a
Commit
bd5d395a
authored
Aug 20, 2020
by
Chi Bui
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edi themes 20/08_03
parent
3490e12c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
7 deletions
+19
-7
styles.css
themes/contrib/estore/css/styles.css
+10
-0
custom.js
themes/contrib/estore/js/custom.js
+3
-1
homepage--first.html.twig
...emplates/layouts/homepage/first/homepage--first.html.twig
+6
-6
No files found.
themes/contrib/estore/css/styles.css
View file @
bd5d395a
...
...
@@ -647,6 +647,10 @@ header.navbar .category-menu ul.menu ul.dropdown-menu li {
padding
:
17px
20px
!important
;
border-bottom
:
1px
solid
rgb
(
244
,
244
,
244
);
}
.collection-region
.col-product
{
padding-left
:
10px
;
padding-right
:
10px
;
}
.cart-form
button
.btn-default
{
background-color
:
#ea5354
!important
;
color
:
white
!important
;
...
...
@@ -11486,6 +11490,12 @@ header.navbar .category-menu ul.menu {
border
:
2px
solid
#e94337
;
background
:
#fff
none
repeat
scroll
0
0
;
}
header
.navbar
.category-menu
ul
.menu.hide-block.product
{
display
:
block
!important
;
}
header
.navbar
.category-menu
ul
.menu.hide-block.product-index
{
display
:
block
!important
;
}
header
.navbar
.category-menu
ul
.menu.hide-block
{
display
:
none
;
...
...
themes/contrib/estore/js/custom.js
View file @
bd5d395a
...
...
@@ -56,8 +56,10 @@ for (i = 0; i < acc.length; i++) {
if
(
checkHome
.
length
==
0
)
{
$
(
".menu.menu--category-menu.nav"
).
addClass
(
'hide-block'
);
$
(
".menu.menu--category-menu.nav"
).
addClass
(
'not-home'
);
}
}
else
{
$
(
".menu.menu--category-menu.nav"
).
addClass
(
'product-index'
)
}
function
menuSidebar
(){
var
current
=
location
.
pathname
;
...
...
themes/contrib/estore/templates/layouts/homepage/first/homepage--first.html.twig
View file @
bd5d395a
...
...
@@ -40,13 +40,13 @@
{{
content.first_collection_title
}}
</div>
<div
class=
"row"
>
<div
class=
"col-md-3 col-md-offset-0 col-sm-offset-2 col-sm-4 collection-banner"
>
<div
class=
"col-md-3 col-md-offset-0 col-sm-offset-2 col-
product col-
sm-4 collection-banner"
>
{{
content.first_collection_banner
}}
</div>
<div
class=
"col-md-3 col-sm-4 collection-hot-product"
>
<div
class=
"col-md-3 col-sm-4 collection-hot-product
col-product
"
>
{{
content.first_collection_hot
}}
</div>
<div
class=
"col-md-6 col-md-offset-0 col-sm-offset-2 col-sm-8 collection-products"
>
<div
class=
"col-md-6 col-md-offset-0 col-sm-offset-2 col-
product col-
sm-8 collection-products"
>
{{
content.first_collection_products
}}
</div>
</div>
...
...
@@ -63,13 +63,13 @@
{{
content.second_collection_title
}}
</div>
<div
class=
"row"
>
<div
class=
"col-md-6 col-md-offset-0 col-sm-offset-2 col-sm-8 collection-products"
>
<div
class=
"col-md-6 col-md-offset-0 col-sm-offset-2 col-sm-8 col
-product col
lection-products"
>
{{
content.second_collection_products
}}
</div>
<div
class=
"col-md-3 col-md-offset-0 col-sm-offset-2 col-sm-4 collection-hot-product"
>
<div
class=
"col-md-3 col-md-offset-0 col-sm-offset-2 col-sm-4 col
-product col
lection-hot-product"
>
{{
content.second_collection_hot
}}
</div>
<div
class=
"col-md-3 col-sm-4 collection-banner"
>
<div
class=
"col-md-3 col-sm-4 col
-product col
lection-banner"
>
{{
content.second_collection_banner
}}
</div>
</div>
...
...
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