2020-08-06 17:38:26 +02:00
|
|
|
/*
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
2020-09-16 01:19:52 +02:00
|
|
|
@import '../color-scheme';
|
2020-08-06 17:38:26 +02:00
|
|
|
|
|
|
|
.userPreview {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
> .avatar {
|
2020-09-16 14:58:14 +02:00
|
|
|
margin-bottom: 8px;
|
2020-08-06 17:38:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2020-09-16 14:58:14 +02:00
|
|
|
font-size: 24px;
|
2020-08-06 17:38:26 +02:00
|
|
|
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;
|
2020-09-16 01:19:52 +02:00
|
|
|
height: 32px;
|
|
|
|
width: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.centeredMiniUserPreview {
|
|
|
|
h1 {
|
|
|
|
width: unset;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
img {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-08-06 17:38:26 +02:00
|
|
|
}
|
|
|
|
}
|