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
d832ff70
Commit
d832ff70
authored
Aug 21, 2020
by
Chi Bui
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edi themes 21/08_02
parent
085ccd12
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
14 deletions
+23
-14
styles.css
themes/contrib/estore/css/styles.css
+20
-13
custom.js
themes/contrib/estore/js/custom.js
+3
-1
No files found.
themes/contrib/estore/css/styles.css
View file @
d832ff70
...
...
@@ -174,14 +174,16 @@ 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(45deg,#fee0a0 24% , #f5b58f); */
/* background: linear-gradient(45deg,#fee0a0 , #facd87); */
*/;
}
/* Page not found */
#not-found-section
{
padding
:
50px
0px
100px
;
}
body
{
overflow-x
:
hidden
;
}
.not-found-body
{
max-width
:
70%
;
margin
:
auto
;
...
...
@@ -750,7 +752,7 @@ input[type=number] {
.menu--category-menu.product
ul
.sidebar-submenu-2
{
position
:
relative
;
left
:
0
;
width
:
100
%
;
width
:
99
%
;
min-height
:
auto
;
padding
:
2px
!important
;
/* padding-left: 10px !important; */
...
...
@@ -759,7 +761,7 @@ input[type=number] {
.menu--category-menu.product
.open
ul
.sidebar-submenu-2
{
position
:
relative
;
left
:
0
;
width
:
100
%
;
width
:
99
%
;
min-height
:
auto
;
padding
:
2px
!important
;
/* padding-left: 10px !important; */
...
...
@@ -768,12 +770,13 @@ input[type=number] {
.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
;
}
.menu--category-menu.product
.open
ul
.sidebar-submenu-2
li
:nth-child
(
1
)
{
border-top
:
1px
solid
rgba
(
0
,
0
,
0
,
0.06
)
!important
;
.menu--category-menu.product
ul
.sidebar-submenu-2
li
:nth-child
(
1
)
{
/* border-top: 1px solid rgba(0, 0, 0, 0.06) !important; */
}
.menu--category-menu.product
.open
ul
.sidebar-submenu-2
li
{
width
:
100%
!important
;
padding-left
:
20px
!important
;
padding
:
5px
11px
!important
;
}
@media
(
min-width
:
768px
)
{
.webform-flex--container
{
...
...
@@ -1412,6 +1415,9 @@ header.navbar .block-search-navigation .search-icon {
}
/* invi 991 response */
@media
(
max-width
:
991px
)
{
.main-container
{
height
:
auto
!important
;
}
.region-middle-header
.form-group
{
display
:
none
!important
;
}
...
...
@@ -1489,11 +1495,12 @@ width: 28px !important;
}
header
.navbar
.category-menu
ul
.menu
li
{
margin-left
:
0
!important
margin-left
:
0
!important
;
width
:
100%
!important
;
}
header
.navbar
.category-menu
ul
.menu.hide-block
{
height
:
334
px
;
height
:
500
px
;
overflow-y
:
scroll
;
overflow-x
:
hidden
;
}
...
...
@@ -12832,10 +12839,8 @@ article.commerce-product.full .product-bottom .tab-content {
margin-top
:
0
;
}
article
.commerce-product.teaser
{
/* padding: 5px 0 5px; */
box-shadow
:
0px
0px
7px
0px
rgba
(
0
,
0
,
0
,
.21
);
overflow
:
hidden
;
margin-bottom
:
15px
!important
;
padding
:
5px
0
5px
;
}
.block-webform
{
...
...
@@ -13200,6 +13205,7 @@ article.commerce-product.teaser form[class*="add-to-cart-form"] button[id*="edit
}
.menu--category-menu
.open
ul
.sidebar-submenu-2
{
border
:
none
!important
;
min-height
:
auto
;
}
}
...
...
@@ -13438,7 +13444,8 @@ header.navbar .category-menu ul.menu li.less-category{
position
:
relative
;
}
.menu--category-menu
.open
ul
.sidebar-submenu-2
li
a
{
line-height
:
1.5
;
/* line-height: 1.5; */
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
)
{
...
...
themes/contrib/estore/js/custom.js
View file @
d832ff70
...
...
@@ -65,12 +65,14 @@ for (i = 0; i < acc.length; i++) {
if
(
current
==
"/products"
){
$
(
".menu.menu--category-menu.nav"
).
removeClass
(
'hide-block'
).
removeClass
(
'not-home'
).
addClass
(
'product'
);
$
(
".main-container"
).
height
(
$
(
".menu.menu--category-menu.nav"
).
height
()
+
70
);
}
else
if
(
current
.
length
>=
16
){
let
currentpathSlice
=
current
.
slice
(
0
,
17
);
if
(
currentpathSlice
==
"/product_category"
||
currentpathSlice
==
"/search-products"
){
$
(
".menu.menu--category-menu.nav"
).
removeClass
(
'hide-block'
).
removeClass
(
'not-home'
).
addClass
(
'product'
);
$
(
".main-container"
).
height
(
$
(
".menu.menu--category-menu.nav"
).
height
()
+
70
);
}
}
else
{
...
...
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