Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
0f94cd46
authored
2023-03-22 14:16:02 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:路由
1 parent
b76a9d2b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
12 deletions
src/layout/components/Navbar.vue
src/styles/sbPublic.scss
src/styles/sbSidebar.scss
src/layout/components/Navbar.vue
View file @
0f94cd4
...
...
@@ -45,6 +45,7 @@ export default {
.
then
((
res
)
=>
{
sessionStorage
.
removeItem
(
"token"
);
this
.
$store
.
dispatch
(
"user/resetState"
);
this
.
$store
.
dispatch
(
"permission/resetRoutes"
);
this
.
$router
.
replace
({
path
:
"/jg"
,
query
:
{
...
...
src/styles/sbPublic.scss
View file @
0f94cd4
...
...
@@ -10,7 +10,7 @@
&
-header
{
width
:
100%
;
padding
:
5px
30px
20px
24
px
;
padding
:
15
px
;
box-sizing
:
border-box
;
background-size
:
100%
100%
;
background
:
#FFFFFF
;
...
...
@@ -24,7 +24,7 @@
background
:
#FFFFFF
;
border-radius
:
4px
;
background-size
:
100%
100%
;
padding
:
22px
42px
20
px
;
padding
:
15
px
;
}
...
...
src/styles/sbSidebar.scss
View file @
0f94cd4
...
...
@@ -14,7 +14,6 @@
.sidebar-container
{
transition
:
width
0
.28s
;
width
:
$sideBarWidth
!
important
;
overflow-y
:
scroll
;
font-size
:
0px
;
@include
background_color
(
"menuBg"
);
...
...
@@ -22,7 +21,9 @@
transition
:
0s
width
ease-in-out
,
0s
padding-left
ease-in-out
,
0s
padding-right
ease-in-out
;
}
.el-scrollbar
{
height
:
100%
;
}
.scrollbar-wrapper
{
overflow-x
:
hidden
!
important
;
margin-right
:
0
!
important
;
...
...
@@ -69,13 +70,13 @@
&
:hover
{
color
:
$subMenuActiveText
!
important
;
@include
font_color
(
"
menuActiveText
"
);
@include
background_color
(
"
menuActive
"
);
@include
font_color
(
"
submenuColor
"
);
@include
background_color
(
"
submenuBg
"
);
.svg-icon
,
i
,
span
{
color
:
#4162D8
!
important
;
@include
font_color
(
"submenuColor"
)
;
}
}
}
...
...
@@ -88,8 +89,8 @@
background-color
:
transparent
!
important
;
&
:hover
{
@include
font_color
(
"
menuActiveText
"
);
@include
background_color
(
"
menuActive
"
);
@include
font_color
(
"
submenuColor
"
);
@include
background_color
(
"
submenuBg
"
);
.svg-icon
{
color
:
#1ea6f8
!
important
;
...
...
@@ -103,8 +104,8 @@
.submenu-title-noDropdown.is-active
,
.el-submenu__title.is-active
{
@include
background_color
(
"
menuActive
"
);
@include
font_color
(
"
menuActiveText
"
);
@include
background_color
(
"
submenuBg
"
);
@include
font_color
(
"
submenuColor
"
);
.svg-icon
{
color
:
#1ea6f8
!
important
;
...
...
@@ -132,7 +133,7 @@
.svg-icon
{
font-size
:
18px
;
color
:
#6D7278
!
important
;
color
:
#6D7278
!
important
;
}
}
...
...
@@ -315,6 +316,19 @@
}
}
.el-submenu.is-active
.el-submenu__title
{
@include
background_color
(
"submenuBg"
);
@include
font_color
(
"submenuColor"
);
}
.el-submenu.is-active
.el-submenu__title
:hover
{
@include
font_color
(
"submenuColor"
);
}
.el-submenu.is-active
.el-submenu__title
.svg-icon
{
@include
font_color
(
"submenuColor"
);
}
.el-submenu__title
{
display
:
flex
;
align-items
:
center
;
...
...
Please
register
or
sign in
to post a comment