@@ -137,124 +137,6 @@ $SpaceRoomViewInnerWidth: 428px;
137
137
}
138
138
}
139
139
140
- .mx_SpaceRoomView_preview ,
141
- .mx_SpaceRoomView_landing {
142
- .mx_SpaceRoomView_info_memberCount {
143
- color : inherit ;
144
- position : relative ;
145
- padding : 0 0 0 16px ;
146
- font-size : $font-15px ;
147
- display : inline ; // cancel inline-flex
148
-
149
- & ::before {
150
- content : " ·" ; // visual separator
151
- position : absolute ;
152
- left : 6px ;
153
- }
154
- }
155
- }
156
-
157
- .mx_SpaceRoomView_preview {
158
- padding : 32px 24px !important ; // override default padding from above
159
- margin : auto ;
160
- max-width : 480px ;
161
- box-sizing : border-box ;
162
- box-shadow : 2px 15px 30px $dialog-shadow-color ;
163
- border-radius : 8px ;
164
- position : relative ;
165
-
166
- // XXX remove this when spaces leaves Beta
167
- .mx_BetaCard_betaPill {
168
- position : absolute ;
169
- right : 24px ;
170
- top : 32px ;
171
- }
172
-
173
- // XXX remove this when spaces leaves Beta
174
- .mx_SpaceRoomView_preview_spaceBetaPrompt {
175
- font-weight : $font-semi-bold ;
176
- font-size : $font-14px ;
177
- line-height : $font-24px ;
178
- color : $primary-content ;
179
- margin-top : 24px ;
180
- position : relative ;
181
- padding-left : 24px ;
182
-
183
- .mx_AccessibleButton_kind_link {
184
- display : inline ;
185
- padding : 0 ;
186
- font-size : inherit ;
187
- line-height : inherit ;
188
- }
189
-
190
- & ::before {
191
- content : " " ;
192
- position : absolute ;
193
- height : $font-24px ;
194
- width : 20px ;
195
- left : 0 ;
196
- mask-repeat : no-repeat ;
197
- mask-position : center ;
198
- mask-size : contain ;
199
- mask-image : url (' $(res)/img/element-icons/room/room-summary.svg' );
200
- background-color : $secondary-content ;
201
- }
202
- }
203
-
204
- .mx_SpaceRoomView_preview_inviter {
205
- display : flex ;
206
- align-items : center ;
207
- margin-bottom : 20px ;
208
- font-size : $font-15px ;
209
-
210
- > div {
211
- margin-left : 8px ;
212
-
213
- .mx_SpaceRoomView_preview_inviter_name {
214
- line-height : $font-18px ;
215
- }
216
-
217
- .mx_SpaceRoomView_preview_inviter_mxid {
218
- line-height : $font-24px ;
219
- color : $secondary-content ;
220
- }
221
- }
222
- }
223
-
224
- > .mx_RoomAvatar_isSpaceRoom {
225
- & .mx_BaseAvatar_image , .mx_BaseAvatar_image {
226
- border-radius : 12px ;
227
- }
228
- }
229
-
230
- h1 .mx_SpaceRoomView_preview_name {
231
- margin : 20px 0 !important ; // override default margin from above
232
- }
233
-
234
- .mx_SpaceRoomView_preview_topic {
235
- font-size : $font-14px ;
236
- line-height : $font-22px ;
237
- color : $secondary-content ;
238
- margin : 20px 0 ;
239
- max-height : 160px ;
240
- overflow-y : auto ;
241
- }
242
-
243
- .mx_SpaceRoomView_preview_joinButtons {
244
- margin-top : 20px ;
245
-
246
- .mx_AccessibleButton {
247
- width : 200px ;
248
- box-sizing : border-box ;
249
- padding : 14px 0 ;
250
-
251
- & + .mx_AccessibleButton {
252
- margin-left : 20px ;
253
- }
254
- }
255
- }
256
- }
257
-
258
140
.mx_SpaceRoomView_landing {
259
141
display : flex ;
260
142
flex-direction : column ;
@@ -314,40 +196,6 @@ $SpaceRoomViewInnerWidth: 428px;
314
196
flex-wrap : wrap ;
315
197
line-height : $font-24px ;
316
198
317
- .mx_SpaceRoomView_info {
318
- color : $secondary-content ;
319
- font-size : $font-15px ;
320
- display : inline-block ;
321
-
322
- .mx_SpaceRoomView_info_public ,
323
- .mx_SpaceRoomView_info_private {
324
- padding-left : 20px ;
325
- position : relative ;
326
-
327
- & ::before {
328
- position : absolute ;
329
- content : " " ;
330
- width : 20px ;
331
- height : 20px ;
332
- top : 0 ;
333
- left : -2px ;
334
- mask-position : center ;
335
- mask-repeat : no-repeat ;
336
- background-color : $tertiary-content ;
337
- }
338
- }
339
-
340
- .mx_SpaceRoomView_info_public ::before {
341
- mask-size : 12px ;
342
- mask-image : url (" $(res)/img/globe.svg" );
343
- }
344
-
345
- .mx_SpaceRoomView_info_private ::before {
346
- mask-size : 14px ;
347
- mask-image : url (" $(res)/img/element-icons/lock.svg" );
348
- }
349
- }
350
-
351
199
.mx_SpaceRoomView_landing_infoBar_interactive {
352
200
display : flex ;
353
201
flex-wrap : wrap ;
0 commit comments