Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
2016-05-21 15:54:47 +0800
Commit
2e008d36fab9d4305c81ef3d31fdebb0b0c3fc19
1 parent
4bdd6d47
outlets 头部
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
68 additions
and
1 deletions
template/www.yohobuy.com/partials/layout/page-header.phtml
web-static/img/header/outlets.png
web-static/sass/_header.css
template/www.yohobuy.com/partials/layout/page-header.phtml
View file @
2e008d3
{
{#headerdata
}
}
<div
class=
"yoho-header"
>
<div
class=
"yoho-header
{{#if outlets}} outlets{{/if}}
"
>
<div
class=
"header-topwrapper clearfix"
>
<div
class=
"header-top"
>
<div
class=
"leftpart float-left"
>
...
...
@@ -125,6 +125,7 @@
</li>
{
{/
navbars
}
}
</ul>
<div
class=
"outlets-logo"
></div>
<div
class=
"icon-logo"
><a
href=
"http://www.yohobuy.com/"
class=
"main-link"
></a></div>
<div
class=
"header-tool float-right"
>
<div
class=
"search float-left {{searchcate}}"
>
...
...
web-static/img/header/outlets.png
0 → 100644
View file @
2e008d3
2.67 KB
web-static/sass/_header.css
View file @
2e008d3
...
...
@@ -743,6 +743,16 @@
margin-top
:
-2px
;
}
.outlets-logo
{
background
:
resolve
(
header
/
outlets
.
png
)
no-repeat
center
center
;
width
:
200px
;
height
:
34px
;
left
:
42%
;
margin-top
:
28px
;
position
:
absolute
;
display
:
none
;
}
.icon-logo
{
background
:
resolve
(/
header
/
logo
.
png
)
no-repeat
center
center
;
width
:
182px
;
...
...
@@ -1116,6 +1126,62 @@
}
}
.yoho-header.outlets
{
.header-navwrapper
{
background-color
:
#3a3a3a
;
.sub-nav-wrapper
{
background-color
:
#e6e6e6
;
margin-top
:
37px
;
}
.third-nav-wrapper
{
border-top
:
0
;
}
}
.outlets-logo
{
display
:
block
;
}
.icon-logo
{
display
:
none
;
}
.first-nav-item.cure
{
background
:
none
;
}
.first-nav-item
>
h3
{
display
:
none
;
}
.header-tool
>
.search
{
display
:
none
;
}
.sub-nav-list
{
padding-left
:
15%
;
.sub-nav-item
{
width
:
14%
;
text-align
:
center
;
&
>
a
{
color
:
#222
!important
;
}
}
.sub-nav-item
:hover
a
{
border-color
:
#555
;
}
.third-nav
{
text-align
:
left
;
}
}
}
.simple-header
{
height
:
66px
;
margin
:
0
0
20px
0
;
...
...
Please
register
or
login
to post a comment