2015-01-30 05:53:49 +01:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2015-02-19 08:09:34 +01:00
|
|
|
html {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2015-01-30 05:53:49 +01:00
|
|
|
body {
|
2015-02-18 03:03:05 +01:00
|
|
|
position: relative;
|
2015-01-30 05:53:49 +01:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2015-02-19 08:09:34 +01:00
|
|
|
margin: 0;
|
2015-01-30 05:53:49 +01:00
|
|
|
font-family: $roboto;
|
|
|
|
font-size: 14px;
|
2017-09-15 00:03:53 +02:00
|
|
|
color: $grey_d;
|
2015-01-30 05:53:49 +01:00
|
|
|
}
|
|
|
|
|
2015-02-06 07:42:16 +01:00
|
|
|
.clearfix:before,
|
|
|
|
.clearfix:after {
|
|
|
|
display: table;
|
|
|
|
content: " ";
|
|
|
|
}
|
|
|
|
.clearfix:after {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2015-02-23 21:50:07 +01:00
|
|
|
.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-01-30 05:53:49 +01:00
|
|
|
#header {
|
2016-03-18 19:11:36 +01:00
|
|
|
h1 {
|
2016-03-18 23:54:40 +01:00
|
|
|
margin: 0;
|
2016-03-21 23:37:53 +01:00
|
|
|
line-height: $header-height;
|
2016-03-18 19:11:36 +01:00
|
|
|
padding-left: 20px;
|
|
|
|
font-size: 22px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2015-01-30 22:20:32 +01:00
|
|
|
}
|
|
|
|
|
2015-08-27 00:13:14 +02:00
|
|
|
.conversation-header button,
|
2015-02-23 21:50:07 +01:00
|
|
|
.title-bar button {
|
2016-03-21 23:37:53 +01:00
|
|
|
width: $button-height;
|
|
|
|
height: $button-height;
|
|
|
|
line-height: $button-height;
|
2015-02-23 21:50:07 +01:00
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2016-08-25 01:19:24 +02:00
|
|
|
button {
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
2016-09-08 20:25:46 +02: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);
|
|
|
|
}
|
|
|
|
|
|
|
|
&[disabled=disabled] {
|
|
|
|
&, &:hover {
|
|
|
|
opacity: 0.5;
|
|
|
|
box-shadow: none;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-24 20:33:41 +01:00
|
|
|
a { color: $blue; }
|
2015-02-23 21:50:07 +01:00
|
|
|
|
2016-09-27 08:22:36 +02:00
|
|
|
button.back {
|
2017-03-08 01:54:46 +01:00
|
|
|
@include header-icon-black('../images/back.svg');
|
2016-03-21 23:37:53 +01:00
|
|
|
}
|
2016-09-27 08:22:36 +02:00
|
|
|
button.clock {
|
2017-03-08 01:54:46 +01:00
|
|
|
@include header-icon-black('../images/clock.svg');
|
2016-09-27 08:22:36 +02:00
|
|
|
}
|
|
|
|
button.hamburger {
|
2017-03-08 01:54:46 +01:00
|
|
|
@include header-icon-black('../images/menu.svg');
|
2015-02-23 21:50:07 +01:00
|
|
|
}
|
|
|
|
|
2016-09-27 08:22:36 +02:00
|
|
|
|
2015-10-17 03:14:50 +02:00
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-track {
|
2017-06-01 01:08:32 +02:00
|
|
|
background: transparent;
|
2015-10-17 03:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
2016-03-18 19:11:36 +01:00
|
|
|
background: rgba(0,0,0,0.15);
|
2016-04-01 23:24:13 +02:00
|
|
|
border-radius: $border-radius;
|
2016-04-21 06:13:56 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: rgba(0,0,0,0.25);
|
|
|
|
}
|
2015-10-17 03:14:50 +02:00
|
|
|
}
|
|
|
|
|
2016-03-18 23:54:40 +01:00
|
|
|
.header-buttons {
|
2016-03-22 19:01:04 +01:00
|
|
|
&.left {
|
|
|
|
float: left;
|
2016-04-01 23:20:00 +02:00
|
|
|
padding-left: 10px;
|
2016-03-22 19:01:04 +01:00
|
|
|
}
|
|
|
|
&.right {
|
|
|
|
float: right;
|
2016-04-01 23:20:00 +02:00
|
|
|
padding-right: 10px;
|
2016-03-22 19:01:04 +01:00
|
|
|
}
|
2016-03-18 23:54:40 +01:00
|
|
|
height: 0;
|
|
|
|
|
|
|
|
.vertical-align {
|
2016-03-21 23:37:53 +01:00
|
|
|
height: $header-height;
|
2016-03-18 23:54:40 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
display: table-cell;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-29 01:47:57 +02:00
|
|
|
.conversation-header .timer-menu {
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: attr(data-time);
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
bottom: -10px;
|
|
|
|
height: 10px;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 8px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-30 22:20:32 +01:00
|
|
|
.menu {
|
|
|
|
position: relative;
|
2015-10-16 21:52:10 +02:00
|
|
|
float: right;
|
2015-01-30 22:20:32 +01:00
|
|
|
|
|
|
|
.hamburger {
|
2016-03-21 23:37:53 +01:00
|
|
|
width: $button-height;
|
|
|
|
height: $button-height;
|
2016-03-18 23:54:40 +01:00
|
|
|
vertical-align: middle;
|
2015-01-30 22:20:32 +01:00
|
|
|
}
|
|
|
|
.menu-list {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
2015-05-22 02:07:11 +02:00
|
|
|
color: $grey_d;
|
2016-03-18 21:09:45 +01:00
|
|
|
z-index: 50;
|
2016-03-18 23:54:40 +01:00
|
|
|
text-align: initial;
|
2015-05-22 02:07:11 +02:00
|
|
|
|
2015-01-30 22:20:32 +01:00
|
|
|
top: 100%;
|
2015-10-16 21:52:10 +02:00
|
|
|
right: 0;
|
2015-01-30 22:20:32 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background-color: white;
|
2016-04-01 23:20:00 +02:00
|
|
|
box-shadow: 0 0 1px 1px rgba(0,0,0, 0.2);
|
2015-01-30 22:20:32 +01:00
|
|
|
|
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
white-space: nowrap;
|
2016-03-24 20:57:04 +01:00
|
|
|
cursor: pointer;
|
|
|
|
padding: 5px 15px 5px 10px;
|
2015-03-13 01:39:56 +01:00
|
|
|
|
2016-03-24 20:57:04 +01:00
|
|
|
&:hover {
|
|
|
|
background-color: $grey_l;
|
2015-03-13 01:39:56 +01:00
|
|
|
}
|
2015-01-30 22:20:32 +01:00
|
|
|
}
|
|
|
|
}
|
2015-01-30 05:53:49 +01:00
|
|
|
}
|
2015-02-06 07:42:16 +01:00
|
|
|
|
|
|
|
.file-input {
|
|
|
|
position: relative;
|
2015-10-30 02:19:51 +01:00
|
|
|
.choose-file {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2015-02-06 07:42:16 +01:00
|
|
|
|
|
|
|
.paperclip {
|
2016-08-31 23:45:23 +02:00
|
|
|
width: 36px;
|
2017-10-30 21:54:55 +01:00
|
|
|
height: 36px;
|
|
|
|
padding: 0;
|
2016-04-01 23:46:04 +02:00
|
|
|
opacity: 0.5;
|
2016-08-31 23:45:23 +02:00
|
|
|
border: none;
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
|
|
|
width: $button-height;
|
|
|
|
height: $button-height;
|
2017-03-08 01:54:46 +01:00
|
|
|
@include color-svg('../images/paperclip.svg', $grey);
|
2016-08-31 23:45:23 +02:00
|
|
|
transform: rotateZ(-45deg);
|
|
|
|
}
|
2016-04-07 22:12:40 +02:00
|
|
|
|
|
|
|
&:focus, &:hover {
|
2016-04-01 23:46:04 +02:00
|
|
|
opacity: 1.0;
|
|
|
|
}
|
2015-02-06 07:42:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type=file] {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
opacity: 0;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
}
|
2015-03-10 20:11:32 +01:00
|
|
|
|
2015-12-03 23:34:19 +01: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 19:40:32 +01:00
|
|
|
outline: solid 1px $blue;
|
2015-12-03 23:34:19 +01:00
|
|
|
}
|
|
|
|
|
2015-06-18 22:35:40 +02:00
|
|
|
$avatar-size: 44px;
|
|
|
|
|
2015-03-23 22:01:18 +01:00
|
|
|
.avatar {
|
|
|
|
display: inline-block;
|
2015-06-18 22:35:40 +02:00
|
|
|
height: $avatar-size;
|
|
|
|
width: $avatar-size;
|
2015-03-23 22:01:18 +01:00
|
|
|
border-radius: 50%;
|
|
|
|
background-size: cover;
|
|
|
|
vertical-align: middle;
|
2015-06-19 02:05:00 +02:00
|
|
|
text-align: center;
|
|
|
|
line-height: $avatar-size;
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
color: white;
|
2016-03-19 02:02:58 +01:00
|
|
|
font-size: 18px;
|
2016-08-31 03:27:54 +02:00
|
|
|
@include avatar-colors;
|
2015-03-23 22:01:18 +01:00
|
|
|
}
|
|
|
|
|
2015-09-04 22:11:21 +02:00
|
|
|
.group-info-input {
|
2015-03-12 19:40:55 +01:00
|
|
|
background: white;
|
|
|
|
|
2015-03-13 00:14:21 +01:00
|
|
|
.group-avatar {
|
2015-09-04 22:11:21 +02:00
|
|
|
display: inline-block;
|
|
|
|
padding: 2px 0px 0px 2px;
|
2015-03-13 00:14:21 +01:00
|
|
|
}
|
2015-03-12 19:40:55 +01:00
|
|
|
|
2015-06-10 01:10:39 +02:00
|
|
|
.file-input .thumbnail, .thumbnail .avatar,
|
2015-03-12 19:40:55 +01: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 22:11:21 +02:00
|
|
|
width: calc(100% - 84px);
|
2015-06-10 01:10:39 +02:00
|
|
|
}
|
2015-08-04 21:15:37 +02:00
|
|
|
}
|
2015-06-10 01:10:39 +02:00
|
|
|
|
2015-08-04 21:15:37 +02:00
|
|
|
.group-member-list,
|
2015-09-04 22:11:21 +02:00
|
|
|
.new-group-update {
|
2017-06-17 02:02:49 +02:00
|
|
|
.summary {
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
2015-06-10 01:10:39 +02:00
|
|
|
.members .contact {
|
|
|
|
box-shadow: none;
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
.last-message, .last-timestamp {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2015-03-13 00:14:21 +01:00
|
|
|
}
|
2017-09-11 18:50:35 +02:00
|
|
|
.profileName {
|
|
|
|
font-size: smaller;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '~';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-03 22:33:17 +02:00
|
|
|
.conversation-list-item {
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
|
|
background: #f8f8f8;
|
|
|
|
}
|
2015-09-04 22:11:21 +02:00
|
|
|
|
|
|
|
.number {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-11-09 21:07:40 +01:00
|
|
|
|
|
|
|
.unread-count {
|
|
|
|
float: right;
|
|
|
|
margin: 3px 10px 0 20px;
|
|
|
|
display: inline-block;
|
2015-11-12 21:52:55 +01:00
|
|
|
padding: 0 3px;
|
|
|
|
min-width: $unread-badge-size;
|
2015-11-09 21:07:40 +01:00
|
|
|
height: $unread-badge-size;
|
|
|
|
line-height: $unread-badge-size;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: center;
|
2016-04-01 23:24:13 +02:00
|
|
|
border-radius: $border-radius;
|
2015-11-09 21:07:40 +01:00
|
|
|
background-color: $blue;
|
|
|
|
color: white;
|
|
|
|
border: solid 1px rgba(255,255,255,0.6);
|
|
|
|
}
|
2015-09-03 22:33:17 +02:00
|
|
|
}
|
2016-04-01 20:04:20 +02:00
|
|
|
.inactive .contact.selected {
|
2016-04-01 20:51:53 +02:00
|
|
|
padding-left: 8px;
|
|
|
|
border-left: 4px solid $blue;
|
2016-04-01 20:04:20 +02:00
|
|
|
}
|
2015-03-12 19:40:55 +01:00
|
|
|
.contact {
|
|
|
|
padding: 12px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
2015-10-17 21:07:53 +02:00
|
|
|
background: rgba(255,255,255,0.6);
|
2016-03-18 19:11:36 +01:00
|
|
|
margin: 1px;
|
2015-03-13 00:14:21 +01:00
|
|
|
|
2015-08-28 02:01:34 +02:00
|
|
|
&.selected {
|
2016-03-18 19:11:36 +01:00
|
|
|
background: rgb(236, 243, 252);
|
2015-08-28 02:01:34 +02:00
|
|
|
}
|
|
|
|
|
2015-10-17 03:14:50 +02:00
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2015-06-10 01:10:39 +02:00
|
|
|
&:last-child::after {
|
|
|
|
display: none;
|
2015-03-12 19:40:55 +01:00
|
|
|
}
|
2016-04-15 01:42:42 +02:00
|
|
|
}
|
2017-06-14 02:36:32 +02:00
|
|
|
|
|
|
|
.banner {
|
|
|
|
// what's the right color?
|
2017-06-16 23:29:27 +02:00
|
|
|
background-color: $blue_l;
|
2017-06-14 02:36:32 +02:00
|
|
|
color: black;
|
2017-06-16 23:29:27 +02:00
|
|
|
box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
|
2017-06-14 02:36:32 +02: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 23:29:27 +02:00
|
|
|
.warning {
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: text-bottom;
|
2017-06-19 05:49:14 +02:00
|
|
|
@include color-svg('../images/warning.svg', black);
|
2017-06-16 23:29:27 +02:00
|
|
|
}
|
|
|
|
|
2017-06-14 02:36:32 +02:00
|
|
|
.dismiss {
|
|
|
|
position: absolute;
|
|
|
|
right: 3px;
|
|
|
|
top: 3px;
|
|
|
|
|
2017-06-16 23:29:27 +02:00
|
|
|
height: 23px;
|
|
|
|
width: 23px;
|
2017-06-19 05:49:14 +02:00
|
|
|
@include color-svg('../images/x.svg', black);
|
2017-06-14 02:36:32 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-15 01:42:42 +02:00
|
|
|
.contact-details {
|
|
|
|
$left-margin: 8px;
|
2015-03-12 19:40:55 +01:00
|
|
|
|
2016-04-15 01:42:42 +02:00
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 0 0 $left-margin;
|
2016-08-25 01:19:24 +02:00
|
|
|
width: calc(100% - #{$avatar-size} - #{$left-margin} - #{(4/14) + em});
|
2016-07-08 15:37:25 +02:00
|
|
|
text-align: left;
|
2015-06-18 22:35:40 +02:00
|
|
|
|
2016-04-15 01:42:42 +02:00
|
|
|
p {
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2015-03-13 00:14:21 +01:00
|
|
|
}
|
2015-03-12 19:40:55 +01:00
|
|
|
|
2015-09-03 22:33:17 +02:00
|
|
|
.name {
|
2015-10-24 00:47:32 +02:00
|
|
|
display: block;
|
2015-03-12 19:40:55 +01:00
|
|
|
margin: 0;
|
|
|
|
font-size: 1em;
|
2015-08-27 00:13:14 +02:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow-x: hidden;
|
2016-07-08 15:37:25 +02:00
|
|
|
text-align: left;
|
2015-03-12 19:40:55 +01:00
|
|
|
}
|
|
|
|
|
2015-09-04 22:11:21 +02:00
|
|
|
.number {
|
|
|
|
color: $grey;
|
2016-08-25 00:15:55 +02:00
|
|
|
font-size: $font-size-small;
|
2015-09-04 22:11:21 +02:00
|
|
|
}
|
2017-06-10 21:18:24 +02: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-05 00:28:43 +02:00
|
|
|
&.clickable {
|
|
|
|
cursor: pointer;
|
2017-06-10 21:18:24 +02:00
|
|
|
}
|
2017-06-14 23:06:36 +02:00
|
|
|
|
|
|
|
.verified-icon {
|
2017-06-19 05:49:14 +02:00
|
|
|
@include color-svg('../images/verified-check.svg', $grey);
|
2017-06-14 23:06:36 +02:00
|
|
|
display: inline-block;
|
|
|
|
width: 1.25em;
|
|
|
|
height: 1.25em;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
2015-03-12 19:40:55 +01:00
|
|
|
}
|
|
|
|
|
2016-04-15 01:42:42 +02:00
|
|
|
|
2015-03-12 19:40:55 +01:00
|
|
|
.recipients-input {
|
2015-09-04 22:11:21 +02:00
|
|
|
position: relative;
|
2015-03-12 19:40:55 +01: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 22:11:21 +02: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 19:40:55 +01:00
|
|
|
|
2015-09-04 22:11:21 +02:00
|
|
|
.contact {
|
|
|
|
cursor: pointer;
|
2015-03-12 19:40:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachment-preview {
|
2015-10-30 02:19:51 +01:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
2015-03-12 19:40:55 +01:00
|
|
|
img {
|
2015-10-30 02:19:51 +01:00
|
|
|
max-width: 100%;
|
2015-03-12 19:40:55 +01:00
|
|
|
}
|
|
|
|
|
2015-03-13 00:14:21 +01:00
|
|
|
}
|
2015-09-01 00:11:00 +02:00
|
|
|
.new-conversation .recipients-input .recipients::before {
|
|
|
|
content: 'To: ';
|
|
|
|
}
|
2015-09-04 22:11:21 +02:00
|
|
|
.new-group-update .recipients-input .recipients::before {
|
2015-09-01 00:11:00 +02:00
|
|
|
content: 'Add: ';
|
|
|
|
}
|
|
|
|
|
2015-08-27 02:30:20 +02:00
|
|
|
.loading {
|
|
|
|
position: relative;
|
2015-11-11 01:03:19 +01:00
|
|
|
&::before {
|
2015-08-27 02:30:20 +02:00
|
|
|
display: block;
|
2015-11-12 19:35:29 +01:00
|
|
|
margin: 0px auto;
|
2015-08-27 02:30:20 +02:00
|
|
|
content: " ";
|
2015-11-12 19:35:29 +01:00
|
|
|
height: $loading-height;
|
|
|
|
width: $loading-height;
|
|
|
|
border-radius: 2 * $loading-height;
|
2015-08-27 02:30:20 +02:00
|
|
|
border: solid 3px;
|
2015-11-12 19:35:29 +01:00
|
|
|
border-color: $blue_l $blue_l $grey_l $grey_l !important;
|
2015-08-27 02:30:20 +02:00
|
|
|
animation: rotate 1s linear infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes rotate {
|
|
|
|
to { transform: rotate(360deg); }
|
|
|
|
}
|
|
|
|
}
|
2015-09-16 08:28:00 +02:00
|
|
|
|
2016-04-02 00:15:02 +02:00
|
|
|
.x {
|
|
|
|
display: inline-block;
|
|
|
|
float: right;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
padding: 3px;
|
|
|
|
background: $grey;
|
2016-02-19 20:26:32 +01:00
|
|
|
|
2016-04-02 00:15:02 +02:00
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-03-08 01:54:46 +01:00
|
|
|
@include color-svg('../images/x.svg', white);
|
2016-02-19 20:26:32 +01:00
|
|
|
}
|
2016-02-18 01:08:17 +01:00
|
|
|
}
|
2016-03-18 19:11:36 +01:00
|
|
|
|
|
|
|
input[type=text], input[type=search], textarea {
|
|
|
|
&:active, &:focus {
|
|
|
|
outline: 1px solid $blue;
|
|
|
|
}
|
|
|
|
}
|
2016-04-04 05:06:27 +02:00
|
|
|
|
|
|
|
.expiredAlert {
|
|
|
|
background: #F3F3A7;
|
|
|
|
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 22:06:10 +02:00
|
|
|
|
|
|
|
.message {
|
|
|
|
padding: 10px 0;
|
|
|
|
}
|
2016-04-04 05:06:27 +02:00
|
|
|
}
|
2016-12-05 23:43:43 +01:00
|
|
|
|
2017-07-25 03:43:35 +02:00
|
|
|
.inbox {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes loading {
|
|
|
|
50% {
|
|
|
|
transform: scale(1);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.app-loading-screen {
|
2017-07-28 03:38:41 +02:00
|
|
|
z-index: 99;
|
2017-07-25 03:43:35 +02:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background-color: white;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.content {
|
2017-07-26 01:00:06 +02:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
text-align: center;
|
2017-07-25 03:43:35 +02:00
|
|
|
}
|
|
|
|
.container {
|
2017-07-26 01:00:06 +02:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2017-07-25 03:43:35 +02:00
|
|
|
width: 78px;
|
2017-07-26 01:00:06 +02:00
|
|
|
height: 22px;
|
2017-07-25 03:43:35 +02: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 22:06:10 +02:00
|
|
|
.message {
|
|
|
|
-webkit-user-select: text;
|
|
|
|
max-width: 35em;
|
|
|
|
}
|
2017-07-25 03:43:35 +02: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 19:40:32 +01:00
|
|
|
.full-screen-flow {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
font-family: roboto-light;
|
|
|
|
|
2018-03-07 03:27:15 +01: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 19:40:32 +01:00
|
|
|
color: black;
|
|
|
|
a {
|
|
|
|
color: $blue;
|
|
|
|
}
|
|
|
|
background: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
rgb(238,238,238) 0%, // (1 - 0.41) * 255 + 0.41 * 213
|
|
|
|
rgb(243,243,243) 12%, // (1 - 0.19) * 255 + 0.19 * 191
|
|
|
|
rgb(255,255,255) 27%,
|
|
|
|
rgb(255,255,255) 60%,
|
|
|
|
rgb(249,249,249) 85%, // (1 - 0.19) * 255 + 0.19 * 222
|
|
|
|
rgb(213,213,213) 100% // (1 - 0.27) * 255 + 0.27 * 98
|
|
|
|
);
|
|
|
|
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-03 00:34:51 +01: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 19:40:32 +01: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 {
|
|
|
|
@include color-svg('../images/check-circle-outline.svg', #DEDEDE);
|
|
|
|
}
|
|
|
|
&.alert-outline {
|
|
|
|
@include color-svg('../images/alert-outline.svg', #DEDEDE);
|
|
|
|
}
|
|
|
|
|
|
|
|
// import and export
|
|
|
|
&.folder-outline {
|
|
|
|
@include color-svg('../images/folder-outline.svg', #DEDEDE);
|
|
|
|
}
|
|
|
|
&.import {
|
|
|
|
@include color-svg('../images/import.svg', #DEDEDE);
|
|
|
|
}
|
|
|
|
&.export {
|
|
|
|
@include color-svg('../images/export.svg', #DEDEDE);
|
|
|
|
}
|
|
|
|
|
|
|
|
// registration process
|
|
|
|
&.lead-pencil {
|
|
|
|
@include color-svg('../images/lead-pencil.svg', #DEDEDE);
|
|
|
|
}
|
|
|
|
&.sync {
|
|
|
|
@include color-svg('../images/sync.svg', #DEDEDE);
|
|
|
|
}
|
2018-03-07 03:27:15 +01:00
|
|
|
|
|
|
|
// delete
|
|
|
|
&.alert-outline-red {
|
|
|
|
@include color-svg('../images/alert-outline.svg', red);
|
|
|
|
}
|
|
|
|
&.delete {
|
|
|
|
@include color-svg('../images/delete.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 19:40:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
border: none;
|
|
|
|
min-width: 300px;
|
|
|
|
padding: 0.75em;
|
|
|
|
margin-top: 1em;
|
2018-03-07 03:27:15 +01: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 19:40:32 +01:00
|
|
|
color: white;
|
|
|
|
background: $blue;
|
|
|
|
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
|
|
|
|
|
|
|
font-size: 12pt;
|
|
|
|
|
2018-03-07 23:12:56 +01:00
|
|
|
&.neutral {
|
2018-03-07 03:27:15 +01:00
|
|
|
color: black;
|
|
|
|
background: #DEDEDE;
|
|
|
|
}
|
2018-03-07 23:12:56 +01:00
|
|
|
&.destructive {
|
2018-03-07 03:27:15 +01: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 19:40:32 +01: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 23:43:43 +01:00
|
|
|
//yellow border fix
|
|
|
|
.inbox:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
2017-03-13 02:58:13 +01:00
|
|
|
|
|
|
|
.text-security .inbox {
|
|
|
|
.name, .body, .last-message, .sender, .conversation-title, .number {
|
|
|
|
-webkit-text-security: square;
|
|
|
|
}
|
|
|
|
}
|