Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Redesign: small member info panel makeover #2522

Merged
merged 1 commit into from
Jan 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion res/css/views/dialogs/_EncryptedEventDialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

.mx_EncryptedEventDialog .mx_MemberDeviceInfo {
.mx_EncryptedEventDialog .mx_DeviceVerifyButtons {
float: right;
padding: 0px;
margin-right: 42px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}

.mx_EncryptedEventDialog .mx_MemberDeviceInfo_textButton {
Expand Down
15 changes: 7 additions & 8 deletions res/css/views/rooms/_MemberDeviceInfo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ limitations under the License.
*/

.mx_MemberDeviceInfo {
padding: 10px 0px;
display: flex;
padding-bottom: 10px;
}

.mx_MemberDeviceInfo.mx_DeviceVerifyButtons {
.mx_MemberDeviceInfo > .mx_DeviceVerifyButtons {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
flex-direction: column;
flex: 0 1 auto;
align-items: stretch;
}

.mx_MemberDeviceInfo_textButton {
Expand All @@ -39,16 +41,13 @@ limitations under the License.
}

.mx_MemberDeviceInfo_deviceInfo {
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(0,0,0,0.1);
margin: 0 5px 5px 8px;
}

/* "Unblacklist" is too long for a regular button: make it wider and
reduce the padding. */
.mx_EncryptedEventDialog .mx_MemberDeviceInfo_blacklist,
.mx_EncryptedEventDialog .mx_MemberDeviceInfo_unblacklist {
width: 8em;
padding-left: 1em;
padding-right: 1em;
}
Expand Down
21 changes: 12 additions & 9 deletions res/css/views/rooms/_MemberInfo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ limitations under the License.
}

.mx_MemberInfo_container {
padding: 8px;
margin: 0 16px 16px 16px;
}

.mx_MemberInfo .mx_RoomTile_nameContainer {
Expand All @@ -60,6 +60,7 @@ limitations under the License.

.mx_MemberInfo_avatar {
background: $tagpanel-bg-color;
margin-bottom: 16px;
}

.mx_MemberInfo_avatar > img {
Expand All @@ -83,15 +84,14 @@ limitations under the License.

.mx_MemberInfo h3 {