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
ccbikai
9 years ago
Commit
821c0f3b056724c541905ae7771127b63f0d0922
1 parent
c7cb4a43
侧边栏收缩
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
static/sass/home/_side-nav.scss
static/sass/home/_side-nav.scss
View file @
821c0f3
.side-nav
{
// display: none;
background
:
#fff
;
position
:
fixed
;
top
:
0
;
right
:
10
0rem
/
$pxConvertRem
;
right
:
64
0rem
/
$pxConvertRem
;
bottom
:
0
;
left
:
0
;
z-index
:
1
;
z-index
:
-
1
;
overflow
:
hidden
;
@include
transform
(
translateX
(
-540rem
/
$pxConvertRem
));
@include
transition
(
all
.3s
ease-out
);
@include
transition
(
right
.3s
);
ul
{
background
:
#f0f0f0
;
...
...
@@ -107,8 +105,8 @@
}
.side-nav.on
{
// display: block;
@include
transform
(
translateX
(
0rem
/
$pxConvertRem
));
right
:
100rem
/
$pxConvertRem
;
z-index
:
3
;
}
.sub-nav
{
...
...
@@ -117,10 +115,8 @@
bottom
:
0
;
top
:
0
;
left
:
0
;
// right: 100rem / $pxConvertRem;
width
:
100%
;
background
:
#fff
!
important
;
// z-index: 2;
@include
transform
(
translateX
(
540rem
/
$pxConvertRem
));
@include
transition
(
transform
0
.3s
);
...
...
Please
register
or
login
to post a comment