Fixed Safari & sidebar mini issue #370

pull/399/head
Abdullah Almsaeed 10 years ago
parent d2bbd218f2
commit 9adf789426

@ -29,8 +29,7 @@
> li { > li {
position: relative; position: relative;
> a { > a {
margin-right: 0; margin-right: 0;
overflow: hidden;
} }
> a > span { > a > span {
border-top-right-radius: 4px; border-top-right-radius: 4px;
@ -52,7 +51,7 @@
//Show menu items on hover //Show menu items on hover
&:hover { &:hover {
> a { > a {
overflow: visible; //overflow: visible;
} }
> a > span:not(.pull-right), > a > span:not(.pull-right),
> .treeview-menu { > .treeview-menu {
@ -113,12 +112,15 @@
} }
//A fix for text overflow while transitioning from sidebar mini to full sidebar //A fix for text overflow while transitioning from sidebar mini to full sidebar
.sidebar-menu li > a, .sidebar-menu,
.main-sidebar .user-panel, .main-sidebar .user-panel,
.sidebar-menu > li.header { .sidebar-menu > li.header {
white-space: nowrap!important; white-space: nowrap!important;
overflow: hidden; overflow: hidden;
} }
.sidebar-menu:hover {
overflow: visible;
}
.sidebar-form, .sidebar-form,
.sidebar-menu > li.header { .sidebar-menu > li.header {
overflow: hidden; overflow: hidden;

@ -587,7 +587,6 @@ a:focus {
} }
.sidebar-mini.sidebar-collapse .sidebar-menu > li > a { .sidebar-mini.sidebar-collapse .sidebar-menu > li > a {
margin-right: 0; margin-right: 0;
overflow: hidden;
} }
.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span { .sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span {
border-top-right-radius: 4px; border-top-right-radius: 4px;
@ -600,9 +599,6 @@ a:focus {
padding-bottom: 5px; padding-bottom: 5px;
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
} }
.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a {
overflow: visible;
}
.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > span:not(.pull-right), .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > a > span:not(.pull-right),
.sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu { .sidebar-mini.sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
display: block!important; display: block!important;
@ -644,12 +640,15 @@ a:focus {
margin-left: 50px; margin-left: 50px;
} }
} }
.sidebar-menu li > a, .sidebar-menu,
.main-sidebar .user-panel, .main-sidebar .user-panel,
.sidebar-menu > li.header { .sidebar-menu > li.header {
white-space: nowrap!important; white-space: nowrap!important;
overflow: hidden; overflow: hidden;
} }
.sidebar-menu:hover {
overflow: visible;
}
.sidebar-form, .sidebar-form,
.sidebar-menu > li.header { .sidebar-menu > li.header {
overflow: hidden; overflow: hidden;

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save