mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-19 18:42:34 +00:00
Fix .menu-item-active::after
This commit is contained in:
parent
6742735db4
commit
07acb27cc9
@ -10,8 +10,23 @@
|
||||
|
||||
a {
|
||||
padding: 5px 20px;
|
||||
position: relative;
|
||||
transition-property: background-color;
|
||||
menu-item-row();
|
||||
|
||||
if (not hexo-config('menu_settings.badges')) {
|
||||
&.menu-item-active::after {
|
||||
background: $grey;
|
||||
border-radius: 50%;
|
||||
content: ' ';
|
||||
height: 6px;
|
||||
margin-top: -3px;
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
top: 50%;
|
||||
width: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+tablet-mobile() {
|
||||
@ -20,17 +35,3 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (not hexo-config('menu_settings.badges')) {
|
||||
.main-menu .menu-item-active::after {
|
||||
background: $grey;
|
||||
border-radius: 50%;
|
||||
content: ' ';
|
||||
height: 6px;
|
||||
margin-top: -3px;
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
top: 50%;
|
||||
width: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user