Skip to content

Commit cb6e49d

Browse files
authored
Merge pull request #43 from activeadmin-plugins/support-active-admin-sidebar-toggle
Add active_admin_sidebar toggle button styling
2 parents fd27c8e + a71ace9 commit cb6e49d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

app/assets/stylesheets/wigu/active_admin_theme.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,15 @@ body.active_admin {
376376
padding: $skinTablePadding 12px $skinTablePadding 12px;
377377
}
378378
}
379+
// active_admin_sidebar: align toggle button with sidebar section (no top margin in theme)
380+
#active_admin_content.collapsible_sidebar .sidebar_toggle_btn {
381+
top: 0;
382+
background-color: $skinMainSecondColor;
383+
&:hover {
384+
background-color: lighten($skinMainSecondColor, 5%);
385+
}
386+
}
387+
379388
.sidebar_section.panel {
380389
background-image: none;
381390
box-shadow: none;

0 commit comments

Comments
 (0)