2020-02-14 05:01:39 +01:00
|
|
|
.conversation-content-right {
|
|
|
|
transition: $session-transition-duration;
|
|
|
|
width: 22vw;
|
|
|
|
margin-right: -22vw;
|
|
|
|
}
|
|
|
|
|
2020-01-12 23:58:14 +01:00
|
|
|
.group-settings {
|
2020-01-13 05:50:18 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100vh;
|
2020-01-15 06:34:07 +01:00
|
|
|
width: 22vw;
|
2020-01-13 05:50:18 +01:00
|
|
|
flex-shrink: 0;
|
2020-08-25 04:13:43 +02:00
|
|
|
@include themify($themes) {
|
|
|
|
background: themed('leftpaneOverlayBackground');
|
|
|
|
border-left: themed('borderActionPanel');
|
|
|
|
}
|
2020-01-13 05:50:18 +01:00
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&-header {
|
|
|
|
margin-top: $session-margin-lg;
|
|
|
|
width: -webkit-fill-available;
|
2020-01-12 23:58:14 +01:00
|
|
|
display: flex;
|
2020-01-13 05:50:18 +01:00
|
|
|
flex-direction: row;
|
2020-01-12 23:58:14 +01:00
|
|
|
flex-shrink: 0;
|
|
|
|
|
2020-01-13 05:50:18 +01:00
|
|
|
.module-avatar {
|
|
|
|
margin: auto;
|
2020-01-12 23:58:14 +01:00
|
|
|
}
|
|
|
|
|
2020-02-12 04:29:07 +01:00
|
|
|
.session-icon-button,
|
|
|
|
.invite-friends-container {
|
2020-01-13 05:50:18 +01:00
|
|
|
margin: 0 $session-margin-md;
|
2020-01-12 23:58:14 +01:00
|
|
|
}
|
2020-01-13 05:50:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
|
|
|
margin: $session-margin-md 0;
|
|
|
|
min-height: 4rem;
|
|
|
|
width: inherit;
|
2020-08-25 04:13:43 +02:00
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('textColor');
|
|
|
|
background: themed('cellBackground');
|
|
|
|
border: themed('borderActionPanel');
|
|
|
|
}
|
2020-01-13 05:50:18 +01:00
|
|
|
text-align: center;
|
2020-01-24 05:34:29 +01:00
|
|
|
display: none;
|
2020-01-13 05:50:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&-item {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
min-height: 3rem;
|
|
|
|
font-size: 0.8rem;
|
2020-08-25 04:13:43 +02:00
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('textColor');
|
|
|
|
background: themed('cellBackground');
|
|
|
|
border-top: themed('borderActionPanel');
|
|
|
|
border-bottom: themed('borderActionPanel');
|
|
|
|
}
|
2020-01-13 05:50:18 +01:00
|
|
|
width: -webkit-fill-available;
|
|
|
|
padding: 0 $session-margin-md;
|
|
|
|
transition: $session-transition-duration;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
2020-08-25 04:13:43 +02:00
|
|
|
@include themify($themes) {
|
|
|
|
background: themed('clickableHovered');
|
|
|
|
}
|
2020-01-12 23:58:14 +01:00
|
|
|
}
|
2020-01-13 05:50:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// no double border (top and bottom) between two elements
|
|
|
|
&-item + &-item {
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// bottom button
|
|
|
|
.session-button.square-outline.danger {
|
|
|
|
margin-top: auto;
|
|
|
|
width: 100%;
|
2020-08-25 07:57:37 +02:00
|
|
|
height: 51px;
|
2020-01-13 05:50:18 +01:00
|
|
|
flex-shrink: 0;
|
2020-01-16 05:04:44 +01:00
|
|
|
align-items: center;
|
2020-08-25 04:13:43 +02:00
|
|
|
@include themify($themes) {
|
|
|
|
border: none;
|
|
|
|
border-top: themed('borderActionPanel');
|
|
|
|
}
|
2020-01-13 05:50:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-empty-state {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-attachment-section__items {
|
2020-01-30 02:03:43 +01:00
|
|
|
&-media {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-01-30 03:24:20 +01:00
|
|
|
&-documents {
|
2020-01-30 02:03:43 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2020-01-13 05:50:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-media {
|
|
|
|
&-gallery {
|
|
|
|
&__tab-container {
|
|
|
|
padding-top: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__tab {
|
2020-08-25 04:13:43 +02:00
|
|
|
@include themify($themes) {
|
|
|
|
color: themed('textColor');
|
|
|
|
}
|
2020-01-13 05:50:18 +01:00
|
|
|
font-weight: bold;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
padding: 0.6rem;
|
|
|
|
opacity: 0.8;
|
|
|
|
|
|
|
|
&--active {
|
|
|
|
border-bottom: none;
|
|
|
|
opacity: 1;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: ''; /* This is necessary for the pseudo element to work. */
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 70%;
|
2020-01-15 06:34:07 +01:00
|
|
|
padding-top: 0.5rem;
|
|
|
|
border-bottom: $session-element-border-green;
|
2020-01-13 05:50:18 +01:00
|
|
|
}
|
2020-01-12 23:58:14 +01:00
|
|
|
}
|
2020-01-13 05:50:18 +01:00
|
|
|
}
|
2020-01-12 23:58:14 +01:00
|
|
|
|
2020-01-13 05:50:18 +01:00
|
|
|
&__content {
|
|
|
|
padding: $session-margin-xs;
|
2020-01-12 23:58:14 +01:00
|
|
|
|
2020-01-13 05:50:18 +01:00
|
|
|
.module-media-grid-item__image,
|
|
|
|
.module-media-grid-item {
|
2020-01-16 02:05:09 +01:00
|
|
|
height: calc(
|
|
|
|
22vw / 3.5
|
2020-01-23 06:01:24 +01:00
|
|
|
); //.group-settings is 22vw and we want three rows with some space so divide it by 3.5
|
2020-01-16 02:05:09 +01:00
|
|
|
width: calc(
|
|
|
|
22vw / 3.5
|
2020-01-23 06:01:24 +01:00
|
|
|
); //.group-settings is 22vw and we want three rows with some space so divide it by 3.5
|
|
|
|
margin: auto;
|
2020-01-12 23:58:14 +01:00
|
|
|
}
|
2020-01-13 05:50:18 +01:00
|
|
|
}
|
2020-01-12 23:58:14 +01:00
|
|
|
}
|
2020-01-13 05:50:18 +01:00
|
|
|
}
|
2020-01-12 23:58:14 +01:00
|
|
|
}
|
2020-01-13 05:45:02 +01:00
|
|
|
|
|
|
|
.conversation-content {
|
2020-01-13 05:50:18 +01:00
|
|
|
display: flex;
|
|
|
|
height: inherit;
|
2020-01-13 05:45:02 +01:00
|
|
|
|
2020-01-13 05:50:18 +01:00
|
|
|
&-left {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2020-01-13 05:45:02 +01:00
|
|
|
}
|