2 * Component: Sidebar Mini
5 //Add sidebar-mini class to the body tag to activate this feature
7 //Sidebar mini should work only on devices larger than @screen-sm
8 @media (min-width: @screen-sm) {
9 //When the sidebar is collapsed...
12 //Apply the new margining to the main content and footer
16 margin-left: 50px !important;
20 //Modify the sidebar to shrink instead of disappearing
22 //Don't go away! Just shrink
24 width: 50px !important;
35 border-top-right-radius: 4px;
40 border-bottom-right-radius: 4px;
45 //Add some padding to the treeview menu
48 border-bottom-right-radius: 4px;
51 //Show menu items on hover
56 > a > span:not(.pull-right),//:not(.pull-right-container),
58 display: block !important;
60 width: @sidebar-width - 50;
64 //position the header & treeview menus
68 padding: 12px 5px 12px 20px;
69 background-color: inherit;
71 > a > .pull-right-container {
72 //display: block!important;
74 width: auto!important;
75 left: 200px!important;
77 > .label:not(:first-of-type) {
89 //Make the sidebar links, menus, labels, badges
90 //and angle icons disappear
91 .main-sidebar .user-panel > .info,
93 .sidebar-menu > li > a > span,
94 .sidebar-menu > li > .treeview-menu,
95 .sidebar-menu > li > a > .pull-right,
96 .sidebar-menu li.header {
97 display: none !important;
98 -webkit-transform: translateZ(0);
102 //Let's make the logo also shrink and the mini logo to appear
116 //Since the logo got smaller, we need to fix the navbar's position
125 //A fix for text overflow while transitioning from sidebar mini to full sidebar
127 .main-sidebar .user-panel,
128 .sidebar-menu > li.header {
133 .sidebar-menu:hover {
138 .sidebar-menu > li.header {
143 .sidebar-menu li > a {
145 > .pull-right-container {