86 lines
1.6 KiB
SCSS
86 lines
1.6 KiB
SCSS
/*
|
|
Copyright 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.
|
|
*/
|
|
|
|
@import '../color-scheme';
|
|
|
|
.userPreview {
|
|
width: 100%;
|
|
|
|
> .avatar {
|
|
margin-top: 20px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 20px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
hr {
|
|
width: 100%;
|
|
margin: 0;
|
|
opacity: 0.2;
|
|
}
|
|
}
|
|
|
|
.miniUserPreview {
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
|
|
border: 1px solid $app-background;
|
|
border-radius: 16px;
|
|
padding: 6px 16px;
|
|
|
|
> div {
|
|
flex-grow: 1;
|
|
text-align: left;
|
|
}
|
|
|
|
h1 {
|
|
font-weight: normal;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
text-align: left;
|
|
}
|
|
|
|
p {
|
|
line-height: 20px;
|
|
}
|
|
|
|
.avatar {
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
height: 32px;
|
|
width: 32px;
|
|
}
|
|
|
|
&.centeredMiniUserPreview {
|
|
h1 {
|
|
width: unset;
|
|
text-align: center;
|
|
}
|
|
img {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|