Make team drive leftside menu collapsable
This commit is contained in:
@@ -31,9 +31,37 @@
|
||||
.cp-sidebarlayout-categories {
|
||||
flex: 1;
|
||||
.cp-sidebarlayout-category {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.leftside-menu-category_main();
|
||||
}
|
||||
}
|
||||
&.cp-leftside-narrow {
|
||||
transition: width 0.2s;
|
||||
width: 50px;
|
||||
.cp-sidebarlayout-category {
|
||||
display: flex;
|
||||
max-width: 100%;
|
||||
align-items: center;
|
||||
span.cp-sidebarlayout-category-name {
|
||||
flex: 1;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
min-width: 0;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
transition: width 0.5s;
|
||||
width: 250px;
|
||||
.cp-sidebarlayout-category {
|
||||
span.cp-sidebarlayout-category-name {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#cp-sidebarlayout-rightside {
|
||||
flex: 1;
|
||||
|
||||
Reference in New Issue
Block a user