2020-02-17 05:16:24 +01:00
|
|
|
$composition-container-height: 60px;
|
|
|
|
|
2020-02-27 06:29:01 +01:00
|
|
|
|
2020-02-28 01:48:21 +01:00
|
|
|
|
|
|
|
|
2020-02-27 06:29:01 +01:00
|
|
|
@keyframes fadein {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-28 01:48:21 +01:00
|
|
|
@keyframes toShadow {
|
|
|
|
from {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@keyframes fromShadow {
|
|
|
|
from {
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-27 06:29:01 +01:00
|
|
|
|
2020-02-17 05:16:24 +01:00
|
|
|
.conversation-item {
|
2020-02-19 02:05:48 +01:00
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
2020-02-28 01:48:21 +01:00
|
|
|
outline: none;
|
|
|
|
|
|
|
|
.selection-mode {
|
|
|
|
.messages-container > *:not(.message-selected) {
|
|
|
|
animation: toShadow $session-transition-duration;
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
|
|
|
|
.conversation-header{
|
|
|
|
.conversation-header{
|
|
|
|
&--items-wrapper{
|
|
|
|
.session-icon {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
user-select: none;
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.conversation-header {
|
|
|
|
&--items-wrapper{
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-selection-overlay {
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
|
|
|
margin: 0px $session-margin-md;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
height: $main-view-header-height;
|
|
|
|
|
|
|
|
.close-button {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.session-button.default.danger {
|
|
|
|
display: flex;
|
|
|
|
width: 80px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.message-selection-overlay div[role='button'] {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-selection-overlay .button-group {
|
|
|
|
float: right;
|
|
|
|
}
|
2020-02-17 05:16:24 +01:00
|
|
|
}
|
|
|
|
|
2020-02-28 01:48:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2020-02-17 05:16:24 +01:00
|
|
|
.session-conversation-wrapper {
|
2020-02-19 02:05:48 +01:00
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: $session-shade-2;
|
2020-02-17 05:16:24 +01:00
|
|
|
}
|
|
|
|
|
2020-02-25 01:29:44 +01:00
|
|
|
.messages-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-direction: column;
|
|
|
|
position: relative;
|
2020-02-27 06:29:01 +01:00
|
|
|
|
|
|
|
&--blocking-overlay{
|
|
|
|
background-color: rgba(0,0,0,0.80);
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
|
|
|
}
|
2020-02-25 01:29:44 +01:00
|
|
|
}
|
2020-02-19 02:05:48 +01:00
|
|
|
.messages-container {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-direction: column;
|
2020-02-25 01:29:44 +01:00
|
|
|
position: relative;
|
2020-02-19 03:54:59 +01:00
|
|
|
overflow-y: auto;
|
|
|
|
scrollbar-width: 4px;
|
2020-02-19 02:05:48 +01:00
|
|
|
padding: $session-margin-lg;
|
2020-02-19 03:54:59 +01:00
|
|
|
|
|
|
|
&__loading {
|
2020-02-25 01:29:44 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
right: 0px;
|
|
|
|
left: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
z-index: 100;
|
|
|
|
background-color: $session-shade-2;
|
2020-02-19 03:54:59 +01:00
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
2020-02-17 05:16:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.composition-container {
|
2020-02-19 02:05:48 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
background-color: $session-shade-4;
|
|
|
|
padding: 0px $session-margin-md;
|
2020-02-27 02:01:08 +01:00
|
|
|
min-height: min-content;
|
2020-02-19 02:05:48 +01:00
|
|
|
|
|
|
|
& > .session-icon-button {
|
|
|
|
margin-right: $session-margin-sm;
|
|
|
|
}
|
|
|
|
.session-icon-button {
|
2020-02-27 06:29:01 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2020-02-19 02:05:48 +01:00
|
|
|
opacity: 0.8;
|
|
|
|
|
|
|
|
.send {
|
|
|
|
background-color: $session-shade-14;
|
|
|
|
padding: $session-margin-xs;
|
|
|
|
border-radius: 50%;
|
|
|
|
height: 30px;
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.send-message-input {
|
2020-02-17 05:16:24 +01:00
|
|
|
display: flex;
|
2020-02-19 02:05:48 +01:00
|
|
|
flex-grow: 1;
|
2020-02-17 05:16:24 +01:00
|
|
|
min-height: $composition-container-height;
|
2020-02-19 02:05:48 +01:00
|
|
|
padding: $composition-container-height / 3 0px;
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
font-family: 'SF Pro Text';
|
|
|
|
min-height: $composition-container-height / 3;
|
|
|
|
max-height: 2 * $composition-container-height;
|
|
|
|
margin-right: $session-margin-md;
|
|
|
|
color: $session-color-white;
|
|
|
|
resize: none;
|
2020-02-17 05:16:24 +01:00
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
2020-02-19 02:05:48 +01:00
|
|
|
background: transparent;
|
|
|
|
outline: none;
|
|
|
|
border: none;
|
|
|
|
font-size: $session-font-md;
|
|
|
|
line-height: $session-font-h2;
|
|
|
|
letter-spacing: 0.5px;
|
2020-02-17 05:16:24 +01:00
|
|
|
}
|
2020-02-19 02:05:48 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.session-emoji-panel {
|
|
|
|
position: absolute;
|
2020-02-27 00:01:18 +01:00
|
|
|
bottom: 68px;
|
|
|
|
right: 0px;
|
|
|
|
min-height: 400px;
|
|
|
|
min-width: 400px;
|
|
|
|
background-color: $session-shade-4;
|
|
|
|
border: 1px solid $session-shade-6;
|
|
|
|
border-top-right-radius: 3px;
|
|
|
|
border-top-left-radius: 3px;
|
|
|
|
padding: $session-margin-lg;
|
2020-02-17 05:16:24 +01:00
|
|
|
}
|
|
|
|
|
2020-02-19 02:05:48 +01:00
|
|
|
.session-progress {
|
|
|
|
position: relative;
|
|
|
|
background-color: rgba(30, 30, 30, 0.5);
|
|
|
|
|
|
|
|
&__progress {
|
|
|
|
transition: opacity 0.15s;
|
|
|
|
position: absolute;
|
|
|
|
left: 0px;
|
|
|
|
font-size: 0px;
|
|
|
|
height: 3px;
|
|
|
|
|
|
|
|
background-color: $session-color-green;
|
|
|
|
}
|
2020-02-27 00:01:18 +01:00
|
|
|
}
|
2020-02-27 06:29:01 +01:00
|
|
|
|
|
|
|
|
|
|
|
.session-recording {
|
|
|
|
height: $composition-container-height;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
$actions-element-size: 45px;
|
|
|
|
|
|
|
|
&--actions {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
background-color: $session-shade-5;
|
|
|
|
width: $actions-element-size;
|
|
|
|
height: $actions-element-size;
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
|
|
.session-icon-button {
|
|
|
|
animation: fadein $session-transition-duration;
|
|
|
|
opacity: 1;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: $actions-element-size;
|
|
|
|
height: $actions-element-size;
|
|
|
|
|
|
|
|
.play {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-28 03:15:00 +01:00
|
|
|
&--visualisation {
|
|
|
|
z-index: 1000;
|
|
|
|
width: 100%;
|
2020-03-03 05:07:48 +01:00
|
|
|
padding: 0px $session-margin-lg;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
max-width: 850px;
|
2020-02-28 03:15:00 +01:00
|
|
|
}
|
|
|
|
|
2020-02-27 06:29:01 +01:00
|
|
|
&--delete {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: $composition-container-height + $session-margin-md;
|
|
|
|
|
|
|
|
.session-button.danger-alt{
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: 173px;
|
|
|
|
font-weight: 300;
|
|
|
|
font-family: "SF Pro Text";
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
2020-03-03 05:07:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.freq-band-item{
|
|
|
|
width: 5px;
|
|
|
|
margin: 0px 3px;
|
|
|
|
border-radius: 15px;
|
|
|
|
display: inline-block;
|
|
|
|
background-color: #AFAFAF;
|
|
|
|
transition: height 0.05s;
|
2020-02-27 06:29:01 +01:00
|
|
|
}
|