2016-11-17 16:21:03 +00:00
|
|
|
$grey-dark: #333333;
|
|
|
|
$grey-dark_l2: darken($grey-dark, 4%);
|
|
|
|
$grey-dark_l3: darken($grey-dark_l2, 7%);
|
|
|
|
$grey-dark_l4: darken($grey-dark_l3, 8%);
|
2017-05-24 22:12:29 +00:00
|
|
|
$button-dark: #ccc;
|
2018-05-04 20:07:52 +00:00
|
|
|
$text-dark: #cccccc;
|
2017-06-14 21:06:36 +00:00
|
|
|
$text-dark_l2: darken($text-dark, 30%);
|
2016-11-17 16:21:03 +00:00
|
|
|
|
|
|
|
.android-dark {
|
2017-08-07 22:01:11 +00:00
|
|
|
.app-loading-screen {
|
|
|
|
background-color: $grey-dark;
|
|
|
|
}
|
2017-04-11 23:24:06 +00:00
|
|
|
.gutter .content {
|
|
|
|
background-color: $grey-dark;
|
|
|
|
}
|
2016-11-17 16:21:03 +00:00
|
|
|
color: $text-dark;
|
2018-05-04 20:07:52 +00:00
|
|
|
a {
|
|
|
|
color: #57a5e5;
|
|
|
|
}
|
2016-11-17 16:21:03 +00:00
|
|
|
hr {
|
|
|
|
border-color: $grey-dark;
|
|
|
|
}
|
2017-08-30 21:39:45 +00:00
|
|
|
.expiredAlert {
|
|
|
|
color: $grey-dark;
|
|
|
|
button {
|
|
|
|
color: $grey-dark;
|
|
|
|
}
|
|
|
|
}
|
2016-11-17 16:21:03 +00:00
|
|
|
#header {
|
2016-12-03 19:16:39 +00:00
|
|
|
background-color: $grey-dark_l2;
|
2016-12-01 14:21:24 +00:00
|
|
|
color: white;
|
2016-11-17 16:21:03 +00:00
|
|
|
transition: background-color 0.5s;
|
|
|
|
&.inactive {
|
|
|
|
background-color: $grey-dark;
|
|
|
|
color: $text-dark;
|
|
|
|
}
|
|
|
|
}
|
2017-11-27 23:54:59 +00:00
|
|
|
.confirmation-dialog .content .buttons button {
|
2017-05-24 22:12:29 +00:00
|
|
|
background-color: $button-dark;
|
|
|
|
border: 1px solid $grey-dark_l2;
|
2017-05-26 10:43:12 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: darken($button-dark, 8%);
|
|
|
|
}
|
2017-05-24 22:12:29 +00:00
|
|
|
}
|
2018-05-04 20:07:52 +00:00
|
|
|
.message-detail,
|
|
|
|
.message-container,
|
|
|
|
.conversation,
|
2016-12-01 14:21:24 +00:00
|
|
|
.discussion-container {
|
2016-11-17 16:21:03 +00:00
|
|
|
background-color: $grey-dark_l3;
|
|
|
|
}
|
2016-12-01 14:21:24 +00:00
|
|
|
.modal .content {
|
|
|
|
background-color: $grey-dark;
|
|
|
|
}
|
2016-11-17 16:21:03 +00:00
|
|
|
.lightbox .content {
|
|
|
|
background-color: rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
.key-verification .key {
|
|
|
|
background-color: $grey-dark_l4;
|
|
|
|
border-color: $grey-dark_l2;
|
|
|
|
}
|
2017-06-16 23:05:29 +00:00
|
|
|
.key-verification .icon {
|
|
|
|
&.verified {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/verified-check.svg', $text-dark);
|
2017-06-16 23:05:29 +00:00
|
|
|
}
|
|
|
|
&.shield {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/shield.svg', $text-dark);
|
2017-06-16 23:05:29 +00:00
|
|
|
}
|
|
|
|
}
|
2016-11-17 16:21:03 +00:00
|
|
|
.menu-list {
|
|
|
|
background-color: $grey-dark_l2;
|
|
|
|
color: $text-dark;
|
|
|
|
li:hover {
|
|
|
|
background-color: $grey-dark;
|
|
|
|
}
|
|
|
|
}
|
2016-12-05 22:09:28 +00:00
|
|
|
.content textarea {
|
|
|
|
background-color: $grey-dark_l3;
|
|
|
|
border-width: 0px;
|
|
|
|
@include invert-text-color;
|
|
|
|
}
|
2016-11-17 16:21:03 +00:00
|
|
|
.flex {
|
2016-12-01 14:21:24 +00:00
|
|
|
background-color: $grey-dark_l3;
|
2016-11-17 16:21:03 +00:00
|
|
|
.send-message {
|
2016-12-01 14:21:24 +00:00
|
|
|
background-color: $grey-dark_l3;
|
2016-11-17 16:21:03 +00:00
|
|
|
color: $text-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.contact-details .name {
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
2017-06-14 21:06:36 +00:00
|
|
|
.contact-details .number {
|
|
|
|
color: $text-dark_l2;
|
|
|
|
.verified-icon {
|
2018-05-04 20:07:52 +00:00
|
|
|
@include color-svg('../images/verified-check.svg', $text-dark_l2);
|
2017-06-14 21:06:36 +00:00
|
|
|
}
|
|
|
|
}
|
2018-05-04 20:07:52 +00:00
|
|
|
.group-member-list .members .contact,
|
|
|
|
.new-group-update .members .contact,
|
|
|
|
.attachment-previews img {
|
2016-11-17 16:21:03 +00:00
|
|
|
background-color: $grey-dark_l3;
|
|
|
|
border-color: $grey-dark;
|
|
|
|
}
|
|
|
|
.conversation.placeholder .conversation-header {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-07-25 01:43:35 +00:00
|
|
|
.conversation .conversation-loading-screen {
|
|
|
|
background-color: $grey-dark_l3;
|
|
|
|
}
|
2018-05-04 20:07:52 +00:00
|
|
|
.avatar,
|
|
|
|
.conversation-header,
|
|
|
|
.bubble {
|
2016-12-02 10:43:08 +00:00
|
|
|
@include dark-avatar-colors;
|
2016-11-17 16:21:03 +00:00
|
|
|
}
|
2017-06-16 21:29:27 +00:00
|
|
|
.message-list .advisory {
|
|
|
|
.content {
|
|
|
|
background-color: $grey-dark;
|
|
|
|
}
|
|
|
|
.shield {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/shield.svg', $text-dark);
|
2017-06-16 21:29:27 +00:00
|
|
|
}
|
|
|
|
.verified {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/verified-check.svg', $text-dark);
|
2017-06-16 21:29:27 +00:00
|
|
|
}
|
2017-06-16 21:56:38 +00:00
|
|
|
.clock {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/clock.svg', $text-dark);
|
2017-06-16 21:56:38 +00:00
|
|
|
}
|
2016-11-17 16:21:03 +00:00
|
|
|
}
|
2017-06-16 21:29:27 +00:00
|
|
|
|
2016-11-17 16:21:03 +00:00
|
|
|
.inactive .conversation-header {
|
|
|
|
background-color: $grey-dark !important;
|
|
|
|
color: $text-dark;
|
2017-06-14 21:06:36 +00:00
|
|
|
.verified-icon {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/verified-check.svg', $text-dark);
|
2017-06-14 21:06:36 +00:00
|
|
|
}
|
2016-11-17 16:21:03 +00:00
|
|
|
}
|
2017-10-07 00:04:39 +00:00
|
|
|
.sent span.status {
|
2016-11-17 16:21:03 +00:00
|
|
|
display: inline-block;
|
2017-03-08 00:54:46 +00:00
|
|
|
@include color-svg('../images/check.svg', white);
|
2016-11-17 16:21:03 +00:00
|
|
|
}
|
2017-10-07 00:04:39 +00:00
|
|
|
.delivered span.status {
|
2016-12-01 14:21:24 +00:00
|
|
|
display: inline-block;
|
2017-03-08 00:54:46 +00:00
|
|
|
@include color-svg('../images/double-check.svg', white);
|
2016-12-01 14:21:24 +00:00
|
|
|
}
|
2017-10-07 00:04:39 +00:00
|
|
|
.read span.status {
|
Feature: Blue check marks for read messages if opted in (#1489)
* Refactor delivery receipt event handler
* Rename the delivery receipt event
For less ambiguity with read receipts.
* Rename synced read event
For less ambiguity with read receipts from other Signal users.
* Add support for incoming receipt messages
Handle ReceiptMessages, which may include encrypted delivery receipts or read
receipts from recipients of our sent messages.
// FREEBIE
* Rename ReadReceipts to ReadSyncs
* Render read messages with blue double checks
* Send read receipts to senders of incoming messages
// FREEBIE
* Move ReadSyncs to their own file
// FREEBIE
* Fixup old comments on read receipts (now read syncs)
And some variable renaming for extra clarity.
// FREEBIE
* Add global setting for read receipts
Don't send read receipt messages unless the setting is enabled.
Don't process read receipts if the setting is disabled.
// FREEBIE
* Sync read receipt setting from mobile
Toggling this setting on your mobile device should sync it to Desktop. When
linking, use the setting in the provisioning message.
// FREEBIE
* Send receipt messages silently
Avoid generating phantom messages on ios
// FREEBIE
* Save recipients on the outgoing message models
For accurate tracking and display of sent/delivered/read state, even if group
membership changes later.
// FREEBIE
* Fix conversation type in profile key update handling
// FREEBIE
* Set recipients on synced sent messages
* Render saved recipients in message detail if available
For older messages, where we did not save the intended set of recipients at the
time of sending, fall back to the current group membership.
// FREEBIE
* Record who has been successfully sent to
// FREEBIE
* Record who a message has been delivered to
* Invert the not-clickable class
* Fix readReceipt setting sync when linking
* Render per recipient sent/delivered/read status
In the message detail view for outgoing messages, render each recipient's
individual sent/delivered/read status with respect to this message, as long as
there are no errors associated with the recipient (ie, safety number changes,
user not registered, etc...) since the error icon is displayed in that case.
*Messages sent before this change may not have per-recipient status lists
and will simply show no status icon.
// FREEBIE
* Add configuration sync request
Send these requests in a one-off fashion when:
1. We have just setup from a chrome app import
2. We have just upgraded to read-receipt support
// FREEBIE
* Expose sendRequestConfigurationSyncMessage
// FREEBIE
* Fix handling of incoming delivery receipts - union with array
FREEBIE
2017-10-04 22:28:43 +00:00
|
|
|
display: inline-block;
|
|
|
|
@include color-svg('../images/double-check.svg', $blue);
|
|
|
|
}
|
2017-04-18 22:20:45 +00:00
|
|
|
.file-input .paperclip:before {
|
2016-11-17 16:21:03 +00:00
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
|
|
|
width: $button-height;
|
|
|
|
height: $button-height;
|
2017-03-08 00:54:46 +00:00
|
|
|
@include color-svg('../images/paperclip.svg', white);
|
2016-11-17 16:21:03 +00:00
|
|
|
transform: rotateZ(-45deg);
|
|
|
|
}
|
2017-04-19 00:21:15 +00:00
|
|
|
.capture-audio .microphone:before {
|
2018-05-04 20:07:52 +00:00
|
|
|
@include color-svg('../images/microphone.svg', white);
|
2017-04-19 00:21:15 +00:00
|
|
|
}
|
2017-04-11 23:24:06 +00:00
|
|
|
.conversations {
|
2016-12-01 14:21:24 +00:00
|
|
|
background-color: $grey-dark_l2;
|
2016-11-17 16:21:03 +00:00
|
|
|
.conversation-list-item {
|
|
|
|
background-color: $grey-dark_l3;
|
|
|
|
color: $text-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.bottom-bar {
|
|
|
|
min-height: 10px;
|
|
|
|
background-color: $grey-dark_l2;
|
2016-12-01 14:21:24 +00:00
|
|
|
form.send {
|
|
|
|
background: $grey-dark_l3;
|
|
|
|
}
|
2016-11-17 16:21:03 +00:00
|
|
|
}
|
|
|
|
.search {
|
2016-12-01 14:21:24 +00:00
|
|
|
background-color: $grey-dark_l3;
|
2016-11-17 16:21:03 +00:00
|
|
|
border-color: $grey-dark_l2;
|
|
|
|
@include invert-text-color;
|
2018-05-04 20:07:52 +00:00
|
|
|
&.active.ltr,
|
|
|
|
&.active.rtl {
|
2017-03-08 00:54:46 +00:00
|
|
|
background-image: url('../images/x_white.svg');
|
2017-03-30 19:00:43 +00:00
|
|
|
}
|
2016-11-17 16:21:03 +00:00
|
|
|
}
|
|
|
|
.bubble {
|
|
|
|
padding: 9px 12px;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
box-shadow: 0 3px 3px -4px black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.outgoing .bubble {
|
|
|
|
background-color: $grey-dark;
|
|
|
|
@include invert-text-color;
|
2016-12-01 14:21:24 +00:00
|
|
|
color: $text-dark;
|
2016-11-17 16:21:03 +00:00
|
|
|
}
|
2016-12-01 14:21:24 +00:00
|
|
|
.outgoing .hourglass {
|
|
|
|
@include hourglass(#999);
|
|
|
|
}
|
|
|
|
.incoming .hourglass {
|
|
|
|
@include hourglass(#fff);
|
2016-11-17 16:21:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.incoming .bubble {
|
2018-05-04 20:07:52 +00:00
|
|
|
.sender,
|
|
|
|
.content,
|
|
|
|
.body,
|
|
|
|
.meta,
|
|
|
|
a,
|
|
|
|
.fileView {
|
2016-11-17 16:21:03 +00:00
|
|
|
@include invert-text-color;
|
|
|
|
}
|
2017-05-09 20:48:15 +00:00
|
|
|
.content {
|
2016-11-17 16:21:03 +00:00
|
|
|
a {
|
|
|
|
color: $grey_l;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-05-09 20:48:15 +00:00
|
|
|
|
2018-05-04 20:07:52 +00:00
|
|
|
.incoming .bubble .fileView .icon {
|
2017-05-12 17:54:08 +00:00
|
|
|
@include color-svg('../images/file.svg', white);
|
2017-07-06 00:58:37 +00:00
|
|
|
&.audio {
|
2017-05-12 17:54:08 +00:00
|
|
|
@include color-svg('../images/audio.svg', white);
|
2017-05-11 23:45:26 +00:00
|
|
|
}
|
2017-07-06 00:58:37 +00:00
|
|
|
&.video {
|
2017-05-12 17:54:08 +00:00
|
|
|
@include color-svg('../images/video.svg', white);
|
2017-05-11 23:45:26 +00:00
|
|
|
}
|
2017-07-06 00:58:37 +00:00
|
|
|
&.voice {
|
2017-05-12 17:54:08 +00:00
|
|
|
@include color-svg('../images/voice.svg', white);
|
2017-05-11 23:45:26 +00:00
|
|
|
}
|
2017-05-09 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
2017-05-11 23:45:26 +00:00
|
|
|
.outgoing .bubble .fileView .icon {
|
2018-05-04 20:07:52 +00:00
|
|
|
@include color-svg('../images/file.svg', #cccccc);
|
2017-07-06 00:58:37 +00:00
|
|
|
&.audio {
|
2018-05-04 20:07:52 +00:00
|
|
|
@include color-svg('../images/audio.svg', #cccccc);
|
2017-05-11 23:45:26 +00:00
|
|
|
}
|
2017-07-06 00:58:37 +00:00
|
|
|
&.video {
|
2018-05-04 20:07:52 +00:00
|
|
|
@include color-svg('../images/video.svg', #cccccc);
|
2017-05-11 23:45:26 +00:00
|
|
|
}
|
2017-07-06 00:58:37 +00:00
|
|
|
&.voice {
|
2018-05-04 20:07:52 +00:00
|
|
|
@include color-svg('../images/voice.svg', #cccccc);
|
2017-05-11 23:45:26 +00:00
|
|
|
}
|
2017-05-09 20:48:15 +00:00
|
|
|
}
|
|
|
|
|
2018-04-21 00:08:20 +00:00
|
|
|
.outgoing .quoted-message {
|
|
|
|
background: rgba(255, 255, 255, 0.38);
|
|
|
|
|
|
|
|
.icon-container .icon {
|
|
|
|
background-color: black;
|
|
|
|
&.play.with-image {
|
|
|
|
background-color: $text-dark;
|
|
|
|
}
|
2018-04-12 19:45:12 +00:00
|
|
|
}
|
|
|
|
}
|
2018-04-21 00:08:20 +00:00
|
|
|
.incoming .quoted-message {
|
2018-04-12 19:45:12 +00:00
|
|
|
border-left-color: $text-dark;
|
|
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
|
|
|
|
|
|
.icon-container {
|
|
|
|
.circle-background {
|
|
|
|
background-color: $text-dark;
|
|
|
|
}
|
2018-04-12 19:49:01 +00:00
|
|
|
.icon.play.with-image {
|
2018-04-12 19:45:12 +00:00
|
|
|
background-color: $text-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-17 16:21:03 +00:00
|
|
|
button.clock {
|
2017-03-08 00:54:46 +00:00
|
|
|
@include header-icon-white('../images/clock.svg');
|
2016-11-17 16:21:03 +00:00
|
|
|
}
|
|
|
|
button.hamburger {
|
2017-03-08 00:54:46 +00:00
|
|
|
@include header-icon-white('../images/menu.svg');
|
2016-11-17 16:21:03 +00:00
|
|
|
}
|
|
|
|
button.back {
|
2017-03-08 00:54:46 +00:00
|
|
|
@include header-icon-white('../images/back.svg');
|
2016-11-17 16:21:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
2018-05-04 20:07:52 +00:00
|
|
|
background: rgba(255, 255, 255, 0.15);
|
2016-11-17 16:21:03 +00:00
|
|
|
|
|
|
|
&:hover {
|
2018-05-04 20:07:52 +00:00
|
|
|
background: rgba(255, 255, 255, 0.25);
|
2016-11-17 16:21:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
2017-05-31 23:08:32 +00:00
|
|
|
background-color: transparent;
|
2016-11-17 16:21:03 +00:00
|
|
|
}
|
2017-05-10 20:40:31 +00:00
|
|
|
.recorder {
|
|
|
|
background: $grey-dark_l2;
|
|
|
|
}
|
2017-05-17 21:32:03 +00:00
|
|
|
|
2017-05-31 23:08:32 +00:00
|
|
|
.message-list .last-seen-indicator-view {
|
|
|
|
.bar {
|
2018-05-04 20:07:52 +00:00
|
|
|
border-top: 1px solid rgba(255, 255, 255, 0.0625);
|
2017-06-08 19:11:15 +00:00
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
|
2017-05-31 23:08:32 +00:00
|
|
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.text {
|
|
|
|
background-color: $grey-dark_l3;
|
|
|
|
}
|
2017-05-17 21:32:03 +00:00
|
|
|
}
|
2017-05-19 01:33:35 +00:00
|
|
|
|
|
|
|
.discussion-container .scroll-down-button-view {
|
|
|
|
button {
|
|
|
|
background-color: $grey_l4;
|
|
|
|
|
|
|
|
.icon {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/down.svg', black);
|
2017-05-19 01:33:35 +00:00
|
|
|
}
|
2017-06-07 19:40:10 +00:00
|
|
|
.icon:hover {
|
2018-05-04 20:07:52 +00:00
|
|
|
background-color: white;
|
2017-06-07 19:40:10 +00:00
|
|
|
}
|
2017-06-07 19:43:32 +00:00
|
|
|
|
2018-05-04 20:07:52 +00:00
|
|
|
&.new-messages {
|
2017-05-22 21:34:57 +00:00
|
|
|
background-color: $blue;
|
2017-05-19 01:33:35 +00:00
|
|
|
.icon {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/down.svg', white);
|
2017-05-19 01:33:35 +00:00
|
|
|
}
|
2018-05-04 20:07:52 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: #1472bd;
|
|
|
|
}
|
2017-05-19 01:33:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-06-24 08:15:03 +00:00
|
|
|
.choose-file button:hover {
|
|
|
|
background-color: $grey-dark;
|
|
|
|
}
|
|
|
|
.capture-audio button:hover {
|
|
|
|
background-color: $grey-dark;
|
|
|
|
}
|
2017-11-27 23:54:59 +00:00
|
|
|
button.emoji {
|
|
|
|
&:hover {
|
|
|
|
background-color: $grey-dark;
|
|
|
|
}
|
|
|
|
&:before {
|
|
|
|
@include color-svg('../images/smile.svg', white);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-panel-container {
|
|
|
|
.ep-categories {
|
|
|
|
background-color: $grey-dark_l3;
|
|
|
|
}
|
|
|
|
.ep-emojies {
|
|
|
|
background-color: $grey-dark_l2;
|
|
|
|
}
|
|
|
|
}
|
2018-05-04 01:39:27 +00:00
|
|
|
|
|
|
|
.dots-horizontal-icon {
|
|
|
|
&:hover {
|
|
|
|
@include color-svg('../images/dots-horizontal.svg', $grey_l);
|
|
|
|
}
|
|
|
|
}
|
2016-11-17 16:21:03 +00:00
|
|
|
}
|