2018-06-27 20:53:49 +00:00
|
|
|
// Using BEM syntax explained here: https://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/
|
|
|
|
|
2020-05-15 18:28:13 +00:00
|
|
|
.module-splash-screen {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2020-03-05 21:24:51 +00:00
|
|
|
.module-splash-screen__logo {
|
|
|
|
@include color-svg('../images/signal-logo.svg', $color-white);
|
|
|
|
margin: 24px auto;
|
|
|
|
|
|
|
|
&.module-img--256 {
|
|
|
|
height: 256px;
|
|
|
|
width: 256px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.module-img--200 {
|
|
|
|
height: 200px;
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.module-img--150 {
|
|
|
|
height: 150px;
|
|
|
|
width: 150px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.module-img--128 {
|
|
|
|
height: 128px;
|
|
|
|
width: 128px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.module-logo-blue {
|
2020-03-20 00:41:47 +00:00
|
|
|
background-color: $ultramarine-brand-light;
|
2020-03-05 21:24:51 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
// Module: Message
|
|
|
|
|
2019-05-31 22:42:01 +00:00
|
|
|
// Note: this does the same thing as module-timeline__message-container but
|
|
|
|
// can be used outside tht Timeline contact more easily.
|
|
|
|
.module-message-container {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
|
|
|
cursor: inherit;
|
2019-05-31 22:42:01 +00:00
|
|
|
width: 100%;
|
2019-08-22 21:11:36 +00:00
|
|
|
margin-top: 4px;
|
|
|
|
margin-bottom: 4px;
|
2019-05-31 22:42:01 +00:00
|
|
|
|
2019-08-07 00:40:25 +00:00
|
|
|
&::after {
|
2019-05-31 22:42:01 +00:00
|
|
|
visibility: hidden;
|
|
|
|
display: block;
|
|
|
|
font-size: 0;
|
|
|
|
content: ' ';
|
|
|
|
clear: both;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
.module-message {
|
2018-08-11 00:15:00 +00:00
|
|
|
position: relative;
|
2018-07-09 21:29:13 +00:00
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: stretch;
|
2019-11-07 21:36:16 +00:00
|
|
|
|
|
|
|
outline: none;
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message--expired {
|
|
|
|
animation: module-message__shake 0.2s linear infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes module-message__shake {
|
|
|
|
0% {
|
|
|
|
transform: translateX(0px);
|
|
|
|
}
|
|
|
|
25% {
|
|
|
|
transform: translateX(-5px);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
transform: translateX(0px);
|
|
|
|
}
|
|
|
|
75% {
|
|
|
|
transform: translateX(5px);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translateX(0px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-11 00:15:00 +00:00
|
|
|
// Spec: container < 438px
|
|
|
|
.module-message--incoming {
|
2019-05-31 22:42:01 +00:00
|
|
|
margin-left: 16px;
|
2018-08-11 00:15:00 +00:00
|
|
|
margin-right: 32px;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-message--outgoing {
|
|
|
|
float: right;
|
2019-05-31 22:42:01 +00:00
|
|
|
margin-right: 16px;
|
2018-08-11 00:15:00 +00:00
|
|
|
margin-left: 32px;
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
2019-05-31 22:42:01 +00:00
|
|
|
.module-message--incoming.module-message--group {
|
2019-10-04 18:06:17 +00:00
|
|
|
margin-left: 52px;
|
2019-05-31 22:42:01 +00:00
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-message__buttons {
|
2018-08-11 00:15:00 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2018-07-09 21:29:13 +00:00
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message:hover .module-message__buttons {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2018-08-11 00:15:00 +00:00
|
|
|
.module-message__buttons--incoming {
|
2020-01-23 23:57:37 +00:00
|
|
|
left: calc(100% + 8px);
|
2018-08-11 00:15:00 +00:00
|
|
|
}
|
|
|
|
.module-message__buttons--outgoing {
|
2020-01-23 23:57:37 +00:00
|
|
|
right: calc(100% + 8px);
|
|
|
|
flex-direction: row-reverse;
|
2018-08-11 00:15:00 +00:00
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-message__buttons__download {
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/save-outline-24.svg',
|
|
|
|
$color-gray-45
|
|
|
|
);
|
|
|
|
&:hover {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/save-outline-24.svg',
|
|
|
|
$color-gray-90
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/save-solid-24.svg', $color-gray-45);
|
|
|
|
&:hover {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/save-solid-24.svg',
|
|
|
|
$color-gray-02
|
|
|
|
);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-23 23:57:37 +00:00
|
|
|
.module-message__buttons__react {
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/add-emoji-outline-24.svg',
|
|
|
|
$color-gray-45
|
|
|
|
);
|
|
|
|
&:hover {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/add-emoji-outline-24.svg',
|
|
|
|
$color-gray-90
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/add-emoji-outline-24.svg',
|
|
|
|
$color-gray-45
|
|
|
|
);
|
|
|
|
&:hover {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/add-emoji-outline-24.svg',
|
|
|
|
$color-gray-02
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-message__buttons__download--incoming {
|
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
.module-message__buttons__download--outgoing {
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__buttons__reply {
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/reply-outline-24.svg',
|
|
|
|
$color-gray-45
|
|
|
|
);
|
|
|
|
&:hover {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/reply-outline-24.svg',
|
|
|
|
$color-gray-90
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/reply-solid-24.svg', $color-gray-45);
|
|
|
|
&:hover {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/reply-solid-24.svg',
|
|
|
|
$color-gray-02
|
|
|
|
);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__buttons__reply--incoming {
|
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
.module-message__buttons__reply--outgoing {
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__buttons__menu {
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include color-svg('../images/icons/v2/more-horiz-24.svg', $color-gray-45);
|
|
|
|
@include light-theme {
|
|
|
|
&:hover {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/more-horiz-24.svg',
|
|
|
|
$color-gray-90
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
&:hover {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/more-horiz-24.svg',
|
|
|
|
$color-gray-02
|
|
|
|
);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__buttons__menu--incoming {
|
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module_message__buttons__menu--outgoing {
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__error-container {
|
2020-03-25 22:48:10 +00:00
|
|
|
min-width: 28px;
|
2018-07-09 21:29:13 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__error {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 4px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/error-outline-24.svg',
|
|
|
|
$color-accent-red
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/error-solid-24.svg',
|
|
|
|
$color-accent-red
|
|
|
|
);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__error--outgoing {
|
|
|
|
left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__error--incoming {
|
|
|
|
right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__container {
|
2018-06-27 20:53:49 +00:00
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 16px;
|
|
|
|
padding-right: 12px;
|
|
|
|
padding-left: 12px;
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
2018-09-28 23:04:16 +00:00
|
|
|
min-width: 0px;
|
2019-08-22 21:11:36 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
border: 1px solid $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
border: 1px solid $color-gray-95;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
// This is the component we put the outline around when the whole message is selected
|
|
|
|
.module-message--selected .module-message__container {
|
|
|
|
@include mouse-mode {
|
2020-01-23 23:57:37 +00:00
|
|
|
animation: message--mouse-selected 1s $ease-out-expo;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
.module-message:focus .module-message__container {
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0 0 0 3px $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes message--mouse-selected {
|
|
|
|
0% {
|
|
|
|
box-shadow: 0 0 0 5px transparent;
|
|
|
|
}
|
|
|
|
10% {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0 0 0 5px $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
70% {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0 0 0 5px $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
100% {
|
|
|
|
box-shadow: 0 0 0 5px transparent;
|
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// We disable this highlight for messages with stickers, instead highlighting the sticker
|
2019-11-21 19:16:06 +00:00
|
|
|
.module-message--selected .module-message__container--with-sticker {
|
|
|
|
@include mouse-mode {
|
|
|
|
animation: none;
|
|
|
|
}
|
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
.module-message:focus .module-message__container--with-sticker {
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
.module-message__container--with-sticker {
|
2019-11-21 19:16:06 +00:00
|
|
|
@include light-theme {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
border: none;
|
|
|
|
}
|
2019-05-16 22:32:11 +00:00
|
|
|
padding-bottom: 0px;
|
|
|
|
}
|
|
|
|
|
2018-10-09 22:56:14 +00:00
|
|
|
.module-message__container--outgoing {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
2020-03-20 00:41:47 +00:00
|
|
|
background-color: $ultramarine-ui-light;
|
2019-10-04 18:06:17 +00:00
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
2020-03-20 00:41:47 +00:00
|
|
|
background-color: $ultramarine-ui-light;
|
2019-10-04 18:06:17 +00:00
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// In case the color gets messed up
|
2018-10-09 22:56:14 +00:00
|
|
|
.module-message__container--incoming {
|
2018-07-09 21:29:13 +00:00
|
|
|
background-color: $color-conversation-grey;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2018-09-26 00:26:06 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@each $color, $value in $conversation-colors {
|
|
|
|
.module-message__container--incoming-#{$color} {
|
|
|
|
background-color: $value;
|
|
|
|
}
|
2018-09-26 00:26:06 +00:00
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
|
2019-06-26 19:33:13 +00:00
|
|
|
.module-message__container--with-tap-to-view {
|
|
|
|
min-width: 148px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
.module-message__container--with-tap-to-view-pending {
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-gray-15;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// In case the color gets messed up
|
2019-06-26 19:33:13 +00:00
|
|
|
.module-message__container--incoming--tap-to-view-pending {
|
|
|
|
background-color: $color-conversation-grey-shade;
|
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@each $color, $value in $conversation-colors-shade {
|
|
|
|
.module-message__container--incoming-#{$color}-tap-to-view-pending {
|
|
|
|
background-color: $value;
|
|
|
|
}
|
2019-06-26 19:33:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__container--with-tap-to-view-pending {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__container--with-tap-to-view-expired {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
border: 1px solid $color-gray-15;
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
border: 1px solid $color-gray-60;
|
2020-01-08 18:46:09 +00:00
|
|
|
background-color: $color-gray-95;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
border: 1px solid $color-gray-15;
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
border: 1px solid $color-gray-60;
|
2020-01-08 18:46:09 +00:00
|
|
|
background-color: $color-gray-95;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-06-26 19:33:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__container--with-tap-to-view-error {
|
|
|
|
width: auto;
|
|
|
|
cursor: default;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-white;
|
|
|
|
border: 1px solid $color-accent-red;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-95;
|
|
|
|
border: 1px solid $color-deep-red;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-white;
|
|
|
|
border: 1px solid $color-deep-red;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
background-color: $color-black;
|
|
|
|
border: 1px solid $color-deep-red;
|
|
|
|
}
|
2019-06-26 19:33:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__tap-to-view {
|
|
|
|
margin-top: 2px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.module-message__tap-to-view--with-content-above {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
.module-message__tap-to-view--with-content-below {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__tap-to-view__spinner-container {
|
|
|
|
margin-right: 6px;
|
|
|
|
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__tap-to-view__icon {
|
|
|
|
margin-right: 6px;
|
|
|
|
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
2020-01-10 16:29:51 +00:00
|
|
|
@include color-svg('../images/icons/v2/view-once-24.svg', $color-white);
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2020-01-10 16:29:51 +00:00
|
|
|
@include color-svg('../images/icons/v2/view-once-24.svg', $color-gray-05);
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include ios-theme {
|
2020-01-10 16:29:51 +00:00
|
|
|
@include color-svg('../images/icons/v2/view-once-24.svg', $color-gray-90);
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
2020-01-10 16:29:51 +00:00
|
|
|
@include color-svg('../images/icons/v2/view-once-24.svg', $color-gray-05);
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-06-26 19:33:13 +00:00
|
|
|
}
|
|
|
|
.module-message__tap-to-view__icon--outgoing {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
2019-06-26 19:33:13 +00:00
|
|
|
}
|
|
|
|
.module-message__tap-to-view__icon--expired {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
2020-01-10 16:29:51 +00:00
|
|
|
@include color-svg('../images/icons/v2/viewed-once-24.svg', $color-gray-75);
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2020-01-10 16:29:51 +00:00
|
|
|
@include color-svg('../images/icons/v2/viewed-once-24.svg', $color-gray-05);
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include ios-theme {
|
2020-01-10 16:29:51 +00:00
|
|
|
@include color-svg('../images/icons/v2/viewed-once-24.svg', $color-gray-75);
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
2020-01-10 16:29:51 +00:00
|
|
|
@include color-svg('../images/icons/v2/viewed-once-24.svg', $color-gray-05);
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-06-26 19:33:13 +00:00
|
|
|
}
|
|
|
|
.module-message__tap-to-view__text {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold;
|
2019-06-26 19:33:13 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
2019-06-26 19:33:13 +00:00
|
|
|
}
|
|
|
|
.module-message__tap-to-view__text--incoming {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2019-06-26 19:33:13 +00:00
|
|
|
}
|
|
|
|
.module-message__tap-to-view__text--incoming-expired {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2019-06-26 19:33:13 +00:00
|
|
|
}
|
|
|
|
.module-message__tap-to-view__text--incoming-error {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__tap-to-view__text--outgoing {
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.module-message__tap-to-view__text--outgoing-expired {
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2019-06-26 19:33:13 +00:00
|
|
|
}
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
.module-message__attachment-container {
|
2019-05-16 22:32:11 +00:00
|
|
|
// To ensure that images are centered if they aren't full width of bubble
|
2018-06-27 20:53:49 +00:00
|
|
|
text-align: center;
|
|
|
|
position: relative;
|
|
|
|
|
2020-08-12 22:47:20 +00:00
|
|
|
// These should match the paddings from .module-message__container,
|
|
|
|
// effectively "undoing" that padding.
|
2019-05-16 22:32:11 +00:00
|
|
|
margin: {
|
|
|
|
left: -12px;
|
|
|
|
right: -12px;
|
|
|
|
top: -10px;
|
2020-08-12 22:47:20 +00:00
|
|
|
bottom: -10px;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
2018-08-01 22:40:13 +00:00
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
border-radius: 16px;
|
2020-08-12 22:47:20 +00:00
|
|
|
line-height: 0;
|
2018-08-01 22:40:13 +00:00
|
|
|
overflow: hidden;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-95;
|
|
|
|
}
|
2018-08-01 22:40:13 +00:00
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
&--with-content-below {
|
|
|
|
margin-bottom: 7px;
|
|
|
|
border-bottom-left-radius: 0px;
|
|
|
|
border-bottom-right-radius: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--with-content-above {
|
|
|
|
margin-top: 4px;
|
|
|
|
border-top-left-radius: 0px;
|
|
|
|
border-top-right-radius: 0px;
|
|
|
|
}
|
2018-08-01 22:40:13 +00:00
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
.module-message__sticker-container {
|
|
|
|
// To ensure that images are centered if they aren't full width of bubble
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
margin: {
|
|
|
|
left: -12px;
|
|
|
|
right: -12px;
|
|
|
|
top: -9px;
|
|
|
|
bottom: -5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--with-content-below {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--with-content-above {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
2018-08-01 22:40:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__img-attachment {
|
|
|
|
margin-bottom: -3px;
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
// redundant with attachment-container, but we get cursor flashing on move otherwise
|
2018-06-27 20:53:49 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__audio-attachment {
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__audio-attachment--with-content-below {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__audio-attachment--with-content-above {
|
|
|
|
margin-top: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__generic-attachment {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2019-01-30 20:15:07 +00:00
|
|
|
align-items: center;
|
2019-11-07 21:36:16 +00:00
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__generic-attachment--with-content-below {
|
|
|
|
padding-bottom: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__generic-attachment--with-content-above {
|
|
|
|
padding-top: 4px;
|
|
|
|
}
|
|
|
|
|
2020-05-27 21:37:06 +00:00
|
|
|
.module-message__generic-attachment--not-active {
|
|
|
|
cursor: default;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2018-10-04 01:12:42 +00:00
|
|
|
.module-message__generic-attachment__icon-container {
|
|
|
|
position: relative;
|
|
|
|
}
|
2019-01-30 20:15:07 +00:00
|
|
|
.module-message__generic-attachment__spinner-container {
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 4px;
|
|
|
|
}
|
2018-10-04 01:12:42 +00:00
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
.module-message__generic-attachment__icon {
|
|
|
|
background: url('../images/file-gradient.svg') no-repeat center;
|
|
|
|
height: 44px;
|
|
|
|
width: 56px;
|
|
|
|
margin-left: -13px;
|
|
|
|
margin-right: -14px;
|
|
|
|
margin-bottom: -4px;
|
|
|
|
|
|
|
|
// So we can center the extension text inside this icon
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2018-10-04 01:12:42 +00:00
|
|
|
.module-message__generic-attachment__icon-dangerous-container {
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
top: -1px;
|
|
|
|
right: -4px;
|
|
|
|
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__generic-attachment__icon-dangerous {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/error-solid-24.svg',
|
|
|
|
$color-accent-red
|
|
|
|
);
|
2018-10-04 01:12:42 +00:00
|
|
|
}
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
.module-message__generic-attachment__icon__extension {
|
|
|
|
font-size: 10px;
|
|
|
|
line-height: 13px;
|
|
|
|
letter-spacing: 0.1px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
|
|
// Along with flow layout in parent item, centers text
|
|
|
|
text-align: center;
|
|
|
|
width: 25px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
|
|
|
|
// We don't have much room for text here, cut it off without ellipse
|
|
|
|
overflow-x: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: clip;
|
2018-08-14 00:06:50 +00:00
|
|
|
|
2018-10-09 22:56:14 +00:00
|
|
|
color: $color-gray-90;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__generic-attachment__text {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-left: 8px;
|
|
|
|
// The width of the icon plus our 8px margin
|
|
|
|
max-width: calc(100% - 37px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__generic-attachment__file-name {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2-bold;
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
margin-top: 2px;
|
|
|
|
|
|
|
|
// Handling really long filenames - cut them off
|
|
|
|
overflow-x: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-02;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__generic-attachment__file-name--incoming {
|
2018-10-09 22:56:14 +00:00
|
|
|
color: $color-white;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__generic-attachment__file-size {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2;
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
margin-top: 3px;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-02;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
2019-01-16 03:03:56 +00:00
|
|
|
.module-message__generic-attachment__file-size--incoming {
|
|
|
|
color: $color-white;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
2019-01-16 03:03:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__link-preview {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
2019-11-19 23:03:00 +00:00
|
|
|
display: block;
|
2019-11-07 21:36:16 +00:00
|
|
|
|
2019-01-16 03:03:56 +00:00
|
|
|
margin-left: -12px;
|
|
|
|
margin-right: -12px;
|
2019-11-19 23:03:00 +00:00
|
|
|
width: calc(100% + 24px);
|
|
|
|
|
2019-01-16 03:03:56 +00:00
|
|
|
margin-top: -10px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
border-top-left-radius: 16px;
|
|
|
|
border-top-right-radius: 16px;
|
2019-09-04 00:07:47 +00:00
|
|
|
overflow: hidden;
|
2019-11-07 21:36:16 +00:00
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
2019-01-16 03:03:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__link-preview--with-content-above {
|
|
|
|
margin-top: 4px;
|
|
|
|
border-top-left-radius: 0px;
|
|
|
|
border-top-right-radius: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__link-preview__content {
|
|
|
|
padding: 8px;
|
2020-08-29 01:27:45 +00:00
|
|
|
border: 1px solid transparent; /* Color overwritten below. */
|
|
|
|
border-bottom: 0;
|
2019-01-16 03:03:56 +00:00
|
|
|
border-top-left-radius: 16px;
|
|
|
|
border-top-right-radius: 16px;
|
|
|
|
background-color: $color-white;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: flex-start;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
2020-08-29 01:27:45 +00:00
|
|
|
border-color: $color-black-alpha-20;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-95;
|
2020-08-29 01:27:45 +00:00
|
|
|
border-color: $color-gray-60;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-01-16 03:03:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__link-preview__content--with-content-above {
|
|
|
|
border-top: none;
|
|
|
|
border-bottom: none;
|
|
|
|
border-top-left-radius: 0px;
|
|
|
|
border-top-right-radius: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__link-preview__icon_container {
|
|
|
|
margin: -2px;
|
|
|
|
margin-right: 8px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__link-preview__text--with-icon {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__link-preview__title {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold;
|
2019-01-16 03:03:56 +00:00
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
-webkit-box-orient: vertical;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2019-01-16 03:03:56 +00:00
|
|
|
}
|
|
|
|
|
2020-08-29 01:27:45 +00:00
|
|
|
.module-message__link-preview__description {
|
|
|
|
@include font-body-2;
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 5;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__link-preview__footer {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2;
|
|
|
|
|
2020-08-29 01:27:45 +00:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
align-items: center;
|
2019-01-16 03:03:56 +00:00
|
|
|
margin-top: 4px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
2020-08-29 01:27:45 +00:00
|
|
|
|
|
|
|
> *:not(:first-child) {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '•';
|
|
|
|
font-size: 50%;
|
|
|
|
margin-left: 0.2rem;
|
|
|
|
margin-right: 0.2rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__link-preview__location {
|
|
|
|
text-transform: lowercase;
|
2019-01-16 03:03:56 +00:00
|
|
|
}
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
.module-message__author {
|
2019-10-21 22:28:53 +00:00
|
|
|
@include font-body-2-bold;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
height: 18px;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2019-05-16 22:32:11 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
color: $color-white-alpha-90;
|
|
|
|
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
&__profile-name {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-caption-bold-italic;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
2019-06-26 19:33:13 +00:00
|
|
|
.module-message__author--with-tap-to-view-expired {
|
2019-10-21 22:28:53 +00:00
|
|
|
@include font-body-2-bold;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2019-06-26 19:33:13 +00:00
|
|
|
height: 18px;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-75;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
|
2019-06-26 19:33:13 +00:00
|
|
|
&__profile-name {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
.module-message__author_with_sticker {
|
2019-10-21 22:28:53 +00:00
|
|
|
@include font-body-2-bold;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
height: 18px;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
// Stickers are pretty narrow, so we allow this one element of a sticker
|
|
|
|
// message to go wider than normal.
|
|
|
|
// There's a tension here, since this is width and not max-width; things will
|
|
|
|
// look bad for RTL users if we make it too wide.
|
|
|
|
width: 300px;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
&__profile-name {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__text {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1;
|
|
|
|
|
2018-08-03 16:26:36 +00:00
|
|
|
text-align: start;
|
2018-07-09 21:29:13 +00:00
|
|
|
overflow-wrap: break-word;
|
|
|
|
word-wrap: break-word;
|
|
|
|
word-break: break-word;
|
|
|
|
white-space: pre-wrap;
|
2018-08-07 01:22:30 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
2018-10-09 22:56:14 +00:00
|
|
|
color: $color-gray-90;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-white-alpha-90;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-white-alpha-90;
|
|
|
|
}
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
2019-11-21 19:16:06 +00:00
|
|
|
outline: none;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
outline: 1px solid $color-gray-90;
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-11-21 19:16:06 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
@include dark-keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
outline: 1px solid $color-gray-05;
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-11-21 19:16:06 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include ios-theme {
|
|
|
|
color: $color-white-alpha-90;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-white-alpha-90;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
@include ios-keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
outline: 1px solid $color-white-alpha-90;
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__text--incoming {
|
|
|
|
@include light-theme {
|
2018-10-09 22:56:14 +00:00
|
|
|
color: $color-white;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
@include ios-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-white-alpha-90;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: underline;
|
2019-11-21 19:16:06 +00:00
|
|
|
outline: none;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
outline: 1px solid $color-white;
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-11-21 19:16:06 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include dark-theme {
|
|
|
|
color: $color-white-alpha-90;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
@include dark-keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
outline: 1px solid $color-white-alpha-90;
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-11-21 19:16:06 +00:00
|
|
|
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include ios-keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
outline: 1px solid $color-gray-90;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-05;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
@include dark-ios-keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
outline: 1px solid $color-gray-05;
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-message__text--error {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-italic;
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
.module-message__metadata {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
margin-top: 3px;
|
|
|
|
margin-bottom: -3px;
|
2020-02-03 20:02:49 +00:00
|
|
|
|
|
|
|
&--outgoing {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--with-reactions {
|
|
|
|
margin-bottom: -2px;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
2018-08-07 21:54:08 +00:00
|
|
|
// With an image and no caption, this section needs to be on top of the image overlay
|
2018-06-27 20:53:49 +00:00
|
|
|
.module-message__metadata--with-image-no-caption {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 9px;
|
2018-08-07 21:54:08 +00:00
|
|
|
z-index: 2;
|
2018-06-27 20:53:49 +00:00
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
// Because this is absolutely positioned, we 100% is too big, take it down by parent
|
|
|
|
// padding sizes.
|
|
|
|
padding-right: 24px;
|
2019-11-19 23:03:00 +00:00
|
|
|
|
|
|
|
// This is so all clicks go right through to the underlying image.
|
|
|
|
pointer-events: none;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__metadata__date {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-caption;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-white-alpha-80;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-white-alpha-80;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-white-alpha-80;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
2020-08-07 01:22:52 +00:00
|
|
|
.module-message__metadata__tapable {
|
|
|
|
@include button-reset;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
.module-message__metadata__date--incoming {
|
2019-10-04 18:06:17 +00:00
|
|
|
color: $color-white-alpha-80;
|
|
|
|
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
.module-message__metadata__date--with-image-no-caption {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-white-alpha-80;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
2020-01-07 21:19:48 +00:00
|
|
|
.module-message__metadata__date.module-message__metadata__date--incoming-with-tap-to-view-expired {
|
2019-06-26 19:33:13 +00:00
|
|
|
color: $color-gray-75;
|
2020-01-07 21:19:48 +00:00
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-white-alpha-80;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.module-message__metadata__date.module-message__metadata__date--outgoing-with-tap-to-view-expired {
|
|
|
|
color: $color-gray-75;
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-white-alpha-80;
|
|
|
|
}
|
2019-06-26 19:33:13 +00:00
|
|
|
}
|
2020-01-07 21:19:48 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
.module-message__metadata__date--with-sticker {
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
|
|
|
|
.module-message__metadata__status-icon {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 6px;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-message__metadata__status-icon--sending {
|
2019-05-31 22:42:01 +00:00
|
|
|
animation: module-message__metadata__status-icon--spinning 4s linear infinite;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/sending.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/sending.svg', $color-white-alpha-80);
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
2020-01-09 00:38:10 +00:00
|
|
|
@include color-svg('../images/sending.svg', $color-white);
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
@include color-svg('../images/sending.svg', $color-white);
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
2019-05-31 22:42:01 +00:00
|
|
|
@keyframes module-message__metadata__status-icon--spinning {
|
2018-06-27 20:53:49 +00:00
|
|
|
100% {
|
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-message__metadata__status-icon--sent {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/check-circle-outline.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/check-circle-outline.svg',
|
|
|
|
$color-white-alpha-80
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/check-circle-outline.svg',
|
|
|
|
$color-white-alpha-80
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/check-circle-outline.svg',
|
|
|
|
$color-white-alpha-80
|
|
|
|
);
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-message__metadata__status-icon--delivered {
|
2018-06-27 20:53:49 +00:00
|
|
|
width: 18px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/double-check.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/double-check.svg', $color-white-alpha-80);
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
@include color-svg('../images/double-check.svg', $color-white-alpha-80);
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
@include color-svg('../images/double-check.svg', $color-white-alpha-80);
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-message__metadata__status-icon--read {
|
2018-06-27 20:53:49 +00:00
|
|
|
width: 18px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/read.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/read.svg', $color-white-alpha-80);
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
@include color-svg('../images/read.svg', $color-white-alpha-80);
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
@include color-svg('../images/read.svg', $color-white-alpha-80);
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// When status indicators are overlaid on top of an image, they use different colors
|
|
|
|
.module-message__metadata__status-icon--with-image-no-caption {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-02;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.module-message__metadata__status-icon--with-sticker {
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-gray-60;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.module-message__metadata__status-icon--with-tap-to-view-expired {
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__metadata__spinner-container {
|
|
|
|
margin-left: 6px;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__send-message-button {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
2019-11-15 02:12:31 +00:00
|
|
|
width: calc(100% + 24px);
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include font-body-2-bold;
|
2018-06-27 20:53:49 +00:00
|
|
|
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-bottom: -10px;
|
|
|
|
margin-left: -12px;
|
|
|
|
margin-right: -12px;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
border-bottom-left-radius: 16px;
|
|
|
|
border-bottom-right-radius: 16px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
2020-03-20 00:41:47 +00:00
|
|
|
color: $ultramarine-ui-light;
|
2019-10-04 18:06:17 +00:00
|
|
|
background-color: $color-gray-02;
|
|
|
|
border: 1px solid $color-black-alpha-20;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
2020-03-20 00:41:47 +00:00
|
|
|
color: $ultramarine-ui-dark;
|
2019-10-04 18:06:17 +00:00
|
|
|
background-color: $color-gray-75;
|
|
|
|
border: 1px solid $color-gray-45;
|
|
|
|
}
|
2019-11-15 02:12:31 +00:00
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
2019-11-15 02:12:31 +00:00
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__author-avatar {
|
|
|
|
position: absolute;
|
2018-11-14 18:47:19 +00:00
|
|
|
bottom: 0px;
|
2019-08-22 21:11:36 +00:00
|
|
|
right: calc(100% + 8px);
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
2018-11-14 19:10:32 +00:00
|
|
|
.module-message__typing-container {
|
|
|
|
height: 16px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2020-01-17 22:23:19 +00:00
|
|
|
.module-message__reactions {
|
|
|
|
position: absolute;
|
2020-02-03 20:02:49 +00:00
|
|
|
bottom: 0px;
|
2020-01-17 22:23:19 +00:00
|
|
|
z-index: 2;
|
2020-02-03 20:02:49 +00:00
|
|
|
height: 22px;
|
|
|
|
display: flex;
|
2020-01-17 22:23:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message__reactions__reaction {
|
|
|
|
@include button-reset;
|
|
|
|
|
2020-02-03 20:02:49 +00:00
|
|
|
min-width: 28px;
|
|
|
|
height: 22px;
|
2020-01-17 22:23:19 +00:00
|
|
|
border: 1px solid;
|
|
|
|
border-radius: 33px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
2020-02-03 20:02:49 +00:00
|
|
|
&--with-count {
|
|
|
|
min-width: 40px;
|
2020-01-17 22:23:19 +00:00
|
|
|
}
|
|
|
|
|
2020-02-03 20:02:49 +00:00
|
|
|
&__count {
|
|
|
|
@include font-caption-bold;
|
2020-01-17 22:23:19 +00:00
|
|
|
|
2020-02-03 20:02:49 +00:00
|
|
|
margin-left: 4px;
|
|
|
|
|
|
|
|
&--no-emoji {
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--is-me {
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-75;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-15;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-white-alpha-90;
|
|
|
|
}
|
|
|
|
}
|
2020-01-17 22:23:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
2020-01-17 22:23:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
border-color: $color-white;
|
|
|
|
background: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
border-color: $color-gray-95;
|
|
|
|
background: $color-gray-75;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--is-me {
|
|
|
|
@include light-theme() {
|
|
|
|
background: $color-gray-25;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
background: $color-gray-45;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include ios-theme() {
|
|
|
|
background: $color-accent-blue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
// Module: Expire Timer
|
|
|
|
|
|
|
|
.module-expire-timer {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 6px;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/timer-60-12.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/timer-60-12.svg',
|
|
|
|
$color-white-alpha-80
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/timer-60-12.svg',
|
|
|
|
$color-white-alpha-80
|
|
|
|
);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2019-10-17 17:50:57 +00:00
|
|
|
$timer-icons: '55', '50', '45', '40', '35', '30', '25', '20', '15', '10', '05',
|
|
|
|
'00';
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2019-10-17 17:50:57 +00:00
|
|
|
@each $timer-icon in $timer-icons {
|
2019-10-04 18:06:17 +00:00
|
|
|
.module-expire-timer--#{$timer-icon} {
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/timer-#{$timer-icon}-12.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/timer-#{$timer-icon}-12.svg',
|
|
|
|
$color-white-alpha-80
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/timer-#{$timer-icon}-12.svg',
|
|
|
|
$color-white-alpha-80
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-expire-timer--incoming {
|
2019-10-04 18:06:17 +00:00
|
|
|
background-color: $color-white-alpha-80;
|
|
|
|
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
background-color: $color-gray-25;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
2020-01-07 21:19:48 +00:00
|
|
|
.module-expire-timer.module-expire-timer--incoming-with-tap-to-view-expired {
|
2019-06-26 19:33:13 +00:00
|
|
|
background-color: $color-gray-75;
|
2020-01-07 21:19:48 +00:00
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-white-alpha-80;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.module-expire-timer.module-expire-timer--outgoing-with-tap-to-view-expired {
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-white-alpha-80;
|
|
|
|
}
|
2019-06-26 19:33:13 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
.module-expire-timer--with-sticker {
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-gray-60;
|
|
|
|
}
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
|
|
|
|
// When status indicators are overlaid on top of an image, they use different colors
|
|
|
|
.module-expire-timer--with-image-no-caption {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
2019-11-19 23:03:00 +00:00
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-02;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Quoted Reply
|
|
|
|
|
2018-08-15 19:31:29 +00:00
|
|
|
.module-quote-container {
|
2019-08-06 19:18:37 +00:00
|
|
|
margin: {
|
|
|
|
left: -6px;
|
|
|
|
right: -6px;
|
|
|
|
top: -4px;
|
|
|
|
bottom: 5px;
|
|
|
|
}
|
2018-08-15 19:31:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote-container--with-content-above {
|
|
|
|
margin-top: 3px;
|
|
|
|
}
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
.module-quote {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
|
|
|
display: block;
|
2019-05-31 22:42:01 +00:00
|
|
|
// To leave room for image thumbnail
|
|
|
|
min-height: 54px;
|
2019-11-07 21:36:16 +00:00
|
|
|
width: 100%;
|
2019-05-31 22:42:01 +00:00
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
position: relative;
|
2018-06-27 20:53:49 +00:00
|
|
|
border-radius: 4px;
|
|
|
|
border-top-left-radius: 10px;
|
|
|
|
border-top-right-radius: 10px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: stretch;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
border-left-width: 4px;
|
|
|
|
border-left-style: solid;
|
2019-11-07 21:36:16 +00:00
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote--no-click {
|
|
|
|
cursor: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote--with-content-above {
|
|
|
|
border-top-left-radius: 4px;
|
|
|
|
border-top-right-radius: 4px;
|
|
|
|
}
|
|
|
|
|
2018-08-15 19:31:29 +00:00
|
|
|
.module-quote--with-reference-warning {
|
|
|
|
border-bottom-left-radius: 0px;
|
|
|
|
border-bottom-right-radius: 0px;
|
|
|
|
}
|
|
|
|
|
2018-10-09 22:56:14 +00:00
|
|
|
.module-quote--outgoing {
|
2018-09-26 00:26:06 +00:00
|
|
|
border-left-color: $color-conversation-grey;
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-conversation-grey-tint;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-conversation-grey-shade;
|
|
|
|
}
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
// To preserve contrast
|
|
|
|
@include ios-keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
box-shadow: 0px 0px 0px 2px $color-white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
// Note: both of these override all of the specific color classes below
|
|
|
|
@include ios-dark-theme {
|
2020-04-01 19:33:16 +00:00
|
|
|
background-color: $ultramarine-brand-dark;
|
2019-10-04 18:06:17 +00:00
|
|
|
border-left-color: $color-black;
|
2020-04-01 19:33:16 +00:00
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-ios-blue-tint;
|
|
|
|
border-left-color: $color-white;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2018-09-26 00:26:06 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2020-04-08 18:52:33 +00:00
|
|
|
.module-composition-area__row {
|
|
|
|
.module-quote--outgoing {
|
|
|
|
border-left-style: solid;
|
|
|
|
|
|
|
|
@include ios-dark-theme {
|
|
|
|
background-color: $ultramarine-brand-dark;
|
|
|
|
border-left-color: $color-ios-blue-tint;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-ios-blue-tint;
|
|
|
|
border-left-color: $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@each $color, $value in $conversation-colors {
|
|
|
|
.module-quote--outgoing-#{$color} {
|
|
|
|
border-left-color: $value;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
@each $color, $value in $conversation-colors-tint {
|
|
|
|
.module-quote--outgoing-#{$color} {
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $value;
|
|
|
|
}
|
|
|
|
}
|
2018-09-26 00:26:06 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
@each $color, $value in $conversation-colors-shade {
|
|
|
|
.module-quote--outgoing-#{$color} {
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $value;
|
|
|
|
}
|
|
|
|
}
|
2018-09-26 00:26:06 +00:00
|
|
|
}
|
|
|
|
|
2018-10-09 22:56:14 +00:00
|
|
|
.module-quote--incoming {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
border-left-color: $color-white;
|
|
|
|
background-color: $color-conversation-grey-tint;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
border-left-color: $color-black;
|
|
|
|
background-color: $color-conversation-grey-shade;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Note: both of these override all of the specific color classes below
|
|
|
|
@include ios-theme {
|
2020-04-01 19:33:16 +00:00
|
|
|
background-color: $color-ios-blue-tint;
|
2020-04-08 18:52:33 +00:00
|
|
|
border-left-color: $ultramarine-ui-light;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
2020-04-08 18:52:33 +00:00
|
|
|
background-color: $ultramarine-brand-dark;
|
|
|
|
border-left-color: $color-ios-blue-tint;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2018-09-26 00:26:06 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
@each $color, $value in $conversation-colors-tint {
|
|
|
|
.module-quote--incoming-#{$color} {
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $value;
|
|
|
|
}
|
|
|
|
}
|
2018-09-26 00:26:06 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
@each $color, $value in $conversation-colors-shade {
|
|
|
|
.module-quote--incoming-#{$color} {
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $value;
|
|
|
|
}
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__primary {
|
|
|
|
flex-grow: 1;
|
|
|
|
padding-left: 8px;
|
|
|
|
padding-right: 8px;
|
|
|
|
padding-top: 7px;
|
|
|
|
padding-bottom: 7px;
|
2018-07-09 21:29:13 +00:00
|
|
|
|
|
|
|
max-width: 100%;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__primary__author {
|
2019-10-21 22:28:53 +00:00
|
|
|
@include font-body-2-bold;
|
2018-07-09 21:29:13 +00:00
|
|
|
|
2020-08-13 22:21:05 +00:00
|
|
|
overflow: hidden;
|
2018-07-09 21:29:13 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-02;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__primary__author--incoming {
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
.module-quote__primary__profile-name {
|
2019-10-21 22:28:53 +00:00
|
|
|
@include font-body-2-bold-italic;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__primary__text {
|
2019-10-21 22:28:53 +00:00
|
|
|
@include font-body-1;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2018-12-14 17:27:46 +00:00
|
|
|
text-align: start;
|
2018-06-27 20:53:49 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
2018-10-09 22:56:14 +00:00
|
|
|
color: $color-gray-90;
|
2019-10-04 18:06:17 +00:00
|
|
|
a {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-02;
|
|
|
|
a {
|
|
|
|
color: $color-gray-02;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
a {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2018-07-20 23:37:57 +00:00
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
overflow-wrap: break-word;
|
|
|
|
word-wrap: break-word;
|
|
|
|
word-break: break-word;
|
2018-06-27 20:53:49 +00:00
|
|
|
white-space: pre-wrap;
|
2018-07-09 21:29:13 +00:00
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
overflow: hidden;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
|
|
|
// Note: -webkit-line-clamp doesn't work for RTL text, and it forces you to use
|
|
|
|
// ... as the truncation indicator. That's not a solution that works well for
|
|
|
|
// all languages. More resources:
|
|
|
|
// - http://hackingui.com/front-end/a-pure-css-solution-for-multiline-text-truncation/
|
|
|
|
// - https://medium.com/mofed/css-line-clamp-the-good-the-bad-and-the-straight-up-broken-865413f16e5
|
|
|
|
}
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
.module-quote__primary__text--incoming {
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
a {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
.module-quote__primary__type-label {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2-italic;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-02;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__primary__type-label--incoming {
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__primary__filename-label {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__close-container {
|
|
|
|
position: absolute;
|
|
|
|
top: 4px;
|
|
|
|
right: 4px;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
|
|
|
|
border-radius: 50%;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2019-10-17 17:50:57 +00:00
|
|
|
background-color: $color-black-alpha-40;
|
2019-11-21 19:16:06 +00:00
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus-within {
|
2020-03-20 00:41:47 +00:00
|
|
|
background-color: $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__close-button {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
2019-10-17 17:50:57 +00:00
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-white);
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__icon-container {
|
|
|
|
flex: initial;
|
|
|
|
min-width: 54px;
|
|
|
|
width: 54px;
|
2019-01-10 20:26:28 +00:00
|
|
|
max-height: 54px;
|
2018-06-27 20:53:49 +00:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__icon-container__inner {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__icon-container__circle-background {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
height: 32px;
|
|
|
|
width: 32px;
|
|
|
|
border-radius: 50%;
|
2018-07-09 21:29:13 +00:00
|
|
|
background-color: $color-white;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__icon-container__icon {
|
2019-10-04 18:06:17 +00:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__icon-container__icon--file {
|
2020-03-20 00:41:47 +00:00
|
|
|
@include color-svg('../images/file.svg', $ultramarine-ui-light);
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
.module-quote__icon-container__icon--image {
|
2020-03-20 00:41:47 +00:00
|
|
|
@include color-svg('../images/image.svg', $ultramarine-ui-light);
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
.module-quote__icon-container__icon--microphone {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/mic-outline-24.svg',
|
2020-03-20 00:41:47 +00:00
|
|
|
$ultramarine-ui-light
|
2019-10-04 18:06:17 +00:00
|
|
|
);
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
.module-quote__icon-container__icon--play {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/play-solid-24.svg',
|
2020-03-20 00:41:47 +00:00
|
|
|
$ultramarine-ui-light
|
2019-10-04 18:06:17 +00:00
|
|
|
);
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
.module-quote__icon-container__icon--movie {
|
2020-03-20 00:41:47 +00:00
|
|
|
@include color-svg('../images/movie.svg', $ultramarine-ui-light);
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__generic-file {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.module-quote__generic-file__icon {
|
|
|
|
background: url('../images/file-gradient.svg');
|
|
|
|
background-size: 75%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
height: 28px;
|
|
|
|
width: 36px;
|
|
|
|
margin-left: -4px;
|
|
|
|
margin-right: -6px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
.module-quote__generic-file__text {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2;
|
2018-07-09 21:29:13 +00:00
|
|
|
|
|
|
|
max-width: calc(100% - 26px);
|
|
|
|
overflow-x: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-02;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__generic-file__text--incoming {
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
2018-08-15 19:31:29 +00:00
|
|
|
.module-quote__reference-warning {
|
2020-04-01 19:33:16 +00:00
|
|
|
color: $color-gray-90;
|
2018-08-15 19:31:29 +00:00
|
|
|
height: 26px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
border-bottom-left-radius: 4px;
|
|
|
|
border-bottom-right-radius: 4px;
|
|
|
|
padding-left: 8px;
|
|
|
|
padding-right: 8px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
background-color: $color-white-alpha-80;
|
2019-11-19 23:03:00 +00:00
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-white-alpha-20;
|
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
@include ios-theme {
|
2020-04-01 19:33:16 +00:00
|
|
|
background-color: $color-ios-ref-warning-light;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
2020-04-01 19:33:16 +00:00
|
|
|
background-color: $color-ios-ref-warning-dark;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__reference-warning--incoming {
|
2020-04-01 19:33:16 +00:00
|
|
|
color: $color-gray-90;
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-ios-ref-warning-light;
|
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
@include ios-dark-theme {
|
2020-04-01 19:33:16 +00:00
|
|
|
background-color: $color-ios-ref-warning-dark;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2018-08-15 19:31:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__reference-warning__icon {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/link-broken-16.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/link-broken-16.svg', $color-gray-25);
|
|
|
|
}
|
2020-04-01 19:33:16 +00:00
|
|
|
@include ios-theme {
|
|
|
|
@include color-svg('../images/icons/v2/link-broken-16.svg', $color-gray-90);
|
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
@include ios-dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/link-broken-16.svg', $color-gray-90);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__reference-warning__icon--incoming {
|
2020-04-01 19:33:16 +00:00
|
|
|
@include ios-theme {
|
|
|
|
@include color-svg('../images/icons/v2/link-broken-16.svg', $color-gray-90);
|
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
@include ios-dark-theme {
|
2020-04-01 19:33:16 +00:00
|
|
|
@include color-svg('../images/icons/v2/link-broken-16.svg', $color-gray-90);
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2018-08-15 19:31:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__reference-warning__text {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-caption;
|
|
|
|
|
2018-08-15 19:31:29 +00:00
|
|
|
margin-left: 6px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-02;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-quote__reference-warning__text--incoming {
|
|
|
|
@include ios-dark-theme {
|
2020-04-01 19:33:16 +00:00
|
|
|
color: $color-gray-90;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2018-08-15 19:31:29 +00:00
|
|
|
}
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
// Module: Embedded Contact
|
|
|
|
|
|
|
|
.module-embedded-contact {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
|
|
|
width: 100%;
|
2019-11-15 02:12:31 +00:00
|
|
|
padding: 5px;
|
2019-11-07 21:36:16 +00:00
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2019-01-30 20:15:07 +00:00
|
|
|
align-items: center;
|
2019-11-15 02:12:31 +00:00
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-embedded-contact--outgoing {
|
|
|
|
@include ios-keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
box-shadow: 0px 0px 0px 2px $color-white;
|
|
|
|
}
|
2019-11-15 02:12:31 +00:00
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-embedded-contact--with-content-above {
|
|
|
|
padding-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-embedded-contact--with-content-below {
|
|
|
|
padding-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
2019-01-30 20:15:07 +00:00
|
|
|
.module-embedded-contact__spinner-container {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
.module-embedded-contact__text-container {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-left: 8px;
|
|
|
|
|
|
|
|
max-width: calc(100% - 58px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-embedded-contact__contact-name {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold;
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
margin-top: 6px;
|
|
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-02;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-embedded-contact__contact-name--incoming {
|
2018-10-09 22:56:14 +00:00
|
|
|
color: $color-white;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-embedded-contact__contact-method {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2;
|
2018-06-27 20:53:49 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
margin-top: 3px;
|
2018-06-27 20:53:49 +00:00
|
|
|
max-width: 100%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-white-alpha-80;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-white-alpha-80;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-embedded-contact__contact-method--incoming {
|
2019-10-04 18:06:17 +00:00
|
|
|
color: $color-white-alpha-80;
|
|
|
|
|
|
|
|
@include ios-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Contact Detail
|
|
|
|
|
|
|
|
.module-contact-detail {
|
|
|
|
text-align: center;
|
|
|
|
max-width: 300px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2018-09-27 00:23:17 +00:00
|
|
|
.module-contact-detail__avatar {
|
2018-06-27 20:53:49 +00:00
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-contact-detail__contact-name {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-contact-detail__contact-method {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2;
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-contact-detail__send-message {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
2018-06-27 20:53:49 +00:00
|
|
|
|
|
|
|
border-radius: 4px;
|
2020-03-20 00:41:47 +00:00
|
|
|
background-color: $ultramarine-ui-light;
|
2018-06-27 20:53:49 +00:00
|
|
|
display: inline-block;
|
|
|
|
padding: 6px;
|
|
|
|
margin-top: 20px;
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
color: $color-white;
|
2018-06-27 20:53:49 +00:00
|
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-contact-detail__send-message__inner {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-10-04 18:06:17 +00:00
|
|
|
padding-right: 5px;
|
|
|
|
|
|
|
|
@include font-body-2-bold;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-contact-detail__send-message__bubble-icon {
|
|
|
|
height: 17px;
|
|
|
|
width: 18px;
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/message-outline-24.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/message-solid-24.svg', $color-white);
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-contact-detail__additional-contact {
|
|
|
|
text-align: left;
|
|
|
|
margin-top: 15px;
|
|
|
|
padding-top: 8px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
border-top: 1px solid $color-gray-05;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
border-top: 1px solid $color-gray-75;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-contact-detail__additional-contact__type {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-caption-bold;
|
|
|
|
|
|
|
|
color: $color-gray-45;
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
2019-11-07 21:36:16 +00:00
|
|
|
// Module: Inline Notification Wrapper
|
|
|
|
|
|
|
|
.module-inline-notification-wrapper {
|
|
|
|
outline: none;
|
|
|
|
padding: 5px;
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-02;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-80;
|
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
// Module: Group Notification
|
2018-06-27 20:53:49 +00:00
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-group-notification {
|
2019-05-31 22:42:01 +00:00
|
|
|
margin-left: 1em;
|
|
|
|
margin-right: 1em;
|
2020-03-26 21:47:35 +00:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
text-align: center;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-group-notification__change {
|
2020-03-26 21:47:35 +00:00
|
|
|
margin-top: 2px;
|
|
|
|
margin-bottom: 2px;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-group-notification__contact {
|
2019-10-04 18:06:17 +00:00
|
|
|
font-weight: bold;
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Reset Session Notification
|
|
|
|
|
|
|
|
.module-reset-session-notification {
|
|
|
|
text-align: center;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Safety Number Notification
|
|
|
|
|
|
|
|
.module-safety-number-notification {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-safety-number-notification__icon {
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-bottom: 7px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/safety-number-outline-24.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/safety-number-solid-24.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-safety-number-notification__text {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-safety-number-notification__contact {
|
2019-10-04 18:06:17 +00:00
|
|
|
font-weight: bold;
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
2019-06-10 21:40:02 +00:00
|
|
|
.module-safety-number-notification__button {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2-bold;
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
margin-top: 5px;
|
2018-06-27 20:53:49 +00:00
|
|
|
display: inline-block;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
padding: 12px;
|
|
|
|
border-radius: 4px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2020-03-20 00:41:47 +00:00
|
|
|
color: $ultramarine-ui-light;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-02;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
@include keyboard-mode {
|
2019-11-07 21:36:16 +00:00
|
|
|
&:focus {
|
|
|
|
background-color: $color-gray-15;
|
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-11-21 19:16:06 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-75;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
@include dark-keyboard-mode {
|
2019-11-07 21:36:16 +00:00
|
|
|
&:focus {
|
|
|
|
background-color: $color-gray-60;
|
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
2020-06-04 18:16:19 +00:00
|
|
|
.module-message-calling--notification {
|
|
|
|
.module-message__metadata__date {
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-24 01:35:32 +00:00
|
|
|
.module-safety-number__bold-name {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2020-06-04 18:16:19 +00:00
|
|
|
.module-message-calling {
|
|
|
|
&--audio {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--audio__icon {
|
|
|
|
height: 24px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
width: 24px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/phone-right-outline-24.svg',
|
|
|
|
$color-gray-75
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/phone-right-outline-24.svg',
|
|
|
|
$color-gray-15
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--video {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--video__icon {
|
|
|
|
height: 24px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
width: 24px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/video-outline-24.svg',
|
|
|
|
$color-gray-75
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/video-outline-24.svg',
|
|
|
|
$color-gray-15
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-10 00:43:09 +00:00
|
|
|
.module-message-unsynced {
|
|
|
|
padding-bottom: 24px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-unsynced__icon {
|
|
|
|
height: 24px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
width: 24px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/info-outline-24.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/info-solid-24.svg', $color-gray-25);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
// Module: Verification Notification
|
|
|
|
|
|
|
|
.module-verification-notification {
|
|
|
|
text-align: center;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-verification-notification__contact {
|
2019-10-04 18:06:17 +00:00
|
|
|
font-weight: bold;
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-verification-notification__icon--mark-verified {
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-bottom: 4px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/check-24.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/check-24.svg', $color-gray-25);
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-verification-notification__icon--mark-not-verified {
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-bottom: 7px;
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/safety-number-outline-24.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/safety-number-solid-24.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
// Module: Timer Notification
|
|
|
|
|
|
|
|
.module-timer-notification {
|
|
|
|
text-align: center;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-timer-notification__icon-container {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-timer-notification__icon {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
display: inline-block;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/timer-24.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/timer-24.svg', $color-gray-25);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
2018-07-24 21:38:58 +00:00
|
|
|
.module-timer-notification__icon--disabled {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/timer-disabled-24.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/timer-disabled-24.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
|
|
|
}
|
2018-07-24 21:38:58 +00:00
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-timer-notification__icon-label {
|
|
|
|
margin-left: 6px;
|
|
|
|
|
|
|
|
// Didn't seem centered otherwise
|
|
|
|
margin-top: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-notification--with-click-handler {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-notification__icon {
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Contact List Item
|
|
|
|
|
|
|
|
.module-contact-list-item {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
|
|
|
cursor: inherit;
|
|
|
|
|
2020-07-24 01:35:32 +00:00
|
|
|
padding: 8px;
|
|
|
|
width: 100%;
|
|
|
|
|
2018-06-27 20:53:49 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
2020-07-24 01:35:32 +00:00
|
|
|
|
|
|
|
@include mouse-mode {
|
|
|
|
&:hover {
|
|
|
|
background-color: $color-gray-02;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
background-color: $color-gray-02;
|
|
|
|
}
|
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-15;
|
|
|
|
}
|
2020-07-24 01:35:32 +00:00
|
|
|
@include dark-mouse-mode {
|
|
|
|
&:hover {
|
|
|
|
background-color: $color-gray-80;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include dark-keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
background-color: $color-gray-80;
|
|
|
|
}
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-contact-list-item--with-click-handler {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-contact-list-item__text {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-contact-list-item__text__name {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2-bold;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-contact-list-item__text__profile-name {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2-bold-italic;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-contact-list-item__text__additional-data {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2;
|
|
|
|
|
|
|
|
margin-top: 3p;
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-contact-list-item__text__verified-icon {
|
|
|
|
display: inline-block;
|
2019-10-04 18:06:17 +00:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2018-06-27 20:53:49 +00:00
|
|
|
vertical-align: text-bottom;
|
|
|
|
|
|
|
|
// Trying to account for the whitespace around the check mark
|
|
|
|
margin-bottom: -1px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/check-24.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/check-24.svg', $color-gray-25);
|
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
|
2020-07-24 01:35:32 +00:00
|
|
|
// Module: In Contacts Icon
|
|
|
|
|
|
|
|
.module-in-contacts-icon__icon {
|
|
|
|
display: inline-block;
|
|
|
|
height: 15px;
|
|
|
|
width: 15px;
|
|
|
|
|
|
|
|
margin-bottom: 2px;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-circle-outline-24.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-circle-outline-24.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-circle-outline-24.svg',
|
|
|
|
$ultramarine-ui-light
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-in-contacts-icon__tooltip {
|
|
|
|
.react-tooltip-lite {
|
|
|
|
color: $color-white;
|
|
|
|
background-color: $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-tooltip-lite-arrow {
|
|
|
|
border-color: $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
.react-tooltip-lite {
|
|
|
|
color: $color-white;
|
|
|
|
background-color: $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-tooltip-lite-arrow {
|
|
|
|
border-color: $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
// Module: Conversation Header
|
|
|
|
|
|
|
|
.module-conversation-header {
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
height: $header-height;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-02;
|
|
|
|
background-color: $color-gray-95;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-header__back-icon {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: -10px;
|
|
|
|
margin-right: -2px;
|
2019-10-04 18:06:17 +00:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
min-width: 24px;
|
2018-07-09 21:29:13 +00:00
|
|
|
vertical-align: text-bottom;
|
2019-07-25 16:24:03 +00:00
|
|
|
border: none;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 250ms ease-out;
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--show {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/chevron-left-24.svg',
|
|
|
|
$color-gray-90
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/chevron-left-24.svg',
|
|
|
|
$color-gray-02
|
|
|
|
);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
2018-07-26 22:02:39 +00:00
|
|
|
.module-conversation-header__title-container {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
min-width: 0;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
height: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-header__title-flex {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
height: 48px;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
.module-conversation-header__note-to-self {
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-02;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-27 00:23:17 +00:00
|
|
|
.module-conversation-header__avatar {
|
|
|
|
min-width: 28px;
|
2018-09-26 00:26:06 +00:00
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
|
|
|
|
.module-conversation-header__title {
|
2019-01-31 01:45:58 +00:00
|
|
|
margin-left: 6px;
|
2018-07-26 22:02:39 +00:00
|
|
|
min-width: 0;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include font-body-1-bold;
|
2018-07-09 21:29:13 +00:00
|
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
-webkit-user-select: text;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-02;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
2020-07-24 01:35:32 +00:00
|
|
|
.module-conversation-header__contacts-icon {
|
|
|
|
display: inline-block;
|
|
|
|
height: 15px;
|
|
|
|
width: 15px;
|
|
|
|
|
|
|
|
margin-bottom: 3px;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-circle-outline-24.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-circle-outline-24.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-circle-outline-24.svg',
|
|
|
|
$ultramarine-ui-light
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-conversation-header__title__profile-name {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold-italic;
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-header__title__verified-icon {
|
|
|
|
display: inline-block;
|
|
|
|
width: 1.25em;
|
|
|
|
height: 1.25em;
|
|
|
|
vertical-align: text-bottom;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/check-24.svg', $color-gray-90);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/check-24.svg', $color-gray-02);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-header__expiration {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
padding-left: 8px;
|
|
|
|
padding-right: 8px;
|
2019-08-09 23:12:29 +00:00
|
|
|
transition: opacity 250ms ease-out;
|
|
|
|
|
|
|
|
&--hidden {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-header__expiration__clock-icon {
|
2019-08-09 23:12:29 +00:00
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
2018-07-09 21:29:13 +00:00
|
|
|
display: inline-block;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/timer-24.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/timer-24.svg', $color-gray-25);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-header__expiration__setting {
|
|
|
|
margin-left: 5px;
|
2018-07-26 22:02:39 +00:00
|
|
|
text-align: center;
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
2019-08-09 23:12:29 +00:00
|
|
|
.module-conversation-header__more-button {
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
margin-left: 12px;
|
|
|
|
border: none;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 250ms ease-out;
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--show {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/more-horiz-24.svg', $color-gray-75);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/more-horiz-24.svg', $color-gray-15);
|
|
|
|
}
|
2019-08-09 23:12:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-header__search-button {
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
margin-left: 12px;
|
2019-07-25 16:24:03 +00:00
|
|
|
border: none;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 250ms ease-out;
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--show {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/search-24.svg', $color-gray-75);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/search-24.svg', $color-gray-15);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
2020-06-04 18:16:19 +00:00
|
|
|
.module-conversation-header__audio-calling-button {
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/phone-right-outline-24.svg',
|
|
|
|
$color-gray-75
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/phone-right-solid-24.svg',
|
|
|
|
$color-gray-15
|
|
|
|
);
|
|
|
|
}
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
margin-left: 12px;
|
|
|
|
border: none;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 250ms ease-out;
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--show {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-header__video-calling-button {
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/video-outline-24.svg',
|
|
|
|
$color-gray-75
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/video-solid-24.svg', $color-gray-15);
|
|
|
|
}
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
margin-left: 12px;
|
|
|
|
border: none;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 250ms ease-out;
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--show {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
// Module: Message Detail
|
|
|
|
|
|
|
|
.module-message-detail {
|
|
|
|
max-width: 650px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
padding: 20px;
|
2019-11-07 21:36:16 +00:00
|
|
|
outline: none;
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-detail__message-container {
|
|
|
|
padding-top: 20px;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
|
2019-08-07 00:40:25 +00:00
|
|
|
&::after {
|
2018-07-09 21:29:13 +00:00
|
|
|
content: '.';
|
|
|
|
visibility: hidden;
|
|
|
|
display: block;
|
|
|
|
height: 0;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-detail__label {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold;
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-detail__unix-timestamp {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-45;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-detail__delete-button-container {
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-detail__delete-button {
|
|
|
|
@include button-reset;
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
outline: -webkit-focus-ring-color auto 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
border-radius: 5px;
|
|
|
|
margin: 1em auto;
|
|
|
|
padding: 1em;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
background-color: $color-accent-red;
|
|
|
|
color: $color-white;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
border: solid 1px $color-gray-45;
|
|
|
|
box-shadow: 0 0 10px -3px $color-black-alpha-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
border: solid 1px $color-gray-25;
|
|
|
|
box-shadow: 0 0 10px -3px $color-white-alpha-60;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-detail__contact-container {
|
|
|
|
margin: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-detail__contact {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-detail__contact__text {
|
|
|
|
margin-left: 10px;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-detail__contact__error {
|
2019-10-04 18:06:17 +00:00
|
|
|
color: $color-accent-red;
|
|
|
|
font-weight: bold;
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-detail__contact__status-icon {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-detail__contact__status-icon--sending {
|
|
|
|
animation: module-message-detail__contact__status-icon--spinning 4s linear
|
|
|
|
infinite;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/sending.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/sending.svg', $color-gray-25);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes module-message-detail__contact__status-icon--spinning {
|
|
|
|
100% {
|
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-detail__contact__status-icon--sent {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/check-circle-outline.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/check-circle-outline.svg', $color-gray-25);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
.module-message-detail__contact__status-icon--delivered {
|
|
|
|
width: 18px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/double-check.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/double-check.svg', $color-gray-25);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
.module-message-detail__contact__status-icon--read {
|
|
|
|
width: 18px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/read.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/read.svg', $color-gray-25);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
.module-message-detail__contact__status-icon--error {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/error-outline-12.svg',
|
|
|
|
$color-accent-red
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/error-solid-12.svg',
|
|
|
|
$color-accent-red
|
|
|
|
);
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
2018-10-18 01:01:21 +00:00
|
|
|
.module-message-detail__contact__unidentified-delivery-icon {
|
|
|
|
margin-left: 6px;
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
display: inline-block;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/unidentified-delivery.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/unidentified-delivery.svg', $color-gray-25);
|
|
|
|
}
|
2018-10-18 01:01:21 +00:00
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.module-message-detail__contact__error-buttons {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-detail__contact__show-safety-number {
|
|
|
|
@include button-reset;
|
|
|
|
padding: 4px;
|
|
|
|
border-radius: 4px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
color: $color-white;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-45;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-25;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
.module-message-detail__contact__send-anyway {
|
|
|
|
@include button-reset;
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-top: 5px;
|
|
|
|
padding: 4px;
|
|
|
|
border-radius: 4px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
color: $color-white;
|
|
|
|
background-color: $color-accent-red;
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
2018-07-18 00:15:34 +00:00
|
|
|
// Module: Media Gallery
|
|
|
|
|
|
|
|
.module-media-gallery {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2019-11-07 21:36:16 +00:00
|
|
|
outline: none;
|
2018-07-18 00:15:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-media-gallery__tab-container {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-media-gallery__tab {
|
|
|
|
width: 100%;
|
|
|
|
padding: 20px;
|
|
|
|
text-align: center;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-02;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-90;
|
|
|
|
}
|
2019-11-21 19:16:06 +00:00
|
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-15;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-07-18 00:15:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-media-gallery__tab--active {
|
2020-03-20 00:41:47 +00:00
|
|
|
border-bottom: 2px solid $ultramarine-ui-light;
|
2018-07-18 00:15:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-media-gallery__content {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow-y: auto;
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-media-gallery__sections {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Attachment Section
|
|
|
|
|
|
|
|
.module-attachment-section {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-attachment-section__header {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold;
|
2018-07-18 00:15:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-attachment-section__items {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Document List Item
|
|
|
|
|
|
|
|
.module-document-list-item {
|
|
|
|
width: 100%;
|
|
|
|
height: 72px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-document-list-item--with-separator {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
border-bottom: 1px solid $color-gray-02;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
border-bottom: 1px solid $color-gray-75;
|
|
|
|
}
|
2018-07-18 00:15:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-document-list-item__content {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
2019-11-21 19:16:06 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2019-11-07 21:36:16 +00:00
|
|
|
|
2018-07-18 00:15:34 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
align-items: center;
|
2019-11-21 19:16:06 +00:00
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
}
|
2018-07-18 00:15:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-document-list-item__icon {
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/file.svg', $color-gray-45);
|
2018-07-18 00:15:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-document-list-item__metadata {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-left: 8px;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-document-list-item__file-size {
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 8px;
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2;
|
2018-07-18 00:15:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-document-list-item__date {
|
|
|
|
display: inline-block;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Media Grid Item
|
|
|
|
|
|
|
|
.module-media-grid-item {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
2018-07-18 00:15:34 +00:00
|
|
|
height: 94px;
|
|
|
|
width: 94px;
|
2019-10-04 18:06:17 +00:00
|
|
|
background-color: $color-gray-05;
|
2018-07-18 00:15:34 +00:00
|
|
|
margin-right: 4px;
|
|
|
|
margin-bottom: 4px;
|
2018-07-20 23:37:57 +00:00
|
|
|
position: relative;
|
2019-11-21 19:16:06 +00:00
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
}
|
2018-07-18 00:15:34 +00:00
|
|
|
}
|
2018-07-18 23:00:51 +00:00
|
|
|
|
2018-07-18 00:15:34 +00:00
|
|
|
.module-media-grid-item__image {
|
|
|
|
height: 94px;
|
|
|
|
width: 94px;
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
2018-07-20 23:37:57 +00:00
|
|
|
.module-media-grid-item__icon {
|
|
|
|
position: absolute;
|
|
|
|
top: 15px;
|
|
|
|
bottom: 15px;
|
|
|
|
left: 15px;
|
|
|
|
right: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-media-grid-item__icon-image {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/image.svg', $color-gray-45);
|
2018-07-20 23:37:57 +00:00
|
|
|
}
|
|
|
|
|
2018-07-18 23:00:51 +00:00
|
|
|
.module-media-grid-item__image-container {
|
|
|
|
height: 94px;
|
|
|
|
width: 94px;
|
|
|
|
object-fit: cover;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-media-grid-item__circle-overlay {
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
|
|
|
width: 42px;
|
|
|
|
height: 42px;
|
|
|
|
background-color: $color-white;
|
|
|
|
border-radius: 21px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-media-grid-item__play-overlay {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/play-solid-24.svg',
|
2020-03-20 00:41:47 +00:00
|
|
|
$ultramarine-ui-light
|
2019-10-04 18:06:17 +00:00
|
|
|
);
|
2018-07-18 23:00:51 +00:00
|
|
|
}
|
|
|
|
|
2018-07-20 23:37:57 +00:00
|
|
|
.module-media-grid-item__icon-video {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/movie.svg', $color-gray-45);
|
2018-07-20 23:37:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-media-grid-item__icon-generic {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/file.svg', $color-gray-45);
|
2018-07-20 23:37:57 +00:00
|
|
|
}
|
|
|
|
|
2018-07-18 23:00:51 +00:00
|
|
|
/* Module: Empty State*/
|
2018-07-18 00:15:34 +00:00
|
|
|
|
|
|
|
.module-empty-state {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
flex-grow: 1;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include font-title-1;
|
|
|
|
|
|
|
|
color: $color-gray-45;
|
2018-07-18 00:15:34 +00:00
|
|
|
}
|
|
|
|
|
2020-05-27 21:37:06 +00:00
|
|
|
// Module: Conversation Hero
|
|
|
|
|
|
|
|
.module-conversation-hero {
|
|
|
|
padding: 32px 0 28px 0;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
&__avatar {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__profile-name {
|
|
|
|
@include font-title-2;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__with {
|
|
|
|
@include font-body-2;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__membership {
|
|
|
|
@include font-body-2;
|
|
|
|
|
|
|
|
padding: 0 16px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__name {
|
|
|
|
@include font-body-2-bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Message Request Actions
|
|
|
|
|
|
|
|
.module-message-request-actions {
|
|
|
|
padding: 8px 16px 12px 16px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background: $color-gray-95;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__message {
|
|
|
|
@include font-body-2;
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__name {
|
|
|
|
@include font-body-2-bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
&__button {
|
|
|
|
border: none;
|
|
|
|
border-radius: 4px;
|
|
|
|
min-width: 80px;
|
|
|
|
height: 36px;
|
|
|
|
padding: 0 14px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include font-body-1-bold;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:last-of-type) {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--deny {
|
|
|
|
color: $color-accent-red;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--accept {
|
|
|
|
color: $color-accent-blue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-18 03:25:55 +00:00
|
|
|
// Module: Conversation List Item
|
|
|
|
|
|
|
|
.module-conversation-list-item {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
2018-07-18 03:25:55 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
padding-right: 16px;
|
|
|
|
padding-left: 16px;
|
|
|
|
align-items: center;
|
|
|
|
|
2019-11-07 21:36:16 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
background-color: $color-gray-75;
|
|
|
|
}
|
2018-07-18 03:25:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-27 19:45:08 +00:00
|
|
|
.module-conversation-list-item__muted {
|
|
|
|
display: inline-block;
|
|
|
|
height: 14px;
|
|
|
|
margin-right: 4px;
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 14px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/sound-off-outline-24.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/sound-off-outline-24.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-18 03:25:55 +00:00
|
|
|
.module-conversation-list-item--has-unread {
|
|
|
|
padding-left: 12px;
|
2020-03-05 21:24:51 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
2020-03-20 00:41:47 +00:00
|
|
|
border-left: 4px solid $ultramarine-ui-light;
|
2020-03-05 21:24:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
2020-03-20 00:41:47 +00:00
|
|
|
border-left: 4px solid $ultramarine-ui-dark;
|
2020-03-05 21:24:51 +00:00
|
|
|
}
|
2018-07-18 03:25:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-list-item--is-selected {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-15;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-65;
|
|
|
|
}
|
2018-07-18 03:25:55 +00:00
|
|
|
}
|
|
|
|
|
2018-09-26 22:55:13 +00:00
|
|
|
.module-conversation-list-item__avatar-container {
|
|
|
|
position: relative;
|
2018-07-18 03:25:55 +00:00
|
|
|
margin-top: 8px;
|
|
|
|
margin-bottom: 8px;
|
2018-09-26 00:26:06 +00:00
|
|
|
}
|
2018-07-18 03:25:55 +00:00
|
|
|
|
2018-09-26 22:55:13 +00:00
|
|
|
.module-conversation-list-item__unread-count {
|
|
|
|
text-align: center;
|
|
|
|
|
2018-09-27 00:23:17 +00:00
|
|
|
padding-left: 3px;
|
|
|
|
padding-right: 3px;
|
2018-09-26 22:55:13 +00:00
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
right: -6px;
|
2019-10-04 18:06:17 +00:00
|
|
|
top: 0px;
|
2018-09-26 22:55:13 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-caption-bold;
|
2018-09-26 22:55:13 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
height: 20px;
|
|
|
|
min-width: 20px;
|
|
|
|
line-height: 20px;
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
|
|
color: $color-white;
|
2018-09-26 22:55:13 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
2020-03-20 00:41:47 +00:00
|
|
|
background-color: $ultramarine-ui-light;
|
2019-10-04 18:06:17 +00:00
|
|
|
box-shadow: 0px 0px 0px 1px $color-gray-02;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
2020-03-20 00:41:47 +00:00
|
|
|
background-color: $ultramarine-ui-dark;
|
2019-10-04 18:06:17 +00:00
|
|
|
box-shadow: 0px 0px 0px 1px $color-gray-90;
|
|
|
|
}
|
2018-09-26 22:55:13 +00:00
|
|
|
}
|
|
|
|
|
2018-07-18 03:25:55 +00:00
|
|
|
.module-conversation-list-item__content {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-left: 12px;
|
2019-10-04 18:06:17 +00:00
|
|
|
// parent - 52px (for avatar) - 12p (margin to avatar)
|
2018-07-18 23:49:15 +00:00
|
|
|
max-width: calc(100% - 64px);
|
2018-07-18 03:25:55 +00:00
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-list-item__header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-list-item__header__name {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include font-body-1-bold;
|
2018-07-18 03:25:55 +00:00
|
|
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2018-09-27 00:23:17 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2018-07-26 22:02:39 +00:00
|
|
|
}
|
|
|
|
|
2018-07-18 03:25:55 +00:00
|
|
|
.module-conversation-list-item__header__timestamp {
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-left: 6px;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-caption;
|
2018-07-18 03:25:55 +00:00
|
|
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
2018-09-27 00:23:17 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
.module-conversation-list-item__header__timestamp--with-unread {
|
|
|
|
@include font-caption-bold;
|
2018-07-18 03:25:55 +00:00
|
|
|
}
|
|
|
|
|
2018-07-20 23:37:57 +00:00
|
|
|
.module-conversation-list-item__header__date--has-unread {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-caption-bold;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2018-07-20 23:37:57 +00:00
|
|
|
}
|
|
|
|
|
2018-07-18 03:25:55 +00:00
|
|
|
.module-conversation-list-item__message {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2020-08-07 00:50:54 +00:00
|
|
|
.module-conversation-list-item__message-request {
|
|
|
|
@include font-body-2-bold;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-18 03:25:55 +00:00
|
|
|
.module-conversation-list-item__message__text {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2;
|
2018-09-26 00:26:06 +00:00
|
|
|
|
2018-07-18 03:25:55 +00:00
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2020-01-07 00:56:50 +00:00
|
|
|
text-align: left;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
2018-07-18 03:25:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-list-item__message__text--has-unread {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2-bold;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2018-07-18 03:25:55 +00:00
|
|
|
}
|
|
|
|
|
2020-04-29 21:24:12 +00:00
|
|
|
.module-conversation-list-item__message {
|
|
|
|
&__draft-prefix,
|
|
|
|
&__deleted-for-everyone {
|
|
|
|
font-style: italic;
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
2019-08-07 00:40:25 +00:00
|
|
|
}
|
|
|
|
|
2018-07-18 03:25:55 +00:00
|
|
|
.module-conversation-list-item__message__status-icon {
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
margin-top: 2px;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-list-item__message__status-icon--sending {
|
|
|
|
animation: module-conversation-list-item__message__status-icon--spinning 4s
|
|
|
|
linear infinite;
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/sending.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/sending.svg', $color-gray-45);
|
|
|
|
}
|
2018-07-18 03:25:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes module-conversation-list-item__message__status-icon--spinning {
|
|
|
|
100% {
|
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-conversation-list-item__message__status-icon--sent {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/check-circle-outline.svg', $color-gray-25);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/check-circle-outline.svg', $color-gray-45);
|
|
|
|
}
|
2018-07-18 03:25:55 +00:00
|
|
|
}
|
|
|
|
.module-conversation-list-item__message__status-icon--delivered {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/double-check.svg', $color-gray-25);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/double-check.svg', $color-gray-45);
|
|
|
|
}
|
2018-07-18 03:25:55 +00:00
|
|
|
width: 18px;
|
|
|
|
}
|
|
|
|
.module-conversation-list-item__message__status-icon--read {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/read.svg', $color-gray-25);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/read.svg', $color-gray-45);
|
|
|
|
}
|
2018-07-18 03:25:55 +00:00
|
|
|
width: 18px;
|
|
|
|
}
|
2020-08-07 01:22:52 +00:00
|
|
|
.module-conversation-list-item__message__status-icon--error,
|
|
|
|
.module-conversation-list-item__message__status-icon--partial-sent {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/error-outline-12.svg',
|
|
|
|
$color-accent-red
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/error-solid-12.svg',
|
|
|
|
$color-accent-red
|
|
|
|
);
|
|
|
|
}
|
2018-07-27 01:13:56 +00:00
|
|
|
}
|
2018-07-18 03:25:55 +00:00
|
|
|
|
2018-09-27 00:23:17 +00:00
|
|
|
// Module: Avatar
|
|
|
|
|
|
|
|
.module-avatar {
|
|
|
|
position: relative;
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 50%;
|
2020-08-19 17:08:52 +00:00
|
|
|
user-select: none;
|
2018-09-27 00:23:17 +00:00
|
|
|
|
|
|
|
img {
|
|
|
|
object-fit: cover;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-07 21:36:16 +00:00
|
|
|
.module-avatar-button {
|
|
|
|
@include button-reset;
|
|
|
|
|
|
|
|
// Ensures that the border of the item sticks tight to the inner contents
|
2019-11-19 23:03:00 +00:00
|
|
|
width: 100%;
|
2019-11-07 21:36:16 +00:00
|
|
|
line-height: 0;
|
|
|
|
border-radius: 50%;
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-27 00:23:17 +00:00
|
|
|
.module-avatar__label {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
2019-10-04 18:06:17 +00:00
|
|
|
font-weight: bold;
|
2018-09-27 00:23:17 +00:00
|
|
|
text-transform: uppercase;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2018-09-27 00:23:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar__icon {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar__icon--group {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
2019-11-11 18:03:15 +00:00
|
|
|
@include color-svg('../images/icons/v2/group-outline-40.svg', $color-white);
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-11-11 18:03:15 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/group-outline-40.svg',
|
|
|
|
$color-gray-05
|
|
|
|
);
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2018-09-27 00:23:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar__icon--direct {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
2019-11-11 18:03:15 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-outline-40.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-11-11 18:03:15 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-outline-40.svg',
|
|
|
|
$color-gray-05
|
|
|
|
);
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2018-09-27 00:23:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar--28 {
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-11 18:03:15 +00:00
|
|
|
.module-avatar__icon--28.module-avatar__icon--group {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/group-outline-20.svg', $color-white);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/group-outline-20.svg',
|
|
|
|
$color-gray-05
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.module-avatar__icon--28.module-avatar__icon--direct {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-outline-20.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-outline-20.svg',
|
|
|
|
$color-gray-05
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-27 00:23:17 +00:00
|
|
|
.module-avatar__label--28 {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 28px;
|
|
|
|
}
|
|
|
|
|
2020-01-17 22:23:19 +00:00
|
|
|
.module-avatar--32 {
|
|
|
|
height: 32px;
|
|
|
|
width: 32px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: 32px;
|
|
|
|
width: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar__icon--32.module-avatar__icon--group {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/group-outline-20.svg', $color-white);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/group-outline-20.svg',
|
|
|
|
$color-gray-05
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.module-avatar__icon--32.module-avatar__icon--direct {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-outline-20.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-outline-20.svg',
|
|
|
|
$color-gray-05
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar__label--32 {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 32px;
|
|
|
|
}
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
.module-avatar--52 {
|
|
|
|
height: 52px;
|
|
|
|
width: 52px;
|
2018-09-27 00:23:17 +00:00
|
|
|
|
|
|
|
img {
|
2019-10-04 18:06:17 +00:00
|
|
|
height: 52px;
|
|
|
|
width: 52px;
|
2018-09-27 00:23:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
.module-avatar__label--52 {
|
|
|
|
width: 52px;
|
|
|
|
font-size: 22px;
|
2018-09-27 00:23:17 +00:00
|
|
|
letter-spacing: 0.19px;
|
2019-10-04 18:06:17 +00:00
|
|
|
line-height: 52px;
|
2018-09-27 00:23:17 +00:00
|
|
|
}
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
.module-avatar__icon--52 {
|
2019-11-11 18:03:15 +00:00
|
|
|
height: 38px;
|
|
|
|
width: 38px;
|
|
|
|
}
|
|
|
|
.module-avatar__icon--52.module-avatar__icon--direct {
|
|
|
|
height: 42px;
|
|
|
|
width: 42px;
|
2018-09-27 00:23:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar--80 {
|
|
|
|
height: 80px;
|
|
|
|
width: 80px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: 80px;
|
|
|
|
width: 80px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar__label--80 {
|
|
|
|
width: 80px;
|
|
|
|
font-size: 40px;
|
2019-11-19 23:03:00 +00:00
|
|
|
line-height: 80px;
|
2018-09-27 00:23:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar__icon--80 {
|
2019-11-11 18:03:15 +00:00
|
|
|
height: 58px;
|
|
|
|
width: 58px;
|
|
|
|
}
|
|
|
|
.module-avatar__icon--80.module-avatar__icon--direct {
|
|
|
|
height: 62px;
|
|
|
|
width: 62px;
|
2018-09-27 00:23:17 +00:00
|
|
|
}
|
|
|
|
|
2020-05-27 21:37:06 +00:00
|
|
|
.module-avatar--112 {
|
|
|
|
height: 112px;
|
|
|
|
width: 112px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: 112px;
|
|
|
|
width: 112px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar__label--112 {
|
|
|
|
width: 112px;
|
|
|
|
font-size: 56px;
|
|
|
|
line-height: 112px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar__icon--112 {
|
|
|
|
height: 81px;
|
|
|
|
width: 81px;
|
|
|
|
}
|
|
|
|
.module-avatar__icon--112.module-avatar__icon--direct {
|
|
|
|
height: 87px;
|
|
|
|
width: 87px;
|
|
|
|
}
|
|
|
|
|
2019-01-31 01:45:58 +00:00
|
|
|
.module-avatar__icon--note-to-self {
|
|
|
|
width: 70%;
|
|
|
|
height: 70%;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/note-28.svg', $color-white);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/note-28.svg', $color-gray-05);
|
|
|
|
}
|
2019-01-31 01:45:58 +00:00
|
|
|
}
|
|
|
|
|
2018-09-27 00:23:17 +00:00
|
|
|
.module-avatar--no-image {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-conversation-grey;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-conversation-grey-shade;
|
|
|
|
}
|
2018-09-27 00:23:17 +00:00
|
|
|
}
|
|
|
|
|
2018-10-18 18:39:23 +00:00
|
|
|
.module-avatar--signal-blue {
|
2020-03-20 00:41:47 +00:00
|
|
|
background-color: $ultramarine-ui-light;
|
2018-10-18 18:39:23 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@each $color, $value in $conversation-colors {
|
|
|
|
.module-avatar--#{$color} {
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $value;
|
|
|
|
}
|
|
|
|
}
|
2018-09-27 00:23:17 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
@each $color, $value in $conversation-colors-shade {
|
|
|
|
.module-avatar--#{$color} {
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $value;
|
|
|
|
}
|
|
|
|
}
|
2018-09-27 00:23:17 +00:00
|
|
|
}
|
|
|
|
|
2018-09-29 00:42:13 +00:00
|
|
|
// Module: Main Header
|
|
|
|
|
|
|
|
.module-main-header {
|
|
|
|
height: $header-height;
|
2019-10-04 18:06:17 +00:00
|
|
|
width: $left-pane-width;
|
2019-01-14 21:49:58 +00:00
|
|
|
|
|
|
|
padding-left: 16px;
|
2018-09-29 00:42:13 +00:00
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2019-01-14 21:49:58 +00:00
|
|
|
.module-main-header__search {
|
|
|
|
margin-left: 12px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-main-header__search__input {
|
|
|
|
height: 28px;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
// 320 - 28 (avatar) - 32 (left/right margin) - 12 (space to avatar)
|
|
|
|
width: 248px;
|
2019-01-14 21:49:58 +00:00
|
|
|
|
|
|
|
padding-left: 30px;
|
2019-08-20 19:34:52 +00:00
|
|
|
padding-right: 5px;
|
2019-01-14 21:49:58 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
border-radius: 14px;
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
@include font-body-2;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
color: $color-gray-90;
|
2019-10-17 17:50:57 +00:00
|
|
|
border: solid 1px $color-gray-02;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
background-color: $color-gray-95;
|
2019-10-17 17:50:57 +00:00
|
|
|
border: solid 1px $color-gray-80;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-01-14 21:49:58 +00:00
|
|
|
|
2019-08-07 00:40:25 +00:00
|
|
|
&:placeholder {
|
2019-01-14 21:49:58 +00:00
|
|
|
color: $color-gray-45;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
border: solid 1px $ultramarine-ui-light;
|
2019-01-14 21:49:58 +00:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-20 19:34:52 +00:00
|
|
|
.module-main-header__search__input--with-text {
|
|
|
|
padding-right: 30px;
|
|
|
|
}
|
|
|
|
|
2019-08-09 23:12:29 +00:00
|
|
|
.module-main-header__search__input--in-conversation {
|
|
|
|
padding-left: 50px;
|
|
|
|
}
|
|
|
|
|
2019-01-14 21:49:58 +00:00
|
|
|
.module-main-header__search__icon {
|
|
|
|
position: absolute;
|
|
|
|
left: 8px;
|
|
|
|
top: 6px;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
|
|
|
|
cursor: text;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/search-16.svg', $color-gray-75);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/search-16.svg', $color-gray-25);
|
|
|
|
}
|
2019-01-14 21:49:58 +00:00
|
|
|
}
|
|
|
|
|
2019-08-09 23:12:29 +00:00
|
|
|
.module-main-header__search__in-conversation-pill {
|
|
|
|
position: absolute;
|
|
|
|
left: 3px;
|
|
|
|
top: 3px;
|
|
|
|
bottom: 3px;
|
|
|
|
|
|
|
|
border-radius: 14px;
|
|
|
|
width: 42px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2019-08-20 19:34:52 +00:00
|
|
|
|
|
|
|
// Overriding some default button styling
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
2019-11-21 19:16:06 +00:00
|
|
|
outline: none;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-15;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
}
|
2019-08-09 23:12:29 +00:00
|
|
|
}
|
|
|
|
.module-main-header__search__in-conversation-pill__avatar-container {
|
|
|
|
margin-left: 4px;
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
border-radius: 8px;
|
|
|
|
|
2020-03-20 00:41:47 +00:00
|
|
|
background-color: $ultramarine-ui-light;
|
2019-08-09 23:12:29 +00:00
|
|
|
}
|
|
|
|
.module-main-header__search__in-conversation-pill__avatar {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-circle-outline-24.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-circle-solid-24.svg',
|
|
|
|
$color-gray-05
|
|
|
|
);
|
|
|
|
}
|
2019-08-09 23:12:29 +00:00
|
|
|
}
|
|
|
|
.module-main-header__search__in-conversation-pill__x-button {
|
|
|
|
margin-left: 2px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2019-08-09 23:12:29 +00:00
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-25);
|
|
|
|
}
|
2019-08-09 23:12:29 +00:00
|
|
|
}
|
|
|
|
|
2019-01-14 21:49:58 +00:00
|
|
|
.module-main-header__search__cancel-icon {
|
|
|
|
position: absolute;
|
|
|
|
right: 8px;
|
2019-10-04 18:06:17 +00:00
|
|
|
top: 5px;
|
|
|
|
height: 18px;
|
|
|
|
width: 18px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-25);
|
|
|
|
}
|
2018-09-29 00:42:13 +00:00
|
|
|
}
|
|
|
|
|
2018-11-14 18:47:19 +00:00
|
|
|
// Module: Image
|
|
|
|
|
|
|
|
.module-image {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 1px;
|
2018-12-02 01:48:53 +00:00
|
|
|
vertical-align: middle;
|
2020-08-27 19:45:40 +00:00
|
|
|
overflow: hidden;
|
2018-11-14 18:47:19 +00:00
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
.module-image--with-background {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-black;
|
|
|
|
}
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
|
2018-11-14 18:47:19 +00:00
|
|
|
.module-image__caption-icon {
|
|
|
|
position: absolute;
|
|
|
|
top: 6px;
|
|
|
|
left: 6px;
|
|
|
|
}
|
|
|
|
|
2018-12-02 01:48:53 +00:00
|
|
|
.module-image--soft-corners {
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
2018-11-14 18:47:19 +00:00
|
|
|
.module-image--curved-top-left {
|
|
|
|
border-top-left-radius: 16px;
|
|
|
|
}
|
|
|
|
.module-image--curved-top-right {
|
|
|
|
border-top-right-radius: 16px;
|
|
|
|
}
|
|
|
|
.module-image--curved-bottom-left {
|
|
|
|
border-bottom-left-radius: 16px;
|
|
|
|
}
|
|
|
|
.module-image--curved-bottom-right {
|
|
|
|
border-bottom-right-radius: 16px;
|
|
|
|
}
|
2019-01-16 03:03:56 +00:00
|
|
|
.module-image--small-curved-top-left {
|
|
|
|
border-top-left-radius: 10px;
|
|
|
|
}
|
2018-11-14 18:47:19 +00:00
|
|
|
|
2019-11-07 21:36:16 +00:00
|
|
|
.module-image__border-overlay {
|
|
|
|
@include button-reset;
|
2019-08-22 21:11:36 +00:00
|
|
|
|
2019-11-07 21:36:16 +00:00
|
|
|
width: 100%;
|
|
|
|
cursor: inherit;
|
2019-08-22 21:11:36 +00:00
|
|
|
|
2018-11-14 18:47:19 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2019-11-19 23:03:00 +00:00
|
|
|
z-index: 2;
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-image__border-overlay--with-click-handler {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2019-11-07 21:36:16 +00:00
|
|
|
.module-image__border-overlay--with-border {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
box-shadow: inset 0px 0px 0px 1px $color-black-alpha-20;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
box-shadow: inset 0px 0px 0px 1px $color-white-alpha-20;
|
|
|
|
}
|
2018-11-14 18:47:19 +00:00
|
|
|
}
|
|
|
|
|
2019-11-07 21:36:16 +00:00
|
|
|
// Only if it's a sticker do we put the outline inside it
|
2019-11-21 19:16:06 +00:00
|
|
|
.module-message--selected
|
|
|
|
.module-message__container--with-sticker
|
|
|
|
.module-image__border-overlay {
|
|
|
|
@include mouse-mode {
|
|
|
|
top: 1px;
|
|
|
|
bottom: 1px;
|
|
|
|
left: 1px;
|
|
|
|
right: 1px;
|
|
|
|
border-radius: 10px;
|
|
|
|
|
2020-01-23 23:57:37 +00:00
|
|
|
animation: message--mouse-selected 1s $ease-out-expo;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-07 21:36:16 +00:00
|
|
|
.module-message:focus
|
|
|
|
.module-message__container--with-sticker
|
|
|
|
.module-image__border-overlay {
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
top: 1px;
|
|
|
|
bottom: 1px;
|
|
|
|
left: 1px;
|
|
|
|
right: 1px;
|
|
|
|
border-radius: 10px;
|
2019-11-07 21:36:16 +00:00
|
|
|
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0 0 0 3px $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
button.module-image__border-overlay:focus {
|
|
|
|
@include keyboard-mode {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: inset 0px 0px 0px 2px $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
|
|
|
|
2018-11-14 18:47:19 +00:00
|
|
|
.module-image__border-overlay--dark {
|
2019-10-04 18:06:17 +00:00
|
|
|
background-color: $color-black-alpha-20;
|
2018-11-14 18:47:19 +00:00
|
|
|
}
|
|
|
|
|
2019-01-30 20:15:07 +00:00
|
|
|
.module-image__loading-placeholder {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-black-alpha-20;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-white-alpha-20;
|
|
|
|
}
|
2019-01-30 20:15:07 +00:00
|
|
|
}
|
|
|
|
|
2018-11-14 18:47:19 +00:00
|
|
|
.module-image__image {
|
|
|
|
object-fit: cover;
|
|
|
|
// redundant with attachment-container, but we get cursor flashing on move otherwise
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-image__bottom-overlay {
|
|
|
|
height: 48px;
|
|
|
|
background-image: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
rgba(0, 0, 0, 0),
|
|
|
|
rgba(0, 0, 0, 0) 9%,
|
|
|
|
rgba(0, 0, 0, 0.02) 17%,
|
|
|
|
rgba(0, 0, 0, 0.05) 24%,
|
|
|
|
rgba(0, 0, 0, 0.08) 31%,
|
|
|
|
rgba(0, 0, 0, 0.12) 37%,
|
|
|
|
rgba(0, 0, 0, 0.16) 44%,
|
|
|
|
rgba(0, 0, 0, 0.2) 50%,
|
|
|
|
rgba(0, 0, 0, 0.24) 56%,
|
|
|
|
rgba(0, 0, 0, 0.28) 63%,
|
|
|
|
rgba(0, 0, 0, 0.32) 69%,
|
|
|
|
rgba(0, 0, 0, 0.35) 76%,
|
|
|
|
rgba(0, 0, 0, 0.38) 83%,
|
|
|
|
rgba(0, 0, 0, 0.4) 91%,
|
|
|
|
rgba(0, 0, 0, 0.4)
|
|
|
|
);
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
2019-11-19 23:03:00 +00:00
|
|
|
z-index: 1;
|
2018-11-14 18:47:19 +00:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-image__play-overlay__circle {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
background-color: $color-white;
|
|
|
|
border-radius: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-image__play-overlay__icon {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/play-solid-24.svg',
|
2020-03-20 00:41:47 +00:00
|
|
|
$ultramarine-ui-light
|
2019-10-04 18:06:17 +00:00
|
|
|
);
|
2018-11-14 18:47:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-image__text-container {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2020-07-24 01:35:32 +00:00
|
|
|
z-index: 3;
|
|
|
|
|
|
|
|
// This allows click-through to the overlay button behind it
|
|
|
|
pointer-events: none;
|
2018-11-14 18:47:19 +00:00
|
|
|
|
|
|
|
color: $color-white;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1;
|
2018-11-14 18:47:19 +00:00
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2018-12-02 01:48:53 +00:00
|
|
|
.module-image__close-button {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
2018-12-02 01:48:53 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
right: 5px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
z-index: 2;
|
2019-11-07 21:36:16 +00:00
|
|
|
|
2018-12-02 01:48:53 +00:00
|
|
|
background-image: url('../images/x-shadow-16.svg');
|
2019-11-07 21:36:16 +00:00
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
outline: 2px solid $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
2018-12-02 01:48:53 +00:00
|
|
|
}
|
|
|
|
|
2018-11-14 18:47:19 +00:00
|
|
|
// Module: Image Grid
|
|
|
|
|
|
|
|
.module-image-grid {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
margin: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-image-grid--one-image {
|
|
|
|
margin-bottom: -5px;
|
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
.module-image-grid--with-sticker {
|
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
|
2018-11-14 18:47:19 +00:00
|
|
|
.module-image-grid__column {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-image-grid__row {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2018-11-14 19:10:32 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Typing Animation
|
|
|
|
|
|
|
|
.module-typing-animation {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-directin: row;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
height: 8px;
|
|
|
|
width: 38px;
|
|
|
|
padding-left: 1px;
|
|
|
|
padding-right: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-typing-animation__dot {
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
|
|
height: 6px;
|
|
|
|
width: 6px;
|
|
|
|
opacity: 0.4;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-gray-60;
|
|
|
|
}
|
2018-11-14 19:10:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-typing-animation__dot--light {
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
|
|
height: 6px;
|
|
|
|
width: 6px;
|
|
|
|
opacity: 0.4;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
background-color: $color-white;
|
|
|
|
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-gray-60;
|
|
|
|
}
|
2018-11-14 19:10:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes typing-animation-first {
|
|
|
|
0% {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
20% {
|
|
|
|
transform: scale(1.3);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
40% {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes typing-animation-second {
|
|
|
|
10% {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
30% {
|
|
|
|
transform: scale(1.3);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes typing-animation-third {
|
|
|
|
20% {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
40% {
|
|
|
|
transform: scale(1.3);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
60% {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-typing-animation__dot--first {
|
|
|
|
animation: typing-animation-first 1600ms ease infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-typing-animation__dot--second {
|
|
|
|
animation: typing-animation-second 1600ms ease infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-typing-animation__dot--third {
|
|
|
|
animation: typing-animation-third 1600ms ease infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-typing-animation__spacer {
|
|
|
|
flex-grow: 1;
|
2018-11-14 18:47:19 +00:00
|
|
|
}
|
|
|
|
|
2018-12-02 01:48:53 +00:00
|
|
|
// Module: Attachments
|
|
|
|
|
|
|
|
.module-attachments__header {
|
|
|
|
height: 24px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-attachments__close-button {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
2018-12-02 01:48:53 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 8px;
|
|
|
|
right: 16px;
|
|
|
|
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
|
|
|
|
z-index: 2;
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-black);
|
2019-11-07 21:36:16 +00:00
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $ultramarine-ui-light);
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
2018-12-02 01:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-attachments__rail {
|
|
|
|
margin-top: 12px;
|
2019-08-06 19:18:37 +00:00
|
|
|
margin-left: 12px;
|
|
|
|
padding-right: 12px;
|
2018-12-02 01:48:53 +00:00
|
|
|
overflow-x: scroll;
|
|
|
|
max-height: 142px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow-y: hidden;
|
|
|
|
margin-bottom: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Staged Generic Attachment
|
|
|
|
|
|
|
|
.module-staged-generic-attachment {
|
|
|
|
height: 120px;
|
|
|
|
width: 120px;
|
|
|
|
margin: 1px;
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
border-radius: 4px;
|
|
|
|
vertical-align: middle;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
box-shadow: inset 0px 0px 0px 1px $color-black-alpha-20;
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
box-shadow: inset 0px 0px 0px 1px $color-gray-45;
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
color: $color-gray-02;
|
|
|
|
}
|
2018-12-02 01:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-staged-generic-attachment__close-button {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
2018-12-02 01:48:53 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
right: 5px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
z-index: 2;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-black);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-45);
|
|
|
|
}
|
2018-12-02 01:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-staged-generic-attachment__icon {
|
|
|
|
margin-top: 30px;
|
|
|
|
|
|
|
|
background: url('../images/file-gradient.svg') no-repeat center;
|
|
|
|
height: 44px;
|
|
|
|
width: 56px;
|
|
|
|
margin-left: 32px;
|
|
|
|
margin-right: 32px;
|
|
|
|
margin-bottom: -4px;
|
|
|
|
|
|
|
|
// So we can center the extension text inside this icon
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-staged-generic-attachment__icon__extension {
|
|
|
|
font-size: 10px;
|
|
|
|
line-height: 13px;
|
|
|
|
letter-spacing: 0.1px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
|
|
// Along with flow layout in parent item, centers text
|
|
|
|
text-align: center;
|
|
|
|
width: 25px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
|
|
|
|
// We don't have much room for text here, cut it off without ellipse
|
|
|
|
overflow-x: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: clip;
|
|
|
|
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-staged-generic-attachment__filename {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-caption;
|
|
|
|
|
2018-12-02 01:48:53 +00:00
|
|
|
margin: 7px;
|
|
|
|
margin-top: 5px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
height: 2.4em;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Caption Editor
|
|
|
|
|
|
|
|
.module-caption-editor {
|
|
|
|
background-color: $color-black;
|
|
|
|
z-index: 20;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-caption-editor__close-button {
|
|
|
|
z-index: 21;
|
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
top: 12px;
|
|
|
|
right: 16px;
|
2019-01-10 20:26:28 +00:00
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
2018-12-02 01:48:53 +00:00
|
|
|
z-index: 2;
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-white);
|
2018-12-02 01:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-caption-editor__media-container {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
background-color: $color-black;
|
|
|
|
text-align: center;
|
|
|
|
margin: 50px;
|
|
|
|
overflow: hidden;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-caption-editor__image {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: contain;
|
|
|
|
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
|
|
|
.module-caption-editor__video {
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
object-fit: contain;
|
|
|
|
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
|
|
|
.module-caption-editor__placeholder {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: contain;
|
|
|
|
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-caption-editor__bottom-bar {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
2019-01-15 17:33:23 +00:00
|
|
|
height: 52px;
|
|
|
|
padding: 8px;
|
2018-12-02 01:48:53 +00:00
|
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: middle;
|
|
|
|
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2019-01-15 17:33:23 +00:00
|
|
|
.module-caption-editor__input-container {
|
|
|
|
position: relative;
|
2018-12-02 01:48:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-caption-editor__caption-input {
|
2019-01-15 17:33:23 +00:00
|
|
|
height: 36px;
|
2018-12-02 01:48:53 +00:00
|
|
|
width: 40em;
|
2019-01-15 17:33:23 +00:00
|
|
|
|
2018-12-02 01:48:53 +00:00
|
|
|
color: $color-white;
|
2019-01-15 17:33:23 +00:00
|
|
|
|
|
|
|
border: 1px solid $color-white;
|
|
|
|
border-radius: 18px;
|
2018-12-02 01:48:53 +00:00
|
|
|
background-color: $color-black;
|
2019-01-15 17:33:23 +00:00
|
|
|
padding: 9px;
|
|
|
|
padding-left: 12px;
|
|
|
|
padding-right: 65px;
|
2018-12-02 01:48:53 +00:00
|
|
|
|
2019-08-07 00:40:25 +00:00
|
|
|
&:placeholder {
|
2019-10-04 18:06:17 +00:00
|
|
|
color: $color-white-alpha-80;
|
2018-12-02 01:48:53 +00:00
|
|
|
}
|
2019-01-10 20:26:28 +00:00
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
border: 1px solid $ultramarine-ui-light;
|
2019-01-10 20:26:28 +00:00
|
|
|
outline: none;
|
|
|
|
}
|
2018-12-02 01:48:53 +00:00
|
|
|
}
|
|
|
|
|
2019-01-15 17:33:23 +00:00
|
|
|
.module-caption-editor__save-button {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
2019-01-15 17:33:23 +00:00
|
|
|
position: absolute;
|
2020-03-20 00:41:47 +00:00
|
|
|
background-color: $ultramarine-ui-light;
|
2019-01-15 17:33:23 +00:00
|
|
|
color: $color-white;
|
|
|
|
|
|
|
|
height: 28px;
|
|
|
|
border-radius: 15px;
|
|
|
|
|
|
|
|
padding: 5px;
|
|
|
|
padding-left: 12px;
|
|
|
|
padding-right: 12px;
|
|
|
|
|
|
|
|
right: 4px;
|
|
|
|
top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Staged Placeholder Attachment
|
|
|
|
|
|
|
|
.module-staged-placeholder-attachment {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
2019-01-15 17:33:23 +00:00
|
|
|
margin: 1px;
|
|
|
|
border-radius: 4px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2019-01-15 17:33:23 +00:00
|
|
|
height: 120px;
|
|
|
|
width: 120px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
position: relative;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
border: 1px solid $color-gray-25;
|
|
|
|
&:hover {
|
|
|
|
background: $color-gray-05;
|
|
|
|
}
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
@include keyboard-mode {
|
2019-11-07 21:36:16 +00:00
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: inset 0 0 0 2px $ultramarine-ui-light;
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-11-21 19:16:06 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include dark-theme {
|
|
|
|
border: 1px solid $color-gray-60;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $color-gray-75;
|
|
|
|
}
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
@include dark-keyboard-mode {
|
2019-11-07 21:36:16 +00:00
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: inset 0 0 0 2px $ultramarine-ui-light;
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
2019-01-15 17:33:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-staged-placeholder-attachment__plus-icon {
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
|
|
|
height: 36px;
|
|
|
|
width: 36px;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/plus-24.svg', $color-gray-45);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/plus-24.svg', $color-gray-60);
|
|
|
|
}
|
2019-01-15 17:33:23 +00:00
|
|
|
}
|
|
|
|
|
2019-01-16 03:03:56 +00:00
|
|
|
// Module: Staged Link Preview
|
|
|
|
|
|
|
|
.module-staged-link-preview {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
|
|
min-height: 65px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-staged-link-preview--is-loading {
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.module-staged-link-preview__loading {
|
|
|
|
text-align: center;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
2019-01-16 03:03:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-staged-link-preview__icon-container {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
.module-staged-link-preview__content {
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
.module-staged-link-preview__title {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2019-01-16 03:03:56 +00:00
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
}
|
|
|
|
.module-staged-link-preview__location {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2;
|
|
|
|
|
2019-01-16 03:03:56 +00:00
|
|
|
margin-top: 4px;
|
|
|
|
text-transform: uppercase;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
2019-01-16 03:03:56 +00:00
|
|
|
}
|
|
|
|
.module-staged-link-preview__close-button {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
2019-01-16 03:03:56 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
right: 0px;
|
|
|
|
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-60);
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
@include keyboard-mode {
|
2019-11-07 21:36:16 +00:00
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $ultramarine-ui-light);
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-11-21 19:16:06 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-25);
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
@include dark-keyboard-mode {
|
2019-11-07 21:36:16 +00:00
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $ultramarine-ui-dark);
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-01-16 03:03:56 +00:00
|
|
|
}
|
|
|
|
|
2019-01-30 20:15:07 +00:00
|
|
|
// Module: Spinner
|
|
|
|
|
|
|
|
.module-spinner__container {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
position: relative;
|
|
|
|
height: 56px;
|
|
|
|
width: 56px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-spinner__circle {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
z-index: 2;
|
2019-06-26 19:33:13 +00:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include color-svg('../images/spinner-track-56.svg', $color-white-alpha-40);
|
2019-01-30 20:15:07 +00:00
|
|
|
}
|
|
|
|
.module-spinner__arc {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
z-index: 3;
|
2019-06-26 19:33:13 +00:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2019-01-30 20:15:07 +00:00
|
|
|
|
|
|
|
animation: spinner-arc-animation 1000ms linear infinite;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/spinner-56.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/spinner-56.svg', $color-gray-05);
|
|
|
|
}
|
2019-01-30 20:15:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes spinner-arc-animation {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-13 20:38:28 +00:00
|
|
|
// In these --small and --mini sizes, we're exploding our @color-svg mixin so we don't
|
|
|
|
// have to duplicate our background colors for the dark/ios/size matrix.
|
|
|
|
|
2019-05-31 22:42:01 +00:00
|
|
|
.module-spinner__container--small {
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
|
2019-01-30 20:15:07 +00:00
|
|
|
.module-spinner__circle--small {
|
2019-03-13 20:38:28 +00:00
|
|
|
-webkit-mask: url('../images/spinner-track-24.svg') no-repeat center;
|
|
|
|
-webkit-mask-size: 100%;
|
2019-01-30 20:15:07 +00:00
|
|
|
}
|
|
|
|
.module-spinner__arc--small {
|
2019-03-13 20:38:28 +00:00
|
|
|
-webkit-mask: url('../images/spinner-24.svg') no-repeat center;
|
|
|
|
-webkit-mask-size: 100%;
|
2019-06-27 20:35:21 +00:00
|
|
|
}
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
.module-spinner__circle--incoming {
|
|
|
|
background-color: $color-white-alpha-40;
|
2019-06-27 20:35:21 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
.module-spinner__arc--incoming {
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-02;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
background-color: $color-gray-02;
|
|
|
|
}
|
2019-01-30 20:15:07 +00:00
|
|
|
}
|
2019-03-13 20:38:28 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
.module-spinner__circle--outgoing {
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-white-alpha-40;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-white-alpha-40;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
background-color: $color-white-alpha-40;
|
|
|
|
}
|
2019-01-30 20:15:07 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
.module-spinner__arc--outgoing {
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
|
|
|
@include ios-theme {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
@include ios-dark-theme {
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
2019-01-30 20:15:07 +00:00
|
|
|
}
|
|
|
|
|
2019-05-31 22:42:01 +00:00
|
|
|
.module-spinner__circle--on-background {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
}
|
2019-05-31 22:42:01 +00:00
|
|
|
}
|
|
|
|
.module-spinner__arc--on-background {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-25;
|
|
|
|
}
|
2019-05-31 22:42:01 +00:00
|
|
|
}
|
|
|
|
|
2019-01-14 21:49:58 +00:00
|
|
|
// Module: Highlighted Message Body
|
|
|
|
|
|
|
|
.module-message-body__highlight {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Search Results
|
|
|
|
|
|
|
|
.module-search-results {
|
2019-11-21 19:16:06 +00:00
|
|
|
outline: none;
|
2019-08-09 00:46:49 +00:00
|
|
|
overflow: hidden;
|
|
|
|
flex-grow: 1;
|
2019-01-14 21:49:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-search-results__conversations-header {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold;
|
2019-01-14 21:49:58 +00:00
|
|
|
|
2020-02-12 21:30:58 +00:00
|
|
|
height: 52px;
|
2019-01-14 21:49:58 +00:00
|
|
|
margin-left: 16px;
|
2020-02-12 21:30:58 +00:00
|
|
|
padding-bottom: 8px;
|
|
|
|
padding-top: 8px;
|
2019-01-14 21:49:58 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2019-01-14 21:49:58 +00:00
|
|
|
}
|
|
|
|
|
2020-03-10 00:43:09 +00:00
|
|
|
.module-search-results__sms-not-supported {
|
|
|
|
font-size: 14px;
|
|
|
|
padding-top: 12px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-14 21:49:58 +00:00
|
|
|
.module-search-results__no-results {
|
|
|
|
margin-top: 27px;
|
2019-08-09 23:12:29 +00:00
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 1em;
|
2019-01-14 21:49:58 +00:00
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
2019-11-21 19:16:06 +00:00
|
|
|
outline: none;
|
2019-01-14 21:49:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-search-results__contacts-header {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold;
|
2019-01-14 21:49:58 +00:00
|
|
|
|
2020-03-17 22:41:25 +00:00
|
|
|
height: 52px;
|
2019-01-14 21:49:58 +00:00
|
|
|
margin-left: 16px;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2019-01-14 21:49:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-search-results__messages-header {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold;
|
2019-01-14 21:49:58 +00:00
|
|
|
|
2020-02-12 21:30:58 +00:00
|
|
|
height: 52px;
|
2019-01-14 21:49:58 +00:00
|
|
|
margin-left: 16px;
|
2020-02-12 21:30:58 +00:00
|
|
|
padding-bottom: 8px;
|
|
|
|
padding-top: 8px;
|
2019-01-14 21:49:58 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2019-01-14 21:49:58 +00:00
|
|
|
}
|
|
|
|
|
2019-09-04 14:46:28 +00:00
|
|
|
.module-search-results__spinner-container {
|
|
|
|
width: 100%;
|
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2019-01-14 21:49:58 +00:00
|
|
|
// Module: Message Search Result
|
|
|
|
|
|
|
|
.module-message-search-result {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
2019-01-14 21:49:58 +00:00
|
|
|
padding: 8px;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
min-height: 64px;
|
2019-10-04 18:06:17 +00:00
|
|
|
max-width: $left-pane-width;
|
2019-01-14 21:49:58 +00:00
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: flex-start;
|
|
|
|
|
2019-11-07 21:36:16 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-search-result--is-selected {
|
|
|
|
@include light-theme {
|
2019-11-07 21:36:16 +00:00
|
|
|
background-color: $color-gray-15;
|
2019-01-14 21:49:58 +00:00
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
@include dark-theme {
|
2019-11-07 21:36:16 +00:00
|
|
|
background-color: $color-gray-65;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-01-14 21:49:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-search-result__text {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-left: 12px;
|
|
|
|
// parent - 48px (for avatar) - 16px (our right margin)
|
|
|
|
max-width: calc(100% - 64px);
|
|
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-search-result__header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-search-result__header__from {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1;
|
|
|
|
|
2019-01-14 21:49:58 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2019-01-14 21:49:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-search-result__header__timestamp {
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-left: 6px;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-caption;
|
2019-01-14 21:49:58 +00:00
|
|
|
|
|
|
|
overflow-x: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
2019-01-14 21:49:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-message-search-result__body {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2;
|
|
|
|
|
2019-01-14 21:49:58 +00:00
|
|
|
margin-top: 1px;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-15;
|
|
|
|
}
|
2019-01-14 21:49:58 +00:00
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 3;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
|
|
|
// Note: -webkit-line-clamp doesn't work for RTL text, and it forces you to use
|
|
|
|
// ... as the truncation indicator. That's not a solution that works well for
|
|
|
|
// all languages. More resources:
|
|
|
|
// - http://hackingui.com/front-end/a-pure-css-solution-for-multiline-text-truncation/
|
|
|
|
// - https://medium.com/mofed/css-line-clamp-the-good-the-bad-and-the-straight-up-broken-865413f16e5
|
|
|
|
}
|
|
|
|
|
2020-01-17 22:23:19 +00:00
|
|
|
// Module: Reaction Viewer
|
|
|
|
|
|
|
|
.module-reaction-viewer {
|
|
|
|
width: 320px;
|
|
|
|
height: 320px;
|
|
|
|
border-radius: 8px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
@include popper-shadow();
|
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
background: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
background: $color-gray-75;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__header {
|
|
|
|
width: 100%;
|
|
|
|
min-height: 44px;
|
2020-02-05 23:14:25 +00:00
|
|
|
padding: 0px 8px;
|
2020-01-17 22:23:19 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
overflow-x: auto;
|
|
|
|
|
|
|
|
&__button {
|
|
|
|
min-height: 28px;
|
|
|
|
border: none;
|
|
|
|
border-radius: 18px;
|
2020-02-05 23:14:25 +00:00
|
|
|
padding: 0px 8px;
|
2020-01-17 22:23:19 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2020-02-05 23:14:25 +00:00
|
|
|
flex-basis: 45px;
|
|
|
|
flex-shrink: 0;
|
2020-01-17 22:23:19 +00:00
|
|
|
|
|
|
|
&:not(:first-of-type) {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
2020-01-17 22:23:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
background: none;
|
|
|
|
|
|
|
|
&--selected {
|
|
|
|
@include light-theme() {
|
|
|
|
background: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
background: $color-gray-60;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-05 23:14:25 +00:00
|
|
|
&__count,
|
|
|
|
&__all {
|
2020-01-17 22:23:19 +00:00
|
|
|
@include font-body-2-bold();
|
2020-02-05 23:14:25 +00:00
|
|
|
|
|
|
|
white-space: nowrap;
|
2020-01-17 22:23:19 +00:00
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
2020-02-05 23:14:25 +00:00
|
|
|
|
|
|
|
&__count {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
2020-01-17 22:23:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__body {
|
|
|
|
flex-grow: 1;
|
|
|
|
padding: 0 16px;
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
&__row {
|
2020-02-05 23:14:25 +00:00
|
|
|
margin-top: 12px;
|
2020-01-17 22:23:19 +00:00
|
|
|
min-height: 32px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
|
2020-02-05 23:14:25 +00:00
|
|
|
&:last-of-type {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
|
2020-02-03 22:00:50 +00:00
|
|
|
&__avatar {
|
2020-01-17 22:23:19 +00:00
|
|
|
min-width: 32px;
|
2020-02-05 23:14:25 +00:00
|
|
|
flex-shrink: 1;
|
2020-01-17 22:23:19 +00:00
|
|
|
}
|
|
|
|
|
2020-02-03 22:00:50 +00:00
|
|
|
&__name {
|
2020-01-17 22:23:19 +00:00
|
|
|
@include font-body-1-bold();
|
2020-02-05 23:14:25 +00:00
|
|
|
flex-grow: 1;
|
2020-01-17 22:23:19 +00:00
|
|
|
margin-left: 8px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
2020-02-05 23:14:25 +00:00
|
|
|
|
|
|
|
&__emoji {
|
|
|
|
width: 18px;
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
2020-01-17 22:23:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-23 23:57:37 +00:00
|
|
|
// Module: Reaction Picker
|
|
|
|
|
|
|
|
@keyframes module-reaction-picker__background-fade {
|
|
|
|
from {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
// This color is the same in both light and dark themes
|
|
|
|
background: rgba($color-black, 0.8);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes module-reaction-picker__emoji-fade {
|
|
|
|
from {
|
|
|
|
transform: translate3d(0, 24px, 0);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: translate3d(0, 0, 0);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-reaction-picker {
|
|
|
|
width: 320px;
|
|
|
|
height: 56px;
|
|
|
|
border-radius: 30px;
|
|
|
|
position: relative;
|
|
|
|
margin: 4px 0;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
animation: {
|
|
|
|
name: module-reaction-picker__background-fade;
|
|
|
|
duration: 400ms;
|
|
|
|
timing-function: $ease-out-expo;
|
|
|
|
fill-mode: forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__emoji-btn {
|
|
|
|
@include button-reset;
|
|
|
|
display: flex;
|
|
|
|
min-width: 52px;
|
|
|
|
min-height: 52px;
|
|
|
|
border-radius: 52px;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
top: 2px;
|
|
|
|
|
|
|
|
@for $i from 0 through 6 {
|
|
|
|
&:nth-of-type(#{$i + 1}) {
|
|
|
|
left: 2px + ($i * 44px);
|
|
|
|
|
|
|
|
// Prevent animation jank
|
|
|
|
opacity: 0;
|
|
|
|
|
|
|
|
animation: {
|
|
|
|
name: module-reaction-picker__emoji-fade;
|
|
|
|
duration: 400ms;
|
|
|
|
timing-function: $ease-out-expo;
|
|
|
|
delay: #{$i * 10ms};
|
|
|
|
fill-mode: forwards;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
transition: background 400ms $ease-out-expo;
|
|
|
|
&--selected {
|
|
|
|
// This color is the same in both light and dark themes
|
|
|
|
background: rgba($color-white, 0.3);
|
|
|
|
}
|
2020-05-05 19:49:34 +00:00
|
|
|
&--more {
|
2020-05-08 17:29:42 +00:00
|
|
|
@include light-theme {
|
|
|
|
background: url('../images/any-emoji-32-light.svg') no-repeat center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background: url('../images/any-emoji-32-dark.svg') no-repeat center;
|
|
|
|
}
|
2020-05-05 19:49:34 +00:00
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
width: 52px;
|
|
|
|
height: 52px;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 400ms $ease-out-expo;
|
2020-05-08 17:29:42 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background: url('../images/any-emoji-32-light-hover.svg') no-repeat
|
|
|
|
center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background: url('../images/any-emoji-32-dark-hover.svg') no-repeat
|
|
|
|
center;
|
|
|
|
}
|
2020-05-05 19:49:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover::after {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2020-01-23 23:57:37 +00:00
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus:before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
width: 4px;
|
|
|
|
height: 4px;
|
2020-03-20 00:41:47 +00:00
|
|
|
background: $ultramarine-ui-light;
|
2020-01-23 23:57:37 +00:00
|
|
|
border-radius: 2px;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 4px;
|
|
|
|
left: calc(50% - 2px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$emoji-btn: &;
|
|
|
|
|
|
|
|
&__emoji {
|
|
|
|
position: absolute;
|
|
|
|
left: 2px;
|
|
|
|
top: 2px;
|
|
|
|
transform-origin: center;
|
|
|
|
$scale: 32 / 48;
|
|
|
|
transform: scale3d($scale, $scale, $scale);
|
|
|
|
transition: transform 400ms $ease-out-expo;
|
|
|
|
|
|
|
|
#{$emoji-btn}:hover &,
|
|
|
|
.keyboard-mode #{$emoji-btn}:focus & {
|
|
|
|
transform: scale3d(1, 1, 1) translate3d(0, -24px, 0);
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-04 18:16:19 +00:00
|
|
|
.module-incoming-call {
|
|
|
|
align-items: center;
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-incoming-call__contact {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
min-width: 0;
|
|
|
|
|
|
|
|
&--avatar {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
margin-left: 16px;
|
|
|
|
margin-top: 8px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--name {
|
|
|
|
align-items: stretch;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-left: 12px;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--name-header {
|
|
|
|
@include font-body-1-bold;
|
|
|
|
color: #ffffff;
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--message-text {
|
|
|
|
@include font-body-2;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-incoming-call__actions {
|
|
|
|
display: flex;
|
|
|
|
margin-right: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-incoming-call__button--accept-video-as-audio {
|
|
|
|
background-color: $color-gray-45;
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
box-shadow: 0px 0px 0px 4px $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include mouse-mode {
|
|
|
|
&:hover {
|
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/video-off-solid-24.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-incoming-call__button--accept-video {
|
|
|
|
background-color: $color-accent-green;
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
box-shadow: 0px 0px 0px 4px $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include mouse-mode {
|
|
|
|
&:hover {
|
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
@include color-svg('../images/icons/v2/video-solid-24.svg', $color-white);
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-incoming-call__button--accept-audio {
|
|
|
|
background-color: $color-accent-green;
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
box-shadow: 0px 0px 0px 4px $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include mouse-mode {
|
|
|
|
&:hover {
|
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/phone-right-solid-24.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-incoming-call__button--decline {
|
|
|
|
background-color: $color-accent-red;
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
box-shadow: 0px 0px 0px 4px $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include mouse-mode {
|
|
|
|
&:hover {
|
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
@include color-svg('../images/icons/v2/phone-down-24.svg', $color-white);
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-incoming-call__icon,
|
|
|
|
.module-ongoing-call__icon {
|
|
|
|
align-items: center;
|
|
|
|
border-radius: 40px;
|
|
|
|
border: none;
|
|
|
|
display: flex;
|
|
|
|
height: 40px;
|
|
|
|
justify-content: center;
|
|
|
|
margin-left: 24px;
|
|
|
|
outline: none;
|
|
|
|
width: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-ongoing-call__icon {
|
|
|
|
border-radius: 56px;
|
|
|
|
height: 56px;
|
|
|
|
width: 56px;
|
|
|
|
|
|
|
|
&--audio {
|
|
|
|
&--enabled {
|
|
|
|
background-color: $color-gray-45;
|
|
|
|
|
|
|
|
div {
|
|
|
|
@include color-svg('../images/icons/v2/mic-solid-28.svg', $color-white);
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&--disabled {
|
|
|
|
background-color: $color-white;
|
|
|
|
|
|
|
|
div {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/mic-off-solid-28.svg',
|
|
|
|
$color-black
|
|
|
|
);
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--video {
|
|
|
|
&--enabled {
|
|
|
|
background-color: $color-gray-45;
|
|
|
|
|
|
|
|
div {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/video-solid-28.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&--disabled {
|
|
|
|
background-color: $color-white;
|
|
|
|
|
|
|
|
div {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/video-off-solid-28.svg',
|
|
|
|
$color-black
|
|
|
|
);
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--hangup {
|
|
|
|
background-color: $color-accent-red;
|
|
|
|
|
|
|
|
div {
|
|
|
|
@include color-svg('../images/icons/v2/phone-down-28.svg', $color-white);
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-ongoing-call {
|
|
|
|
background-color: $color-gray-95;
|
|
|
|
height: 100vh;
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-ongoing-call__remote-video-enabled {
|
|
|
|
background-color: $color-gray-95;
|
|
|
|
height: 100vh;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-ongoing-call__remote-video-disabled {
|
|
|
|
background-color: $color-gray-95;
|
|
|
|
height: 100vh;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-ongoing-call__local-video {
|
|
|
|
transform: rotateY(180deg);
|
|
|
|
background-color: transparent;
|
|
|
|
bottom: 160px;
|
|
|
|
height: 152px;
|
|
|
|
position: absolute;
|
|
|
|
right: 32px;
|
|
|
|
width: 210px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-ongoing-call__header {
|
2020-08-18 21:12:03 +00:00
|
|
|
background: linear-gradient($color-black-alpha-40, transparent);
|
2020-06-04 18:16:19 +00:00
|
|
|
padding-bottom: 24px;
|
|
|
|
padding-top: 24px;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
font-style: normal;
|
|
|
|
color: #ffffff;
|
|
|
|
text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-ongoing-call__header-name {
|
|
|
|
font-weight: 600;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 21px;
|
|
|
|
letter-spacing: -0.009em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-ongoing-call__header-message {
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 18px;
|
|
|
|
letter-spacing: -0.0025em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-ongoing-call__actions {
|
2020-08-18 21:12:03 +00:00
|
|
|
background: linear-gradient(transparent, $color-black-alpha-40);
|
2020-06-04 18:16:19 +00:00
|
|
|
bottom: 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
padding-bottom: 32px;
|
|
|
|
padding-top: 32px;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes module-ongoing-call__controls--fade-in {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes module-ongoing-call__controls--fade-out {
|
|
|
|
from {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-ongoing-call__controls--fadeIn {
|
|
|
|
animation: {
|
|
|
|
name: module-ongoing-call__controls--fade-in;
|
|
|
|
duration: 400ms;
|
|
|
|
timing-function: $ease-out-expo;
|
|
|
|
fill-mode: forwards;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-ongoing-call__controls--fadeOut {
|
|
|
|
animation: {
|
|
|
|
name: module-ongoing-call__controls--fade-out;
|
|
|
|
duration: 1200ms;
|
|
|
|
timing-function: $ease-out-expo;
|
|
|
|
fill-mode: forwards;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-27 00:03:42 +00:00
|
|
|
.module-ongoing-call__settings {
|
|
|
|
position: absolute;
|
|
|
|
top: 25px;
|
|
|
|
right: 25px;
|
|
|
|
|
|
|
|
&--button {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/settings-solid-16.svg',
|
|
|
|
$color-white
|
|
|
|
);
|
|
|
|
height: 22px;
|
|
|
|
width: 22px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-14 21:49:58 +00:00
|
|
|
// Module: Left Pane
|
|
|
|
|
|
|
|
.module-left-pane {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
width: $left-pane-width;
|
2019-01-14 21:49:58 +00:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-left-pane__header {
|
|
|
|
flex-grow: 0;
|
2020-04-23 19:20:47 +00:00
|
|
|
flex-shrink: 0;
|
2019-01-14 21:49:58 +00:00
|
|
|
}
|
|
|
|
|
2019-03-12 00:20:16 +00:00
|
|
|
.module-left-pane__archive-header {
|
|
|
|
height: 48px;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
border-bottom: 1px solid $color-gray-15;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
border-bottom: 1px solid $color-gray-75;
|
|
|
|
}
|
2019-03-12 00:20:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-left-pane__to-inbox-button {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
margin-left: 7px;
|
|
|
|
margin-right: 5px;
|
2019-03-12 00:20:16 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2019-03-12 00:20:16 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/chevron-left-24.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/chevron-left-24.svg',
|
2020-03-20 00:41:47 +00:00
|
|
|
$ultramarine-ui-light
|
2019-11-07 21:36:16 +00:00
|
|
|
);
|
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-11-21 19:16:06 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/chevron-left-24.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
@include dark-keyboard-mode {
|
2019-11-07 21:36:16 +00:00
|
|
|
&:hover {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/chevron-left-24.svg',
|
2020-03-20 00:41:47 +00:00
|
|
|
$ultramarine-ui-dark
|
2019-11-07 21:36:16 +00:00
|
|
|
);
|
|
|
|
}
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2019-03-12 00:20:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-left-pane__archive-header-text {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2019-03-12 00:20:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-left-pane__archive-helper-text {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2;
|
|
|
|
|
2019-03-14 21:41:14 +00:00
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
2019-03-12 00:20:16 +00:00
|
|
|
padding: 1em;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
}
|
2019-03-12 00:20:16 +00:00
|
|
|
}
|
|
|
|
|
2020-04-23 19:20:47 +00:00
|
|
|
.module-left-pane__list--measure {
|
2019-03-14 21:41:14 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
2019-11-07 21:36:16 +00:00
|
|
|
outline: none;
|
2019-03-14 21:41:14 +00:00
|
|
|
}
|
|
|
|
|
2020-04-23 19:20:47 +00:00
|
|
|
.module-left-pane__list--wrapper {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-left-pane__list {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2019-03-09 02:25:28 +00:00
|
|
|
.module-left-pane__virtual-list {
|
|
|
|
outline: none;
|
2019-01-14 21:49:58 +00:00
|
|
|
}
|
|
|
|
|
2019-03-12 00:20:16 +00:00
|
|
|
.module-left-pane__archived-button {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold;
|
|
|
|
|
2019-03-12 00:20:16 +00:00
|
|
|
height: 64px;
|
|
|
|
line-height: 64px;
|
|
|
|
text-align: center;
|
2019-11-07 21:36:16 +00:00
|
|
|
width: 100%;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
|
2019-11-07 21:36:16 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2019-10-04 18:06:17 +00:00
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
2019-11-07 21:36:16 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2019-10-04 18:06:17 +00:00
|
|
|
background-color: $color-gray-75;
|
|
|
|
}
|
2019-03-12 00:20:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-left-pane__archived-button__archived-count {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2-bold;
|
|
|
|
|
2019-03-12 00:20:16 +00:00
|
|
|
padding: 6px;
|
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 1px;
|
|
|
|
border-radius: 10px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
}
|
2019-03-12 00:20:16 +00:00
|
|
|
}
|
|
|
|
|
2019-01-14 21:49:58 +00:00
|
|
|
// Module: Start New Conversation
|
|
|
|
|
|
|
|
.module-start-new-conversation {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
2019-01-14 21:49:58 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
padding-left: 16px;
|
|
|
|
|
2019-11-07 21:36:16 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
background-color: $color-gray-75;
|
|
|
|
}
|
2019-01-14 21:49:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-start-new-conversation__content {
|
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-start-new-conversation__number {
|
2019-10-04 18:06:17 +00:00
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2019-01-14 21:49:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-start-new-conversation__text {
|
|
|
|
margin-top: 3px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include font-body-1-italic;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-45;
|
|
|
|
}
|
2019-01-14 21:49:58 +00:00
|
|
|
}
|
|
|
|
|
2019-05-31 22:42:01 +00:00
|
|
|
// Module: Timeline Loading Row
|
|
|
|
|
|
|
|
.module-timeline-loading-row {
|
|
|
|
height: 48px;
|
|
|
|
padding: 12px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: columns;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-75;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-20 17:42:28 +00:00
|
|
|
// Module: Timeline
|
|
|
|
|
|
|
|
.module-timeline {
|
|
|
|
height: 100%;
|
2019-05-31 22:42:01 +00:00
|
|
|
overflow: hidden;
|
2019-03-20 17:42:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-timeline__message-container {
|
2019-08-22 21:11:36 +00:00
|
|
|
padding-top: 4px;
|
|
|
|
padding-bottom: 4px;
|
2019-03-20 17:42:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ReactVirtualized__List {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2019-05-24 23:58:27 +00:00
|
|
|
// Module: CompositionPopper
|
2019-05-16 22:32:11 +00:00
|
|
|
|
2019-05-24 23:58:27 +00:00
|
|
|
%module-composition-popper {
|
2019-05-16 22:32:11 +00:00
|
|
|
width: 332px;
|
|
|
|
border-radius: 8px;
|
2019-05-24 23:58:27 +00:00
|
|
|
margin-bottom: 6px;
|
|
|
|
z-index: 2;
|
2019-05-16 22:32:11 +00:00
|
|
|
user-select: none;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
@include popper-shadow();
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background: $color-gray-02;
|
2019-05-24 23:58:27 +00:00
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
border: 2px solid $color-gray-02;
|
|
|
|
}
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background: $color-gray-75;
|
2019-05-24 23:58:27 +00:00
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
border: 2px solid $color-gray-75;
|
|
|
|
}
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-26 00:08:58 +00:00
|
|
|
// Module: SafetyNumberChangeDialog
|
|
|
|
|
|
|
|
.module-sfn-dialog__title {
|
|
|
|
@include font-body-1-bold;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-sfn-dialog__message {
|
|
|
|
@include font-body-2;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-sfn-dialog__contacts {
|
|
|
|
list-style-type: none;
|
|
|
|
max-height: 300px;
|
|
|
|
overflow-y: scroll;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-sfn-dialog__contact {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
|
|
&--wrapper {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--name {
|
|
|
|
@include font-body-1-bold;
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--number {
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--view {
|
|
|
|
@include font-body-1-bold;
|
|
|
|
background: inherit;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
margin-right: 2px;
|
|
|
|
outline: none;
|
|
|
|
padding: 8px 14px;
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $ultramarine-ui-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-sfn-dialog__actions {
|
|
|
|
border-top: 1px solid $color-gray-05;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
margin-bottom: -18px;
|
|
|
|
margin-left: -16px;
|
|
|
|
margin-right: -16px;
|
|
|
|
margin-top: -14px;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
padding-top: 16px;
|
|
|
|
|
|
|
|
&--cancel {
|
|
|
|
@include font-body-1-bold;
|
|
|
|
border: none;
|
|
|
|
border-radius: 4px;
|
|
|
|
outline: none;
|
|
|
|
padding: 7px 14px;
|
|
|
|
|
|
|
|
@include mouse-mode {
|
|
|
|
&:hover {
|
|
|
|
background: $color-gray-15;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
color: $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
color: $ultramarine-ui-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--confirm {
|
|
|
|
@include font-body-1-bold;
|
|
|
|
background: $ultramarine-ui-light;
|
|
|
|
border: none;
|
|
|
|
border-radius: 4px;
|
|
|
|
color: $color-white;
|
|
|
|
margin-left: 12px;
|
|
|
|
outline: none;
|
|
|
|
padding: 7px 14px;
|
|
|
|
|
|
|
|
@include mouse-mode {
|
|
|
|
&:hover {
|
|
|
|
background: $ultramarine-brand-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-brand-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Safety Number verification */
|
|
|
|
|
|
|
|
.module-safety-number {
|
|
|
|
&__icon {
|
|
|
|
height: 1.25em;
|
|
|
|
width: 1.25em;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__verification-label {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__icon--verified {
|
|
|
|
display: inline-block;
|
|
|
|
height: 1.25em;
|
|
|
|
margin-right: 4px;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
width: 1.25em;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
-webkit-mask: url('../images/icons/v2/check-24.svg') no-repeat center;
|
|
|
|
-webkit-mask-size: 100%;
|
|
|
|
background-color: #121212;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
-webkit-mask: url('../images/icons/v2/check-24.svg') no-repeat center;
|
|
|
|
-webkit-mask-size: 100%;
|
|
|
|
background-color: #f6f6f6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__icon--shield {
|
|
|
|
display: inline-block;
|
|
|
|
height: 1.25em;
|
|
|
|
margin-right: 4px;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
width: 1.25em;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
-webkit-mask: url('../images/icons/v2/safety-number-outline-24.svg')
|
|
|
|
no-repeat center;
|
|
|
|
-webkit-mask-size: 100%;
|
|
|
|
background-color: #121212;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
-webkit-mask: url('../images/icons/v2/safety-number-solid-24.svg')
|
|
|
|
no-repeat center;
|
|
|
|
-webkit-mask-size: 100%;
|
|
|
|
background-color: #f6f6f6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__verify-container {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__button--verify {
|
|
|
|
border-radius: 5px;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 0;
|
|
|
|
outline: none;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__number {
|
|
|
|
background: #f6f6f6;
|
|
|
|
border-radius: 5px;
|
|
|
|
border: solid 1px #dedede;
|
|
|
|
font-family: monospace;
|
|
|
|
margin: 20px auto 20px auto;
|
|
|
|
padding: 10px;
|
|
|
|
text-align: center;
|
|
|
|
width: 16em;
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background: #1b1b1b;
|
|
|
|
border: solid 1px #848484;
|
|
|
|
color: #f6f6f6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__verification-status {
|
|
|
|
margin: 30px 0 10px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__close-button {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
|
|
button {
|
|
|
|
background: inherit;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
border: 1px solid $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-05);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-24 23:58:27 +00:00
|
|
|
// Module: StickerPicker
|
|
|
|
|
|
|
|
.module-sticker-picker {
|
|
|
|
@extend %module-composition-popper;
|
|
|
|
height: 400px;
|
|
|
|
display: grid;
|
|
|
|
grid-template-rows: 44px 1fr;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
.module-sticker-picker__header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
padding: 0 8px;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-sticker-picker__header__packs {
|
|
|
|
width: 288px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&__slider {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
transform: translateX(0);
|
|
|
|
transition: transform 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-sticker-picker__header__button {
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 8px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
background: none;
|
|
|
|
margin-right: 4px;
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
outline: none;
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
&:active,
|
|
|
|
&:focus {
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
2019-11-07 21:36:16 +00:00
|
|
|
background: $color-gray-05;
|
|
|
|
}
|
2019-11-21 19:16:06 +00:00
|
|
|
@include dark-keyboard-mode {
|
2019-11-07 21:36:16 +00:00
|
|
|
background: $color-gray-60;
|
|
|
|
}
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&--selected {
|
|
|
|
@include light-theme {
|
2019-11-07 21:36:16 +00:00
|
|
|
background: $color-gray-15;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-11-07 21:36:16 +00:00
|
|
|
background: $color-gray-45;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--recents,
|
|
|
|
&--add-pack {
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
min-width: 20px;
|
|
|
|
min-height: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--recents {
|
|
|
|
&::after {
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/recent-outline-20.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/recent-solid-20.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--add-pack {
|
|
|
|
&::after {
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/icons/v2/plus-20.svg', $color-gray-60);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/icons/v2/plus-20.svg', $color-gray-25);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--prev-page,
|
|
|
|
&--next-page {
|
|
|
|
top: 0;
|
|
|
|
margin: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
2019-10-04 18:06:17 +00:00
|
|
|
min-width: 16px;
|
|
|
|
min-height: 16px;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background: $color-gray-02;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background: $color-gray-75;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--prev-page {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/chevron-left-16.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/chevron-left-16.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--next-page {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/chevron-right-16.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/chevron-right-16.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--error {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
display: block;
|
|
|
|
content: '';
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
position: absolute;
|
|
|
|
left: 14px;
|
|
|
|
top: 2px;
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/error-solid-24.svg',
|
|
|
|
$color-accent-red
|
|
|
|
);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--hint {
|
|
|
|
position: relative;
|
|
|
|
&::before {
|
|
|
|
display: block;
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
border-radius: 7px;
|
2020-03-20 00:41:47 +00:00
|
|
|
background: $ultramarine-ui-light;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-sticker-picker__header__button__image {
|
2020-01-15 19:16:21 +00:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
object-fit: contain;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
|
2019-05-24 01:27:42 +00:00
|
|
|
.module-sticker-picker__header__button__image--placeholder {
|
|
|
|
min-width: 20px;
|
|
|
|
min-height: 20px;
|
|
|
|
max-width: 20px;
|
|
|
|
max-height: 20px;
|
2019-10-04 18:06:17 +00:00
|
|
|
background-color: $color-gray-05;
|
2019-05-24 01:27:42 +00:00
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
.module-sticker-picker__body {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
width: 332px;
|
|
|
|
height: 356px;
|
|
|
|
padding: 8px 20px 16px 16px;
|
|
|
|
overflow-y: auto;
|
|
|
|
display: grid;
|
|
|
|
grid-gap: 8px;
|
|
|
|
grid-template-columns: repeat(4, 1fr);
|
|
|
|
grid-auto-rows: 68px;
|
|
|
|
|
|
|
|
&--under-text {
|
|
|
|
height: 320px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--under-long-text {
|
|
|
|
height: 304px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__cell {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
|
|
|
width: 68px;
|
|
|
|
height: 68px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include mouse-mode {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
&__image,
|
|
|
|
&__placeholder {
|
|
|
|
width: 100%;
|
2020-01-15 19:16:21 +00:00
|
|
|
height: 100%;
|
|
|
|
object-fit: contain;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__placeholder {
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
background-color: $color-gray-60;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--empty {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__text {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold;
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
text-align: center;
|
|
|
|
padding: 8px 16px 12px 0;
|
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:only-child {
|
|
|
|
padding: 0 0 28px 0; // header height to offset the text so it is centered in the whole picker
|
|
|
|
}
|
|
|
|
|
|
|
|
&--error {
|
|
|
|
@include light-theme() {
|
2019-10-04 18:06:17 +00:00
|
|
|
color: $color-accent-red;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
@include dark-theme() {
|
2019-10-04 18:06:17 +00:00
|
|
|
color: $color-accent-red;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--hint {
|
|
|
|
@include light-theme() {
|
2020-03-20 00:41:47 +00:00
|
|
|
color: $ultramarine-ui-light;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
2020-03-20 00:41:47 +00:00
|
|
|
color: $ultramarine-ui-dark;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--pin {
|
|
|
|
padding: 8px 16px 12px 0px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: StickerManager
|
|
|
|
|
|
|
|
.module-sticker-manager {
|
|
|
|
padding: 0 16px;
|
2019-11-07 21:36:16 +00:00
|
|
|
outline: none;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-sticker-manager__text {
|
|
|
|
height: 18px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
letter-spacing: 0px;
|
|
|
|
line-height: 18px;
|
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--heading {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold;
|
2019-05-16 22:32:11 +00:00
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-sticker-manager__empty {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
height: 64px;
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background: $color-gray-02;
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background: $color-gray-90;
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-18 19:36:20 +00:00
|
|
|
%blessed-sticker-pack-icon {
|
|
|
|
height: 14px;
|
|
|
|
width: 14px;
|
|
|
|
border-radius: 8px;
|
|
|
|
background-color: $color-white;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: {
|
|
|
|
left: 5px;
|
|
|
|
bottom: 2px;
|
|
|
|
}
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::before {
|
2019-12-18 19:44:57 +00:00
|
|
|
content: '';
|
2019-12-18 19:36:20 +00:00
|
|
|
display: block;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
position: absolute;
|
|
|
|
top: -1px;
|
|
|
|
left: -1px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/check-circle-solid-24.svg',
|
|
|
|
$color-accent-blue
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/check-circle-solid-24.svg',
|
|
|
|
$color-accent-blue
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
.module-sticker-manager__pack-row {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2019-11-07 21:36:16 +00:00
|
|
|
padding: 16px;
|
2019-05-16 22:32:11 +00:00
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
& + & {
|
|
|
|
border-top: 1px solid $color-gray-15;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
& + & {
|
|
|
|
border-top: 1px solid $color-gray-75;
|
|
|
|
}
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0px 0px 0px 2px $ultramarine-ui-light;
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
&__cover {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
2020-01-15 19:16:21 +00:00
|
|
|
object-fit: contain;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
2019-05-24 01:27:42 +00:00
|
|
|
&__cover-placeholder {
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
2019-10-04 18:06:17 +00:00
|
|
|
background: $color-gray-05;
|
2019-05-24 01:27:42 +00:00
|
|
|
}
|
2019-05-16 22:32:11 +00:00
|
|
|
|
|
|
|
&__meta {
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
&:not(:first-child) {
|
|
|
|
padding: 0 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__author {
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
@include light-theme() {
|
2019-10-04 18:06:17 +00:00
|
|
|
color: $color-gray-45;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__blessed-icon {
|
2019-12-18 19:36:20 +00:00
|
|
|
@extend %blessed-sticker-pack-icon;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__controls {
|
|
|
|
flex-shrink: 1;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&__button {
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
&--menu {
|
2019-08-07 00:40:25 +00:00
|
|
|
&::after {
|
2019-05-16 22:32:11 +00:00
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
min-width: 24px;
|
|
|
|
min-height: 24px;
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/more-horiz-24.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/more-horiz-24.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-sticker-manager__install-button {
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
color: $color-gray-90;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include font-body-1-bold;
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
height: 24px;
|
|
|
|
background: $color-gray-05;
|
|
|
|
border-radius: 12px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0 12px;
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
background: $color-gray-75;
|
|
|
|
}
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include mouse-mode {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
&--blue {
|
|
|
|
@include light-theme {
|
2020-03-20 00:41:47 +00:00
|
|
|
background: $ultramarine-ui-light;
|
2019-05-16 22:32:11 +00:00
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
2020-03-20 00:41:47 +00:00
|
|
|
background: $ultramarine-ui-dark;
|
2019-05-16 22:32:11 +00:00
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-sticker-manager__preview-modal {
|
|
|
|
&__overlay {
|
2019-10-04 18:06:17 +00:00
|
|
|
background: $color-black-alpha-40;
|
2019-05-16 22:32:11 +00:00
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__container {
|
|
|
|
position: relative;
|
|
|
|
border-radius: 8px;
|
2019-10-04 18:06:17 +00:00
|
|
|
box-shadow: 0 4px 12px 0 $color-black-alpha-20;
|
2019-05-16 22:32:11 +00:00
|
|
|
width: 440px;
|
|
|
|
height: 360px;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background: $color-white;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background: $color-gray-75;
|
|
|
|
}
|
|
|
|
|
2019-05-24 01:27:42 +00:00
|
|
|
&__error {
|
2019-10-04 18:06:17 +00:00
|
|
|
color: $color-accent-red;
|
2019-05-24 01:27:42 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0 80px 30px 80px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include font-body-1-bold;
|
2019-05-24 01:27:42 +00:00
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
&__header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2019-05-24 01:27:42 +00:00
|
|
|
flex-shrink: 0;
|
2019-05-16 22:32:11 +00:00
|
|
|
height: 36px;
|
|
|
|
padding: 0 8px 0 16px;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&__text {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1-bold;
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
color: $color-gray-90;
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__close-button {
|
|
|
|
border: none;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-60);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-05);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__sticker-grid {
|
|
|
|
width: 100%;
|
|
|
|
display: grid;
|
|
|
|
grid-gap: 8px;
|
|
|
|
grid-template-columns: repeat(4, 1fr);
|
|
|
|
overflow-y: auto;
|
2019-09-06 19:12:49 +00:00
|
|
|
padding: 0 16px;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
height: 80px;
|
|
|
|
grid-column: 1 / span 4;
|
|
|
|
}
|
2019-05-16 22:32:11 +00:00
|
|
|
|
|
|
|
&__cell {
|
|
|
|
width: 96px;
|
|
|
|
height: 96px;
|
2020-01-07 21:42:06 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2019-05-16 22:32:11 +00:00
|
|
|
|
|
|
|
&__image {
|
|
|
|
width: 100%;
|
2020-01-15 19:16:21 +00:00
|
|
|
height: 100%;
|
|
|
|
object-fit: contain;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
2019-05-24 01:27:42 +00:00
|
|
|
|
|
|
|
&--placeholder {
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
background: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
background: $color-gray-60;
|
|
|
|
}
|
|
|
|
}
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__meta-overlay {
|
|
|
|
border-radius: 4px;
|
|
|
|
width: 408px;
|
|
|
|
height: 52px;
|
|
|
|
position: absolute;
|
|
|
|
left: 16px;
|
|
|
|
bottom: 16px;
|
|
|
|
padding: 0 12px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background: $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__info {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2020-02-29 02:14:12 +00:00
|
|
|
flex-grow: 1;
|
2020-03-18 00:57:57 +00:00
|
|
|
flex-shrink: 1;
|
|
|
|
overflow: hidden;
|
2019-05-16 22:32:11 +00:00
|
|
|
|
|
|
|
&__title {
|
|
|
|
margin: 0;
|
2020-01-09 19:30:32 +00:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include font-body-1-bold;
|
2019-05-16 22:32:11 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__author {
|
|
|
|
margin: 0;
|
2020-01-09 19:30:32 +00:00
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2019-05-16 22:32:11 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
color: $color-gray-45;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__blessed-icon {
|
2019-12-18 19:36:20 +00:00
|
|
|
@extend %blessed-sticker-pack-icon;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__install {
|
2020-02-29 02:14:12 +00:00
|
|
|
flex-shrink: 0;
|
|
|
|
overflow: hidden;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Sticker button (launches the sticker picker)
|
|
|
|
|
|
|
|
.sticker-button-wrapper {
|
|
|
|
height: 36px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-sticker-button__button {
|
|
|
|
border: 0;
|
|
|
|
background: none;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
border-radius: 16px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
opacity: 0.5;
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
&:focus,
|
2019-05-16 22:32:11 +00:00
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
outline: none;
|
|
|
|
|
2019-08-07 00:40:25 +00:00
|
|
|
&::after {
|
2019-05-16 22:32:11 +00:00
|
|
|
display: block;
|
|
|
|
content: '';
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2019-05-24 23:58:27 +00:00
|
|
|
flex-shrink: 0;
|
2019-05-16 22:32:11 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/sticker-outline-24.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/sticker-solid-24.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--active {
|
|
|
|
@include light-theme() {
|
2019-10-04 18:06:17 +00:00
|
|
|
background: $color-gray-05;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
background: $color-gray-75;
|
|
|
|
}
|
|
|
|
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-sticker-button__tooltip {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
height: 34px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
padding: 7px 12px;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin-bottom: 6px;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background: $color-gray-75;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include popper-shadow();
|
|
|
|
|
|
|
|
&__triangle {
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 8px 8px 0 8px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
border-color: $color-white transparent transparent transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
border-color: $color-gray-75 transparent transparent transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--top-end {
|
|
|
|
top: 34px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--introduction {
|
|
|
|
top: 72px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__image {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2020-01-15 19:16:21 +00:00
|
|
|
object-fit: contain;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
2019-05-24 01:27:42 +00:00
|
|
|
&__image-placeholder {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2019-10-04 18:06:17 +00:00
|
|
|
background-color: $color-gray-05;
|
2019-05-24 01:27:42 +00:00
|
|
|
}
|
2019-05-16 22:32:11 +00:00
|
|
|
|
|
|
|
&__text {
|
|
|
|
margin-left: 4px;
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
2019-10-04 18:06:17 +00:00
|
|
|
font-weight: bold;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--introduction {
|
|
|
|
width: 420px;
|
|
|
|
height: 72px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
2019-12-12 03:10:37 +00:00
|
|
|
&__image {
|
|
|
|
width: 52px;
|
|
|
|
height: 52px;
|
|
|
|
}
|
2019-05-16 22:32:11 +00:00
|
|
|
|
|
|
|
&__meta {
|
|
|
|
flex-grow: 1;
|
|
|
|
padding: 0 12px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
margin: 0;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include font-body-1-bold;
|
2019-05-16 22:32:11 +00:00
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__subtitle {
|
|
|
|
margin-top: 3px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__close {
|
|
|
|
flex-shrink: 1;
|
|
|
|
height: 100%;
|
|
|
|
&__button {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-60);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-05);
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: confirmation dialog
|
|
|
|
.module-confirmation-dialog {
|
|
|
|
&__overlay {
|
2019-10-04 18:06:17 +00:00
|
|
|
background: $color-black-alpha-40;
|
2019-05-16 22:32:11 +00:00
|
|
|
position: fixed;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__container {
|
|
|
|
width: 360px;
|
|
|
|
padding: 12px 16px;
|
|
|
|
border-radius: 8px;
|
|
|
|
@include popper-shadow();
|
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
background: $color-white;
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
2020-06-26 00:08:58 +00:00
|
|
|
background: $color-gray-80;
|
2019-05-16 22:32:11 +00:00
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
2020-05-27 21:37:06 +00:00
|
|
|
&__title {
|
|
|
|
@include font-body-1-bold;
|
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
&__content {
|
2020-05-27 21:37:06 +00:00
|
|
|
@include font-body-1;
|
|
|
|
margin-bottom: 22px;
|
2019-05-16 22:32:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
|
|
&__button {
|
|
|
|
margin-left: 4px;
|
2019-11-21 19:16:06 +00:00
|
|
|
border-radius: 17px;
|
|
|
|
height: 34px;
|
2019-05-16 22:32:11 +00:00
|
|
|
padding: 5px 12px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include font-body-1-bold;
|
2019-05-16 22:32:11 +00:00
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include mouse-mode {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2019-05-16 22:32:11 +00:00
|
|
|
@include light-theme() {
|
|
|
|
background: $color-white;
|
|
|
|
color: $color-gray-60;
|
|
|
|
border: 1px solid $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
background: $color-gray-75;
|
|
|
|
color: $color-gray-25;
|
|
|
|
border: 1px solid $color-gray-25;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--negative {
|
|
|
|
@include light-theme() {
|
|
|
|
border: none;
|
2019-10-04 18:06:17 +00:00
|
|
|
background: $color-accent-red;
|
2019-05-16 22:32:11 +00:00
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
border: none;
|
2019-10-04 18:06:17 +00:00
|
|
|
background: $color-accent-red;
|
2019-05-16 22:32:11 +00:00
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--affirmative {
|
|
|
|
@include light-theme() {
|
|
|
|
border: none;
|
2019-10-04 18:06:17 +00:00
|
|
|
background: $color-accent-green;
|
2019-05-16 22:32:11 +00:00
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
border: none;
|
2019-10-04 18:06:17 +00:00
|
|
|
background: $color-accent-green;
|
2019-05-16 22:32:11 +00:00
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-12 21:30:58 +00:00
|
|
|
.module-left-pane-dialog {
|
|
|
|
background: $color-accent-green;
|
|
|
|
color: $color-white;
|
|
|
|
padding: 16px;
|
|
|
|
|
|
|
|
.module-left-pane-dialog__message {
|
|
|
|
h3 {
|
|
|
|
@include font-body-1-bold;
|
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
@include font-body-1;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-left-pane-dialog__actions {
|
|
|
|
margin-top: 8px;
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
.module-left-pane-dialog__link {
|
|
|
|
@include keyboard-mode {
|
|
|
|
display: inline-block;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
background: inherit;
|
|
|
|
border-radius: 20px;
|
|
|
|
border: solid 1px $color-white;
|
|
|
|
color: $color-white;
|
|
|
|
cursor: pointer;
|
|
|
|
font-family: inherit;
|
|
|
|
margin: 0 4px;
|
|
|
|
padding: 8px 16px;
|
|
|
|
outline: 0;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
@include keyboard-mode {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0 0 0 3px $ultramarine-ui-light;
|
2020-02-12 21:30:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
@include mouse-mode {
|
2020-03-20 00:41:47 +00:00
|
|
|
box-shadow: 0 0 0 3px $ultramarine-ui-light;
|
2020-02-12 21:30:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-left-pane-dialog__button--no-border {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.module-left-pane-dialog--error {
|
|
|
|
background-color: $color-accent-red;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.module-left-pane-dialog--warning {
|
|
|
|
background-color: $color-accent-yellow;
|
|
|
|
color: $color-black;
|
|
|
|
|
|
|
|
button {
|
|
|
|
border-color: $color-black;
|
|
|
|
color: $color-black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-24 23:58:27 +00:00
|
|
|
// Module: Emoji Picker
|
|
|
|
|
|
|
|
%module-emoji-picker--ribbon {
|
|
|
|
height: 44px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-emoji-picker {
|
|
|
|
@extend %module-composition-popper;
|
|
|
|
height: 428px;
|
|
|
|
display: grid;
|
|
|
|
grid-template-rows: 44px 1fr;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
|
|
|
&__header {
|
|
|
|
@extend %module-emoji-picker--ribbon;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin: 0 12px;
|
|
|
|
|
|
|
|
&__search-field {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-left: 8px;
|
|
|
|
position: relative;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2;
|
|
|
|
|
2019-05-24 23:58:27 +00:00
|
|
|
&::after {
|
|
|
|
display: block;
|
|
|
|
content: '';
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
position: absolute;
|
|
|
|
left: 8px;
|
|
|
|
top: 6px;
|
|
|
|
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/search-16.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
2019-05-24 23:58:27 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/search-16.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
2019-05-24 23:58:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__input {
|
|
|
|
width: 100%;
|
|
|
|
height: 28px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include font-body-1;
|
|
|
|
|
2019-05-24 23:58:27 +00:00
|
|
|
line-height: 28px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
2019-05-24 23:58:27 +00:00
|
|
|
border-radius: 17px;
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
padding: 0 8px 0 30px;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background: $color-white;
|
|
|
|
color: $color-gray-90;
|
|
|
|
border-color: $color-gray-60;
|
|
|
|
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
border-color: $ultramarine-ui-light;
|
2019-05-24 23:58:27 +00:00
|
|
|
}
|
|
|
|
|
2019-08-07 00:40:25 +00:00
|
|
|
&:placeholder {
|
2019-05-24 23:58:27 +00:00
|
|
|
color: $color-gray-45;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
border-color: $color-gray-25;
|
|
|
|
background: $color-gray-75;
|
|
|
|
color: $color-gray-05;
|
|
|
|
|
|
|
|
&:focus {
|
2020-03-20 00:41:47 +00:00
|
|
|
border-color: $ultramarine-ui-light;
|
2019-05-24 23:58:27 +00:00
|
|
|
}
|
|
|
|
|
2019-08-07 00:40:25 +00:00
|
|
|
&:placeholder {
|
2019-05-24 23:58:27 +00:00
|
|
|
color: $color-gray-45;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__footer {
|
|
|
|
@extend %module-emoji-picker--ribbon;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__button {
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
border: none;
|
|
|
|
border-radius: 8px;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
background: none;
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include mouse-mode {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2019-05-24 23:58:27 +00:00
|
|
|
&--footer {
|
|
|
|
&:not(:first-of-type) {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--selected {
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
background: $color-gray-05;
|
2019-05-24 23:58:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
background: $color-gray-60;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--icon {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
display: block;
|
|
|
|
content: '';
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--search {
|
|
|
|
&::after {
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/search-16.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
2019-05-24 23:58:27 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/search-16.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
2019-05-24 23:58:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--close {
|
|
|
|
&::after {
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-60);
|
2019-05-24 23:58:27 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-25);
|
2019-05-24 23:58:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--recents {
|
|
|
|
&::after {
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
2019-10-04 18:06:17 +00:00
|
|
|
'../images/icons/v2/recent-outline-20.svg',
|
2019-05-24 23:58:27 +00:00
|
|
|
$color-gray-60
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
2019-10-04 18:06:17 +00:00
|
|
|
'../images/icons/v2/recent-solid-20.svg',
|
2019-05-24 23:58:27 +00:00
|
|
|
$color-gray-25
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--emoji {
|
|
|
|
&::after {
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
2019-10-04 18:06:17 +00:00
|
|
|
'../images/icons/v2/emoji-smiley-outline-20.svg',
|
2019-05-24 23:58:27 +00:00
|
|
|
$color-gray-60
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/emoji-smiley-solid-20.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
2019-05-24 23:58:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$categories: animal food activity travel object symbol flag;
|
|
|
|
|
|
|
|
@each $cat in $categories {
|
|
|
|
&--#{$cat} {
|
|
|
|
&::after {
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
2019-10-04 18:06:17 +00:00
|
|
|
'../images/icons/v2/emoji-#{$cat}-outline-20.svg',
|
2019-05-24 23:58:27 +00:00
|
|
|
$color-gray-60
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
2019-10-04 18:06:17 +00:00
|
|
|
'../images/icons/v2/emoji-#{$cat}-solid-20.svg',
|
2019-05-24 23:58:27 +00:00
|
|
|
$color-gray-25
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__body {
|
|
|
|
padding: 8px 16px 0 12px;
|
2019-11-07 21:36:16 +00:00
|
|
|
outline: none;
|
2019-05-24 23:58:27 +00:00
|
|
|
|
|
|
|
&__emoji-cell {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--empty {
|
|
|
|
display: flex;
|
|
|
|
padding: 0;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2019-12-17 20:25:57 +00:00
|
|
|
@include font-body-1;
|
2019-05-24 23:58:27 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: EmojiButton
|
|
|
|
|
|
|
|
.emoji-button-wrapper {
|
|
|
|
height: 36px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
margin: 0 6px;
|
|
|
|
padding-top: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-emoji-button__button {
|
|
|
|
border: 0;
|
|
|
|
background: none;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
border-radius: 16px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
opacity: 0.5;
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
&:focus,
|
2019-05-24 23:58:27 +00:00
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
outline: none;
|
|
|
|
|
2019-08-07 00:40:25 +00:00
|
|
|
&::after {
|
2019-05-24 23:58:27 +00:00
|
|
|
display: block;
|
|
|
|
content: '';
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/emoji-smiley-outline-24.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
2019-05-24 23:58:27 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/emoji-smiley-solid-24.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
2019-05-24 23:58:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--active {
|
|
|
|
@include light-theme() {
|
2019-10-04 18:06:17 +00:00
|
|
|
background: $color-gray-05;
|
2019-05-24 23:58:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
background: $color-gray-75;
|
|
|
|
}
|
|
|
|
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Emoji
|
2019-06-17 18:46:42 +00:00
|
|
|
@mixin emoji-size($size) {
|
2019-05-24 23:58:27 +00:00
|
|
|
&--#{$size} {
|
|
|
|
width: $size;
|
|
|
|
height: $size;
|
2019-06-27 20:35:21 +00:00
|
|
|
&--inline {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: bottom;
|
|
|
|
background-size: $size $size;
|
|
|
|
}
|
2019-06-17 18:46:42 +00:00
|
|
|
}
|
|
|
|
&__image--#{$size} {
|
|
|
|
width: $size;
|
|
|
|
height: $size;
|
|
|
|
transform: translate3d(0, 0, 0);
|
2020-02-07 20:19:35 +00:00
|
|
|
vertical-align: baseline;
|
2019-05-24 23:58:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-emoji {
|
2020-02-07 19:07:22 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2019-06-27 20:35:21 +00:00
|
|
|
color: transparent;
|
2019-10-31 19:32:10 +00:00
|
|
|
font-family: auto;
|
2019-06-27 20:35:21 +00:00
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
caret-color: $color-gray-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
caret-color: $color-gray-05;
|
|
|
|
}
|
2019-05-24 23:58:27 +00:00
|
|
|
|
|
|
|
@include emoji-size(16px);
|
2019-06-27 20:35:21 +00:00
|
|
|
@include emoji-size(18px);
|
2019-05-24 23:58:27 +00:00
|
|
|
@include emoji-size(20px);
|
2019-12-17 20:25:57 +00:00
|
|
|
@include emoji-size(24px);
|
2019-05-24 23:58:27 +00:00
|
|
|
@include emoji-size(28px);
|
|
|
|
@include emoji-size(32px);
|
2020-01-23 23:57:37 +00:00
|
|
|
@include emoji-size(48px);
|
2019-05-24 23:58:27 +00:00
|
|
|
@include emoji-size(64px);
|
|
|
|
@include emoji-size(66px);
|
|
|
|
}
|
|
|
|
|
2019-06-10 21:40:02 +00:00
|
|
|
// Module: Unsupported Message
|
|
|
|
|
|
|
|
.module-unsupported-message {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-unsupported-message__icon {
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-bottom: 7px;
|
|
|
|
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/error-outline-24.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
2019-06-10 21:40:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/icons/v2/error-solid-24.svg', $color-gray-25);
|
2019-06-10 21:40:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-unsupported-message__icon--can-process {
|
|
|
|
@include light-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/check-circle-outline-24.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
2019-06-10 21:40:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/check-circle-solid-24.svg',
|
|
|
|
$color-gray-25
|
|
|
|
);
|
2019-06-10 21:40:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-unsupported-message__text {
|
|
|
|
max-width: 396px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-10-04 18:06:17 +00:00
|
|
|
color: $color-gray-25;
|
2019-06-10 21:40:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-unsupported-message__contact {
|
2019-10-04 18:06:17 +00:00
|
|
|
font-weight: bold;
|
2019-06-10 21:40:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-unsupported-message__button {
|
2019-11-07 21:36:16 +00:00
|
|
|
@include button-reset;
|
|
|
|
|
2019-06-10 21:40:02 +00:00
|
|
|
margin-top: 5px;
|
|
|
|
display: inline-block;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include font-body-1-bold;
|
|
|
|
|
2019-06-10 21:40:02 +00:00
|
|
|
padding: 12px;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
@include light-theme {
|
2020-03-20 00:41:47 +00:00
|
|
|
color: $ultramarine-ui-light;
|
2019-10-04 18:06:17 +00:00
|
|
|
background-color: $color-gray-02;
|
2019-06-10 21:40:02 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2020-03-20 00:41:47 +00:00
|
|
|
color: $ultramarine-ui-dark;
|
2019-06-10 21:40:02 +00:00
|
|
|
background-color: $color-gray-75;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-26 19:33:13 +00:00
|
|
|
// Module: Countdown
|
|
|
|
|
|
|
|
.module-countdown {
|
|
|
|
display: block;
|
2019-05-31 22:42:01 +00:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2019-06-26 19:33:13 +00:00
|
|
|
}
|
|
|
|
|
2019-05-31 22:42:01 +00:00
|
|
|
// Note: the colors here should match the module-spinner's on-background colors
|
|
|
|
.module-countdown__front-path {
|
2019-06-26 19:33:13 +00:00
|
|
|
fill-opacity: 0;
|
|
|
|
stroke-width: 2;
|
2019-05-31 22:42:01 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
stroke: $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
stroke: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-countdown__back-path {
|
|
|
|
fill-opacity: 0;
|
|
|
|
stroke-width: 2;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
stroke: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
stroke: $color-gray-75;
|
|
|
|
}
|
2019-06-26 19:33:13 +00:00
|
|
|
}
|
|
|
|
|
2019-06-27 20:35:21 +00:00
|
|
|
// Module: CompositionInput
|
|
|
|
.module-composition-input {
|
|
|
|
&__input {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-1;
|
|
|
|
|
|
|
|
border: none;
|
2019-06-27 20:35:21 +00:00
|
|
|
border-radius: 18px;
|
|
|
|
overflow: hidden;
|
|
|
|
word-break: break-word;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
&:placeholder {
|
|
|
|
color: $color-gray-45;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Override draft.js styles
|
|
|
|
.public-DraftEditorPlaceholder-root {
|
|
|
|
color: $color-gray-45;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
// Same as background color
|
|
|
|
border: 1px solid $color-white;
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
// Same as background color
|
|
|
|
border: 1px solid $color-gray-95;
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
|
2019-06-27 20:35:21 +00:00
|
|
|
&__scroller {
|
|
|
|
padding: 7px 12px;
|
|
|
|
min-height: 32px;
|
|
|
|
max-height: 80px;
|
|
|
|
overflow: auto;
|
2019-10-17 17:50:57 +00:00
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
@include light-theme {
|
|
|
|
border: 2px solid $color-gray-05;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
border: 2px solid $color-gray-75;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-06 19:18:37 +00:00
|
|
|
&--large {
|
|
|
|
max-height: 227px;
|
|
|
|
height: 227px;
|
|
|
|
.DraftEditor-root {
|
|
|
|
height: 227px - 2 * 7px; // subtract padding
|
|
|
|
}
|
|
|
|
}
|
2019-06-27 20:35:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus-within {
|
|
|
|
@include light-theme() {
|
2020-03-20 00:41:47 +00:00
|
|
|
border: 1px solid $ultramarine-ui-light;
|
2019-06-27 20:35:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
2020-03-20 00:41:47 +00:00
|
|
|
border: 1px solid $ultramarine-ui-light;
|
2019-06-27 20:35:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__emoji-suggestions {
|
|
|
|
padding: 12px 0;
|
|
|
|
margin-bottom: 6px;
|
|
|
|
border-radius: 8px;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
@include popper-shadow();
|
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
background: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
background: $color-gray-75;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__row {
|
|
|
|
height: 30px;
|
|
|
|
padding: 0 12px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
width: 100%;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include font-body-2;
|
2019-06-27 20:35:21 +00:00
|
|
|
|
|
|
|
@include light-theme() {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__short-name {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--selected,
|
|
|
|
&:hover {
|
|
|
|
@include light-theme() {
|
2019-10-04 18:06:17 +00:00
|
|
|
background: $color-gray-05;
|
2019-06-27 20:35:21 +00:00
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
background: $color-gray-60;
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stroke: $color-white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: CompositionArea
|
|
|
|
.module-composition-area {
|
2019-09-04 18:40:52 +00:00
|
|
|
position: relative;
|
2019-09-04 22:06:12 +00:00
|
|
|
min-height: 42px;
|
2019-09-04 21:25:55 +00:00
|
|
|
padding-top: 6px;
|
2019-09-04 18:40:52 +00:00
|
|
|
|
2019-08-06 19:18:37 +00:00
|
|
|
&__row {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
&--center {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
&--padded {
|
|
|
|
padding: 0 12px;
|
|
|
|
}
|
|
|
|
&--control-row {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
&--column {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
2019-06-27 20:35:21 +00:00
|
|
|
|
|
|
|
&__button-cell {
|
2019-10-04 18:06:17 +00:00
|
|
|
margin-top: 2px;
|
2019-06-27 20:35:21 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2019-10-04 18:06:17 +00:00
|
|
|
width: 40px;
|
2019-06-27 20:35:21 +00:00
|
|
|
height: 100%;
|
|
|
|
flex-shrink: 0;
|
2019-08-06 19:18:37 +00:00
|
|
|
&--mic-active {
|
2019-10-16 16:37:13 +00:00
|
|
|
width: 150px;
|
2019-08-06 19:18:37 +00:00
|
|
|
}
|
|
|
|
&--large-right {
|
|
|
|
margin-left: auto;
|
2019-11-07 21:36:16 +00:00
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
&--large-right-mic-active {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: 12px;
|
2019-08-06 19:18:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&__send-button {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
2019-08-07 00:40:25 +00:00
|
|
|
&::after {
|
2019-08-06 19:18:37 +00:00
|
|
|
display: block;
|
|
|
|
content: '';
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
flex-shrink: 0;
|
2020-03-20 00:41:47 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/send-24.svg',
|
|
|
|
$ultramarine-ui-light
|
|
|
|
);
|
2019-06-27 20:35:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&__input {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2019-09-04 18:40:52 +00:00
|
|
|
$comp-area: &;
|
2019-08-06 19:18:37 +00:00
|
|
|
&__toggle-large {
|
2019-08-20 19:15:13 +00:00
|
|
|
width: 48px;
|
|
|
|
height: 24px;
|
2019-09-04 18:40:52 +00:00
|
|
|
position: absolute;
|
|
|
|
left: calc(50% - 24px);
|
2019-09-04 21:25:55 +00:00
|
|
|
top: -18px;
|
2019-09-04 18:40:52 +00:00
|
|
|
border-radius: 12px 12px 0 0;
|
2020-05-04 21:25:11 +00:00
|
|
|
pointer-events: none;
|
2019-09-04 18:40:52 +00:00
|
|
|
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 200ms ease-out;
|
|
|
|
|
|
|
|
#{$comp-area}:hover & {
|
|
|
|
opacity: 1;
|
2020-05-04 21:25:11 +00:00
|
|
|
pointer-events: all;
|
2019-09-04 18:40:52 +00:00
|
|
|
}
|
2019-08-06 19:18:37 +00:00
|
|
|
|
|
|
|
@include light-theme() {
|
2019-09-04 18:40:52 +00:00
|
|
|
background-color: $color-white;
|
2019-08-06 19:18:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
2019-09-04 18:40:52 +00:00
|
|
|
background-color: $color-gray-95;
|
2019-08-06 19:18:37 +00:00
|
|
|
}
|
|
|
|
|
2019-09-04 18:40:52 +00:00
|
|
|
&__button {
|
|
|
|
width: 48px;
|
|
|
|
height: 24px;
|
|
|
|
border: none;
|
|
|
|
|
2019-08-06 19:18:37 +00:00
|
|
|
@include light-theme() {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/expand-up-20.svg',
|
|
|
|
$color-gray-45,
|
|
|
|
false
|
|
|
|
);
|
2019-08-06 19:18:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/expand-up-20.svg',
|
|
|
|
$color-gray-45,
|
|
|
|
false
|
|
|
|
);
|
2019-09-04 18:40:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&--large-active {
|
|
|
|
@include light-theme() {
|
|
|
|
@include color-svg(
|
2019-10-04 18:06:17 +00:00
|
|
|
'../images/icons/v2/collapse-down-20.svg',
|
2019-09-04 18:40:52 +00:00
|
|
|
$color-gray-45,
|
|
|
|
false
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme() {
|
|
|
|
@include color-svg(
|
2019-10-04 18:06:17 +00:00
|
|
|
'../images/icons/v2/collapse-down-20.svg',
|
2019-09-04 18:40:52 +00:00
|
|
|
$color-gray-45,
|
|
|
|
false
|
|
|
|
);
|
|
|
|
}
|
2019-08-06 19:18:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&__attachment-list {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2019-06-27 20:35:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.composition-area-placeholder {
|
|
|
|
flex-grow: 1;
|
2019-09-04 22:06:12 +00:00
|
|
|
margin: {
|
|
|
|
bottom: 6px;
|
|
|
|
}
|
2019-06-27 20:35:21 +00:00
|
|
|
}
|
|
|
|
|
2019-05-31 22:42:01 +00:00
|
|
|
// Module: Last Seen Indicator
|
|
|
|
|
|
|
|
.module-last-seen-indicator {
|
|
|
|
padding-top: 25px;
|
|
|
|
padding-bottom: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-last-seen-indicator__bar {
|
2019-10-04 18:06:17 +00:00
|
|
|
background-color: $color-gray-45;
|
2019-05-31 22:42:01 +00:00
|
|
|
width: 100%;
|
2019-10-04 18:06:17 +00:00
|
|
|
height: 1px;
|
2019-05-31 22:42:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.module-last-seen-indicator__text {
|
|
|
|
margin-top: 3px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include font-body-2-bold;
|
2019-05-31 22:42:01 +00:00
|
|
|
|
|
|
|
text-align: center;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
2019-05-31 22:42:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Scroll Down Button
|
|
|
|
|
|
|
|
.module-scroll-down {
|
|
|
|
z-index: 100;
|
|
|
|
position: absolute;
|
|
|
|
right: 20px;
|
|
|
|
bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-scroll-down__button {
|
|
|
|
height: 44px;
|
|
|
|
width: 44px;
|
|
|
|
border-radius: 22px;
|
|
|
|
text-align: center;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-25;
|
|
|
|
&:hover {
|
|
|
|
background-color: $color-gray-45;
|
|
|
|
}
|
|
|
|
|
|
|
|
box-shadow: 0px 3px 5px 0px $color-black-alpha-20;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-45;
|
|
|
|
&:hover {
|
|
|
|
background-color: $color-gray-25;
|
|
|
|
}
|
|
|
|
|
|
|
|
box-shadow: 0px 3px 5px 0px $color-white-alpha-20;
|
2019-05-31 22:42:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-scroll-down__button--new-messages {
|
2020-03-20 00:41:47 +00:00
|
|
|
background-color: $ultramarine-ui-light;
|
2019-05-31 22:42:01 +00:00
|
|
|
|
|
|
|
&:hover {
|
2020-04-01 19:33:16 +00:00
|
|
|
background-color: $ultramarine-brand-dark;
|
2019-05-31 22:42:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-scroll-down__icon {
|
2019-10-04 18:06:17 +00:00
|
|
|
@include color-svg('../images/icons/v2/arrow-down-24.svg', $color-white);
|
|
|
|
height: 36px;
|
|
|
|
width: 36px;
|
|
|
|
margin-left: -3px;
|
|
|
|
margin-top: -1px;
|
2019-05-31 22:42:01 +00:00
|
|
|
}
|
|
|
|
|
2019-10-17 18:22:07 +00:00
|
|
|
// Module: Avatar Popup
|
|
|
|
|
|
|
|
.module-avatar-popup {
|
|
|
|
min-width: 240px;
|
|
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
|
|
|
|
@include popper-shadow;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar-popup__profile {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar-popup__profile {
|
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar-popup__profile__text {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar-popup__profile__name {
|
|
|
|
@include font-body-2-bold;
|
|
|
|
}
|
|
|
|
.module-avatar-popup__profile__number {
|
|
|
|
@include font-caption;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar-popup__divider {
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
height: 1px;
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 6px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-15;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-60;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar-popup__item {
|
|
|
|
@include font-body-2;
|
|
|
|
@include button-reset;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
height: 32px;
|
|
|
|
padding: 6px;
|
|
|
|
|
|
|
|
@include light-theme {
|
2019-12-03 20:02:50 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:hover {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
2019-10-17 18:22:07 +00:00
|
|
|
&:focus {
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
2019-12-03 20:02:50 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: $color-gray-60;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include dark-keyboard-mode {
|
|
|
|
&:hover {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
2019-10-17 18:22:07 +00:00
|
|
|
&:focus {
|
2019-11-07 21:36:16 +00:00
|
|
|
background-color: $color-gray-60;
|
2019-10-17 18:22:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar-popup__item__icon {
|
|
|
|
margin-left: 6px;
|
|
|
|
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
.module-avatar-popup__item__icon-settings {
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/settings-outline-16.svg',
|
|
|
|
$color-gray-75
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/settings-solid-16.svg',
|
|
|
|
$color-gray-15
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.module-avatar-popup__item__icon-archive {
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/archive-outline-16.svg',
|
|
|
|
$color-gray-75
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/archive-solid-16.svg',
|
|
|
|
$color-gray-15
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-avatar-popup__item__text {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
2019-11-07 21:36:16 +00:00
|
|
|
// Module: Shortcut Guide Modal
|
|
|
|
|
|
|
|
.module-shortcut-guide-modal {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
padding: 20px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
background-color: $color-black-alpha-40;
|
|
|
|
|
|
|
|
// react-contextmenu uses a z-index of 1000
|
|
|
|
z-index: 2000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-shortcut-guide-container {
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Module: Shortcut Guide
|
|
|
|
|
|
|
|
.module-shortcut-guide {
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 16px;
|
|
|
|
|
|
|
|
max-height: calc(100vh - 40px);
|
|
|
|
max-width: 1150px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
@include popper-shadow;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
background-color: $color-gray-75;
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
border: 2px solid $color-gray-75;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-shortcut-guide__header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-shortcut-guide__header-text {
|
|
|
|
@include font-title-2;
|
|
|
|
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
.module-shortcut-guide__header-close {
|
|
|
|
@include button-reset;
|
|
|
|
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-60);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $color-gray-05);
|
|
|
|
}
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
@include light-theme {
|
2020-03-20 00:41:47 +00:00
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/x-24.svg',
|
|
|
|
$ultramarine-ui-light
|
|
|
|
);
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2020-03-20 00:41:47 +00:00
|
|
|
@include color-svg('../images/icons/v2/x-24.svg', $ultramarine-ui-dark);
|
2019-11-21 19:16:06 +00:00
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-shortcut-guide__section-header {
|
|
|
|
@include font-body-1-bold;
|
|
|
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-shortcut-guide__scroll-container {
|
|
|
|
outline: none;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-shortcut-guide__section {
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-bottom: 25px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 900px) {
|
|
|
|
.module-shortcut-guide__section-list {
|
|
|
|
column-count: 2;
|
|
|
|
column-gap: 20px;
|
|
|
|
column-span: none;
|
|
|
|
column-fill: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-shortcut-guide__shortcut {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
break-inside: avoid;
|
|
|
|
|
2019-12-03 20:02:50 +00:00
|
|
|
padding-left: 4px;
|
2019-11-07 21:36:16 +00:00
|
|
|
min-height: 40px;
|
|
|
|
outline: none;
|
|
|
|
|
2019-11-21 19:16:06 +00:00
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-05;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-90;
|
|
|
|
}
|
2019-11-07 21:36:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
border-bottom: 1px solid $color-gray-05;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
border-bottom: 1px solid $color-gray-90;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-shortcut-guide__shortcut__description {
|
|
|
|
flex-grow: 1;
|
|
|
|
margin-top: 4px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
.module-shortcut-guide__shortcut__key-container {
|
2020-04-20 18:23:46 +00:00
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
.module-shortcut-guide__shortcut__key-inner-container {
|
2019-11-07 21:36:16 +00:00
|
|
|
text-align: right;
|
2020-04-20 18:23:46 +00:00
|
|
|
margin-top: 4px;
|
2019-11-07 21:36:16 +00:00
|
|
|
margin-right: 4px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2020-04-20 18:23:46 +00:00
|
|
|
|
2019-11-07 21:36:16 +00:00
|
|
|
.module-shortcut-guide__shortcut__key {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
border-radius: 2px;
|
|
|
|
padding: 3px;
|
|
|
|
padding-left: 8px;
|
|
|
|
padding-right: 8px;
|
|
|
|
margin-left: 4px;
|
|
|
|
|
|
|
|
height: 30px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
border: 1px solid $color-gray-15;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
border: 1px solid $color-gray-90;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-shortcut-guide__shortcut__key--square {
|
|
|
|
width: 30px;
|
|
|
|
padding-left: 0px;
|
|
|
|
padding-right: 0px;
|
|
|
|
}
|
|
|
|
|
2020-07-29 23:20:05 +00:00
|
|
|
// Module: Profile Change Notification
|
|
|
|
|
|
|
|
.module-profile-change-notification {
|
|
|
|
@include font-body-1;
|
|
|
|
|
|
|
|
margin-left: 2em;
|
|
|
|
margin-right: 2em;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-60;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-profile-change-notification--icon {
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-outline-20.svg',
|
|
|
|
$color-gray-60
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg(
|
|
|
|
'../images/icons/v2/profile-outline-20.svg',
|
|
|
|
$color-gray-05
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2020-08-27 00:03:42 +00:00
|
|
|
/* Calling: Device Selection */
|
|
|
|
|
|
|
|
.module-calling-device-selection {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-calling-device-selection__close-button {
|
|
|
|
@include button-reset;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
@include color-svg('../images/x-shadow-16.svg', $color-gray-75);
|
|
|
|
}
|
|
|
|
|
|
|
|
@include dark-theme {
|
|
|
|
@include color-svg('../images/x-shadow-16.svg', $color-white);
|
|
|
|
}
|
|
|
|
|
|
|
|
height: 16px;
|
|
|
|
position: absolute;
|
|
|
|
right: 5px;
|
|
|
|
top: 0;
|
|
|
|
width: 16px;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
@include keyboard-mode {
|
|
|
|
&:focus {
|
|
|
|
outline: 2px solid $ultramarine-ui-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-calling-device-selection__title {
|
|
|
|
@include font-title-2;
|
|
|
|
margin-top: 12px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-calling-device-selection__label {
|
|
|
|
@include font-body-1-bold;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.module-calling-device-selection__select {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
select {
|
|
|
|
@include font-body-1;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid $color-gray-45;
|
|
|
|
cursor: pointer;
|
|
|
|
height: 40px;
|
|
|
|
outline: 0;
|
|
|
|
padding: 10px;
|
|
|
|
padding-right: 32px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
border: 2px solid $color-gray-75;
|
|
|
|
|
|
|
|
border-radius: 2px;
|
|
|
|
border-right: 0;
|
|
|
|
border-top: 0;
|
|
|
|
content: ' ';
|
|
|
|
display: block;
|
|
|
|
height: 10px;
|
|
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
|
|
|
right: 15px;
|
|
|
|
top: 16px;
|
|
|
|
transform-origin: center;
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
width: 10px;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-04 18:16:19 +00:00
|
|
|
/* Third-party module: react-tooltip-lite */
|
|
|
|
|
|
|
|
.react-tooltip-lite {
|
|
|
|
border-radius: 8px;
|
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-02;
|
|
|
|
color: $color-gray-75;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-65;
|
|
|
|
color: $color-gray-05;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-tooltip-lite-arrow {
|
|
|
|
@include light-theme {
|
|
|
|
border-color: $color-gray-02;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
border-color: $color-gray-65;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-17 18:22:07 +00:00
|
|
|
/* Third-party module: react-contextmenu*/
|
2018-07-09 21:29:13 +00:00
|
|
|
|
|
|
|
.react-contextmenu {
|
2019-11-07 21:36:16 +00:00
|
|
|
outline: none;
|
2018-07-09 21:29:13 +00:00
|
|
|
border-radius: 4px;
|
|
|
|
min-width: 160px;
|
|
|
|
padding: 0px;
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
opacity: 0;
|
2019-01-22 22:08:00 +00:00
|
|
|
user-select: none;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
background-color: $color-gray-02;
|
|
|
|
border: 1px solid $color-gray-02;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
background-color: $color-gray-90;
|
|
|
|
border: 1px solid $color-gray-60;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.react-contextmenu--visible {
|
|
|
|
z-index: 1000;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-contextmenu-item {
|
2019-11-07 21:36:16 +00:00
|
|
|
outline: none;
|
2018-07-09 21:29:13 +00:00
|
|
|
cursor: pointer;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
2019-10-04 18:06:17 +00:00
|
|
|
@include font-body-2;
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
padding-left: 16px;
|
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 2px;
|
|
|
|
padding-right: 16px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-02;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.react-contextmenu-item--checked:before {
|
|
|
|
content: '✓';
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
right: 7px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-02;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.react-contextmenu-item.react-contextmenu-submenu {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-contextmenu-item.react-contextmenu-submenu > .react-contextmenu-item {
|
|
|
|
padding-right: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-contextmenu-item.react-contextmenu-submenu
|
|
|
|
> .react-contextmenu-item:after {
|
|
|
|
content: '\25B6';
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
right: 7px;
|
2019-10-04 18:06:17 +00:00
|
|
|
|
|
|
|
@include light-theme {
|
|
|
|
color: $color-gray-90;
|
|
|
|
}
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-gray-02;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.react-contextmenu-item.react-contextmenu-item--active,
|
|
|
|
.react-contextmenu-item.react-contextmenu-item--selected {
|
2020-05-01 17:40:27 +00:00
|
|
|
color: $color-black;
|
2019-10-04 18:06:17 +00:00
|
|
|
@include light-theme {
|
2020-05-01 17:40:27 +00:00
|
|
|
background-color: $color-gray-15;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
|
|
|
@include dark-theme {
|
2020-05-01 17:40:27 +00:00
|
|
|
background-color: $color-gray-75;
|
|
|
|
color: $color-white;
|
2019-10-04 18:06:17 +00:00
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.react-contextmenu-item.react-contextmenu-item--active.react-contextmenu-item--checked:before,
|
|
|
|
.react-contextmenu-item.react-contextmenu-item--selected.react-contextmenu-item--checked:before {
|
2020-05-01 17:40:27 +00:00
|
|
|
color: $color-black;
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.react-contextmenu-item.react-contextmenu-submenu
|
|
|
|
> .react-contextmenu-item.react-contextmenu-item--active:after,
|
|
|
|
.react-contextmenu-item.react-contextmenu-submenu
|
|
|
|
> .react-contextmenu-item.react-contextmenu-item--selected:after {
|
2020-05-01 17:40:27 +00:00
|
|
|
color: $color-black;
|
|
|
|
@include dark-theme {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
2018-07-09 21:29:13 +00:00
|
|
|
}
|
2018-08-11 00:15:00 +00:00
|
|
|
|
|
|
|
// All media query widths have 300px added to account for the left pane
|
|
|
|
// And have been tweaked for smoother transitions
|
|
|
|
|
|
|
|
// To hide in small breakpoints
|
|
|
|
.module-message__buttons__download {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.module-message__buttons__reply {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-01-23 23:57:37 +00:00
|
|
|
.module-message__buttons__react {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-08-11 00:15:00 +00:00
|
|
|
|
2019-01-08 21:22:27 +00:00
|
|
|
// To limit messages with things forcing them wider, like long attachment names
|
2019-01-16 03:03:56 +00:00
|
|
|
.module-message__container {
|
2019-11-07 21:36:16 +00:00
|
|
|
// 2px to allow for 1px border
|
|
|
|
max-width: 302px;
|
2020-02-03 20:02:49 +00:00
|
|
|
|
|
|
|
&--with-reactions {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
2020-04-29 21:24:12 +00:00
|
|
|
|
|
|
|
&--deleted-for-everyone {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2019-01-08 21:22:27 +00:00
|
|
|
}
|
|
|
|
|
2019-11-07 21:36:16 +00:00
|
|
|
/* Spec: container > 438px and container < 593px */
|
2018-08-11 00:15:00 +00:00
|
|
|
@media (min-width: 800px) and (max-width: 925px) {
|
|
|
|
.module-message {
|
2019-11-07 21:36:16 +00:00
|
|
|
// Add 2px for 1px border
|
|
|
|
max-width: 376px;
|
2018-08-11 00:15:00 +00:00
|
|
|
}
|
2019-01-16 03:03:56 +00:00
|
|
|
.module-message__container {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2018-08-11 00:15:00 +00:00
|
|
|
|
|
|
|
// Spec: container < 438px
|
|
|
|
.module-message--incoming {
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
.module-message--outgoing {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
// To hide in small breakpoints
|
|
|
|
.module-message__buttons__download {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.module-message__buttons__reply {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2020-01-23 23:57:37 +00:00
|
|
|
.module-message__buttons__react {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2018-08-11 00:15:00 +00:00
|
|
|
|
|
|
|
// To hide in larger breakpoints
|
|
|
|
.module-message__context__download {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.module-message__context__reply {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Spec: container > 593px
|
|
|
|
@media (min-width: 926px) {
|
|
|
|
.module-message {
|
|
|
|
max-width: 66%;
|
|
|
|
}
|
2019-01-16 03:03:56 +00:00
|
|
|
.module-message__container {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2018-08-11 00:15:00 +00:00
|
|
|
|
|
|
|
.module-message--incoming {
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
.module-message--outgoing {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
// To hide in small breakpoints
|
|
|
|
.module-message__buttons__download {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.module-message__buttons__reply {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2020-01-23 23:57:37 +00:00
|
|
|
.module-message__buttons__react {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2018-08-11 00:15:00 +00:00
|
|
|
|
|
|
|
// To hide in larger breakpoints
|
|
|
|
.module-message__context__download {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.module-message__context__reply {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-01-23 23:57:37 +00:00
|
|
|
.module-message__context__react {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-08-11 00:15:00 +00:00
|
|
|
}
|