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
02f02e97
Commit
02f02e97
authored
May 17, 2020
by
Chi Bui
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit header 2 level
parent
23bf3976
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
2 deletions
+39
-2
styles.css
themes/contrib/estore/css/styles.css
+25
-2
test.css
themes/contrib/estore/css/test.css
+0
-0
custom.js
themes/contrib/estore/js/custom.js
+14
-0
No files found.
themes/contrib/estore/css/styles.css
View file @
02f02e97
...
@@ -138,6 +138,7 @@ header .link_content .field--type-text-with-summary p{
...
@@ -138,6 +138,7 @@ header .link_content .field--type-text-with-summary p{
font-size
:
16px
;
font-size
:
16px
;
line-height
:
55px
;
line-height
:
55px
;
/* font-weight: 500; */
/* font-weight: 500; */
/* width: 85%; */
}
}
.bottom-nav
{
.bottom-nav
{
/* background-color: #f7df24 !important; */
/* background-color: #f7df24 !important; */
...
@@ -262,7 +263,13 @@ header.navbar .main-menu ul.menu li{
...
@@ -262,7 +263,13 @@ header.navbar .main-menu ul.menu li{
.menu--category-menu
.open
ul
.sidebar-submenu-2
li
:hover
{
.menu--category-menu
.open
ul
.sidebar-submenu-2
li
:hover
{
background
:
white
!important
;
background
:
white
!important
;
}
}
.menu--category-menu
.open
ul
.sidebar-submenu-2
li
{
width
:
251px
!important
;
padding
:
0px
7px
!important
;
height
:
40px
;
display
:
flex
;
align-items
:
center
;
}
.menu--category-menu
.open
ul
.sidebar-submenu-3
li
{
.menu--category-menu
.open
ul
.sidebar-submenu-3
li
{
border-bottom
:
none
!important
;
border-bottom
:
none
!important
;
width
:
251px
!important
;
width
:
251px
!important
;
...
@@ -427,6 +434,12 @@ header.navbar .category-menu ul.menu ul.dropdown-menu li {
...
@@ -427,6 +434,12 @@ header.navbar .category-menu ul.menu ul.dropdown-menu li {
.main-container
{
.main-container
{
min-height
:
350px
min-height
:
350px
}
}
@media
(
min-width
:
991px
)
and
(
max-width
:
1200px
){
header
.link_content
.field--type-text-with-summary
p
{
font-size
:
14px
;
margin-right
:
40px
}
}
@media
(
min-width
:
768px
)
{
@media
(
min-width
:
768px
)
{
.webform-flex--container
{
.webform-flex--container
{
width
:
91%
!important
width
:
91%
!important
...
@@ -1394,13 +1407,22 @@ header.navbar .block-search-navigation .search-icon {
...
@@ -1394,13 +1407,22 @@ header.navbar .block-search-navigation .search-icon {
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
}
}
.menu--category-menu
.open
ul
.sidebar-submenu-2.ul-flex
{
display
:
flex
;
flex-direction
:
row
;
}
.menu--category-menu
.open
ul
.sidebar-submenu-2.ul-flex
ul
{
padding
:
0
!important
;
}
.menu--category-menu
.open
ul
.sidebar-submenu-2.ul-flex
ul
li
{
list-style
:
none
;
}
.menu--category-menu
.open
ul
.sidebar-submenu-3.ul-flex
ul
{
.menu--category-menu
.open
ul
.sidebar-submenu-3.ul-flex
ul
{
padding
:
0
!important
;
padding
:
0
!important
;
}
}
.menu--category-menu
.open
ul
.sidebar-submenu-3.ul-flex
ul
li
{
.menu--category-menu
.open
ul
.sidebar-submenu-3.ul-flex
ul
li
{
list-style
:
none
;
list-style
:
none
;
}
}
/* */
/* */
body
{
body
{
...
@@ -10901,6 +10923,7 @@ header.navbar .category-menu .block-title:hover {
...
@@ -10901,6 +10923,7 @@ header.navbar .category-menu .block-title:hover {
height
:
40px
;
height
:
40px
;
line-height
:
32px
!important
;
line-height
:
32px
!important
;
border-radius
:
3px
;
border-radius
:
3px
;
text-align
:
center
;
}
}
header
.navbar
.category-menu
.block-title
i
{
header
.navbar
.category-menu
.block-title
i
{
line-height
:
32px
!important
;
line-height
:
32px
!important
;
...
...
themes/contrib/estore/css/test.css
deleted
100644 → 0
View file @
23bf3976
themes/contrib/estore/js/custom.js
View file @
02f02e97
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
if
(
$
(
window
).
width
()
>
991
){
if
(
$
(
window
).
width
()
>
991
){
var
submenu3
=
$
(
".sidebar-submenu-3"
);
var
submenu3
=
$
(
".sidebar-submenu-3"
);
if
(
submenu3
.
length
>
0
){
for
(
let
i
=
0
;
i
<
submenu3
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
submenu3
.
length
;
i
++
)
{
if
(
$
(
".sidebar-submenu-3"
).
eq
(
i
).
children
(
'li'
).
length
>
10
)
{
if
(
$
(
".sidebar-submenu-3"
).
eq
(
i
).
children
(
'li'
).
length
>
10
)
{
$
(
".sidebar-submenu-3"
).
eq
(
i
).
addClass
(
'ul-flex'
);
$
(
".sidebar-submenu-3"
).
eq
(
i
).
addClass
(
'ul-flex'
);
...
@@ -50,6 +51,19 @@
...
@@ -50,6 +51,19 @@
$
(
".sidebar-submenu-3"
).
eq
(
i
).
children
(
'li'
).
slice
(
0
,
10
).
wrapAll
(
"<ul></ul>"
);
$
(
".sidebar-submenu-3"
).
eq
(
i
).
children
(
'li'
).
slice
(
0
,
10
).
wrapAll
(
"<ul></ul>"
);
}
}
}
}
}
else
{
var
submenu2
=
$
(
".sidebar-submenu-2"
);
for
(
let
i
=
0
;
i
<
submenu2
.
length
;
i
++
)
{
if
(
$
(
".sidebar-submenu-2"
).
eq
(
i
).
children
(
'li'
).
length
>
10
)
{
$
(
".sidebar-submenu-2"
).
eq
(
i
).
addClass
(
'ul-flex'
);
$
(
".sidebar-submenu-2"
).
eq
(
i
).
children
(
'li'
).
slice
(
0
,
10
).
wrapAll
(
"<ul></ul>"
);
$
(
".sidebar-submenu-2"
).
eq
(
i
).
children
(
'li'
).
slice
(
0
,
10
).
wrapAll
(
"<ul></ul>"
);
$
(
".sidebar-submenu-2"
).
eq
(
i
).
children
(
'li'
).
slice
(
0
,
10
).
wrapAll
(
"<ul></ul>"
);
}
}
}
$
(
".dropdown-toggle"
).
mouseover
(
function
()
{
$
(
".dropdown-toggle"
).
mouseover
(
function
()
{
$
(
this
).
parent
(
"li.expanded.dropdown"
).
addClass
(
"open"
);
$
(
this
).
parent
(
"li.expanded.dropdown"
).
addClass
(
"open"
);
})
})
...
...
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