Skip to content

Commit 7237688

Browse files
committed
Fix nested_menu hovering. Refs #13
1 parent 04c4f44 commit 7237688

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

app/assets/stylesheets/wigu/active_admin_theme.css.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,20 @@ body.active_admin {
8585
ul {
8686
background-color: $skinMainSecondColor;
8787
@include rounded($skinBorderRadius);
88+
li > a {
89+
padding-left: 15px;
90+
}
91+
li.current > a::before, li:hover > a::before {
92+
content: '';
93+
display: block;
94+
width: 7px;
95+
height: 4px;
96+
position: absolute;
97+
top: 12px;
98+
left: 4px;
99+
background: transparent image-url('active_admin/nested_menu_arrow_dark.gif') no-repeat 0 0;
100+
transform: rotate(-90deg);
101+
}
88102
}
89103
}
90104
li.has_nested:hover {

0 commit comments

Comments
 (0)