@@ -47,12 +47,13 @@ limitations under the License.
4747}
4848
4949. mx_RoomHeader_textButton {
50- height : 48 px ;
50+ height : 36 px ;
5151 background-color : # 76cfa6;
52- border-radius : 48 px ;
52+ border-radius : 36 px ;
5353 margin-right : 8px ;
5454 color : # fff;
55- line-height : 48px ;
55+ line-height : 34px ;
56+ margin-top : -2px ;
5657 text-align : center;
5758
5859 -webkit-box-ordinal-group : 2 ;
@@ -69,7 +70,20 @@ limitations under the License.
6970*/
7071 padding-left : 12px ;
7172 padding-right : 12px ;
72- }
73+ }
74+
75+ . mx_RoomHeader_cancelButton {
76+ -webkit-box-ordinal-group : 2 ;
77+ -moz-box-ordinal-group : 2 ;
78+ -ms-flex-order : 2 ;
79+ -webkit-order : 2 ;
80+ order : 2 ;
81+
82+ cursor : pointer;
83+
84+ padding-left : 12px ;
85+ padding-right : 12px ;
86+ }
7387
7488. mx_RoomHeader_rightRow {
7589 margin-top : 4px ;
@@ -107,9 +121,8 @@ limitations under the License.
107121}
108122
109123. mx_RoomHeader_name {
110- cursor : pointer;
111124 vertical-align : middle;
112- height : 30 px ;
125+ height : 31 px ;
113126 overflow : hidden;
114127 color : # 454545;
115128 font-weight : bold;
@@ -142,7 +155,11 @@ limitations under the License.
142155 pointer-events : none;
143156}
144157
145- . mx_RoomHeader_leftRow : hover . mx_RoomHeader_name {
158+ . mx_RoomHeader_leftRow : hover {
159+ cursor : pointer;
160+ }
161+
162+ . mx_RoomHeader_leftRow : hover . mx_RoomHeader_name div : not ( . mx_RoomHeader_editable ) {
146163 color : # 76cfa6;
147164}
148165
@@ -159,7 +176,23 @@ limitations under the License.
159176 visibility : visible;
160177}
161178
179+ . mx_RoomHeader_placeholder {
180+ color : # a2a2a2 ! impor tant;
181+ }
182+
183+ . mx_RoomHeader_editable {
184+ border-bottom : 1px solid # c7c7c7;
185+ min-width : 70px ;
186+ cursor : text;
187+ }
162188
189+ . mx_RoomHeader_editable : focus {
190+ border-bottom : 1px solid # 76CFA6;
191+ outline : none;
192+ box-shadow : none;
193+ }
194+
195+ /*
163196.mx_RoomHeader_nameEditing {
164197 padding-left: 8px;
165198 padding-right: 16px;
@@ -178,15 +211,16 @@ limitations under the License.
178211.mx_RoomHeader_nameInput {
179212 margin-top: 6px;
180213}
214+ */
181215
182216. mx_RoomHeader_topic {
183217 vertical-align : bottom;
184218 float : left;
185219 max-height : 42px ;
186220 color : # 454545;
187221 font-weight : 300 ;
188- padding -left: 19px ;
189- padding -right: 16px ;
222+ margin -left: 19px ;
223+ margin -right: 16px ;
190224 overflow : hidden;
191225 text-overflow : ellipsis;
192226}
0 commit comments