mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-20 19:02:33 +00:00
Fix .menu-item-active::after
This commit is contained in:
parent
6742735db4
commit
07acb27cc9
@ -10,19 +10,12 @@
|
|||||||
|
|
||||||
a {
|
a {
|
||||||
padding: 5px 20px;
|
padding: 5px 20px;
|
||||||
|
position: relative;
|
||||||
transition-property: background-color;
|
transition-property: background-color;
|
||||||
menu-item-row();
|
menu-item-row();
|
||||||
}
|
|
||||||
|
|
||||||
+tablet-mobile() {
|
if (not hexo-config('menu_settings.badges')) {
|
||||||
&.menu-item-search {
|
&.menu-item-active::after {
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (not hexo-config('menu_settings.badges')) {
|
|
||||||
.main-menu .menu-item-active::after {
|
|
||||||
background: $grey;
|
background: $grey;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
content: ' ';
|
content: ' ';
|
||||||
@ -33,4 +26,12 @@ if (not hexo-config('menu_settings.badges')) {
|
|||||||
top: 50%;
|
top: 50%;
|
||||||
width: 6px;
|
width: 6px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+tablet-mobile() {
|
||||||
|
&.menu-item-search {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user