2015-08-26 22:13:14 +00:00
|
|
|
.conversation-title {
|
|
|
|
display: block;
|
2016-04-01 21:20:00 +00:00
|
|
|
line-height: 36px;
|
2015-08-26 22:13:14 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2016-08-31 21:45:23 +00:00
|
|
|
padding: 0 46px;
|
2015-12-04 02:21:19 +00:00
|
|
|
-webkit-user-select: text;
|
|
|
|
}
|
2016-03-18 20:09:45 +00:00
|
|
|
.conversation-name + .conversation-number {
|
|
|
|
&:before {
|
|
|
|
content:"\00b7"; // ·
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 0 5px 0 4px;
|
|
|
|
}
|
2015-08-26 22:13:14 +00:00
|
|
|
}
|
2017-06-10 19:18:24 +00:00
|
|
|
.conversation-title .verified {
|
|
|
|
&:before {
|
|
|
|
content:"\00b7"; // ·
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 0 5px 0 4px;
|
|
|
|
}
|
|
|
|
}
|
2017-06-14 21:06:36 +00:00
|
|
|
.conversation-title .verified-icon {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/verified-check.svg', white);
|
2017-06-14 21:06:36 +00:00
|
|
|
display: inline-block;
|
|
|
|
width: 1.25em;
|
|
|
|
height: 1.25em;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
2015-08-26 22:13:14 +00:00
|
|
|
|
2015-02-19 07:09:34 +00:00
|
|
|
.conversation {
|
2017-05-31 23:08:32 +00:00
|
|
|
background-color: white;
|
2016-03-18 18:11:36 +00:00
|
|
|
height: 100%;
|
2017-07-25 01:43:35 +00:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.conversation-loading-screen {
|
|
|
|
z-index: 99;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background-color: #eee;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.content {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
width: 78px;
|
|
|
|
transform: translate(-50%, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dot {
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
border: 3px solid $blue;
|
|
|
|
border-radius: 50%;
|
|
|
|
float: left;
|
|
|
|
margin: 0 6px;
|
|
|
|
transform: scale(0);
|
|
|
|
|
|
|
|
animation: loading 1500ms ease infinite 0ms;
|
|
|
|
&:nth-child(2) {
|
|
|
|
animation: loading 1500ms ease infinite 333ms;
|
|
|
|
}
|
|
|
|
&:nth-child(3) {
|
|
|
|
animation: loading 1500ms ease infinite 666ms;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-05-22 22:41:30 +00:00
|
|
|
|
2016-01-21 23:31:37 +00:00
|
|
|
.panel {
|
2016-03-21 22:37:53 +00:00
|
|
|
height: calc(100% - #{$header-height});
|
2016-03-23 22:28:31 +00:00
|
|
|
overflow-y: scroll;
|
2016-03-23 20:40:21 +00:00
|
|
|
|
|
|
|
.container {
|
|
|
|
padding-top: 20px;
|
2017-07-03 18:52:12 +00:00
|
|
|
max-width: 750px;
|
2016-03-23 20:40:21 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.main.panel {
|
2016-01-21 23:45:13 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2016-03-23 20:40:21 +00:00
|
|
|
overflow: initial;
|
2016-01-21 23:31:37 +00:00
|
|
|
|
2016-03-23 20:40:21 +00:00
|
|
|
.discussion-container {
|
2016-01-21 23:45:13 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
position: relative;
|
2016-03-23 20:40:21 +00:00
|
|
|
max-width: 100%;
|
|
|
|
margin: 0;
|
2016-01-21 23:45:13 +00:00
|
|
|
|
2016-03-19 00:59:54 +00:00
|
|
|
.bar-container {
|
|
|
|
height: 5px;
|
|
|
|
}
|
|
|
|
|
2016-01-21 23:45:13 +00:00
|
|
|
.message-list {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2016-01-22 00:02:29 +00:00
|
|
|
margin: 0;
|
2017-06-09 18:47:07 +00:00
|
|
|
padding: 10px 0 0 0;
|
2017-09-07 16:57:47 +00:00
|
|
|
overflow-y: auto;
|
2016-01-21 23:45:13 +00:00
|
|
|
}
|
2016-01-21 23:31:37 +00:00
|
|
|
}
|
2015-06-16 20:43:40 +00:00
|
|
|
}
|
2015-02-19 07:09:34 +00:00
|
|
|
}
|
|
|
|
|
2017-05-31 23:08:32 +00:00
|
|
|
.discussion-container {
|
|
|
|
background-color: #eee;
|
|
|
|
}
|
|
|
|
|
2015-02-27 02:10:04 +00:00
|
|
|
.key-verification {
|
2016-03-24 19:33:41 +00:00
|
|
|
label {
|
|
|
|
display: block;
|
2016-09-19 09:52:50 +00:00
|
|
|
margin: 10px 0;
|
2016-08-24 22:15:55 +00:00
|
|
|
font-size: $font-size-small;
|
2016-03-24 19:33:41 +00:00
|
|
|
}
|
2016-03-23 19:33:50 +00:00
|
|
|
|
2017-06-16 23:05:29 +00:00
|
|
|
.icon {
|
|
|
|
height: 1.25em;
|
|
|
|
width: 1.25em;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&.verified {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/verified-check.svg', $grey_d);
|
2017-06-16 23:05:29 +00:00
|
|
|
}
|
|
|
|
&.shield {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/shield.svg', $grey_d);
|
2017-06-16 23:05:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-20 03:01:47 +00:00
|
|
|
.key, .placeholder {
|
2015-02-27 02:10:04 +00:00
|
|
|
padding: 0 1em;
|
2015-12-11 19:13:01 +00:00
|
|
|
-webkit-user-select: text;
|
2015-02-27 02:10:04 +00:00
|
|
|
}
|
2016-01-20 03:01:47 +00:00
|
|
|
.key {
|
|
|
|
font-family: monospace;
|
2016-03-22 01:18:10 +00:00
|
|
|
padding: 10px;
|
2017-05-23 22:22:02 +00:00
|
|
|
margin: 20px auto 20px auto;
|
|
|
|
width: 16em;
|
2016-03-22 01:18:10 +00:00
|
|
|
background: $grey_l;
|
|
|
|
border: solid 1px $grey_l2;
|
2016-04-01 21:24:13 +00:00
|
|
|
border-radius: $border-radius;
|
2016-01-20 03:01:47 +00:00
|
|
|
}
|
|
|
|
.placeholder {
|
2016-01-18 00:18:55 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2016-09-19 09:52:50 +00:00
|
|
|
.qr {
|
|
|
|
border-radius: 200px;
|
|
|
|
border: solid 1px $grey_l2;
|
|
|
|
width: 150px;
|
|
|
|
height: 150px;
|
|
|
|
text-align: center;
|
|
|
|
padding: 25px;
|
|
|
|
margin: 10px auto;
|
2016-09-19 21:13:27 +00:00
|
|
|
canvas {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-09-19 09:52:50 +00:00
|
|
|
img {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2017-06-10 19:18:24 +00:00
|
|
|
|
2017-06-30 00:32:40 +00:00
|
|
|
.summary {
|
|
|
|
margin: 30px 0 10px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2017-06-10 19:18:24 +00:00
|
|
|
div.verify {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
button.verify {
|
|
|
|
border-radius: 5px;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 10px;
|
2017-06-30 00:32:40 +00:00
|
|
|
margin: 0;
|
2017-06-10 19:18:24 +00:00
|
|
|
}
|
2015-02-27 02:10:04 +00:00
|
|
|
}
|
2015-06-16 20:43:40 +00:00
|
|
|
|
2017-07-03 18:52:12 +00:00
|
|
|
.identity-key-send-error {
|
|
|
|
button {
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
}
|
|
|
|
.explanation {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
.safety-number {
|
|
|
|
margin-top: 30px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.actions {
|
|
|
|
margin-top: 30px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-23 21:17:50 +00:00
|
|
|
.message-detail {
|
2017-06-16 18:16:34 +00:00
|
|
|
background-color: #eee;
|
|
|
|
|
2015-02-23 21:17:50 +00:00
|
|
|
.message-container {
|
2016-04-15 20:37:43 +00:00
|
|
|
padding: 20px 0;
|
2015-02-23 21:17:50 +00:00
|
|
|
|
|
|
|
.sender {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
.label {
|
|
|
|
font-weight: bold;
|
|
|
|
padding-right: 1em;
|
2015-09-30 21:27:18 +00:00
|
|
|
vertical-align: top;
|
2015-02-23 21:17:50 +00:00
|
|
|
}
|
2015-10-10 23:41:44 +00:00
|
|
|
|
|
|
|
button {
|
|
|
|
border: none;
|
2016-04-01 21:24:13 +00:00
|
|
|
border-radius: $border-radius;
|
2015-10-10 23:41:44 +00:00
|
|
|
color: white;
|
|
|
|
padding: 0.5em;
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
span {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-15 01:02:03 +00:00
|
|
|
.retries {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
button.retry {
|
|
|
|
margin: 0.5em;
|
|
|
|
}
|
|
|
|
|
2016-02-15 06:41:52 +00:00
|
|
|
.contacts .contact-detail {
|
|
|
|
padding: 0 36px;
|
2015-10-10 23:41:44 +00:00
|
|
|
margin-bottom: 5px;
|
2015-02-18 02:03:05 +00:00
|
|
|
|
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
|
|
|
.status-icon-container,
|
2016-04-14 23:42:42 +00:00
|
|
|
.error-icon-container {
|
|
|
|
float: right;
|
|
|
|
}
|
2015-10-10 23:41:44 +00:00
|
|
|
|
2017-07-03 18:52:12 +00:00
|
|
|
button.error {
|
|
|
|
background-color: red;
|
|
|
|
color: white;
|
|
|
|
|
|
|
|
span.icon.error {
|
|
|
|
display: inline-block;
|
|
|
|
width: 1.25em;
|
|
|
|
height: 1.25em;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: middle;
|
2017-07-08 00:57:43 +00:00
|
|
|
@include color-svg('../images/warning.svg', white);
|
2017-07-03 18:52:12 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-10 23:41:44 +00:00
|
|
|
.error-message {
|
2016-04-14 23:42:42 +00:00
|
|
|
margin: 6px 0 0;
|
2016-08-24 22:15:55 +00:00
|
|
|
font-size: $font-size-small;
|
2016-04-14 23:42:42 +00:00
|
|
|
font-weight: bold;
|
|
|
|
color: red;
|
2015-02-18 02:03:05 +00:00
|
|
|
}
|
2015-10-10 23:41:44 +00:00
|
|
|
|
2016-04-14 23:42:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 1em;
|
|
|
|
padding: 5px;
|
2015-10-03 01:31:07 +00:00
|
|
|
}
|
2015-10-10 23:41:44 +00:00
|
|
|
|
2016-02-15 06:41:52 +00:00
|
|
|
button.cancel {
|
|
|
|
float: right;
|
|
|
|
color: $grey_d;
|
|
|
|
border: solid 1px #ccc;
|
2015-02-18 02:03:05 +00:00
|
|
|
}
|
2017-07-12 22:19:07 +00:00
|
|
|
|
|
|
|
.delete-container {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
button.delete {
|
|
|
|
background-color: red;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
2015-02-23 21:17:50 +00:00
|
|
|
}
|
2016-05-26 18:00:21 +00:00
|
|
|
.message-list {
|
|
|
|
.error-icon {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2016-09-27 06:15:20 +00:00
|
|
|
|
|
|
|
.advisory {
|
|
|
|
text-align: center;
|
|
|
|
.content {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 5px 10px;
|
|
|
|
background: #fff5c4;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
}
|
|
|
|
}
|
2016-05-26 18:00:21 +00:00
|
|
|
}
|
2016-04-14 23:42:42 +00:00
|
|
|
li.entry .error-icon-container {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: calc(100% + 5px);
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.error-icon {
|
|
|
|
display: block;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-message {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
background: black;
|
|
|
|
color: white;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
padding: 0.5em;
|
|
|
|
font-weight: normal;
|
|
|
|
bottom: calc(50% + 18px);
|
|
|
|
left: -84px;
|
|
|
|
width: 180px;
|
|
|
|
z-index: 10;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
display: block;
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
bottom: -16px;
|
|
|
|
left: 50%;
|
|
|
|
border: 6px solid transparent;
|
|
|
|
border-top: 10px solid #000000;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .error-message { display: inline-block; }
|
|
|
|
}
|
2018-04-17 01:46:36 +00:00
|
|
|
li.entry .hover-icon-container {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: calc(100% + 5px);
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
|
|
|
.dots-horizontal-icon {
|
|
|
|
display: block;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
li.entry:hover .hover-icon-container {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
2016-04-14 23:42:42 +00:00
|
|
|
|
|
|
|
.error-icon {
|
|
|
|
display: inline-block;
|
|
|
|
width: $error-icon-size;
|
|
|
|
height: $error-icon-size;
|
|
|
|
position: relative;
|
2017-03-08 00:54:46 +00:00
|
|
|
@include color-svg('../images/warning.svg', red);
|
2016-04-14 23:42:42 +00:00
|
|
|
}
|
|
|
|
|
2018-04-17 01:46:36 +00:00
|
|
|
.dots-horizontal-icon {
|
|
|
|
display: inline-block;
|
|
|
|
width: $error-icon-size;
|
|
|
|
height: $error-icon-size;
|
|
|
|
position: relative;
|
|
|
|
@include color-svg('../images/dots-horizontal.svg', gray);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
@include color-svg('../images/dots-horizontal.svg', black);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-26 03:19:31 +00:00
|
|
|
.group {
|
|
|
|
li.entry .unregistered-user-error {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-14 23:42:42 +00:00
|
|
|
|
2015-01-29 12:34:31 +00:00
|
|
|
.group-update {
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
2015-11-09 19:29:51 +00:00
|
|
|
.private .entry .avatar,
|
2015-02-13 05:17:48 +00:00
|
|
|
.private .sender,
|
2015-02-13 02:16:33 +00:00
|
|
|
.outgoing .sender {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-06-16 20:43:40 +00:00
|
|
|
|
2015-01-29 12:34:31 +00:00
|
|
|
.sender {
|
|
|
|
font-size: smaller;
|
|
|
|
opacity: 0.8;
|
2015-10-17 01:14:50 +00:00
|
|
|
margin-bottom: 5px;
|
|
|
|
font-weight: bold;
|
2015-01-29 12:34:31 +00:00
|
|
|
}
|
|
|
|
|
2015-01-20 02:44:34 +00:00
|
|
|
.timestamp {
|
2015-10-17 01:14:50 +00:00
|
|
|
margin-right: 3px;
|
2016-04-15 18:20:34 +00:00
|
|
|
white-space: nowrap;
|
2015-10-28 20:57:32 +00:00
|
|
|
}
|
2015-01-25 20:49:28 +00:00
|
|
|
|
2017-10-07 00:04:39 +00:00
|
|
|
// There's a p.status used in the onboarding screen, so this needs to be more specific
|
|
|
|
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
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
}
|
2017-10-07 00:04:39 +00:00
|
|
|
.sent 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/check.svg', black);
|
|
|
|
}
|
2017-10-07 00:04:39 +00:00
|
|
|
.delivered 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', black);
|
|
|
|
}
|
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-10-07 00:04:39 +00:00
|
|
|
.pending 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;
|
|
|
|
background: none;
|
|
|
|
&:before { content: '...'; }
|
|
|
|
}
|
|
|
|
|
2016-03-21 22:37:53 +00:00
|
|
|
.message-container,
|
2015-02-23 21:17:50 +00:00
|
|
|
.message-list {
|
|
|
|
list-style: none;
|
|
|
|
|
2015-01-20 02:44:34 +00:00
|
|
|
li {
|
2015-11-12 18:43:07 +00:00
|
|
|
max-width: 800px;
|
2016-03-24 00:51:10 +00:00
|
|
|
margin: 0 auto 10px;
|
2017-05-31 23:08:32 +00:00
|
|
|
padding-left: 1em;
|
|
|
|
// we need more padding on right side because scroll bar overlaps
|
|
|
|
padding-right: 1.5em;
|
2015-01-20 02:44:34 +00:00
|
|
|
|
|
|
|
&::after {
|
|
|
|
visibility: hidden;
|
|
|
|
display: block;
|
|
|
|
font-size: 0;
|
|
|
|
content: " ";
|
|
|
|
clear: both;
|
|
|
|
height: 0;
|
2014-12-23 00:28:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-20 02:44:34 +00:00
|
|
|
.bubble {
|
|
|
|
position: relative;
|
|
|
|
left: -2px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2015-06-18 20:35:40 +00:00
|
|
|
word-wrap: break-word;
|
2015-10-17 01:14:50 +00:00
|
|
|
margin-left: 8px;
|
2015-11-12 18:43:07 +00:00
|
|
|
max-width: 30em;
|
2016-07-08 13:37:25 +00:00
|
|
|
text-align: -webkit-auto;
|
2016-09-10 21:57:43 +00:00
|
|
|
-webkit-user-select: text;
|
2015-11-12 18:43:07 +00:00
|
|
|
|
2017-09-07 16:57:33 +00:00
|
|
|
@media(max-width: 825px) {
|
2016-04-14 23:42:42 +00:00
|
|
|
max-width: calc(100% - 45px - #{$error-icon-size}); // avatar size + padding + error-icon size
|
2015-11-12 18:43:07 +00:00
|
|
|
}
|
2015-03-17 01:08:45 +00:00
|
|
|
|
2016-08-29 08:11:13 +00:00
|
|
|
.body {
|
2015-09-07 20:32:15 +00:00
|
|
|
white-space: pre-wrap;
|
|
|
|
|
2015-06-26 23:16:13 +00:00
|
|
|
a {
|
|
|
|
word-break: break-all
|
|
|
|
}
|
2015-03-17 01:08:45 +00:00
|
|
|
}
|
2015-06-26 23:16:13 +00:00
|
|
|
|
2018-04-17 16:39:41 +00:00
|
|
|
.attachments + .content {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
.quote-wrapper + .content {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
|
2015-02-18 02:03:05 +00:00
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2016-02-15 07:30:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.meta {
|
2016-03-22 21:47:17 +00:00
|
|
|
font-size: smaller;
|
2016-02-15 07:30:14 +00:00
|
|
|
margin-top: 3px;
|
2016-04-14 23:42:42 +00:00
|
|
|
text-align: right;
|
2016-03-24 00:49:29 +00:00
|
|
|
line-height: 18px;
|
2016-03-22 21:47:17 +00:00
|
|
|
|
|
|
|
.hasRetry + .timestamp {
|
|
|
|
&:before {
|
|
|
|
content:"\00b7"; // ·
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 0 5px 0 4px;
|
|
|
|
text-decoration: none;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.retry {
|
|
|
|
text-decoration: underline;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2017-07-03 23:46:39 +00:00
|
|
|
.some-failed {
|
|
|
|
float: left;
|
|
|
|
margin-left: 6px;
|
|
|
|
margin-right: 6px;
|
2017-07-11 00:53:31 +00:00
|
|
|
cursor: pointer;
|
2017-07-03 23:46:39 +00:00
|
|
|
}
|
|
|
|
|
2016-10-12 01:52:34 +00:00
|
|
|
.hasRetry, .timestamp, .status, .timer {
|
2016-03-22 21:47:17 +00:00
|
|
|
float: left;
|
|
|
|
}
|
2016-02-15 07:30:14 +00:00
|
|
|
|
2017-07-11 00:53:31 +00:00
|
|
|
.timestamp, .status {
|
2016-03-22 21:47:17 +00:00
|
|
|
cursor: pointer;
|
2015-11-20 21:21:13 +00:00
|
|
|
opacity: 0.5;
|
|
|
|
|
2016-03-22 21:47:17 +00:00
|
|
|
&:hover {
|
2015-11-20 21:21:13 +00:00
|
|
|
opacity: 1.0;
|
|
|
|
}
|
|
|
|
}
|
2015-01-20 02:44:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.incoming {
|
2015-11-12 18:43:07 +00:00
|
|
|
.avatar, .bubble {
|
|
|
|
float: left;
|
|
|
|
}
|
2016-03-23 23:13:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.outgoing {
|
2016-10-12 01:52:34 +00:00
|
|
|
.meta {
|
|
|
|
float: right;
|
|
|
|
}
|
2016-04-14 23:42:42 +00:00
|
|
|
.error-icon-container {
|
|
|
|
left: auto;
|
|
|
|
right: calc(100% + 5px);
|
|
|
|
}
|
2018-04-17 01:46:36 +00:00
|
|
|
.hover-icon-container {
|
|
|
|
left: auto;
|
|
|
|
right: calc(100% + 5px);
|
|
|
|
}
|
2016-03-23 23:13:41 +00:00
|
|
|
|
|
|
|
.avatar, .bubble {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bubble {
|
|
|
|
clear: left;
|
2015-01-20 02:44:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-21 00:19:51 +00:00
|
|
|
@keyframes shake {
|
|
|
|
0% { transform: translateX(0px); }
|
|
|
|
25% { transform: translateX(-5px); }
|
|
|
|
50% { transform: translateX(0px); }
|
|
|
|
75% { transform: translateX(5px); }
|
|
|
|
100% { transform: translateX(0px); }
|
|
|
|
}
|
|
|
|
|
|
|
|
.expired .bubble {
|
|
|
|
animation: shake 0.2s linear 3;
|
|
|
|
}
|
|
|
|
|
2016-09-23 23:50:03 +00:00
|
|
|
.timer {
|
|
|
|
display: none;
|
2016-10-11 04:55:23 +00:00
|
|
|
.hourglass {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2016-09-22 21:12:38 +00:00
|
|
|
}
|
|
|
|
|
2015-03-23 22:44:47 +00:00
|
|
|
.control {
|
|
|
|
.bubble {
|
|
|
|
.content {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2015-06-16 20:43:40 +00:00
|
|
|
&::before, &::after {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-03-23 22:44:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-03-02 19:49:23 +00:00
|
|
|
.attachments {
|
2015-12-22 01:36:33 +00:00
|
|
|
a {
|
|
|
|
font-style: italic;
|
|
|
|
display: block;
|
|
|
|
padding: 1em;
|
|
|
|
background-color: #ccc;
|
|
|
|
}
|
|
|
|
|
2015-03-02 19:49:23 +00:00
|
|
|
img, audio, video {
|
2018-04-14 00:34:53 +00:00
|
|
|
display: block;
|
2015-03-02 19:49:23 +00:00
|
|
|
max-width: 100%;
|
2015-11-12 18:35:29 +00:00
|
|
|
max-height: 300px;
|
2015-03-02 19:49:23 +00:00
|
|
|
}
|
2015-03-03 01:53:44 +00:00
|
|
|
|
|
|
|
video {
|
|
|
|
background: black;
|
2015-11-12 18:35:29 +00:00
|
|
|
min-height: 300px;
|
2016-10-28 06:05:44 +00:00
|
|
|
min-width: 280px;
|
2015-03-03 01:53:44 +00:00
|
|
|
}
|
2015-10-21 17:25:28 +00:00
|
|
|
|
|
|
|
img {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2015-12-22 01:36:33 +00:00
|
|
|
|
2017-04-18 22:20:45 +00:00
|
|
|
.fileView {
|
2017-05-09 17:10:50 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-07-06 00:58:37 +00:00
|
|
|
overflow: hidden;
|
2017-05-09 17:10:50 +00:00
|
|
|
|
2017-04-18 22:20:45 +00:00
|
|
|
position: relative;
|
|
|
|
padding: 5px;
|
|
|
|
padding-right: 10px;
|
2018-04-06 21:51:52 +00:00
|
|
|
padding-bottom: 0px;
|
2017-05-09 17:10:50 +00:00
|
|
|
|
2017-04-18 22:20:45 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
2017-05-09 17:10:50 +00:00
|
|
|
.fileName {
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 0.25em;
|
2017-07-06 00:58:37 +00:00
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text {
|
|
|
|
overflow: hidden;
|
2017-05-09 17:10:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon, .text {
|
2017-04-18 22:20:45 +00:00
|
|
|
opacity: 0.75;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2017-05-09 17:10:50 +00:00
|
|
|
.icon, .text {
|
2017-04-18 22:20:45 +00:00
|
|
|
opacity: 1.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
2017-05-09 20:31:21 +00:00
|
|
|
margin-left: -0.5em;
|
2017-05-11 23:45:26 +00:00
|
|
|
margin-right: 0.5em;
|
2017-04-18 22:20:45 +00:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2017-07-06 00:58:37 +00:00
|
|
|
width: $button-height * 2;
|
|
|
|
height: $button-height * 2;
|
2017-04-19 22:40:57 +00:00
|
|
|
@include color-svg('../images/file.svg', $grey_d);
|
2017-05-11 23:45:26 +00:00
|
|
|
|
2017-07-06 00:58:37 +00:00
|
|
|
&.audio {
|
2017-04-19 22:40:57 +00:00
|
|
|
@include color-svg('../images/audio.svg', $grey_d);
|
2017-05-11 23:45:26 +00:00
|
|
|
}
|
2017-07-06 00:58:37 +00:00
|
|
|
&.video {
|
2017-04-19 22:40:57 +00:00
|
|
|
@include color-svg('../images/video.svg', $grey_d);
|
2017-05-11 23:45:26 +00:00
|
|
|
}
|
2017-07-06 00:58:37 +00:00
|
|
|
&.voice {
|
2017-04-19 22:40:57 +00:00
|
|
|
@include color-svg('../images/voice.svg', $grey_d);
|
2017-04-18 22:20:45 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-22 09:39:07 +00:00
|
|
|
}
|
2015-02-02 04:37:50 +00:00
|
|
|
|
2015-03-12 00:49:01 +00:00
|
|
|
.outgoing .avatar {
|
2015-02-02 04:37:50 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-04-14 23:42:42 +00:00
|
|
|
.bubble .content.error-message {
|
2016-05-26 03:37:28 +00:00
|
|
|
cursor: pointer;
|
2015-02-18 02:03:05 +00:00
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-18 18:24:49 +00:00
|
|
|
.quoted-message {
|
|
|
|
@include message-replies-colors;
|
|
|
|
@include twenty-percent-colors;
|
|
|
|
|
|
|
|
&.no-click {
|
|
|
|
cursor: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: stretch;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
border-radius: 2px;
|
|
|
|
background-color: #eee;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
margin-right: $android-bubble-quote-padding - $android-bubble-padding-horizontal;
|
|
|
|
margin-left: $android-bubble-quote-padding - $android-bubble-padding-horizontal;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
|
|
|
|
// Accent color border:
|
|
|
|
border-left-width: 3px;
|
|
|
|
border-left-style: solid;
|
|
|
|
|
|
|
|
.primary {
|
|
|
|
flex-grow: 1;
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
padding-top: 6px;
|
|
|
|
padding-bottom: 6px;
|
|
|
|
|
|
|
|
// Will turn on in the iOS theme. This extra element is necessary because the iOS
|
|
|
|
// theme requires text that isn't used at all in the Android Theme
|
|
|
|
.ios-label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.author {
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 0.3em;
|
|
|
|
@include text-colors;
|
|
|
|
|
|
|
|
.profile-name {
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.text {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
.type-label {
|
|
|
|
font-style: italic;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.filename-label {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-container {
|
|
|
|
flex: initial;
|
|
|
|
min-width: 48px;
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.circle-background {
|
|
|
|
position: absolute;
|
|
|
|
left: 6px;
|
|
|
|
right: 6px;
|
|
|
|
top: 6px;
|
|
|
|
bottom: 6px;
|
|
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
@include avatar-colors;
|
|
|
|
&.white {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
position: absolute;
|
|
|
|
left: 12px;
|
|
|
|
right: 12px;
|
|
|
|
top: 12px;
|
|
|
|
bottom: 12px;
|
|
|
|
|
|
|
|
&.file {
|
|
|
|
@include color-svg('../images/file.svg', white);
|
|
|
|
}
|
|
|
|
&.image {
|
|
|
|
@include color-svg('../images/image.svg', white);
|
|
|
|
}
|
|
|
|
&.microphone {
|
|
|
|
@include color-svg('../images/microphone.svg', white);
|
|
|
|
}
|
|
|
|
&.play {
|
|
|
|
@include color-svg('../images/play.svg', white);
|
|
|
|
}
|
|
|
|
|
|
|
|
@include avatar-colors;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inner {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
height: 48px;
|
|
|
|
text-align: center;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// We only add margin if there's no 'sender' element beforehand, which is only possible
|
|
|
|
// on incoming messages, and only in groups (when we're not in a .private conversation).
|
|
|
|
.outgoing .quoted-message, .private .incoming .quoted-message {
|
|
|
|
margin-top: $android-bubble-quote-padding - $android-bubble-padding-vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
.incoming .quoted-message {
|
|
|
|
background-color: rgba(white, 0.6);
|
|
|
|
border-left-color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-03-23 19:33:50 +00:00
|
|
|
.message-list,
|
2017-06-09 01:08:41 +00:00
|
|
|
.message-container {
|
2016-03-23 19:33:50 +00:00
|
|
|
.avatar {
|
|
|
|
height: 36px;
|
|
|
|
width: 36px;
|
|
|
|
line-height: 36px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-20 02:44:34 +00:00
|
|
|
.bottom-bar {
|
2016-03-22 00:17:39 +00:00
|
|
|
box-sizing: content-box;
|
2015-06-16 20:43:40 +00:00
|
|
|
$button-width: 36px;
|
2017-10-30 20:54:55 +00:00
|
|
|
padding: 5px 0px 5px 0;
|
2016-03-18 20:09:45 +00:00
|
|
|
background: $grey_l;
|
|
|
|
|
2017-10-30 20:54:55 +00:00
|
|
|
.compose {
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
2016-03-21 06:15:21 +00:00
|
|
|
form.active {
|
|
|
|
outline: solid 1px $blue;
|
|
|
|
}
|
|
|
|
|
2016-03-18 20:09:45 +00:00
|
|
|
form.send {
|
|
|
|
background: #ffffff;
|
|
|
|
}
|
2015-01-20 02:44:34 +00:00
|
|
|
|
2016-04-07 19:26:16 +00:00
|
|
|
input, textarea {
|
2015-01-20 02:44:34 +00:00
|
|
|
color: $grey_d;
|
|
|
|
}
|
|
|
|
|
2015-10-30 01:19:51 +00:00
|
|
|
.attachment-previews {
|
|
|
|
padding: 0 36px;
|
|
|
|
.attachment-preview {
|
|
|
|
padding: 13px 10px 0;
|
|
|
|
}
|
|
|
|
img {
|
|
|
|
border: 2px solid #ddd;
|
2016-04-01 21:24:13 +00:00
|
|
|
border-radius: $border-radius;
|
2015-10-30 01:19:51 +00:00
|
|
|
max-height: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.close {
|
2016-04-01 22:15:02 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
right: 2px;
|
2015-10-30 01:19:51 +00:00
|
|
|
background: #999;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $grey;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-08-15 22:36:29 +00:00
|
|
|
|
|
|
|
.flex {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
.send-message {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-30 01:19:51 +00:00
|
|
|
.choose-file {
|
2015-01-25 09:18:10 +00:00
|
|
|
float: left;
|
2015-10-30 01:19:51 +00:00
|
|
|
height: 36px;
|
2015-01-20 02:44:34 +00:00
|
|
|
}
|
2015-06-16 20:43:40 +00:00
|
|
|
.send-message {
|
|
|
|
display: block;
|
|
|
|
max-height: 100px;
|
|
|
|
padding: 10px;
|
2017-10-30 20:54:55 +00:00
|
|
|
margin: 0 5px;
|
2015-06-16 20:43:40 +00:00
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
z-index: 5;
|
2015-06-17 21:06:19 +00:00
|
|
|
resize: none;
|
2015-12-07 07:26:27 +00:00
|
|
|
font-size: 1em;
|
2016-01-20 04:15:12 +00:00
|
|
|
font-family: inherit;
|
2016-08-15 22:36:29 +00:00
|
|
|
|
|
|
|
&[disabled=disabled] {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2014-11-07 08:17:27 +00:00
|
|
|
}
|
2016-08-15 22:36:29 +00:00
|
|
|
.capture-audio {
|
|
|
|
float: right;
|
|
|
|
height: 36px;
|
|
|
|
}
|
2017-05-26 16:50:23 +00:00
|
|
|
.android-length-warning {
|
|
|
|
padding: 10px;
|
|
|
|
max-width:150px;
|
|
|
|
}
|
2016-08-15 22:36:29 +00:00
|
|
|
|
2015-01-11 11:27:22 +00:00
|
|
|
}
|
2015-02-14 00:21:39 +00:00
|
|
|
|
2015-03-03 00:31:04 +00:00
|
|
|
.toast {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
margin: 0 2em 3em;
|
|
|
|
padding: 0.5em 1.5em;
|
|
|
|
background: rgba(0, 0, 0, 0.75);
|
|
|
|
color: white;
|
|
|
|
box-shadow: 0 0 5px 0 black;
|
2016-04-01 21:24:13 +00:00
|
|
|
border-radius: $border-radius;
|
2016-08-24 22:15:55 +00:00
|
|
|
font-size: $font-size-small;
|
2016-09-01 22:09:24 +00:00
|
|
|
z-index: 100;
|
2015-03-03 00:31:04 +00:00
|
|
|
}
|
2015-06-16 20:43:40 +00:00
|
|
|
|
2015-05-26 23:54:21 +00:00
|
|
|
.confirmation-dialog {
|
2016-02-19 01:28:34 +00:00
|
|
|
.content {
|
2016-01-23 16:00:07 +00:00
|
|
|
max-width: 350px;
|
|
|
|
margin: 100px auto;
|
|
|
|
padding: 1em;
|
|
|
|
background: white;
|
2016-04-01 21:24:13 +00:00
|
|
|
border-radius: $border-radius;
|
2016-01-23 16:00:07 +00:00
|
|
|
overflow: auto;
|
2017-05-22 21:34:57 +00:00
|
|
|
box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.3);
|
2015-03-03 02:27:14 +00:00
|
|
|
|
2016-01-23 16:00:07 +00:00
|
|
|
.buttons {
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
|
|
button {
|
|
|
|
float: right;
|
|
|
|
margin-left: 10px;
|
|
|
|
background-color: $grey_l;
|
2016-04-01 21:24:13 +00:00
|
|
|
border-radius: $border-radius;
|
2016-01-23 16:00:07 +00:00
|
|
|
padding: 5px 8px;
|
2016-01-24 11:53:30 +00:00
|
|
|
border: 1px solid $grey_l2;
|
2016-01-23 16:00:07 +00:00
|
|
|
|
|
|
|
&:hover {
|
2016-01-24 11:53:30 +00:00
|
|
|
background-color: $grey_l2;
|
|
|
|
border-color: $grey_l3;
|
2016-01-23 16:00:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-06-16 20:43:40 +00:00
|
|
|
}
|
2015-05-26 23:54:21 +00:00
|
|
|
}
|
2017-06-16 21:56:38 +00:00
|
|
|
.advisory .icon {
|
|
|
|
height: 1.25em;
|
|
|
|
width: 1.25em;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&.verified {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/verified-check.svg', $grey_d);
|
2017-06-16 21:56:38 +00:00
|
|
|
}
|
|
|
|
&.shield {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/shield.svg', $grey_d);
|
2017-06-16 21:56:38 +00:00
|
|
|
}
|
|
|
|
&.clock {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/clock.svg', $grey_d);
|
2017-06-16 21:56:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.keychange {
|
2016-09-18 06:55:05 +00:00
|
|
|
text-align: center;
|
|
|
|
.content {
|
2017-05-23 22:22:02 +00:00
|
|
|
cursor: pointer;
|
2016-09-18 06:55:05 +00:00
|
|
|
display: inline-block;
|
|
|
|
padding: 5px 10px;
|
|
|
|
background: #fff5c4;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
}
|
|
|
|
}
|
2017-05-17 21:32:03 +00:00
|
|
|
|
2017-06-16 21:29:27 +00:00
|
|
|
.verified-change {
|
2017-06-15 19:27:41 +00:00
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.content {
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 5px 10px;
|
|
|
|
background: #fff5c4;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-17 21:32:03 +00:00
|
|
|
.message-list .last-seen-indicator-view {
|
2017-06-08 22:36:05 +00:00
|
|
|
// This padding is large so we clear the avatar circle extending into the conversation
|
|
|
|
// window.scrollIntoView() doesn't honor margins, so we're using padding
|
|
|
|
// padding-top is less to account for the 10px margin at the bottom of messages
|
|
|
|
padding-top: 25px;
|
|
|
|
padding-bottom: 35px;
|
|
|
|
|
2017-05-31 23:08:32 +00:00
|
|
|
|
|
|
|
.bar {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
|
2017-06-08 19:11:15 +00:00
|
|
|
padding: 5px;
|
2017-05-31 23:08:32 +00:00
|
|
|
|
2017-06-08 19:11:15 +00:00
|
|
|
border-top: 1px solid rgba(255, 255, 255, 0.15);
|
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.055);
|
2017-05-31 23:08:32 +00:00
|
|
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
|
|
}
|
2017-05-17 21:32:03 +00:00
|
|
|
|
|
|
|
.text {
|
2017-06-08 19:11:15 +00:00
|
|
|
font-size: 12px;
|
|
|
|
text-transform: uppercase;
|
2017-06-09 21:42:45 +00:00
|
|
|
letter-spacing: .06em;
|
2017-05-22 22:12:53 +00:00
|
|
|
background-color: white;
|
2017-05-31 23:08:32 +00:00
|
|
|
border-radius: 1.5em;
|
2017-06-08 19:11:15 +00:00
|
|
|
padding: 10px 21px 9px 21px;
|
2017-05-17 21:32:03 +00:00
|
|
|
}
|
|
|
|
}
|
2017-05-19 01:33:35 +00:00
|
|
|
|
|
|
|
.discussion-container .scroll-down-button-view {
|
|
|
|
position: absolute;
|
|
|
|
right: 20px;
|
|
|
|
bottom: 10px;
|
|
|
|
|
|
|
|
button {
|
|
|
|
height: 44px;
|
|
|
|
width: 44px;
|
|
|
|
border-radius: 22px;
|
|
|
|
text-align: center;
|
2017-05-31 23:08:32 +00:00
|
|
|
background-color: white;
|
2017-05-19 01:33:35 +00:00
|
|
|
border: none;
|
2017-05-22 21:34:57 +00:00
|
|
|
box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.2);
|
2017-05-19 01:33:35 +00:00
|
|
|
|
|
|
|
.icon {
|
2017-05-26 01:13:40 +00:00
|
|
|
@include color-svg('../images/down.svg', $grey_l3);
|
2017-05-19 01:33:35 +00:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-06-07 19:38:40 +00:00
|
|
|
.icon:hover {
|
|
|
|
background-color: #616161;
|
|
|
|
}
|
2017-05-19 01:33:35 +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-05-26 01:13:40 +00:00
|
|
|
@include color-svg('../images/down.svg', white);
|
2017-05-19 01:33:35 +00:00
|
|
|
}
|
2017-06-07 19:43:32 +00:00
|
|
|
|
2017-06-07 20:06:42 +00:00
|
|
|
&:hover {
|
2017-06-07 19:43:32 +00:00
|
|
|
background-color: #1472bd;
|
|
|
|
}
|
2017-05-19 01:33:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|