File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,3 +175,22 @@ limitations under the License.
175175 margin-top : -2px ;
176176}
177177
178+ .mx_MatrixChat_useCompactLayout {
179+ .mx_RoomStatusBar {
180+ min-height : 40px ;
181+ }
182+
183+ .mx_RoomStatusBar_indicator {
184+ margin-top : 10px ;
185+ }
186+
187+ .mx_RoomStatusBar_callBar {
188+ height : 40px ;
189+ line-height : 40px ;
190+ }
191+
192+ .mx_RoomStatusBar_typingBar {
193+ height : 40px ;
194+ line-height : 40px ;
195+ }
196+ }
Original file line number Diff line number Diff line change @@ -260,4 +260,14 @@ hr.mx_RoomView_myReadMarker {
260260
261261.mx_RoomView_ongoingConfCallNotification a {
262262 color : $accent-fg-color ! important;
263- }
263+ }
264+
265+ .mx_MatrixChat_useCompactLayout {
266+ .mx_RoomView_MessageList {
267+ margin-bottom : 4px ;
268+ }
269+
270+ .mx_RoomView_statusAreaBox {
271+ min-height : 42px ;
272+ }
273+ }
Original file line number Diff line number Diff line change @@ -48,3 +48,13 @@ limitations under the License.
4848 margin-left : 63px ;
4949 line-height : 30px ;
5050}
51+
52+ .mx_MatrixChat_useCompactLayout {
53+ .mx_MemberEventListSummary_line {
54+ line-height : 22px ;
55+ }
56+
57+ .mx_MemberEventListSummary_toggle {
58+ margin-top : 2px ;
59+ }
60+ }
Original file line number Diff line number Diff line change @@ -360,3 +360,67 @@ limitations under the License.
360360}
361361
362362/* end of overrides */
363+
364+ .mx_MatrixChat_useCompactLayout {
365+ .mx_EventTile {
366+ padding-top : 4px ;
367+ }
368+
369+ .mx_EventTile.mx_EventTile_info {
370+ padding-top : 0px ;
371+ }
372+
373+ .mx_EventTile .mx_SenderProfile {
374+ font-size : 13px ;
375+ }
376+
377+ .mx_EventTile.mx_EventTile_emote {
378+ padding-top : 8px ;
379+ .mx_EventTile_avatar {
380+ top : 2px ;
381+ }
382+ .mx_EventTile_line {
383+ padding-top : 0px ;
384+ padding-bottom : 1px ;
385+ }
386+ }
387+
388+ .mx_EventTile.mx_EventTile_emote.mx_EventTile_continuation {
389+ padding-top : 0 ;
390+ .mx_EventTile_line {
391+ padding-top : 0px ;
392+ padding-bottom : 0px ;
393+ }
394+ }
395+
396+ .mx_EventTile_line {
397+ padding-top : 0px ;
398+ padding-bottom : 0px ;
399+ }
400+
401+ .mx_EventTile_avatar {
402+ top : 2px ;
403+ }
404+
405+ .mx_EventTile.mx_EventTile_info .mx_EventTile_avatar {
406+ top : 5px ;
407+ }
408+
409+ .mx_EventTile_e2eIcon {
410+ top : 7px ;
411+ }
412+
413+ .mx_EventTile_readAvatars {
414+ top : 27px ;
415+ }
416+
417+ .mx_EventTile_continuation .mx_EventTile_readAvatars ,
418+ .mx_EventTile_info .mx_EventTile_readAvatars ,
419+ .mx_EventTile_emote .mx_EventTile_readAvatars {
420+ top : 5px ;
421+ }
422+
423+ .mx_RoomView_MessageList h2 {
424+ margin-top : 6px ;
425+ }
426+ }
Original file line number Diff line number Diff line change @@ -60,3 +60,10 @@ limitations under the License.
6060.mx_LinkPreviewWidget :hover .mx_LinkPreviewWidget_cancel {
6161 visibility : visible ;
6262}
63+
64+ .mx_MatrixChat_useCompactLayout {
65+ .mx_LinkPreviewWidget {
66+ margin-top : 6px ;
67+ margin-bottom : 6px ;
68+ }
69+ }
Original file line number Diff line number Diff line change @@ -200,3 +200,13 @@ limitations under the License.
200200 padding : 4px 4px 4px 0 ;
201201 opacity : 0.8 ;
202202}
203+
204+ .mx_MatrixChat_useCompactLayout {
205+ .mx_MessageComposer_input {
206+ min-height : 50px ;
207+ }
208+
209+ .mx_MessageComposer_noperm_error {
210+ height : 50px ;
211+ }
212+ }
Original file line number Diff line number Diff line change @@ -44,3 +44,10 @@ limitations under the License.
4444 padding-top : 3px ;
4545 cursor : pointer ;
4646}
47+
48+ .mx_MatrixChat_useCompactLayout {
49+ .mx_TopUnreadMessagesBar {
50+ padding-top : 4px ;
51+ padding-bottom : 4px ;
52+ }
53+ }
Original file line number Diff line number Diff line change @@ -104,3 +104,17 @@ limitations under the License.
104104 top : -25px ;
105105 left : 6px ;
106106}
107+
108+ .mx_MatrixChat_useCompactLayout {
109+ .mx_LeftPanel .mx_BottomLeftMenu {
110+ flex : 0 0 50px ;
111+ }
112+
113+ .mx_LeftPanel.collapsed .mx_BottomLeftMenu {
114+ flex : 0 0 160px ;
115+ }
116+
117+ .mx_LeftPanel .mx_BottomLeftMenu_options {
118+ margin-top : 12px ;
119+ }
120+ }
Original file line number Diff line number Diff line change @@ -118,3 +118,14 @@ limitations under the License.
118118 vertical-align : top ;
119119 padding-left : 10px
120120}
121+
122+ .mx_MatrixChat_useCompactLayout {
123+ .mx_RightPanel_footer {
124+ flex : 0 0 50px ;
125+ }
126+
127+ .mx_RightPanel_footer .mx_RightPanel_invite {
128+ line-height : 25px ;
129+ padding-top : 8px ;
130+ }
131+ }
You can’t perform that action at this time.
0 commit comments