2015-01-30 04:53:49 +00:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2015-02-19 07:09:34 +00:00
|
|
|
html {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2015-01-30 04:53:49 +00:00
|
|
|
body {
|
2015-02-18 02:03:05 +00:00
|
|
|
position: relative;
|
2015-01-30 04:53:49 +00:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2015-02-19 07:09:34 +00:00
|
|
|
margin: 0;
|
2015-01-30 04:53:49 +00:00
|
|
|
font-family: $roboto;
|
|
|
|
font-size: 14px;
|
2018-07-09 21:29:13 +00:00
|
|
|
color: $color-light-90;
|
2015-01-30 04:53:49 +00:00
|
|
|
}
|
|
|
|
|
2018-07-03 22:33:50 +00:00
|
|
|
.dark-overlay {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2018-07-09 21:29:13 +00:00
|
|
|
background-color: $color-black;
|
2018-07-03 22:33:50 +00:00
|
|
|
opacity: 0.25;
|
|
|
|
z-index: 200;
|
|
|
|
}
|
|
|
|
|
2015-02-06 06:42:16 +00:00
|
|
|
.clearfix:before,
|
|
|
|
.clearfix:after {
|
|
|
|
display: table;
|
2018-05-04 20:07:52 +00:00
|
|
|
content: ' ';
|
2015-02-06 06:42:16 +00:00
|
|
|
}
|
|
|
|
.clearfix:after {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2015-02-23 20:50:07 +00:00
|
|
|
.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.title-bar {
|
|
|
|
color: $color-light-90;
|
|
|
|
|
|
|
|
height: $header-height;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2015-01-30 21:20:32 +00:00
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
.logo {
|
|
|
|
margin-left: 16px;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 24px;
|
|
|
|
font-weight: 300;
|
|
|
|
color: $color-light-90;
|
2015-02-23 20:50:07 +00:00
|
|
|
}
|
|
|
|
|
2016-08-24 23:19:24 +00:00
|
|
|
button {
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
2016-09-08 18:25:46 +00:00
|
|
|
button.grey {
|
|
|
|
border-radius: $border-radius;
|
|
|
|
border: solid 1px #ccc;
|
|
|
|
cursor: pointer;
|
|
|
|
margin: 1em auto;
|
|
|
|
padding: 1em;
|
|
|
|
font-family: inherit;
|
|
|
|
color: $grey;
|
|
|
|
background: $grey_l;
|
|
|
|
box-shadow: 0 0 10px -5px rgba($grey, 0.5);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
box-shadow: 0 0 10px -3px rgba($grey, 0.7);
|
|
|
|
}
|
|
|
|
|
2018-05-04 20:07:52 +00:00
|
|
|
&[disabled='disabled'] {
|
|
|
|
&,
|
|
|
|
&:hover {
|
2016-09-08 18:25:46 +00:00
|
|
|
opacity: 0.5;
|
|
|
|
box-shadow: none;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-04 20:07:52 +00:00
|
|
|
a {
|
|
|
|
color: $blue;
|
|
|
|
}
|
2015-02-23 20:50:07 +00:00
|
|
|
|
2015-02-06 06:42:16 +00:00
|
|
|
.file-input {
|
|
|
|
position: relative;
|
2015-10-30 01:19:51 +00:00
|
|
|
.choose-file {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2015-02-06 06:42:16 +00:00
|
|
|
|
|
|
|
.paperclip {
|
2016-08-31 21:45:23 +00:00
|
|
|
width: 36px;
|
2017-10-30 20:54:55 +00:00
|
|
|
height: 36px;
|
|
|
|
padding: 0;
|
2016-04-01 21:46:04 +00:00
|
|
|
opacity: 0.5;
|
2016-08-31 21:45:23 +00:00
|
|
|
border: none;
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
|
|
|
width: $button-height;
|
|
|
|
height: $button-height;
|
2017-03-08 00:54:46 +00:00
|
|
|
@include color-svg('../images/paperclip.svg', $grey);
|
2016-08-31 21:45:23 +00:00
|
|
|
transform: rotateZ(-45deg);
|
|
|
|
}
|
2016-04-07 20:12:40 +00:00
|
|
|
|
2018-05-04 20:07:52 +00:00
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
2016-04-01 21:46:04 +00:00
|
|
|
}
|
2015-02-06 06:42:16 +00:00
|
|
|
}
|
|
|
|
|
2018-05-04 20:07:52 +00:00
|
|
|
input[type='file'] {
|
2015-02-06 06:42:16 +00:00
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
opacity: 0;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
}
|
2015-03-10 19:11:32 +00:00
|
|
|
|
2015-12-03 22:34:19 +00:00
|
|
|
.dropoff {
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
outline: solid 1px $blue;
|
2015-12-03 22:34:19 +00:00
|
|
|
}
|
|
|
|
|
2015-06-18 20:35:40 +00:00
|
|
|
$avatar-size: 44px;
|
|
|
|
|
2015-03-23 21:01:18 +00:00
|
|
|
.avatar {
|
|
|
|
display: inline-block;
|
2015-06-18 20:35:40 +00:00
|
|
|
height: $avatar-size;
|
|
|
|
width: $avatar-size;
|
2015-03-23 21:01:18 +00:00
|
|
|
border-radius: 50%;
|
|
|
|
background-size: cover;
|
|
|
|
vertical-align: middle;
|
2015-06-19 00:05:00 +00:00
|
|
|
text-align: center;
|
|
|
|
line-height: $avatar-size;
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2018-07-09 21:29:13 +00:00
|
|
|
color: $color-white;
|
2016-03-19 01:02:58 +00:00
|
|
|
font-size: 18px;
|
2018-07-09 21:29:13 +00:00
|
|
|
background-color: $grey;
|
2015-03-23 21:01:18 +00:00
|
|
|
}
|
|
|
|
|
2015-09-04 20:11:21 +00:00
|
|
|
.group-info-input {
|
2018-07-09 21:29:13 +00:00
|
|
|
background: $color-white;
|
2015-03-12 18:40:55 +00:00
|
|
|
|
2015-03-12 23:14:21 +00:00
|
|
|
.group-avatar {
|
2015-09-04 20:11:21 +00:00
|
|
|
display: inline-block;
|
|
|
|
padding: 2px 0px 0px 2px;
|
2015-03-12 23:14:21 +00:00
|
|
|
}
|
2015-03-12 18:40:55 +00:00
|
|
|
|
2018-05-04 20:07:52 +00:00
|
|
|
.file-input .thumbnail,
|
|
|
|
.thumbnail .avatar,
|
2015-03-12 18:40:55 +00:00
|
|
|
img {
|
|
|
|
height: 54px;
|
|
|
|
width: 54px;
|
|
|
|
border-radius: (54px / 2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
border-bottom: 10px solid $grey;
|
|
|
|
border-left: 10px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
input.name {
|
|
|
|
padding: 0.5em;
|
|
|
|
border: solid 1px #ccc;
|
|
|
|
border-width: 0 0 1px 0;
|
2015-09-04 20:11:21 +00:00
|
|
|
width: calc(100% - 84px);
|
2015-06-09 23:10:39 +00:00
|
|
|
}
|
2015-08-04 19:15:37 +00:00
|
|
|
}
|
2015-06-09 23:10:39 +00:00
|
|
|
|
2015-08-04 19:15:37 +00:00
|
|
|
.group-member-list,
|
2015-09-04 20:11:21 +00:00
|
|
|
.new-group-update {
|
2017-06-17 00:02:49 +00:00
|
|
|
.summary {
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
2015-06-09 23:10:39 +00:00
|
|
|
.members .contact {
|
|
|
|
box-shadow: none;
|
|
|
|
border-bottom: 1px solid #eee;
|
2018-05-04 20:07:52 +00:00
|
|
|
.last-message,
|
|
|
|
.last-timestamp {
|
2015-06-09 23:10:39 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2015-03-12 23:14:21 +00:00
|
|
|
}
|
2017-09-11 16:50:35 +00:00
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
$unread-badge-size: 21px;
|
2017-09-11 16:50:35 +00:00
|
|
|
|
2017-06-14 00:36:32 +00:00
|
|
|
.banner {
|
|
|
|
// what's the right color?
|
2017-06-16 21:29:27 +00:00
|
|
|
background-color: $blue_l;
|
2017-06-14 00:36:32 +00:00
|
|
|
color: black;
|
2017-06-16 21:29:27 +00:00
|
|
|
box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
|
2017-06-14 00:36:32 +00:00
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
top: 25px;
|
|
|
|
right: 30px;
|
|
|
|
left: 30px;
|
|
|
|
|
|
|
|
padding: 5px 25px 5px 10px;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
2017-06-16 21:29:27 +00:00
|
|
|
.warning {
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: text-bottom;
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/warning.svg', black);
|
2017-06-16 21:29:27 +00:00
|
|
|
}
|
|
|
|
|
2017-06-14 00:36:32 +00:00
|
|
|
.dismiss {
|
|
|
|
position: absolute;
|
|
|
|
right: 3px;
|
|
|
|
top: 3px;
|
|
|
|
|
2017-06-16 21:29:27 +00:00
|
|
|
height: 23px;
|
|
|
|
width: 23px;
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/x.svg', black);
|
2017-06-14 00:36:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-14 23:42:42 +00:00
|
|
|
.contact-details {
|
|
|
|
$left-margin: 8px;
|
2015-03-12 18:40:55 +00:00
|
|
|
|
2016-04-14 23:42:42 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 0 0 $left-margin;
|
2016-08-24 23:19:24 +00:00
|
|
|
width: calc(100% - #{$avatar-size} - #{$left-margin} - #{(4/14) + em});
|
2016-07-08 13:37:25 +00:00
|
|
|
text-align: left;
|
2015-06-18 20:35:40 +00:00
|
|
|
|
2016-04-14 23:42:42 +00:00
|
|
|
p {
|
|
|
|
overflow-x: hidden;
|
2018-05-14 20:52:10 +00:00
|
|
|
overflow-y: hidden;
|
|
|
|
height: 1.2em;
|
2016-04-14 23:42:42 +00:00
|
|
|
text-overflow: ellipsis;
|
2015-03-12 23:14:21 +00:00
|
|
|
}
|
2015-03-12 18:40:55 +00:00
|
|
|
|
2015-09-03 20:33:17 +00:00
|
|
|
.name {
|
2015-10-23 22:47:32 +00:00
|
|
|
display: block;
|
2015-03-12 18:40:55 +00:00
|
|
|
margin: 0;
|
|
|
|
font-size: 1em;
|
2015-08-26 22:13:14 +00:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow-x: hidden;
|
2016-07-08 13:37:25 +00:00
|
|
|
text-align: left;
|
2015-03-12 18:40:55 +00:00
|
|
|
}
|
|
|
|
|
2015-09-04 20:11:21 +00:00
|
|
|
.number {
|
|
|
|
color: $grey;
|
2016-08-24 22:15:55 +00:00
|
|
|
font-size: $font-size-small;
|
2015-09-04 20:11:21 +00:00
|
|
|
}
|
2017-06-10 19:18:24 +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
|
|
|
&.clickable {
|
|
|
|
cursor: pointer;
|
2017-06-10 19:18:24 +00:00
|
|
|
}
|
2017-06-14 21:06:36 +00:00
|
|
|
|
|
|
|
.verified-icon {
|
2018-05-04 20:07:52 +00:00
|
|
|
@include color-svg('../images/verified-check.svg', $grey);
|
|
|
|
display: inline-block;
|
|
|
|
width: 1.25em;
|
|
|
|
height: 1.25em;
|
|
|
|
vertical-align: text-bottom;
|
2017-06-14 21:06:36 +00:00
|
|
|
}
|
2018-06-27 20:53:49 +00:00
|
|
|
|
|
|
|
.body-wrapper {
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2015-03-12 18:40:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.recipients-input {
|
2015-09-04 20:11:21 +00:00
|
|
|
position: relative;
|
2015-03-12 18:40:55 +00:00
|
|
|
|
|
|
|
.recipients-container {
|
|
|
|
background-color: white;
|
|
|
|
padding: 2px;
|
|
|
|
border-bottom: 1px solid #f2f2f2;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.recipient {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 2px 2px 0;
|
|
|
|
padding: 0 5px;
|
|
|
|
border-radius: 10px;
|
|
|
|
background-color: $blue;
|
|
|
|
color: white;
|
|
|
|
|
|
|
|
&.error {
|
|
|
|
background-color: #f00;
|
|
|
|
}
|
|
|
|
|
|
|
|
.remove {
|
|
|
|
margin-left: 5px;
|
|
|
|
padding: 0 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-04 20:11:21 +00:00
|
|
|
.results {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 10;
|
|
|
|
margin: 0 0 0 20px;
|
|
|
|
width: calc(100% - 30px);
|
|
|
|
max-width: 300px;
|
|
|
|
max-height: 55px * 3;
|
|
|
|
overflow-y: auto;
|
|
|
|
box-shadow: 0px 0px 1px rgba(#aaa, 0.8);
|
2015-03-12 18:40:55 +00:00
|
|
|
|
2015-09-04 20:11:21 +00:00
|
|
|
.contact {
|
|
|
|
cursor: pointer;
|
2015-03-12 18:40:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachment-preview {
|
2015-10-30 01:19:51 +00:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
2015-03-12 18:40:55 +00:00
|
|
|
img {
|
2015-10-30 01:19:51 +00:00
|
|
|
max-width: 100%;
|
2015-03-12 18:40:55 +00:00
|
|
|
}
|
2015-03-12 23:14:21 +00:00
|
|
|
}
|
2015-08-31 22:11:00 +00:00
|
|
|
.new-conversation .recipients-input .recipients::before {
|
|
|
|
content: 'To: ';
|
|
|
|
}
|
2015-09-04 20:11:21 +00:00
|
|
|
.new-group-update .recipients-input .recipients::before {
|
2015-08-31 22:11:00 +00:00
|
|
|
content: 'Add: ';
|
|
|
|
}
|
|
|
|
|
2018-07-09 21:29:13 +00:00
|
|
|
$loading-height: 16px;
|
|
|
|
|
2015-08-27 00:30:20 +00:00
|
|
|
.loading {
|
|
|
|
position: relative;
|
2015-11-11 00:03:19 +00:00
|
|
|
&::before {
|
2015-08-27 00:30:20 +00:00
|
|
|
display: block;
|
2015-11-12 18:35:29 +00:00
|
|
|
margin: 0px auto;
|
2018-05-04 20:07:52 +00:00
|
|
|
content: ' ';
|
2015-11-12 18:35:29 +00:00
|
|
|
height: $loading-height;
|
|
|
|
width: $loading-height;
|
|
|
|
border-radius: 2 * $loading-height;
|
2015-08-27 00:30:20 +00:00
|
|
|
border: solid 3px;
|
2015-11-12 18:35:29 +00:00
|
|
|
border-color: $blue_l $blue_l $grey_l $grey_l !important;
|
2015-08-27 00:30:20 +00:00
|
|
|
animation: rotate 1s linear infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes rotate {
|
2018-05-04 20:07:52 +00:00
|
|
|
to {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
2015-08-27 00:30:20 +00:00
|
|
|
}
|
|
|
|
}
|
2015-09-16 06:28:00 +00:00
|
|
|
|
2016-04-01 22:15:02 +00:00
|
|
|
.x {
|
|
|
|
display: inline-block;
|
|
|
|
float: right;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
padding: 3px;
|
|
|
|
background: $grey;
|
2016-02-19 19:26:32 +00:00
|
|
|
|
2016-04-01 22:15:02 +00:00
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-03-08 00:54:46 +00:00
|
|
|
@include color-svg('../images/x.svg', white);
|
2016-02-19 19:26:32 +00:00
|
|
|
}
|
2016-02-18 00:08:17 +00:00
|
|
|
}
|
2016-03-18 18:11:36 +00:00
|
|
|
|
2018-05-04 20:07:52 +00:00
|
|
|
input[type='text'],
|
|
|
|
input[type='search'],
|
|
|
|
textarea {
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2016-03-18 18:11:36 +00:00
|
|
|
outline: 1px solid $blue;
|
|
|
|
}
|
|
|
|
}
|
2016-04-04 03:06:27 +00:00
|
|
|
|
|
|
|
.expiredAlert {
|
2018-05-04 20:07:52 +00:00
|
|
|
background: #f3f3a7;
|
2016-04-04 03:06:27 +00:00
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
button {
|
|
|
|
float: right;
|
|
|
|
border: none;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
color: white;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 36px;
|
|
|
|
padding: 0 20px;
|
|
|
|
background: $blue;
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
Full export, migration banner, and full migration workflow - behind flag (#1342)
* Add support for backup and restore
This first pass works for all stores except messages, pending some scaling
improvements.
// FREEBIE
* Import of messages and attachments
Properly sanitize filenames. Logging information that will help with
debugging but won't threaten privacy (no contact or group names),
where the on-disk directories have this information to make things
human-readable
FREEBIE
* First fully operational single-action export and import!
FREEBIE
* Add migration export flow
A banner alert leads to a blocking ui for the migration. We close the socket and
wait for incoming messages to drain before starting the export.
FREEBIE
* A number of updates for the export flow
1. We don't immediately pop the directory selection dialog box, instead
showing an explicit 'choose directory' button after explaining what is
about to happen
2. We show a 'submit debug log' button on most steps of the process
3. We handle export errors and encourage the user to double-check their
filesystem then submit their log
4. We are resilient to restarts during the process
5. We handle the user cancelling out of the directory selection dialog
differently from other errors.
6. The export process is now serialized: non-messages, then messages.
7. After successful export, show where the data is on disk
FREEBUE
* Put migration behind a flag
FREEBIE
* Shut down websocket before proceeding with export
FREEBIE
* Add MigrationView to test/index.html to fix test
FREEBIE
* Remove 'Submit Debug Log' button when the export process is complete
FREEBIE
* Create a 'Signal Export' directory below user-chosen dir
This cleans things up a bit so we don't litter the user's target
directory with lots of stuff.
FREEBIE
* Clarify MessageReceiver.drain() method comments
FREEBIE
* A couple updates for clarity - event names, else handling
Also the removal of wait(), which wasn't used anywhere.
FREEBIE
* A number of wording updates for the export flow
FREEBIE
* Export complete: put dir on its own line, make text selectable
FREEBIE
2017-08-28 20:06:10 +00:00
|
|
|
|
|
|
|
.message {
|
|
|
|
padding: 10px 0;
|
|
|
|
}
|
2016-04-04 03:06:27 +00:00
|
|
|
}
|
2016-12-05 22:43:43 +00:00
|
|
|
|
2017-07-25 01:43:35 +00:00
|
|
|
.inbox {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes loading {
|
|
|
|
50% {
|
|
|
|
transform: scale(1);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.app-loading-screen {
|
2017-07-28 01:38:41 +00:00
|
|
|
z-index: 99;
|
2017-07-25 01:43:35 +00:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background-color: white;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.content {
|
2017-07-25 23:00:06 +00:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
text-align: center;
|
2017-07-25 01:43:35 +00:00
|
|
|
}
|
|
|
|
.container {
|
2017-07-25 23:00:06 +00:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2017-07-25 01:43:35 +00:00
|
|
|
width: 78px;
|
2017-07-25 23:00:06 +00:00
|
|
|
height: 22px;
|
2017-07-25 01:43:35 +00:00
|
|
|
}
|
Full export, migration banner, and full migration workflow - behind flag (#1342)
* Add support for backup and restore
This first pass works for all stores except messages, pending some scaling
improvements.
// FREEBIE
* Import of messages and attachments
Properly sanitize filenames. Logging information that will help with
debugging but won't threaten privacy (no contact or group names),
where the on-disk directories have this information to make things
human-readable
FREEBIE
* First fully operational single-action export and import!
FREEBIE
* Add migration export flow
A banner alert leads to a blocking ui for the migration. We close the socket and
wait for incoming messages to drain before starting the export.
FREEBIE
* A number of updates for the export flow
1. We don't immediately pop the directory selection dialog box, instead
showing an explicit 'choose directory' button after explaining what is
about to happen
2. We show a 'submit debug log' button on most steps of the process
3. We handle export errors and encourage the user to double-check their
filesystem then submit their log
4. We are resilient to restarts during the process
5. We handle the user cancelling out of the directory selection dialog
differently from other errors.
6. The export process is now serialized: non-messages, then messages.
7. After successful export, show where the data is on disk
FREEBUE
* Put migration behind a flag
FREEBIE
* Shut down websocket before proceeding with export
FREEBIE
* Add MigrationView to test/index.html to fix test
FREEBIE
* Remove 'Submit Debug Log' button when the export process is complete
FREEBIE
* Create a 'Signal Export' directory below user-chosen dir
This cleans things up a bit so we don't litter the user's target
directory with lots of stuff.
FREEBIE
* Clarify MessageReceiver.drain() method comments
FREEBIE
* A couple updates for clarity - event names, else handling
Also the removal of wait(), which wasn't used anywhere.
FREEBIE
* A number of wording updates for the export flow
FREEBIE
* Export complete: put dir on its own line, make text selectable
FREEBIE
2017-08-28 20:06:10 +00:00
|
|
|
.message {
|
|
|
|
-webkit-user-select: text;
|
|
|
|
max-width: 35em;
|
|
|
|
}
|
2017-07-25 01:43:35 +00:00
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
.full-screen-flow {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
font-family: roboto-light;
|
|
|
|
|
2018-03-07 02:27:15 +00:00
|
|
|
&.overlay {
|
|
|
|
// .modal, used for the settings view, is 100
|
|
|
|
z-index: 200;
|
|
|
|
}
|
|
|
|
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
color: black;
|
|
|
|
a {
|
|
|
|
color: $blue;
|
|
|
|
}
|
|
|
|
background: linear-gradient(
|
|
|
|
to bottom,
|
2018-05-04 21:22:00 +00:00
|
|
|
/* (1 - 0.41) * 255 + 0.41 * 213*/ rgb(238, 238, 238) 0%,
|
|
|
|
/* (1 - 0.19) * 255 + 0.19 * 191*/ rgb(243, 243, 243) 12%,
|
|
|
|
rgb(255, 255, 255) 27%,
|
2018-05-04 20:07:52 +00:00
|
|
|
rgb(255, 255, 255) 60%,
|
2018-05-04 21:22:00 +00:00
|
|
|
/* (1 - 0.19) * 255 + 0.19 * 222*/ rgb(249, 249, 249) 85%,
|
|
|
|
/* (1 - 0.27) * 255 + 0.27 * 98 */ rgb(213, 213, 213) 100%
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
font-size: 10pt;
|
|
|
|
input {
|
|
|
|
margin-top: 1em;
|
|
|
|
font-size: 12pt;
|
|
|
|
font-family: roboto-light;
|
|
|
|
border: 2px solid $blue;
|
|
|
|
padding: 0.5em;
|
|
|
|
text-align: center;
|
|
|
|
width: 20em;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-height: 750px) and (min-width: 700px) {
|
|
|
|
font-size: 14pt;
|
|
|
|
|
|
|
|
input {
|
|
|
|
font-size: 16pt;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#qr {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&.ready {
|
|
|
|
border: 5px solid $blue;
|
|
|
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: 20em;
|
|
|
|
border: 5px solid white;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-height: 475px) {
|
|
|
|
img {
|
|
|
|
width: 8em;
|
|
|
|
height: 8em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
canvas {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.os-icon {
|
|
|
|
height: 3em;
|
|
|
|
width: 3em;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0.5em;
|
|
|
|
|
|
|
|
&.apple {
|
|
|
|
@include color-svg('../images/apple.svg', black);
|
|
|
|
}
|
|
|
|
&.android {
|
|
|
|
@include color-svg('../images/android.svg', black);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
font-weight: normal;
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
|
|
|
|
font-size: 20pt;
|
|
|
|
|
|
|
|
@media (min-height: 750px) and (min-width: 700px) {
|
|
|
|
font-size: 28pt;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.body-text {
|
|
|
|
max-width: 22em;
|
|
|
|
text-align: left;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
.body-text-wide {
|
|
|
|
max-width: 30em;
|
|
|
|
text-align: left;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2018-03-02 23:34:51 +00:00
|
|
|
form {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
.step {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
padding: 70px 0 50px;
|
|
|
|
}
|
|
|
|
.step-body {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
max-width: 35em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inner {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.banner-image {
|
|
|
|
margin: 1em;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
@media (min-height: 550px) {
|
|
|
|
display: inline-block;
|
|
|
|
height: 10em;
|
|
|
|
width: 10em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.banner-icon {
|
|
|
|
display: none;
|
|
|
|
margin: 1em;
|
|
|
|
|
|
|
|
// 640px by 338px is the smallest the window can go
|
|
|
|
@media (min-height: 550px) {
|
|
|
|
display: inline-block;
|
|
|
|
height: 10em;
|
|
|
|
width: 10em;
|
|
|
|
}
|
|
|
|
|
|
|
|
// generic
|
|
|
|
&.check-circle-outline {
|
2018-05-04 20:07:52 +00:00
|
|
|
@include color-svg('../images/check-circle-outline.svg', #dedede);
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
}
|
|
|
|
&.alert-outline {
|
2018-05-04 20:07:52 +00:00
|
|
|
@include color-svg('../images/alert-outline.svg', #dedede);
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// import and export
|
|
|
|
&.folder-outline {
|
2018-05-04 20:07:52 +00:00
|
|
|
@include color-svg('../images/folder-outline.svg', #dedede);
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
}
|
|
|
|
&.import {
|
2018-05-04 20:07:52 +00:00
|
|
|
@include color-svg('../images/import.svg', #dedede);
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
}
|
|
|
|
&.export {
|
2018-05-04 20:07:52 +00:00
|
|
|
@include color-svg('../images/export.svg', #dedede);
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// registration process
|
|
|
|
&.lead-pencil {
|
2018-05-04 20:07:52 +00:00
|
|
|
@include color-svg('../images/lead-pencil.svg', #dedede);
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
}
|
|
|
|
&.sync {
|
2018-05-04 20:07:52 +00:00
|
|
|
@include color-svg('../images/sync.svg', #dedede);
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
}
|
2018-03-07 02:27:15 +00:00
|
|
|
|
|
|
|
// delete
|
|
|
|
&.alert-outline-red {
|
|
|
|
@include color-svg('../images/alert-outline.svg', red);
|
|
|
|
}
|
|
|
|
&.delete {
|
2018-05-04 20:07:52 +00:00
|
|
|
@include color-svg('../images/delete.svg', #dedede);
|
2018-03-07 02:27:15 +00:00
|
|
|
}
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
border: none;
|
|
|
|
min-width: 300px;
|
|
|
|
padding: 0.75em;
|
|
|
|
margin-top: 1em;
|
2018-03-07 02:27:15 +00:00
|
|
|
margin-left: 0.5em;
|
|
|
|
margin-right: 0.5em;
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
color: white;
|
|
|
|
background: $blue;
|
|
|
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
|
|
|
|
|
|
|
font-size: 12pt;
|
|
|
|
|
2018-03-07 22:12:56 +00:00
|
|
|
&.neutral {
|
2018-03-07 02:27:15 +00:00
|
|
|
color: black;
|
2018-05-04 20:07:52 +00:00
|
|
|
background: #dedede;
|
2018-03-07 02:27:15 +00:00
|
|
|
}
|
2018-03-07 22:12:56 +00:00
|
|
|
&.destructive {
|
2018-03-07 02:27:15 +00:00
|
|
|
background: red;
|
|
|
|
}
|
|
|
|
|
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
- Icons at the top of every screen
- Gray background, blue buttons, thinner text
- Simpler copy
- A new design for the install flow. It features:
- Immediate entry into the QR code screen
- Animated dots to show that we're loading the QR code from the server
- Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 18:40:32 +00:00
|
|
|
@media (min-height: 750px) and (min-width: 700px) {
|
|
|
|
font-size: 20pt;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
a.link {
|
|
|
|
display: block;
|
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: underline;
|
|
|
|
margin: 0.5em;
|
|
|
|
color: #2090ea;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progress {
|
|
|
|
text-align: center;
|
|
|
|
padding: 1em;
|
|
|
|
width: 80%;
|
|
|
|
margin: auto;
|
|
|
|
|
|
|
|
.bar-container {
|
|
|
|
height: 1em;
|
|
|
|
margin: 1em;
|
|
|
|
background-color: $grey_l;
|
|
|
|
}
|
|
|
|
.bar {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: $blue_l;
|
|
|
|
transition: width 0.25s;
|
|
|
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav {
|
|
|
|
width: 100%;
|
|
|
|
bottom: 50px;
|
|
|
|
margin-top: auto;
|
|
|
|
padding-bottom: 2em;
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 20px;
|
|
|
|
|
|
|
|
.instructions {
|
|
|
|
text-align: left;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
margin-top: 2em;
|
|
|
|
max-width: 30em;
|
|
|
|
}
|
|
|
|
.instructions:after {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
.android {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.apple {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
.label {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.body {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-05 22:43:43 +00:00
|
|
|
//yellow border fix
|
|
|
|
.inbox:focus {
|
2018-05-04 20:07:52 +00:00
|
|
|
outline: none;
|
2016-12-05 22:43:43 +00:00
|
|
|
}
|
2017-03-13 01:58:13 +00:00
|
|
|
|
|
|
|
.text-security .inbox {
|
2018-05-04 20:07:52 +00:00
|
|
|
.name,
|
|
|
|
.body,
|
|
|
|
.last-message,
|
|
|
|
.sender,
|
|
|
|
.conversation-title,
|
|
|
|
.number {
|
|
|
|
-webkit-text-security: square;
|
2017-03-13 01:58:13 +00:00
|
|
|
}
|
|
|
|
}
|