group collapsed styles

This commit is contained in:
Bruno Windels 2018-10-16 14:55:35 +02:00
parent 8fa22d620a
commit 529845d8fc

View file

@ -55,15 +55,6 @@ limitations under the License.
/* pointer-events: none; */ /* pointer-events: none; */
} }
.collapsed .mx_RoomSubList_label {
height: 17px;
width: 28px; /* collapsed LHS Panel width */
}
.collapsed .mx_RoomSubList_labelContainer {
width: 28px; /* collapsed LHS Panel width */
}
.mx_RoomSubList_roomCount { .mx_RoomSubList_roomCount {
display: inline-block; display: inline-block;
font-size: 12px; font-size: 12px;
@ -73,10 +64,6 @@ limitations under the License.
text-transform: none; text-transform: none;
} }
.collapsed .mx_RoomSubList_roomCount {
display: none;
}
.mx_RoomSubList_badge { .mx_RoomSubList_badge {
display: inline-block; display: inline-block;
min-width: 15px; min-width: 15px;
@ -99,12 +86,6 @@ limitations under the License.
filter: brightness($focus-brightness); filter: brightness($focus-brightness);
} }
/*
.collapsed .mx_RoomSubList_badge {
display: none;
}
*/
.mx_RoomSubList_badgeHighlight { .mx_RoomSubList_badgeHighlight {
background-color: $warning-color; background-color: $warning-color;
} }
@ -121,11 +102,6 @@ limitations under the License.
border-right: 7px solid transparent; border-right: 7px solid transparent;
} }
/* Hide the bottom of speech bubble */
.collapsed .mx_RoomSubList_badgeHighlight:after {
display: none;
}
.mx_RoomSubList_chevron { .mx_RoomSubList_chevron {
left: 0px; left: 0px;
pointer-events: none; pointer-events: none;
@ -163,10 +139,6 @@ limitations under the License.
background-color: $secondary-accent-color; background-color: $secondary-accent-color;
} }
.collapsed .mx_RoomSubList_ellipsis {
height: 20px;
}
.mx_RoomSubList_line { .mx_RoomSubList_line {
display: inline-block; display: inline-block;
width: 159px; width: 159px;
@ -174,10 +146,6 @@ limitations under the License.
vertical-align: middle; vertical-align: middle;
} }
.collapsed .mx_RoomSubList_line {
display: none;
}
.mx_RoomSubList_more { .mx_RoomSubList_more {
display: inline-block; display: inline-block;
text-transform: uppercase; text-transform: uppercase;
@ -191,10 +159,6 @@ limitations under the License.
vertical-align: middle; vertical-align: middle;
} }
.collapsed .mx_RoomSubList_more {
display: none;
}
.mx_RoomSubList_moreBadge { .mx_RoomSubList_moreBadge {
display: inline-block; display: inline-block;
min-width: 15px; min-width: 15px;
@ -231,12 +195,6 @@ limitations under the License.
padding-right: 4px; padding-right: 4px;
} }
.collapsed .mx_RoomSubList_moreBadge {
position: static;
margin-left: 16px;
margin-top: 2px;
}
.mx_RoomSubList_ellipsis .mx_RoomSubList_chevronDown { .mx_RoomSubList_ellipsis .mx_RoomSubList_chevronDown {
position: relative; position: relative;
top: 4px; top: 4px;
@ -244,3 +202,40 @@ limitations under the License.
} }
.collapsed {
.mx_RoomSubList_label {
height: 17px;
width: 28px; /* collapsed LHS Panel width */
}
.mx_RoomSubList_labelContainer {
width: 28px; /* collapsed LHS Panel width */
}
.mx_RoomSubList_roomCount {
display: none;
}
/* Hide the bottom of speech bubble */
.mx_RoomSubList_badgeHighlight:after {
display: none;
}
.mx_RoomSubList_line {
display: none;
}
.mx_RoomSubList_moreBadge {
position: static;
margin-left: 16px;
margin-top: 2px;
}
.mx_RoomSubList_ellipsis {
height: 20px;
}
.mx_RoomSubList_more {
display: none;
}
}