Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8d23c38f
authored
Feb 29, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
2023-06-25:style: 移除不必要样式
parent
fe611197
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
32 deletions
+0
-32
src/layout/components/Menu/src/Menu.vue
+0
-32
No files found.
src/layout/components/Menu/src/Menu.vue
View file @
8d23c38f
...
@@ -124,16 +124,6 @@ export default defineComponent({
...
@@ -124,16 +124,6 @@ export default defineComponent({
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
$
prefix-cls
:
#
{
$namespace
}
-menu
;
$
prefix-cls
:
#
{
$namespace
}
-menu
;
.is-active--after
{
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
4px
;
height
:
100%
;
background-color
:
var
(
--el-color-primary
);
content
:
''
;
}
.
#
{
$prefix-cls
}
{
.
#
{
$prefix-cls
}
{
position
:
relative
;
position
:
relative
;
transition
:
width
var
(
--transition-time-02
);
transition
:
width
var
(
--transition-time-02
);
...
@@ -171,10 +161,6 @@ $prefix-cls: #{$namespace}-menu;
...
@@ -171,10 +161,6 @@ $prefix-cls: #{$namespace}-menu;
.
#
{
$elNamespace
}
-menu-item
.is-active
{
.
#
{
$elNamespace
}
-menu-item
.is-active
{
position
:
relative
;
position
:
relative
;
&::after
{
@extend
.is-active--after;
}
}
}
//
设置子菜单的背景颜色
//
设置子菜单的背景颜色
...
@@ -194,10 +180,6 @@ $prefix-cls: #{$namespace}-menu;
...
@@ -194,10 +180,6 @@ $prefix-cls: #{$namespace}-menu;
&
>
.is-active
>
.#{$elNamespace
}
-sub-menu__title
{
&
>
.is-active
>
.#{$elNamespace
}
-sub-menu__title
{
position
:
relative
;
position
:
relative
;
background-color
:
var
(
--left-menu-collapse-bg-active-color
)
!important
;
background-color
:
var
(
--left-menu-collapse-bg-active-color
)
!important
;
&::after
{
@extend
.is-active--after;
}
}
}
}
}
...
@@ -245,16 +227,6 @@ $prefix-cls: #{$namespace}-menu;
...
@@ -245,16 +227,6 @@ $prefix-cls: #{$namespace}-menu;
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
$
prefix-cls
:
#
{
$namespace
}
-menu-popper
;
$
prefix-cls
:
#
{
$namespace
}
-menu-popper
;
.is-active--after
{
position
:
absolute
;
top
:
0
;
right
:
0
;
width
:
4px
;
height
:
100%
;
background-color
:
var
(
--el-color-primary
);
content
:
''
;
}
.
#
{
$prefix-cls
}
--vertical
,
.
#
{
$prefix-cls
}
--vertical
,
.
#
{
$prefix-cls
}
--horizontal
{
.
#
{
$prefix-cls
}
--horizontal
{
//
设置选中时子标题的颜色
//
设置选中时子标题的颜色
...
@@ -281,10 +253,6 @@ $prefix-cls: #{$namespace}-menu-popper;
...
@@ -281,10 +253,6 @@ $prefix-cls: #{$namespace}-menu-popper;
&:hover
{
&:hover
{
background-color
:
var
(
--left-menu-bg-active-color
)
!important
;
background-color
:
var
(
--left-menu-bg-active-color
)
!important
;
}
}
&
::after
{
@extend
.is-active--after;
}
}
}
}
}
</
style
>
</
style
>
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