4de0f7257a
This covers the "recents" section and rough design exclusively. It is known that the Field does nothing and that there's a bunch of missing functionality - this is to be iterated upon in future PRs. Labs flag is to aide development and should be removed in a very near future PR. Also, this is focusing on DMs and not user lists in general because I misinterpreted the scope. I'll fix this in a future PR and instead make this the best DM invite dialog it can be. Closes https://github.com/vector-im/riot-web/issues/11197
81 lines
1.7 KiB
SCSS
81 lines
1.7 KiB
SCSS
/*
|
|
Copyright 2019, 2020 The Matrix.org Foundation C.I.C.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
.mx_DMInviteDialog_addressBar {
|
|
display: flex;
|
|
flex-direction: row;
|
|
|
|
.mx_DMInviteDialog_editor {
|
|
flex: 1;
|
|
width: 100%; // Needed to make the Field inside grow
|
|
}
|
|
|
|
.mx_Field {
|
|
margin: 0;
|
|
}
|
|
|
|
.mx_DMInviteDialog_goButton {
|
|
width: 48px;
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
.mx_DMInviteDialog_section {
|
|
padding-bottom: 10px;
|
|
|
|
h3 {
|
|
font-size: 12px;
|
|
color: $muted-fg-color;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
|
|
.mx_DMInviteDialog_roomTile {
|
|
cursor: pointer;
|
|
padding: 5px 10px;
|
|
|
|
&:hover {
|
|
background-color: $user-tile-hover-bg-color;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
* {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.mx_DMInviteDialog_roomTile_name {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
color: $primary-fg-color;
|
|
margin-left: 7px;
|
|
}
|
|
|
|
.mx_DMInviteDialog_roomTile_userId {
|
|
font-size: 12px;
|
|
color: $muted-fg-color;
|
|
margin-left: 7px;
|
|
}
|
|
|
|
.mx_DMInviteDialog_roomTile_time {
|
|
text-align: right;
|
|
font-size: 12px;
|
|
color: $muted-fg-color;
|
|
float: right;
|
|
line-height: 36px; // Height of the avatar to keep the time vertically aligned
|
|
}
|
|
}
|
|
|