2019-07-25 12:24:03 -04:00
|
|
|
@import './mixins';
|
|
|
|
|
|
|
|
@keyframes panel--in {
|
|
|
|
from {
|
|
|
|
transform: translateX(500px);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
transform: translateX(0);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-18 23:09:34 -08:00
|
|
|
.conversation {
|
2019-09-16 11:15:54 -07:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
2017-07-24 18:43:35 -07:00
|
|
|
|
2019-10-04 11:06:17 -07:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-95;
|
|
|
|
}
|
|
|
|
|
2019-07-25 12:24:03 -04:00
|
|
|
.panel {
|
2016-03-21 15:37:53 -07:00
|
|
|
height: calc(100% - #{$header-height});
|
2016-03-23 15:28:31 -07:00
|
|
|
overflow-y: scroll;
|
2019-07-25 12:24:03 -04: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 15:42:01 -07:00
|
|
|
background-color: $color-gray-95;
|
2019-07-25 12:24:03 -04:00
|
|
|
}
|
2018-04-26 19:06:13 -04:00
|
|
|
}
|
2016-03-23 13:40:21 -07:00
|
|
|
|
2018-04-26 19:06:13 -04:00
|
|
|
.panel {
|
2019-07-25 12:24:03 -04: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 13:40:21 -07:00
|
|
|
.container {
|
|
|
|
padding-top: 20px;
|
2017-07-03 11:52:12 -07:00
|
|
|
max-width: 750px;
|
2016-03-23 13:40:21 -07:00
|
|
|
margin: 0 auto;
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
}
|
2018-04-26 19:06:13 -04:00
|
|
|
|
2019-07-25 12:24:03 -04:00
|
|
|
.main.panel {
|
2016-01-21 23:45:13 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2016-03-23 13:40:21 -07:00
|
|
|
overflow: initial;
|
2018-04-26 19:06:13 -04:00
|
|
|
}
|
2016-01-21 23:31:37 +00:00
|
|
|
|
2018-04-26 19:06:13 -04:00
|
|
|
.main.panel {
|
2019-05-31 15:42:01 -07:00
|
|
|
.timeline-placeholder {
|
2016-01-21 23:45:13 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
position: relative;
|
2016-03-23 13:40:21 -07:00
|
|
|
max-width: 100%;
|
|
|
|
margin: 0;
|
2016-01-21 23:45:13 +00:00
|
|
|
|
2019-05-31 15:42:01 -07:00
|
|
|
.timeline-wrapper {
|
2018-08-10 17:15:00 -07: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 15:42:01 -07:00
|
|
|
padding: 0;
|
2017-09-07 18:57:47 +02:00
|
|
|
overflow-y: auto;
|
2018-08-10 17:15:00 -07:00
|
|
|
overflow-x: hidden;
|
2016-01-21 23:45:13 +00:00
|
|
|
}
|
2016-01-21 23:31:37 +00:00
|
|
|
}
|
2015-06-16 22:43:40 +02:00
|
|
|
}
|
2015-02-18 23:09:34 -08:00
|
|
|
}
|
|
|
|
|
2019-05-16 15:32:11 -07:00
|
|
|
// Make sure the main panel is hidden when other panels are in the dom
|
|
|
|
.panel + .main.panel {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-07-09 14:29:13 -07:00
|
|
|
.message-detail-wrapper {
|
|
|
|
height: calc(100% - 48px);
|
|
|
|
width: 100%;
|
2018-07-18 10:42:06 -07:00
|
|
|
overflow-y: auto;
|
2018-07-09 14:29:13 -07:00
|
|
|
}
|
|
|
|
|
2017-05-31 16:08:32 -07:00
|
|
|
.discussion-container {
|
2019-10-04 11:06:17 -07:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-95;
|
|
|
|
}
|
2017-05-31 16:08:32 -07:00
|
|
|
}
|
|
|
|
|
2015-02-26 18:10:04 -08:00
|
|
|
.key-verification {
|
2019-11-07 13:36:16 -08:00
|
|
|
.container {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2016-03-24 12:33:41 -07:00
|
|
|
label {
|
|
|
|
display: block;
|
2016-09-19 02:52:50 -07:00
|
|
|
margin: 10px 0;
|
2016-03-24 12:33:41 -07:00
|
|
|
}
|
2016-03-23 12:33:50 -07:00
|
|
|
|
2017-06-16 16:05:29 -07:00
|
|
|
.icon {
|
|
|
|
height: 1.25em;
|
|
|
|
width: 1.25em;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&.verified {
|
2019-10-04 11:06:17 -07:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/check-24.svg', $color-gray-95);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/check-24.svg', $color-gray-02);
|
|
|
|
}
|
2017-06-16 16:05:29 -07:00
|
|
|
}
|
|
|
|
&.shield {
|
2019-10-04 11:06:17 -07:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/safety-number-outline-24.svg',
|
|
|
|
$color-gray-95
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/safety-number-solid-24.svg',
|
|
|
|
$color-gray-02
|
|
|
|
);
|
|
|
|
}
|
2017-06-16 16:05:29 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-04 16:07:52 -04:00
|
|
|
.key,
|
|
|
|
.placeholder {
|
2015-02-26 18:10:04 -08:00
|
|
|
padding: 0 1em;
|
2015-12-11 11:13:01 -08:00
|
|
|
-webkit-user-select: text;
|
2015-02-26 18:10:04 -08:00
|
|
|
}
|
2016-01-19 19:01:47 -08:00
|
|
|
.key {
|
|
|
|
font-family: monospace;
|
2016-03-21 18:18:10 -07:00
|
|
|
padding: 10px;
|
2017-05-23 15:22:02 -07:00
|
|
|
margin: 20px auto 20px auto;
|
|
|
|
width: 16em;
|
2019-10-04 11:06:17 -07:00
|
|
|
border-radius: 5px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background: $color-gray-02;
|
|
|
|
border: solid 1px $color-gray-15;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-02;
|
|
|
|
background: $color-gray-90;
|
|
|
|
border: solid 1px $color-gray-45;
|
|
|
|
}
|
2016-01-19 19:01:47 -08:00
|
|
|
}
|
|
|
|
.placeholder {
|
2016-01-18 01:18:55 +01:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2016-09-19 02:52:50 -07:00
|
|
|
.qr {
|
|
|
|
border-radius: 200px;
|
2019-10-04 11:06:17 -07:00
|
|
|
border: solid 1px $color-gray-15;
|
2016-09-19 02:52:50 -07:00
|
|
|
width: 150px;
|
|
|
|
height: 150px;
|
|
|
|
text-align: center;
|
|
|
|
padding: 25px;
|
|
|
|
margin: 10px auto;
|
2016-09-19 14:13:27 -07:00
|
|
|
canvas {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-09-19 02:52:50 -07:00
|
|
|
img {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2017-06-10 12:18:24 -07:00
|
|
|
|
2017-06-29 14:32:40 -10:00
|
|
|
.summary {
|
|
|
|
margin: 30px 0 10px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2017-06-10 12:18:24 -07:00
|
|
|
div.verify {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
button.verify {
|
|
|
|
border-radius: 5px;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 10px;
|
2017-06-29 14:32:40 -10:00
|
|
|
margin: 0;
|
2017-06-10 12:18:24 -07:00
|
|
|
}
|
2015-02-26 18:10:04 -08:00
|
|
|
}
|
2015-06-16 22:43:40 +02:00
|
|
|
|
2018-11-14 11:10:32 -08:00
|
|
|
.typing-bubble-wrapper {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2018-05-23 12:15:46 -07:00
|
|
|
.contact-detail-pane {
|
|
|
|
overflow-y: scroll;
|
2018-06-27 13:53:49 -07:00
|
|
|
padding-top: 40px;
|
|
|
|
padding-bottom: 40px;
|
2018-05-23 12:15:46 -07:00
|
|
|
}
|
|
|
|
|
2019-10-04 11:06:17 -07:00
|
|
|
.bottom-bar {
|
|
|
|
.module-quote {
|
|
|
|
margin: 0;
|
2018-10-09 09:31:32 -07:00
|
|
|
|
2019-10-04 11:06:17 -07:00
|
|
|
border-left-style: none;
|
2020-04-01 12:33:16 -07:00
|
|
|
@include ios-dark-theme {
|
|
|
|
background-color: $ultramarine-brand-dark;
|
2020-04-08 11:52:33 -07:00
|
|
|
border-left-color: $color-ios-blue-tint;
|
2020-04-01 12:33:16 -07:00
|
|
|
}
|
2019-10-04 11:06:17 -07:00
|
|
|
@include ios-theme {
|
2020-04-01 12:33:16 -07:00
|
|
|
background-color: $color-ios-blue-tint;
|
|
|
|
border-left-color: $color-white;
|
2019-10-04 11:06:17 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include ios-dark-theme {
|
|
|
|
.module-quote__primary__author {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__primary__type-label {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__generic-file__text {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__primary__text {
|
|
|
|
color: $color-gray-05;
|
|
|
|
a {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-04-18 13:06:33 -07:00
|
|
|
}
|
|
|
|
|
2018-04-18 14:48:57 -07: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 13:06:33 -07:00
|
|
|
.bottom-bar .quote-wrapper {
|
2019-08-06 15:18:37 -04:00
|
|
|
margin-left: 18px;
|
|
|
|
margin-right: 18px;
|
2019-01-10 12:26:28 -08:00
|
|
|
margin-top: 3px;
|
2016-03-23 12:33:50 -07:00
|
|
|
}
|
|
|
|
|
2019-01-15 19:03:56 -08:00
|
|
|
.bottom-bar .preview-wrapper {
|
|
|
|
margin-top: 3px;
|
2019-08-06 15:18:37 -04:00
|
|
|
margin-left: 12px;
|
|
|
|
margin-right: 12px;
|
2019-01-15 19:03:56 -08:00
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
2015-01-19 16:44:34 -10:00
|
|
|
.bottom-bar {
|
2016-03-21 17:17:39 -07:00
|
|
|
box-sizing: content-box;
|
2015-06-16 22:43:40 +02:00
|
|
|
$button-width: 36px;
|
2017-10-30 13:54:55 -07:00
|
|
|
|
2016-03-20 23:15:21 -07:00
|
|
|
form.active {
|
2018-07-09 14:29:13 -07:00
|
|
|
textarea {
|
2020-03-19 17:41:47 -07:00
|
|
|
border: solid 1px $ultramarine-ui-light;
|
2018-07-09 14:29:13 -07:00
|
|
|
}
|
2016-03-20 23:15:21 -07:00
|
|
|
}
|
|
|
|
|
2016-03-18 13:09:45 -07:00
|
|
|
form.send {
|
2019-01-10 12:26:28 -08:00
|
|
|
margin-bottom: 0px;
|
2019-10-04 11:06:17 -07:00
|
|
|
@include light-theme {
|
|
|
|
background: $color-white;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-95;
|
2018-04-25 18:32:46 -07:00
|
|
|
}
|
2016-03-18 13:09:45 -07:00
|
|
|
}
|
2015-01-19 16:44:34 -10:00
|
|
|
|
2016-08-15 15:36:29 -07:00
|
|
|
.flex {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
.send-message {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-29 18:19:51 -07:00
|
|
|
.choose-file {
|
2015-01-24 23:18:10 -10:00
|
|
|
float: left;
|
2015-10-29 18:19:51 -07:00
|
|
|
height: 36px;
|
2015-01-19 16:44:34 -10:00
|
|
|
}
|
2015-06-16 22:43:40 +02:00
|
|
|
.send-message {
|
|
|
|
display: block;
|
|
|
|
max-height: 100px;
|
|
|
|
padding: 10px;
|
2019-01-10 12:26:28 -08:00
|
|
|
margin-top: 3px;
|
2018-07-09 14:29:13 -07:00
|
|
|
margin-bottom: 6px;
|
|
|
|
border-radius: 20px;
|
2019-10-04 11:06:17 -07:00
|
|
|
|
2015-06-17 23:06:19 +02:00
|
|
|
resize: none;
|
2015-12-06 23:26:27 -08:00
|
|
|
font-size: 1em;
|
2016-01-19 20:15:12 -08:00
|
|
|
font-family: inherit;
|
2016-08-15 15:36:29 -07:00
|
|
|
|
2019-10-04 11:06:17 -07:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-02;
|
|
|
|
color: $color-gray-95;
|
|
|
|
border: 1px solid $color-black-alpha-20;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-90;
|
|
|
|
color: $color-gray-02;
|
|
|
|
border: 1px solid $color-gray-60;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2018-05-04 16:07:52 -04:00
|
|
|
&[disabled='disabled'] {
|
2016-08-15 15:36:29 -07:00
|
|
|
background: transparent;
|
|
|
|
}
|
2014-11-07 00:17:27 -08:00
|
|
|
}
|
2016-08-15 15:36:29 -07:00
|
|
|
.capture-audio {
|
|
|
|
float: right;
|
|
|
|
height: 36px;
|
|
|
|
}
|
2017-05-26 18:50:23 +02:00
|
|
|
.android-length-warning {
|
|
|
|
padding: 10px;
|
2018-05-04 16:07:52 -04:00
|
|
|
max-width: 150px;
|
2017-05-26 18:50:23 +02:00
|
|
|
}
|
2015-01-11 01:27:22 -10:00
|
|
|
}
|
2015-02-13 16:21:39 -08:00
|
|
|
|
2015-03-02 16:31:04 -08:00
|
|
|
.toast {
|
|
|
|
position: absolute;
|
2018-08-15 12:31:29 -07: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 15:09:24 -07:00
|
|
|
z-index: 100;
|
2018-08-15 12:31:29 -07:00
|
|
|
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 18px;
|
|
|
|
letter-spacing: 0;
|
|
|
|
|
2019-10-04 11:06:17 -07:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
color: $color-white;
|
|
|
|
box-shadow: 0 4px 16px 0 $color-black-alpha-20,
|
|
|
|
0 0 0 0.5px $color-black-alpha-05;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-45;
|
|
|
|
color: $color-white;
|
|
|
|
box-shadow: 0 4px 16px 0 $color-white-alpha-20;
|
|
|
|
}
|
2015-03-02 16:31:04 -08:00
|
|
|
}
|
2015-06-16 22:43:40 +02:00
|
|
|
|
2020-01-09 11:57:43 -08:00
|
|
|
.toast-clickable {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2015-05-26 16:54:21 -07:00
|
|
|
.confirmation-dialog {
|
2016-02-18 17:28:34 -08:00
|
|
|
.content {
|
2016-01-23 16:00:07 +00:00
|
|
|
max-width: 350px;
|
|
|
|
margin: 100px auto;
|
|
|
|
padding: 1em;
|
2019-10-04 11:06:17 -07:00
|
|
|
|
|
|
|
border-radius: 5px;
|
2016-01-23 16:00:07 +00:00
|
|
|
overflow: auto;
|
2019-10-04 11:06:17 -07:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background: $color-white;
|
|
|
|
box-shadow: 0px 0px 15px 0px $color-black-alpha-20;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background: $color-black;
|
|
|
|
color: $color-gray-02;
|
|
|
|
box-shadow: 0px 0px 15px 0px $color-white-alpha-20;
|
|
|
|
}
|
2015-03-02 18:27:14 -08:00
|
|
|
|
2016-01-23 16:00:07 +00:00
|
|
|
.buttons {
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
|
|
button {
|
|
|
|
float: right;
|
|
|
|
margin-left: 10px;
|
|
|
|
padding: 5px 8px;
|
2019-10-04 11:06:17 -07:00
|
|
|
border-radius: 5px;
|
|
|
|
|
2019-11-21 11:16:06 -08:00
|
|
|
outline: none;
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
outline: -webkit-focus-ring-color auto 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-04 11:06:17 -07:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-02;
|
|
|
|
border: 1px solid $color-gray-15;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-90;
|
|
|
|
border: 1px solid $color-gray-45;
|
|
|
|
color: $color-gray-02;
|
|
|
|
}
|
2016-01-23 16:00:07 +00:00
|
|
|
|
|
|
|
&:hover {
|
2019-10-04 11:06:17 -07:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-15;
|
|
|
|
border-color: $color-gray-25;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
border-color: $color-gray-45;
|
|
|
|
}
|
2016-01-23 16:00:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-06-16 22:43:40 +02:00
|
|
|
}
|
2015-05-26 16:54:21 -07:00
|
|
|
}
|
2018-07-03 15:33:50 -07: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;
|
|
|
|
}
|
|
|
|
}
|