Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VueElementTemplate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
HireTest
VueElementTemplate
Commits
b813364b
Commit
b813364b
authored
8 years ago
by
Pan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refine css && refine sidebar
parent
b7f96a0e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
index.scss
src/styles/index.scss
+7
-0
Layout.vue
src/views/layout/Layout.vue
+3
-6
Sidebar.vue
src/views/layout/Sidebar.vue
+1
-1
No files found.
src/styles/index.scss
View file @
b813364b
...
@@ -221,6 +221,13 @@ code {
...
@@ -221,6 +221,13 @@ code {
z-index
:
1000
!
important
;
z-index
:
1000
!
important
;
}
}
//refine simplemde
.simplemde-container
{
.editor-toolbar.fullscreen
,
.CodeMirror-fullscreen
{
z-index
:
1003
;
}
}
//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog
{
.el-dialog
{
transform
:
none
;
transform
:
none
;
...
...
This diff is collapsed.
Click to expand it.
src/views/layout/Layout.vue
View file @
b813364b
...
@@ -54,7 +54,6 @@
...
@@ -54,7 +54,6 @@
height
:
100%
;
height
:
100%
;
width
:
100%
;
width
:
100%
;
&
.hideSidebar
{
&
.hideSidebar
{
padding-left
:
40px
;
.sidebar-wrapper
{
.sidebar-wrapper
{
transform
:
translate
(
-140px
,
0
);
transform
:
translate
(
-140px
,
0
);
.sidebar-container
{
.sidebar-container
{
...
@@ -62,14 +61,13 @@
...
@@ -62,14 +61,13 @@
}
}
&
:hover
{
&
:hover
{
transform
:
translate
(
0
,
0
);
transform
:
translate
(
0
,
0
);
z-index
:
1001
;
.sidebar-container
{
.sidebar-container
{
transform
:
translate
(
0
,
0
);
transform
:
translate
(
0
,
0
);
}
}
}
}
}
}
.main-container
{
.main-container
{
padding-left
:
0px
;
margin-left
:
4
0px
;
}
}
}
}
.sidebar-wrapper
{
.sidebar-wrapper
{
...
@@ -78,7 +76,7 @@
...
@@ -78,7 +76,7 @@
top
:
0
;
top
:
0
;
bottom
:
0
;
bottom
:
0
;
left
:
0
;
left
:
0
;
z-index
:
2
;
z-index
:
1001
;
overflow-x
:
hidden
;
overflow-x
:
hidden
;
transition
:
all
.28s
ease-out
;
transition
:
all
.28s
ease-out
;
@include
scrollBar
;
@include
scrollBar
;
...
@@ -87,10 +85,9 @@
...
@@ -87,10 +85,9 @@
transition
:
all
.28s
ease-out
;
transition
:
all
.28s
ease-out
;
}
}
.main-container
{
.main-container
{
width
:
100%
;
min-height
:
100%
;
min-height
:
100%
;
transition
:
all
.28s
ease-out
;
transition
:
all
.28s
ease-out
;
padding
-left
:
180px
;
margin
-left
:
180px
;
}
}
}
}
</
style
>
</
style
>
This diff is collapsed.
Click to expand it.
src/views/layout/Sidebar.vue
View file @
b813364b
<
template
>
<
template
>
<el-menu
mode=
"vertical"
theme=
"dark"
:default-active=
"$route.path"
>
<el-menu
:unique-opened=
'true'
mode=
"vertical"
theme=
"dark"
:default-active=
"$route.path"
>
<template
v-for=
"item in permissionRoutes"
v-if=
"!item.hidden"
>
<template
v-for=
"item in permissionRoutes"
v-if=
"!item.hidden"
>
<el-submenu
:index=
"item.name"
v-if=
"!item.noDropdown"
>
<el-submenu
:index=
"item.name"
v-if=
"!item.noDropdown"
>
<template
slot=
"title"
>
<template
slot=
"title"
>
...
...
This diff is collapsed.
Click to expand it.
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