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
327df60f
Commit
327df60f
authored
May 15, 2020
by
Chi Bui
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit css
parent
b6ae0e28
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
16 deletions
+45
-16
styles.css
themes/contrib/estore/css/styles.css
+37
-9
custom.js
themes/contrib/estore/js/custom.js
+4
-4
page.html.twig
themes/contrib/estore/templates/system/page.html.twig
+2
-1
views-view-unformatted--products--block-featured.html.twig
...iews-view-unformatted--products--block-featured.html.twig
+2
-2
No files found.
themes/contrib/estore/css/styles.css
View file @
327df60f
...
@@ -106,7 +106,7 @@ text-transform: uppercase;
...
@@ -106,7 +106,7 @@ text-transform: uppercase;
/* invi custom */
/* invi custom */
.wrap-header
{
.wrap-header
{
background
:
linear-gradient
(
45deg
,
#fee0a0
,
#FCAB64
);
background
:
linear-gradient
(
45deg
,
#fee0a0
,
#facd87
)
}
}
.middle-header-wrapper
{
.middle-header-wrapper
{
/* background-color: #f7df24 !important; */
/* background-color: #f7df24 !important; */
...
@@ -359,7 +359,17 @@ header.navbar .category-menu ul.menu ul.dropdown-menu li span {
...
@@ -359,7 +359,17 @@ header.navbar .category-menu ul.menu ul.dropdown-menu li span {
margin-top
:
14px
;
margin-top
:
14px
;
border-radius
:
9px
;
border-radius
:
9px
;
}
}
.view-manufacturer-list
.view-content
{
display
:
flex
;
justify-content
:
space-around
;
height
:
100px
;
}
.view-manufacturer-list
.view-content
img
.img-responsive
{
display
:
block
;
height
:
auto
;
height
:
90px
!important
;
width
:
auto
!important
;
}
header
.navbar
.category-menu
ul
.menu
ul
.dropdown-menu
li
{
header
.navbar
.category-menu
ul
.menu
ul
.dropdown-menu
li
{
/* border: none; */
/* border: none; */
font-weight
:
200
!important
;
font-weight
:
200
!important
;
...
@@ -401,9 +411,11 @@ header.navbar .category-menu ul.menu ul.dropdown-menu li {
...
@@ -401,9 +411,11 @@ header.navbar .category-menu ul.menu ul.dropdown-menu li {
right
:
0
;
right
:
0
;
width
:
100%
;
width
:
100%
;
height
:
90px
;
height
:
90px
;
/* background: rgba(255, 255, 255, 0.95); */
background
:
linear-gradient
(
45deg
,
#fee0a0
,
#f5be77
);
}
}
header
.navbar
.category-menu
ul
.menu.litte-menu
{
header
.navbar
.category-menu
ul
.menu.litte-menu
{
height
:
455px
;
height
:
455px
;
/* // overflow: hidden; */
/* // overflow: hidden; */
...
@@ -693,9 +705,12 @@ header.navbar .block-search-navigation {
...
@@ -693,9 +705,12 @@ header.navbar .block-search-navigation {
}
}
.search
.input-group
input
::placeholder
{
.search
.input-group
input
::placeholder
{
color
:
#
333
;
color
:
#
975050
!important
;
}
}
.search
.input-group
input
{
color
:
#975050
!important
;
}
.search
.input-group
button
{
.search
.input-group
button
{
font-size
:
12px
;
font-size
:
12px
;
text-transform
:
uppercase
;
text-transform
:
uppercase
;
...
@@ -716,7 +731,7 @@ header.navbar .block-search-navigation {
...
@@ -716,7 +731,7 @@ header.navbar .block-search-navigation {
.search
.input-group
input
{
.search
.input-group
input
{
border
:
0
;
border
:
0
;
background
:
#f
bce8b
;
background
:
#f
cdb99
;
width
:
100%
;
width
:
100%
;
height
:
50px
;
height
:
50px
;
color
:
#333
;
color
:
#333
;
...
@@ -733,7 +748,7 @@ header.navbar .block-search-navigation {
...
@@ -733,7 +748,7 @@ header.navbar .block-search-navigation {
}
}
.middle-header-wrapper
.region-left-middle-header
.branding-block
.site-title
.name.navbar-brand
{
.middle-header-wrapper
.region-left-middle-header
.branding-block
.site-title
.name.navbar-brand
{
font-size
:
19
px
!important
;
font-size
:
25
px
!important
;
}
}
.middle-header-wrapper
.region-left-middle-header
.branding-block
.site-title
p
.navbar-text
{
.middle-header-wrapper
.region-left-middle-header
.branding-block
.site-title
p
.navbar-text
{
...
@@ -904,6 +919,17 @@ header.navbar .block-search-navigation .search-icon {
...
@@ -904,6 +919,17 @@ header.navbar .block-search-navigation .search-icon {
/* invi 991 response */
/* invi 991 response */
@media
(
max-width
:
991px
)
{
@media
(
max-width
:
991px
)
{
header
.navbar
.category-menu
ul
.menu.hide-block
{
height
:
334px
;
overflow-y
:
scroll
;
overflow-x
:
hidden
;
}
.menu--category-menu
.open
ul
.sidebar-submenu-2
{
position
:
relative
;
left
:
0
}
article
.commerce-product.teaser-mini
.product-image
{
article
.commerce-product.teaser-mini
.product-image
{
max-width
:
100px
;
max-width
:
100px
;
max-width
:
100px
;
max-width
:
100px
;
...
@@ -11151,7 +11177,7 @@ header.navbar .block-search-navigation .search-icon.active {
...
@@ -11151,7 +11177,7 @@ header.navbar .block-search-navigation .search-icon.active {
.footer
{
.footer
{
padding
:
50px
0
0
0
;
padding
:
50px
0
0
0
;
background
-color
:
#f7df24
;
background
:
linear-gradient
(
45deg
,
#fee0a0
,
#f5be77
)
;
}
}
.footer
.block
.block-title
{
.footer
.block
.block-title
{
...
@@ -11461,11 +11487,13 @@ header.navbar .block-search-navigation .search-icon.active {
...
@@ -11461,11 +11487,13 @@ header.navbar .block-search-navigation .search-icon.active {
display
:
block
;
display
:
block
;
max-width
:
100%
;
max-width
:
100%
;
height
:
auto
;
height
:
auto
;
height
:
464px
;
width
:
auto
;
}
}
.estore-homepage-first
.collection-region
.collection-hot-product
.block-title
{
.estore-homepage-first
.collection-region
.collection-hot-product
.block-title
{
margin
:
0
;
margin
:
0
;
padding
:
5
px
0
;
padding
:
10
px
0
;
text-align
:
center
;
text-align
:
center
;
text-transform
:
uppercase
;
text-transform
:
uppercase
;
color
:
#fff
;
color
:
#fff
;
...
@@ -12156,7 +12184,7 @@ article.commerce-product.teaser .product-image .products-hover-wrapper {
...
@@ -12156,7 +12184,7 @@ article.commerce-product.teaser .product-image .products-hover-wrapper {
}
}
article
.commerce-product.teaser
.product-title
{
article
.commerce-product.teaser
.product-title
{
margin
:
10
px
0
0
;
margin
:
28
px
0
0
;
padding
:
0
;
padding
:
0
;
text-align
:
center
;
text-align
:
center
;
font-size
:
15px
;
font-size
:
15px
;
...
...
themes/contrib/estore/js/custom.js
View file @
327df60f
...
@@ -88,16 +88,16 @@ $(".sidebar-submenu-3").eq(i).addClass('ul-flex');
...
@@ -88,16 +88,16 @@ $(".sidebar-submenu-3").eq(i).addClass('ul-flex');
// Custom menu
// Custom menu
$
(
".dropdown-toggle"
).
mouseover
(
function
()
{
$
(
".dropdown-toggle"
).
mouseover
(
function
()
{
$
(
this
).
parent
(
"li.expanded.dropdown"
).
addClass
(
"open"
);
//
$(this).parent("li.expanded.dropdown").addClass("open");
})
})
$
(
".dropdown-menu"
).
mouseover
(
function
()
{
$
(
".dropdown-menu"
).
mouseover
(
function
()
{
$
(
this
).
parent
(
"li.expanded.dropdown"
).
addClass
(
"open"
);
//
$(this).parent("li.expanded.dropdown").addClass("open");
})
})
$
(
".dropdown-menu"
).
mouseleave
(
function
()
{
$
(
".dropdown-menu"
).
mouseleave
(
function
()
{
$
(
this
).
parent
(
"li.expanded.dropdown"
).
removeClass
(
"open"
);
//
$(this).parent("li.expanded.dropdown").removeClass("open");
})
})
$
(
".dropdown-toggle"
).
mouseleave
(
function
()
{
$
(
".dropdown-toggle"
).
mouseleave
(
function
()
{
$
(
this
).
parent
(
"li.expanded.dropdown"
).
removeClass
(
"open"
);
//
$(this).parent("li.expanded.dropdown").removeClass("open");
})
})
...
...
themes/contrib/estore/templates/system/page.html.twig
View file @
327df60f
...
@@ -177,7 +177,8 @@
...
@@ -177,7 +177,8 @@
{{
page.middle_bottom_header
}}
{{
page.middle_bottom_header
}}
</div>
</div>
<div
class=
"col-lg-3 col-xs-6 col-md-3"
>
<div
class=
"col-lg-3 col-xs-6 col-md-3"
>
{{
page.left_bottom_header
}}
{{
page.left_bottom_header
}}
</div>
</div>
</div>
</div>
</div>
</div>
...
...
themes/contrib/estore/templates/views/views-view-unformatted--products--block-featured.html.twig
View file @
327df60f
...
@@ -20,9 +20,9 @@
...
@@ -20,9 +20,9 @@
<div
id=
"estore-featured-products-carousel"
class=
"features-products-carousel carousel slide"
data-ride=
"carousel"
>
<div
id=
"estore-featured-products-carousel"
class=
"features-products-carousel carousel slide"
data-ride=
"carousel"
>
<div
class=
"featured-top"
>
<div
class=
"featured-top"
>
<div
class=
"featured-title"
>
<div
class=
"featured-title"
>
<h3
class=
"title"
>
{{
'
Featured
'
|
t
}}
</h3>
<h3
class=
"title"
>
{{
'
Sản phẩm nổi bật
'
|
t
}}
</h3>
{%
if
view.display_handler.options
[
'title'
]
!=
''
%}
{%
if
view.display_handler.options
[
'title'
]
!=
''
%}
<h4
class=
"sub-title"
>
{{
view.display_handler.options
[
'title'
]
|
t
}}
</h4>
{# <h4 class="sub-title">
{{
view.display_handler.options['title']|t }}</h4> #}
{%
endif
%}
{%
endif
%}
</div>
</div>
<div
class=
"carousel-controls"
>
<div
class=
"carousel-controls"
>
...
...
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