File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -124,16 +124,6 @@ export default defineComponent({
124
124
<style lang="scss" scoped>
125
125
$prefix-cls : #{$namespace } - menu;
126
126
127
- .is-active--after {
128
- position : absolute ;
129
- top : 0 ;
130
- right : 0 ;
131
- width : 4px ;
132
- height : 100% ;
133
- background-color : var (--el-color-primary );
134
- content : ' ' ;
135
- }
136
-
137
127
.#{$prefix-cls } {
138
128
position : relative ;
139
129
transition : width var (--transition-time-02 );
@@ -171,10 +161,6 @@ $prefix-cls: #{$namespace}-menu;
171
161
172
162
.#{$elNamespace } -menu-item.is-active {
173
163
position : relative ;
174
-
175
- & ::after {
176
- @extend .is-active--after ;
177
- }
178
164
}
179
165
180
166
// 设置子菜单的背景颜色
@@ -194,10 +180,6 @@ $prefix-cls: #{$namespace}-menu;
194
180
& > .is-active > .#{$elNamespace } -sub-menu__title {
195
181
position : relative ;
196
182
background-color : var (--left-menu-collapse-bg-active-color ) !important ;
197
-
198
- & ::after {
199
- @extend .is-active--after ;
200
- }
201
183
}
202
184
}
203
185
@@ -245,16 +227,6 @@ $prefix-cls: #{$namespace}-menu;
245
227
<style lang="scss">
246
228
$prefix-cls : #{$namespace } - menu- popper;
247
229
248
- .is-active--after {
249
- position : absolute ;
250
- top : 0 ;
251
- right : 0 ;
252
- width : 4px ;
253
- height : 100% ;
254
- background-color : var (--el-color-primary );
255
- content : ' ' ;
256
- }
257
-
258
230
.#{$prefix-cls } --vertical ,
259
231
.#{$prefix-cls } --horizontal {
260
232
// 设置选中时子标题的颜色
@@ -281,10 +253,6 @@ $prefix-cls: #{$namespace}-menu-popper;
281
253
& :hover {
282
254
background-color : var (--left-menu-bg-active-color ) !important ;
283
255
}
284
-
285
- & ::after {
286
- @extend .is-active--after ;
287
- }
288
256
}
289
257
}
290
258
</style >
You can’t perform that action at this time.
0 commit comments