2019-07-25 16:24:03 +00:00
|
|
|
@import './mixins';
|
|
|
|
|
|
|
|
@keyframes panel--in {
|
|
|
|
from {
|
|
|
|
transform: translateX(500px);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
transform: translateX(0);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-19 07:09:34 +00:00
|
|
|
.conversation {
|
2018-07-09 21:29:13 +00:00
|
|
|
background-color: $color-white;
|
2016-03-18 18:11:36 +00:00
|
|
|
height: 100%;
|
2017-07-25 01:43:35 +00:00
|
|
|
position: relative;
|
|
|
|
|
2019-07-25 16:24:03 +00:00
|
|
|
.panel {
|
2016-03-21 22:37:53 +00:00
|
|
|
height: calc(100% - #{$header-height});
|
2016-03-23 22:28:31 +00:00
|
|
|
overflow-y: scroll;
|
2019-07-25 16:24:03 +00:00
|
|
|
z-index: 1;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 48px;
|
|
|
|
width: 100%;
|
|
|
|
height: calc(100% - 48px);
|
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
2019-05-31 22:42:01 +00:00
|
|
|
background-color: $color-gray-95;
|
2019-07-25 16:24:03 +00:00
|
|
|
}
|
2018-04-26 23:06:13 +00:00
|
|
|
}
|
2016-03-23 20:40:21 +00:00
|
|
|
|
2018-04-26 23:06:13 +00:00
|
|
|
.panel {
|
2019-07-25 16:24:03 +00:00
|
|
|
&:not(.main) {
|
|
|
|
animation: panel--in 250ms ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--static {
|
|
|
|
animation: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--remove {
|
|
|
|
transform: translateX(500px);
|
|
|
|
opacity: 0;
|
|
|
|
transition: all 250ms ease-out;
|
|
|
|
}
|
|
|
|
|
2016-03-23 20:40:21 +00:00
|
|
|
.container {
|
|
|
|
padding-top: 20px;
|
2017-07-03 18:52:12 +00:00
|
|
|
max-width: 750px;
|
2016-03-23 20:40:21 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
}
|
2018-04-26 23:06:13 +00:00
|
|
|
|
2019-07-25 16:24:03 +00:00
|
|
|
.main.panel {
|
2016-01-21 23:45:13 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2016-03-23 20:40:21 +00:00
|
|
|
overflow: initial;
|
2018-04-26 23:06:13 +00:00
|
|
|
}
|
2016-01-21 23:31:37 +00:00
|
|
|
|
2018-04-26 23:06:13 +00:00
|
|
|
.main.panel {
|
2019-05-31 22:42:01 +00:00
|
|
|
.timeline-placeholder {
|
2016-01-21 23:45:13 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
position: relative;
|
2016-03-23 20:40:21 +00:00
|
|
|
max-width: 100%;
|
|
|
|
margin: 0;
|
2019-05-31 22:42:01 +00:00
|
|
|
margin-bottom: 10px;
|
2016-01-21 23:45:13 +00:00
|
|
|
|
2019-05-31 22:42:01 +00:00
|
|
|
.timeline-wrapper {
|
2018-08-11 00:15:00 +00:00
|
|
|
-webkit-padding-start: 0px;
|
2016-01-21 23:45:13 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2016-01-22 00:02:29 +00:00
|
|
|
margin: 0;
|
2019-05-31 22:42:01 +00:00
|
|
|
padding: 0;
|
2017-09-07 16:57:47 +00:00
|
|
|
overflow-y: auto;
|
2018-08-11 00:15:00 +00:00
|
|
|
overflow-x: hidden;
|
2016-01-21 23:45:13 +00:00
|
|
|
}
|
2016-01-21 23:31:37 +00:00
|
|
|
}
|
2015-06-16 20:43:40 +00:00
|
|
|
}
|
2015-02-19 07:09:34 +00:00
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
// Make sure the main panel is hidden when other panels are in the dom
|
|
|
|
.panel + .main.panel {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.message-detail-wrapper {
|
|
|
|
height: calc(100% - 48px);
|
|
|
|
width: 100%;
|
2018-07-18 17:42:06 +00:00
|
|
|
overflow-y: auto;
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
2017-05-31 23:08:32 +00:00
|
|
|
.discussion-container {
|
2018-07-09 21:29:13 +00:00
|
|
|
background-color: $color-white;
|
2017-05-31 23:08:32 +00:00
|
|
|
}
|
|
|
|
|
2015-02-27 02:10:04 +00:00
|
|
|
.key-verification {
|
2016-03-24 19:33:41 +00:00
|
|
|
label {
|
|
|
|
display: block;
|
2016-09-19 09:52:50 +00:00
|
|
|
margin: 10px 0;
|
2016-08-24 22:15:55 +00:00
|
|
|
font-size: $font-size-small;
|
2016-03-24 19:33:41 +00:00
|
|
|
}
|
2016-03-23 19:33:50 +00:00
|
|
|
|
2017-06-16 23:05:29 +00:00
|
|
|
.icon {
|
|
|
|
height: 1.25em;
|
|
|
|
width: 1.25em;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&.verified {
|
2018-07-09 21:29:13 +00:00
|
|
|
@include color-svg('../images/verified-check.svg', $color-light-90);
|
2017-06-16 23:05:29 +00:00
|
|
|
}
|
|
|
|
&.shield {
|
2018-07-09 21:29:13 +00:00
|
|
|
@include color-svg('../images/shield.svg', $color-light-90);
|
2017-06-16 23:05:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-04 20:07:52 +00:00
|
|
|
.key,
|
|
|
|
.placeholder {
|
2015-02-27 02:10:04 +00:00
|
|
|
padding: 0 1em;
|
2015-12-11 19:13:01 +00:00
|
|
|
-webkit-user-select: text;
|
2015-02-27 02:10:04 +00:00
|
|
|
}
|
2016-01-20 03:01:47 +00:00
|
|
|
.key {
|
|
|
|
font-family: monospace;
|
2016-03-22 01:18:10 +00:00
|
|
|
padding: 10px;
|
2017-05-23 22:22:02 +00:00
|
|
|
margin: 20px auto 20px auto;
|
|
|
|
width: 16em;
|
2016-03-22 01:18:10 +00:00
|
|
|
background: $grey_l;
|
|
|
|
border: solid 1px $grey_l2;
|
2016-04-01 21:24:13 +00:00
|
|
|
border-radius: $border-radius;
|
2016-01-20 03:01:47 +00:00
|
|
|
}
|
|
|
|
.placeholder {
|
2016-01-18 00:18:55 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2016-09-19 09:52:50 +00:00
|
|
|
.qr {
|
|
|
|
border-radius: 200px;
|
|
|
|
border: solid 1px $grey_l2;
|
|
|
|
width: 150px;
|
|
|
|
height: 150px;
|
|
|
|
text-align: center;
|
|
|
|
padding: 25px;
|
|
|
|
margin: 10px auto;
|
2016-09-19 21:13:27 +00:00
|
|
|
canvas {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-09-19 09:52:50 +00:00
|
|
|
img {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2017-06-10 19:18:24 +00:00
|
|
|
|
2017-06-30 00:32:40 +00:00
|
|
|
.summary {
|
|
|
|
margin: 30px 0 10px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2017-06-10 19:18:24 +00:00
|
|
|
div.verify {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
button.verify {
|
|
|
|
border-radius: 5px;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 10px;
|
2017-06-30 00:32:40 +00:00
|
|
|
margin: 0;
|
2017-06-10 19:18:24 +00:00
|
|
|
}
|
2015-02-27 02:10:04 +00:00
|
|
|
}
|
2015-06-16 20:43:40 +00:00
|
|
|
|
2018-11-14 19:10:32 +00:00
|
|
|
.typing-bubble-wrapper {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2018-05-23 19:15:46 +00:00
|
|
|
.contact-detail-pane {
|
|
|
|
overflow-y: scroll;
|
2018-06-27 20:53:49 +00:00
|
|
|
padding-top: 40px;
|
|
|
|
padding-bottom: 40px;
|
2018-05-23 19:15:46 +00:00
|
|
|
}
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
.bottom-bar .module-quote {
|
2018-04-23 22:36:47 +00:00
|
|
|
margin: 0;
|
2018-10-09 16:31:32 +00:00
|
|
|
|
|
|
|
border-left-style: none;
|
2018-04-18 20:06:33 +00:00
|
|
|
}
|
|
|
|
|
2018-04-18 21:48:57 +00:00
|
|
|
// We need to use the wrapper because the conversation view calculates the height of all
|
|
|
|
// things in the composition area. A margin on an inner div won't be included in that
|
|
|
|
// height calculation.
|
2018-04-18 20:06:33 +00:00
|
|
|
.bottom-bar .quote-wrapper {
|
2019-08-06 19:18:37 +00:00
|
|
|
margin-left: 18px;
|
|
|
|
margin-right: 18px;
|
2019-01-10 20:26:28 +00:00
|
|
|
margin-top: 3px;
|
2016-03-23 19:33:50 +00:00
|
|
|
}
|
|
|
|
|
2019-01-16 03:03:56 +00:00
|
|
|
.bottom-bar .preview-wrapper {
|
|
|
|
margin-top: 3px;
|
2019-08-06 19:18:37 +00:00
|
|
|
margin-left: 12px;
|
|
|
|
margin-right: 12px;
|
2019-01-16 03:03:56 +00:00
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
2015-01-20 02:44:34 +00:00
|
|
|
.bottom-bar {
|
2016-03-22 00:17:39 +00:00
|
|
|
box-sizing: content-box;
|
2015-06-16 20:43:40 +00:00
|
|
|
$button-width: 36px;
|
2017-10-30 20:54:55 +00:00
|
|
|
|
2016-03-21 06:15:21 +00:00
|
|
|
form.active {
|
2018-07-09 21:29:13 +00:00
|
|
|
textarea {
|
|
|
|
border: solid 1px $blue;
|
|
|
|
}
|
2016-03-21 06:15:21 +00:00
|
|
|
}
|
|
|
|
|
2016-03-18 20:09:45 +00:00
|
|
|
form.send {
|
2019-01-10 20:26:28 +00:00
|
|
|
margin-bottom: 0px;
|
2018-07-09 21:29:13 +00:00
|
|
|
background: $color-white;
|
2018-04-26 01:32:46 +00:00
|
|
|
|
|
|
|
&.video-attachment {
|
|
|
|
.image-container {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.outer {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
.play.icon {
|
|
|
|
height: 30px;
|
|
|
|
width: 30px;
|
|
|
|
|
|
|
|
@include color-svg('../images/play.svg', white);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-03-18 20:09:45 +00:00
|
|
|
}
|
2015-01-20 02:44:34 +00:00
|
|
|
|
2016-08-15 22:36:29 +00:00
|
|
|
.flex {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
.send-message {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-30 01:19:51 +00:00
|
|
|
.choose-file {
|
2015-01-25 09:18:10 +00:00
|
|
|
float: left;
|
2015-10-30 01:19:51 +00:00
|
|
|
height: 36px;
|
2015-01-20 02:44:34 +00:00
|
|
|
}
|
2015-06-16 20:43:40 +00:00
|
|
|
.send-message {
|
|
|
|
display: block;
|
|
|
|
max-height: 100px;
|
|
|
|
padding: 10px;
|
2019-01-10 20:26:28 +00:00
|
|
|
margin-top: 3px;
|
2018-07-09 21:29:13 +00:00
|
|
|
margin-bottom: 6px;
|
|
|
|
border-radius: 20px;
|
|
|
|
background-color: $color-light-02;
|
|
|
|
color: $color-light-90;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
2015-06-16 20:43:40 +00:00
|
|
|
outline: 0;
|
2015-06-17 21:06:19 +00:00
|
|
|
resize: none;
|
2015-12-07 07:26:27 +00:00
|
|
|
font-size: 1em;
|
2016-01-20 04:15:12 +00:00
|
|
|
font-family: inherit;
|
2016-08-15 22:36:29 +00:00
|
|
|
|
2018-05-04 20:07:52 +00:00
|
|
|
&[disabled='disabled'] {
|
2016-08-15 22:36:29 +00:00
|
|
|
background: transparent;
|
|
|
|
}
|
2014-11-07 08:17:27 +00:00
|
|
|
}
|
2016-08-15 22:36:29 +00:00
|
|
|
.capture-audio {
|
|
|
|
float: right;
|
|
|
|
height: 36px;
|
|
|
|
}
|
2017-05-26 16:50:23 +00:00
|
|
|
.android-length-warning {
|
|
|
|
padding: 10px;
|
2018-05-04 20:07:52 +00:00
|
|
|
max-width: 150px;
|
2017-05-26 16:50:23 +00:00
|
|
|
}
|
2015-01-11 11:27:22 +00:00
|
|
|
}
|
2015-02-14 00:21:39 +00:00
|
|
|
|
2015-03-03 00:31:04 +00:00
|
|
|
.toast {
|
|
|
|
position: absolute;
|
2018-08-15 19:31:29 +00:00
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, 0);
|
|
|
|
bottom: 62px;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
border-radius: 4px;
|
2016-09-01 22:09:24 +00:00
|
|
|
z-index: 100;
|
2018-08-15 19:31:29 +00:00
|
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 18px;
|
|
|
|
letter-spacing: 0;
|
|
|
|
|
2018-10-04 01:12:42 +00:00
|
|
|
background-color: $color-gray-75;
|
2018-08-15 19:31:29 +00:00
|
|
|
color: $color-white;
|
|
|
|
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.08);
|
2015-03-03 00:31:04 +00:00
|
|
|
}
|
2015-06-16 20:43:40 +00:00
|
|
|
|
2015-05-26 23:54:21 +00:00
|
|
|
.confirmation-dialog {
|
2016-02-19 01:28:34 +00:00
|
|
|
.content {
|
2016-01-23 16:00:07 +00:00
|
|
|
max-width: 350px;
|
|
|
|
margin: 100px auto;
|
|
|
|
padding: 1em;
|
|
|
|
background: white;
|
2016-04-01 21:24:13 +00:00
|
|
|
border-radius: $border-radius;
|
2016-01-23 16:00:07 +00:00
|
|
|
overflow: auto;
|
2017-05-22 21:34:57 +00:00
|
|
|
box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.3);
|
2015-03-03 02:27:14 +00:00
|
|
|
|
2016-01-23 16:00:07 +00:00
|
|
|
.buttons {
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
|
|
button {
|
|
|
|
float: right;
|
|
|
|
margin-left: 10px;
|
|
|
|
background-color: $grey_l;
|
2016-04-01 21:24:13 +00:00
|
|
|
border-radius: $border-radius;
|
2016-01-23 16:00:07 +00:00
|
|
|
padding: 5px 8px;
|
2016-01-24 11:53:30 +00:00
|
|
|
border: 1px solid $grey_l2;
|
2016-01-23 16:00:07 +00:00
|
|
|
|
|
|
|
&:hover {
|
2016-01-24 11:53:30 +00:00
|
|
|
background-color: $grey_l2;
|
|
|
|
border-color: $grey_l3;
|
2016-01-23 16:00:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-06-16 20:43:40 +00:00
|
|
|
}
|
2015-05-26 23:54:21 +00:00
|
|
|
}
|
2018-07-03 22:33:50 +00:00
|
|
|
|
|
|
|
.permissions-popup,
|
|
|
|
.debug-log-window {
|
|
|
|
.modal {
|
|
|
|
background-color: transparent;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.confirmation-dialog .content {
|
|
|
|
box-shadow: 0px 0px 0px 0px;
|
|
|
|
max-width: 1000px;
|
|
|
|
margin: 0;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.conversation-loading-screen {
|
|
|
|
z-index: 99;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
background-color: $color-white;
|
2017-06-16 21:56:38 +00:00
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.content {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
2017-06-16 21:56:38 +00:00
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.container {
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
width: 120px;
|
|
|
|
transform: translate(-50%, 0);
|
2016-09-18 06:55:05 +00:00
|
|
|
}
|
2017-05-17 21:32:03 +00:00
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.dot {
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
border: 3px solid $blue;
|
|
|
|
border-radius: 50%;
|
|
|
|
float: left;
|
|
|
|
margin: 0 6px;
|
|
|
|
transform: scale(0);
|
2017-06-15 19:27:41 +00:00
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
animation: loading 1500ms ease infinite 0ms;
|
|
|
|
&:nth-child(2) {
|
|
|
|
animation: loading 1500ms ease infinite 333ms;
|
|
|
|
}
|
|
|
|
&:nth-child(3) {
|
|
|
|
animation: loading 1500ms ease infinite 666ms;
|
|
|
|
}
|
2017-06-15 19:27:41 +00:00
|
|
|
}
|
|
|
|
}
|