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;
|
|
|
|
}
|
|
|
|
|
2015-02-06 06:42:16 +00:00
|
|
|
.clearfix:before,
|
|
|
|
.clearfix:after {
|
|
|
|
display: table;
|
|
|
|
content: " ";
|
|
|
|
}
|
|
|
|
.clearfix:after {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2015-02-23 20:50:07 +00:00
|
|
|
.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-01-30 04:53:49 +00:00
|
|
|
#header {
|
2016-03-18 18:11:36 +00:00
|
|
|
h1 {
|
2016-03-18 22:54:40 +00:00
|
|
|
margin: 0;
|
2016-03-21 22:37:53 +00:00
|
|
|
line-height: $header-height;
|
2016-03-18 18:11:36 +00:00
|
|
|
padding-left: 20px;
|
|
|
|
font-size: 22px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2015-01-30 21:20:32 +00:00
|
|
|
}
|
|
|
|
|
2015-08-26 22:13:14 +00:00
|
|
|
.conversation-header button,
|
2015-02-23 20:50:07 +00:00
|
|
|
.title-bar button {
|
2016-03-21 22:37:53 +00:00
|
|
|
width: $button-height;
|
|
|
|
height: $button-height;
|
|
|
|
line-height: $button-height;
|
2015-02-23 20:50:07 +00:00
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
&[disabled=disabled] {
|
|
|
|
&, &:hover {
|
|
|
|
opacity: 0.5;
|
|
|
|
box-shadow: none;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-24 19:33:41 +00:00
|
|
|
a { color: $blue; }
|
2015-02-23 20:50:07 +00:00
|
|
|
|
2016-09-27 06:22:36 +00:00
|
|
|
button.back {
|
2017-03-08 00:54:46 +00:00
|
|
|
@include header-icon-black('../images/back.svg');
|
2016-03-21 22:37:53 +00:00
|
|
|
}
|
2016-09-27 06:22:36 +00:00
|
|
|
button.clock {
|
2017-03-08 00:54:46 +00:00
|
|
|
@include header-icon-black('../images/clock.svg');
|
2016-09-27 06:22:36 +00:00
|
|
|
}
|
|
|
|
button.hamburger {
|
2017-03-08 00:54:46 +00:00
|
|
|
@include header-icon-black('../images/menu.svg');
|
2015-02-23 20:50:07 +00:00
|
|
|
}
|
|
|
|
|
2016-09-27 06:22:36 +00:00
|
|
|
|
2015-10-17 01:14:50 +00:00
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-track {
|
2017-05-31 23:08:32 +00:00
|
|
|
background: transparent;
|
2015-10-17 01:14:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
2016-03-18 18:11:36 +00:00
|
|
|
background: rgba(0,0,0,0.15);
|
2016-04-01 21:24:13 +00:00
|
|
|
border-radius: $border-radius;
|
2016-04-21 04:13:56 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: rgba(0,0,0,0.25);
|
|
|
|
}
|
2015-10-17 01:14:50 +00:00
|
|
|
}
|
|
|
|
|
2016-03-18 22:54:40 +00:00
|
|
|
.header-buttons {
|
2016-03-22 18:01:04 +00:00
|
|
|
&.left {
|
|
|
|
float: left;
|
2016-04-01 21:20:00 +00:00
|
|
|
padding-left: 10px;
|
2016-03-22 18:01:04 +00:00
|
|
|
}
|
|
|
|
&.right {
|
|
|
|
float: right;
|
2016-04-01 21:20:00 +00:00
|
|
|
padding-right: 10px;
|
2016-03-22 18:01:04 +00:00
|
|
|
}
|
2016-03-18 22:54:40 +00:00
|
|
|
height: 0;
|
|
|
|
|
|
|
|
.vertical-align {
|
2016-03-21 22:37:53 +00:00
|
|
|
height: $header-height;
|
2016-03-18 22:54:40 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
display: table-cell;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-28 23:47:57 +00: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 21:20:32 +00:00
|
|
|
.menu {
|
|
|
|
position: relative;
|
2015-10-16 19:52:10 +00:00
|
|
|
float: right;
|
2015-01-30 21:20:32 +00:00
|
|
|
|
|
|
|
.hamburger {
|
2016-03-21 22:37:53 +00:00
|
|
|
width: $button-height;
|
|
|
|
height: $button-height;
|
2016-03-18 22:54:40 +00:00
|
|
|
vertical-align: middle;
|
2015-01-30 21:20:32 +00:00
|
|
|
}
|
|
|
|
.menu-list {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
2015-05-22 00:07:11 +00:00
|
|
|
color: $grey_d;
|
2016-03-18 20:09:45 +00:00
|
|
|
z-index: 50;
|
2016-03-18 22:54:40 +00:00
|
|
|
text-align: initial;
|
2015-05-22 00:07:11 +00:00
|
|
|
|
2015-01-30 21:20:32 +00:00
|
|
|
top: 100%;
|
2015-10-16 19:52:10 +00:00
|
|
|
right: 0;
|
2015-01-30 21:20:32 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background-color: white;
|
2016-04-01 21:20:00 +00:00
|
|
|
box-shadow: 0 0 1px 1px rgba(0,0,0, 0.2);
|
2015-01-30 21:20:32 +00:00
|
|
|
|
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
white-space: nowrap;
|
2016-03-24 19:57:04 +00:00
|
|
|
cursor: pointer;
|
|
|
|
padding: 5px 15px 5px 10px;
|
2015-03-13 00:39:56 +00:00
|
|
|
|
2016-03-24 19:57:04 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: $grey_l;
|
2015-03-13 00:39:56 +00:00
|
|
|
}
|
2015-01-30 21:20:32 +00:00
|
|
|
}
|
|
|
|
}
|
2015-01-30 04:53:49 +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;
|
2016-04-01 21:46:04 +00:00
|
|
|
padding-left: 10px;
|
2015-10-30 01:19:51 +00:00
|
|
|
}
|
2015-02-06 06:42:16 +00:00
|
|
|
|
|
|
|
.paperclip {
|
2016-08-31 21:45:23 +00:00
|
|
|
width: 36px;
|
2015-06-16 20:43:40 +00:00
|
|
|
height: 100%;
|
2016-08-31 21:45:23 +00:00
|
|
|
padding: 5px 0 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
|
|
|
|
|
|
|
&:focus, &:hover {
|
2016-04-01 21:46:04 +00:00
|
|
|
opacity: 1.0;
|
|
|
|
}
|
2015-02-06 06:42:16 +00: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 19:11:32 +00:00
|
|
|
|
2015-12-03 22:34:19 +00:00
|
|
|
.dropoff {
|
2016-03-22 00:17:39 +00:00
|
|
|
outline: solid 1px #2090ea;
|
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;
|
|
|
|
color: white;
|
2016-03-19 01:02:58 +00:00
|
|
|
font-size: 18px;
|
2016-08-31 01:27:54 +00:00
|
|
|
@include avatar-colors;
|
2015-03-23 21:01:18 +00:00
|
|
|
}
|
|
|
|
|
2015-09-04 20:11:21 +00:00
|
|
|
.group-info-input {
|
2015-03-12 18:40:55 +00:00
|
|
|
background: white;
|
|
|
|
|
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
|
|
|
|
2015-06-09 23:10:39 +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;
|
|
|
|
.last-message, .last-timestamp {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2015-03-12 23:14:21 +00:00
|
|
|
}
|
2015-09-03 20:33:17 +00:00
|
|
|
.conversation-list-item {
|
|
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
|
|
background: #f8f8f8;
|
|
|
|
}
|
2015-09-04 20:11:21 +00:00
|
|
|
|
|
|
|
.number {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-11-09 20:07:40 +00:00
|
|
|
|
|
|
|
.unread-count {
|
|
|
|
float: right;
|
|
|
|
margin: 3px 10px 0 20px;
|
|
|
|
display: inline-block;
|
2015-11-12 20:52:55 +00:00
|
|
|
padding: 0 3px;
|
|
|
|
min-width: $unread-badge-size;
|
2015-11-09 20:07:40 +00:00
|
|
|
height: $unread-badge-size;
|
|
|
|
line-height: $unread-badge-size;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: bold;
|
|
|
|
text-align: center;
|
2016-04-01 21:24:13 +00:00
|
|
|
border-radius: $border-radius;
|
2015-11-09 20:07:40 +00:00
|
|
|
background-color: $blue;
|
|
|
|
color: white;
|
|
|
|
border: solid 1px rgba(255,255,255,0.6);
|
|
|
|
}
|
2015-09-03 20:33:17 +00:00
|
|
|
}
|
2016-04-01 18:04:20 +00:00
|
|
|
.inactive .contact.selected {
|
2016-04-01 18:51:53 +00:00
|
|
|
padding-left: 8px;
|
|
|
|
border-left: 4px solid $blue;
|
2016-04-01 18:04:20 +00:00
|
|
|
}
|
2015-03-12 18:40:55 +00:00
|
|
|
.contact {
|
|
|
|
padding: 12px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
2015-10-17 19:07:53 +00:00
|
|
|
background: rgba(255,255,255,0.6);
|
2016-03-18 18:11:36 +00:00
|
|
|
margin: 1px;
|
2015-03-12 23:14:21 +00:00
|
|
|
|
2015-08-28 00:01:34 +00:00
|
|
|
&.selected {
|
2016-03-18 18:11:36 +00:00
|
|
|
background: rgb(236, 243, 252);
|
2015-08-28 00:01:34 +00:00
|
|
|
}
|
|
|
|
|
2015-10-17 01:14:50 +00:00
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2015-06-09 23:10:39 +00:00
|
|
|
&:last-child::after {
|
|
|
|
display: none;
|
2015-03-12 18:40:55 +00:00
|
|
|
}
|
2016-04-14 23:42:42 +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;
|
2017-06-10 19:18:24 +00:00
|
|
|
cursor: pointer;
|
2015-06-18 20:35:40 +00:00
|
|
|
|
2016-04-14 23:42:42 +00:00
|
|
|
p {
|
|
|
|
overflow-x: hidden;
|
|
|
|
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
|
|
|
|
|
|
|
&.not-clickable {
|
|
|
|
cursor: default;
|
|
|
|
}
|
2017-06-14 21:06:36 +00:00
|
|
|
|
|
|
|
.verified-icon {
|
2017-06-19 03:49:14 +00:00
|
|
|
@include color-svg('../images/verified-check.svg', $grey);
|
2017-06-14 21:06:36 +00:00
|
|
|
display: inline-block;
|
|
|
|
width: 1.25em;
|
|
|
|
height: 1.25em;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
2015-03-12 18:40:55 +00:00
|
|
|
}
|
|
|
|
|
2016-04-14 23:42:42 +00:00
|
|
|
|
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: ';
|
|
|
|
}
|
|
|
|
|
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;
|
2015-08-27 00:30:20 +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 {
|
|
|
|
to { transform: rotate(360deg); }
|
|
|
|
}
|
|
|
|
}
|
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
|
|
|
|
|
|
|
input[type=text], input[type=search], textarea {
|
|
|
|
&:active, &:focus {
|
|
|
|
outline: 1px solid $blue;
|
|
|
|
}
|
|
|
|
}
|
2016-04-04 03:06:27 +00: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 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 {
|
|
|
|
z-index: 1000;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-05 22:43:43 +00:00
|
|
|
//yellow border fix
|
|
|
|
.inbox:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
2017-03-13 01:58:13 +00:00
|
|
|
|
|
|
|
.text-security .inbox {
|
|
|
|
.name, .body, .last-message, .sender, .conversation-title, .number {
|
|
|
|
-webkit-text-security: square;
|
|
|
|
}
|
|
|
|
}
|