Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
ccbikai
9 years ago
Commit
df23a8509a901df68e552bbcfe235e594a0c35f2
1 parent
6cc4f218
侧边栏 划出
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
static/sass/home/_index.scss
static/sass/home/_side-nav.scss
static/sass/home/_index.scss
View file @
df23a85
...
...
@@ -10,7 +10,7 @@
position
:
relative
;
z-index
:
2
;
background
:
#f0f0f0
;
@include
transition
(
transform
.3s
ease-out
);
@include
transition
(
transform
.3s
);
}
.mobile-wrap.menu-open
{
...
...
@@ -27,7 +27,7 @@
bottom
:
0
;
background
:
#000
;
opacity
:
0
;
z-index
:
99
;
z-index
:
2
;
@include
transition
(
opacity
1s
);
}
...
...
static/sass/home/_side-nav.scss
View file @
df23a85
.side-nav
{
display
:
block
;
display
:
none
;
background
:
#fff
;
position
:
fixed
;
top
:
0
;
bottom
:
0
;
left
:
-540rem
/
$pxConvertRem
;
right
:
640rem
/
$pxConvertRem
;
left
:
0
;
right
:
100rem
/
$pxConvertRem
;
width
:
540rem
/
$pxConvertRem
;
z-index
:
-
1
;
z-index
:
1
;
overflow
:
hidden
;
@include
transition
(
all
.3s
);
...
...
@@ -107,9 +107,7 @@
}
.side-nav.on
{
left
:
0
;
right
:
100rem
/
$pxConvertRem
;
z-index
:
3
;
display
:
block
;
}
.sub-nav
{
...
...
Please
register
or
login
to post a comment