signal-desktop/stylesheets/manifest.css

793 lines
19 KiB
CSS
Raw Normal View History

@font-face {
font-family: 'Roboto-Light';
src: url("/fonts/Roboto-Light.ttf") format("truetype"); }
@font-face {
font-family: 'Roboto';
src: url("/fonts/Roboto-Regular.ttf") format("truetype"); }
2015-02-19 00:20:28 +00:00
@font-face {
font-family: 'Roboto';
src: url("/fonts/Roboto-Italic.ttf") format("truetype");
font-style: italic; }
@font-face {
font-family: 'Roboto';
src: url("/fonts/Roboto-Bold.ttf") format("truetype");
font-weight: bold; }
* {
box-sizing: border-box; }
html {
2015-05-22 00:07:11 +00:00
height: 100%;
border: solid 1px #ccc; }
body {
position: relative;
height: 100%;
width: 100%;
margin: 0;
font-family: Roboto, "Helvetica Neue", Arial, Helvetica, sans-serif;
font-size: 14px; }
2015-02-06 06:42:16 +00:00
.clearfix:before,
.clearfix:after {
display: table;
content: " "; }
.clearfix:after {
clear: both; }
.hide {
display: none; }
#header {
position: fixed;
2015-06-08 22:02:08 +00:00
top: 1px;
width: calc(100% - 2px);
z-index: 1;
height: 36px;
line-height: 24px;
2015-05-22 00:07:11 +00:00
color: #f2f2f2;
box-shadow: 0 -4px 3px 4px rgba(10, 62, 103, 0.8);
background-color: #2090ea;
-webkit-app-region: drag; }
#header button {
2015-05-22 00:07:11 +00:00
-webkit-app-region: no-drag;
color: inherit;
background-color: #2090ea; }
#header button:hover {
background-color: rgba(19, 117, 196, 0.8); }
2015-01-30 21:20:32 +00:00
2015-05-22 22:41:30 +00:00
.window-controls {
float: right; }
2015-02-23 20:07:06 +00:00
.title-text {
height: 36px;
line-height: 36px;
font-family: Roboto-Light, "Helvetica Neue", Arial, Helvetica, sans-serif; }
.conversation-header button,
.title-bar button {
width: 36px;
height: 36px;
line-height: 36px;
padding: 0;
border: 0;
outline: 0; }
button {
cursor: pointer; }
button.back {
float: left;
2015-08-31 22:11:00 +00:00
background: url("/images/back.png") no-repeat center center; }
button.back + .title-text {
text-indent: -36px; }
2015-01-30 21:20:32 +00:00
.menu {
position: relative;
float: left;
2015-01-30 21:20:32 +00:00
height: 36px;
2015-05-22 00:07:11 +00:00
padding-right: 8px; }
2015-01-30 21:20:32 +00:00
.menu .hamburger {
width: 36px;
height: 36px;
2015-01-30 21:20:32 +00:00
background: url("/images/menu.png") no-repeat center; }
.menu .menu-list {
display: none;
position: absolute;
2015-05-22 00:07:11 +00:00
color: #454545;
z-index: 1;
2015-01-30 21:20:32 +00:00
top: 100%;
2015-05-22 00:07:11 +00:00
left: 0;
2015-01-30 21:20:32 +00:00
margin: 0;
padding: 0;
border: solid 1px #2090ea;
2015-01-30 21:20:32 +00:00
background-color: white;
box-shadow: 0 4px 3px 0px rgba(10, 62, 103, 0.8); }
2015-01-30 21:20:32 +00:00
.menu .menu-list li {
display: block;
2015-03-13 00:39:56 +00:00
white-space: nowrap; }
.menu .menu-list li a {
cursor: pointer;
display: block;
padding: 5px 15px 5px 10px; }
.menu .menu-list li a:hover {
background-color: #f3f3f3; }
2015-02-06 06:42:16 +00:00
.file-input {
position: relative;
margin-right: 10px;
cursor: pointer; }
2015-02-06 06:42:16 +00:00
.file-input .paperclip {
width: 36px;
height: 100%;
background: url("/images/paperclip.png") no-repeat center center;
2015-02-06 06:42:16 +00:00
background-size: 90%;
margin-top: 4px; }
2015-02-06 06:42:16 +00:00
.file-input input[type=file] {
display: none;
position: absolute;
width: 100%;
height: 100%;
opacity: 0;
top: 0;
left: 0;
cursor: pointer;
z-index: 1; }
.file-input .close {
font-family: sans-serif;
color: white;
position: absolute;
top: 0;
right: -8px;
2015-02-06 06:42:16 +00:00
cursor: default;
border-radius: 50%;
width: 20px;
height: 20px;
padding: 0px;
background: #666;
color: #fff;
text-align: center; }
img.emoji {
height: 1em;
width: 1em;
margin: 0 .05em 0 .1em;
vertical-align: -0.1em; }
.avatar {
display: inline-block;
height: 44px;
width: 44px;
background: #f3f3f3 url("/images/default.png") no-repeat center;
border-radius: 50%;
background-size: cover;
vertical-align: middle;
text-align: center;
line-height: 44px;
overflow-x: hidden;
text-overflow: ellipsis;
color: white; }
.new-group-update-form {
background: white; }
.new-group-update-form .group-avatar {
float: left; }
.new-group-update-form .group-default {
position: relative;
display: inline-block;
width: 100%;
height: 100%;
border-radius: 50%;
background: #f3f3f3 url("/images/group_default.png") no-repeat center; }
.new-group-update-form .file-input .thumbnail, .new-group-update-form .thumbnail .avatar,
.new-group-update-form img {
height: 54px;
width: 54px;
border-radius: 27px; }
.new-group-update-form .thumbnail:after {
content: '';
position: absolute;
height: 0;
width: 0;
bottom: 0;
right: 0;
border-bottom: 10px solid #616161;
border-left: 10px solid transparent; }
.new-group-update-form input.name {
padding: 0.5em;
border: solid 1px #ccc;
border-width: 0 0 1px 0;
width: calc(100% - 64px); }
.new-group-update-form .results {
width: calc(100% - 20px);
margin: 0 0 0 20px; }
.new-group-update-form .results .contact {
z-index: 10; }
2015-08-04 19:15:37 +00:00
.group-member-list .members .contact,
.new-group-update-form .members .contact {
box-shadow: none;
border-bottom: 1px solid #eee; }
.group-member-list .members .contact .last-message, .group-member-list .members .contact .last-timestamp,
.new-group-update-form .members .contact .last-message,
.new-group-update-form .members .contact .last-timestamp {
display: none; }
.conversation-header .check {
float: right;
2015-05-22 00:07:11 +00:00
background: url("/images/check.png") no-repeat center center; }
.contact {
position: relative;
padding: 12px;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
2015-08-31 22:11:00 +00:00
box-shadow: 0 0px 1px rgba(170, 170, 170, 0.8);
background: #f3f3f3; }
.contact:hover {
background: #f8f8f8; }
2015-08-28 00:01:34 +00:00
.contact.selected {
background: #2090ea;
color: #ffffff; }
.contact:last-child::after {
display: none; }
.contact .contact-details {
vertical-align: top;
display: inline-block;
margin: 4px 0 0 8px;
width: calc(100% - 44px - 8px); }
.contact .contact-details p {
overflow-x: hidden;
text-overflow: ellipsis; }
.contact .contact-name {
margin: 0;
font-size: 1em;
font-weight: 400;
text-overflow: ellipsis;
overflow-x: hidden; }
.recipients-input .recipients-container {
background-color: white;
padding: 2px;
border-bottom: 1px solid #f2f2f2;
line-height: 24px; }
.recipients-input .recipient {
display: inline-block;
margin: 0 2px 2px 0;
padding: 0 5px;
border-radius: 10px;
background-color: #2090ea;
color: white; }
.recipients-input .recipient.error {
background-color: #f00; }
.recipients-input .recipient .remove {
margin-left: 5px;
padding: 0 2px; }
.recipients-input .contact .number {
display: inline-block; }
.recipients-input .contact .last-message, .recipients-input .contact .last-timestamp {
display: none; }
.recipients-input .contact .number {
color: #616161;
font-size: small; }
.attachment-preview {
width: 100%;
height: 100%;
background: white; }
.attachment-preview img {
width: 100%; }
2015-08-31 22:11:00 +00:00
.new-conversation .recipients-input .recipients::before {
content: 'To: '; }
.new-group-update-form .recipients-input .recipients::before {
content: 'Add: '; }
.avatar.colorgray {
background-color: #999999; }
.avatar.color1 {
background-color: #EF5350; }
.avatar.color2 {
background-color: #EC407A; }
.avatar.color3 {
background-color: #AB47BC; }
.avatar.color4 {
background-color: #7E57C2; }
.avatar.color5 {
background-color: #5C6BC0; }
.avatar.color6 {
background-color: #2196F3; }
.avatar.color7 {
background-color: #03A9F4; }
.avatar.color8 {
background-color: #00BCD4; }
.avatar.color9 {
background-color: #009688; }
.avatar.color10 {
background-color: #4CAF50; }
.avatar.color11 {
background-color: #7CB342; }
.avatar.color12 {
background-color: #FF9800; }
.avatar.color13 {
background-color: #FF5722; }
.avatar.color14 {
background-color: #FFB300; }
.avatar.color15 {
background-color: #607D8B; }
.loading {
position: relative; }
.loading::after {
display: block;
margin: 36px auto;
content: " ";
height: 36px;
width: 36px;
border-radius: 72px;
border: solid 3px;
border-color: #a2d2f4 #a2d2f4 #f3f3f3 #f3f3f3;
animation: rotate 1s linear infinite; }
@keyframes rotate {
to {
transform: rotate(360deg); } }
.gutter {
2015-08-28 00:01:34 +00:00
background: #f3f3f3;
padding: 36px 0 0; }
.conversation-stack,
.new-conversation, .inbox, .gutter {
height: 100%; }
.container, .scrollable {
height: 100%;
overflow: auto; }
.gutter {
float: left;
2015-08-31 22:11:00 +00:00
width: 300px;
border-right: solid 1px #ddd; }
2015-08-27 00:48:18 +00:00
.gutter .conversations {
width: 100%; }
.socket-status {
padding: 6px;
-webkit-app-region: no-drag; }
.socket-status * {
2015-08-26 17:31:16 +00:00
display: inline;
cursor: pointer;
padding-left: 20px;
2015-08-26 17:31:16 +00:00
border-radius: 36px; }
.socket-status *:hover {
background: #2090ea url("/images/refresh.png") center; }
.socket-status .connecting .icon {
background-color: #2090ea; }
.socket-status .closing {
background-color: #a2d2f4; }
.socket-status .closed {
background: url("/images/error_red.png") no-repeat left center; }
.conversation-stack {
2015-08-28 00:01:34 +00:00
background: url("/images/icon_tile.png");
padding-left: 300px;
padding-top: 36px; }
.conversation-stack .conversation {
display: none; }
.conversation-stack .conversation:first-child {
display: block; }
.conversation-header {
background: #f3f3f3;
border-bottom: solid 1px #d9d9d9; }
.menu.conversation-menu {
float: right;
padding-left: 8px;
padding-right: 0; }
.menu.conversation-menu .menu-list {
right: 0;
left: initial; }
2015-08-31 20:58:17 +00:00
.menu.conversation-menu button.drop-down {
background: url("/images/arrow_drop_down.png") no-repeat center; }
2015-02-06 06:42:16 +00:00
.contact .number, .contact .checkbox {
display: none; }
input.search {
2015-02-06 06:42:16 +00:00
border: none;
padding: 0;
margin: 0;
outline: 0; }
2015-01-26 07:44:53 +00:00
.fab {
z-index: 1;
position: fixed;
left: 215px;
2015-01-26 07:44:53 +00:00
bottom: 22px;
height: 50px;
width: 50px;
2015-01-26 07:44:53 +00:00
border: 0;
border-radius: 30px;
outline: 0;
font: 300 36px Roboto, "Helvetica Neue", Arial, Helvetica, sans-serif;
color: white;
background: #2090ea url("/images/pencil.png") no-repeat center center;
box-shadow: 0 8px 8px -8px rgba(1, 6, 10, 0.8);
2015-01-26 07:44:53 +00:00
transition: box-shadow 0.33s, transform 0.33s, background 0.33s; }
.fab:hover {
background-color: #1689e5;
box-shadow: 0 8px 18px -8px rgba(1, 6, 10, 0.9);
2015-01-26 07:44:53 +00:00
transform: translate3d(0, -1px, 0); }
.last-timestamp {
font-size: smaller; }
2015-08-28 00:01:34 +00:00
.new-contact, .contacts {
background: #f3f3f3; }
.new-contact {
display: none; }
.new-contact .contact-name {
display: none; }
.new-contact .contact-details::before {
content: 'Create new contact';
display: block;
font-style: italic;
opacity: 0.7;
padding-right: 8px; }
2015-01-25 18:38:35 +00:00
2015-01-25 18:36:41 +00:00
.index {
color: #454545;
background: #eee; }
.index .gutter .new-group-update-form {
display: none;
padding: 0.5em; }
2015-01-25 18:36:41 +00:00
.index .last-message {
margin: 6px 0;
font-size: small;
2015-01-25 18:36:41 +00:00
font-weight: 300; }
.index .gutter .timestamp {
2015-01-25 18:36:41 +00:00
position: absolute;
top: 14px;
right: 12px;
color: #888; }
.settings {
height: 100%;
width: 100%;
background: red;
display: none; }
.settings-open .settings {
display: block; }
.conversations .unread .contact-details .contact-name,
.conversations .unread .contact-details .last-message,
.conversations .unread .contact-details .last-timestamp {
font-weight: bold; }
.conversation-title {
display: block;
line-height: 36px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding-left: 10px; }
.conversation .file-input .close {
top: -10px; }
.conversation .discussion-container {
height: calc(100% - 2 * 36px); }
.conversation + .new-group-update-form,
.conversation, .message-list, .message-detail, .key-verification {
height: 100%; }
.key-verification p {
padding: 1em; }
.key-verification .key {
font-family: monospace;
padding: 0 1em; }
2015-02-23 21:17:50 +00:00
.message-detail {
background: #f3f3f3; }
.message-detail .message-container {
background: white;
padding: 1em 0; }
.message-detail .message-container .sender {
display: none; }
.message-detail .info {
padding: 1em; }
.message-detail .info .label {
text-align: right;
font-weight: bold;
padding-right: 1em; }
.message-detail .conflict {
border: none;
border-radius: 5px;
color: white;
padding: 0.5em;
font-weight: bold;
background: #d00; }
.message-detail .conflict:before {
content: '';
display: inline-block;
vertical-align: middle;
width: 18px;
height: 18px;
background: url("/images/error.png") no-repeat center center;
background-size: 100%; }
.message-detail .conflict span {
vertical-align: middle;
padding-left: 5px; }
2015-02-23 21:17:50 +00:00
.group-update {
font-size: smaller; }
.group-member-list,
.conversation + .new-group-update-form {
2015-08-04 19:15:37 +00:00
height: 100%; }
.group-member-list .container,
.conversation + .new-group-update-form .container {
2015-08-04 19:15:37 +00:00
height: calc(100% - 36px); }
.new-group-update-form .scrollable {
padding: 0.5em; }
.private .sender,
.outgoing .sender {
display: none; }
.sender {
font-size: smaller;
opacity: 0.8; }
.timestamp {
font-size: smaller; }
2015-03-25 18:40:33 +00:00
.entry.delivered .checkmark {
display: inline; }
2015-01-25 20:49:28 +00:00
.message-list {
margin: 0;
padding: 1em 0;
2015-08-28 00:01:34 +00:00
overflow-y: auto;
background-color: #ffffff; }
2015-02-23 21:17:50 +00:00
.message-list .timestamp {
cursor: pointer; }
.message-list .timestamp:hover {
text-decoration: underline; }
.message-detail,
.message-list {
list-style: none; }
.message-detail li,
.message-list li {
margin: 0 8px 16px; }
2015-02-23 21:17:50 +00:00
.message-detail li::after,
.message-list li::after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
2015-01-16 04:41:44 +00:00
clear: both;
height: 0; }
2015-02-23 21:17:50 +00:00
.message-detail .bubble,
.message-list .bubble {
2015-01-16 04:41:44 +00:00
position: relative;
left: -2px;
display: inline-block;
vertical-align: top;
max-width: calc(100% - 20px - 2 * 12px);
padding: 9px 12px;
border-radius: 4px;
box-shadow: 0 3px 3px -4px black;
word-wrap: break-word; }
2015-02-23 21:17:50 +00:00
.message-detail .bubble::before, .message-detail .bubble::after,
.message-list .bubble::before,
.message-list .bubble::after {
content: '';
2015-01-16 04:41:44 +00:00
position: absolute;
height: 0;
width: 0; }
2015-02-23 21:17:50 +00:00
.message-detail .bubble::before,
.message-list .bubble::before {
top: 9px;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent; }
2015-02-23 21:17:50 +00:00
.message-detail .bubble::after,
.message-list .bubble::after {
top: 11px;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent; }
.message-detail .bubble .content,
.message-list .bubble .content {
-webkit-user-select: text; }
.message-detail .bubble .content a,
.message-list .bubble .content a {
word-break: break-all; }
.message-detail .bubble p,
.message-list .bubble p {
margin: 0; }
2015-07-08 02:21:10 +00:00
.message-detail .outgoing .bubble,
.message-list .outgoing .bubble {
opacity: 0.7; }
2015-07-08 02:21:10 +00:00
.message-detail .outgoing.sent .bubble,
.message-list .outgoing.sent .bubble {
opacity: 1.0; }
2015-02-23 21:17:50 +00:00
.message-detail .incoming .bubble,
.message-list .incoming .bubble {
color: #454545;
background: #f3f3f3; }
2015-02-23 21:17:50 +00:00
.message-detail .incoming .bubble::before,
.message-list .incoming .bubble::before {
left: -10px;
border-right: 10px solid white; }
2015-02-23 21:17:50 +00:00
.message-detail .incoming .bubble::after,
.message-list .incoming .bubble::after {
left: -8px;
border-right: 8px solid #f3f3f3; }
.message-detail .outgoing .avatar, .message-detail .outgoing .bubble,
.message-list .outgoing .avatar,
2015-02-23 21:17:50 +00:00
.message-list .outgoing .bubble {
float: right; }
2015-02-23 21:17:50 +00:00
.message-detail .outgoing .bubble,
.message-list .outgoing .bubble {
clear: left;
color: white;
background: #2090ea; }
.message-detail .outgoing .bubble .meta,
.message-list .outgoing .bubble .meta {
color: #a2d2f4; }
2015-02-23 21:17:50 +00:00
.message-detail .outgoing .bubble::before,
.message-list .outgoing .bubble::before {
right: -10px;
border-left: 10px solid white; }
2015-02-23 21:17:50 +00:00
.message-detail .outgoing .bubble::after,
.message-list .outgoing .bubble::after {
right: -8px;
border-left: 8px solid #2090ea; }
.message-detail .control .bubble .content,
.message-list .control .bubble .content {
font-style: italic; }
.message-detail .control .bubble::before, .message-detail .control .bubble::after,
.message-list .control .bubble::before,
.message-list .control .bubble::after {
display: none; }
.message-detail .attachments img, .message-detail .attachments audio, .message-detail .attachments video,
.message-list .attachments img,
.message-list .attachments audio,
.message-list .attachments video {
max-width: 100%; }
2015-03-03 01:53:44 +00:00
.message-detail .attachments video,
.message-list .attachments video {
background: black; }
.message-detail .outgoing .avatar,
.message-list .outgoing .avatar {
display: none; }
.message-detail .avatar,
.message-list .avatar {
height: 36px;
width: 36px;
line-height: 36px; }
.message-detail .meta,
.message-list .meta {
margin-top: 3px;
float: right; }
2015-02-23 21:17:50 +00:00
.message-detail .end-session,
.message-list .end-session {
font: small;
font-style: italic;
opacity: 0.8; }
.message-detail .error,
.message-list .error {
font-style: italic; }
.message-detail .key-conflict,
.message-list .key-conflict {
padding: 15px 10px; }
.message-detail .key-conflict button,
.message-list .key-conflict button {
margin-top: 5px; }
.key-conflict-dialogue {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
padding: 36px; }
.key-conflict-dialogue .content {
padding: 1em;
background: white;
color: black;
box-shadow: 0 0 5px 0 black; }
.key-conflict-dialogue .verify {
color: #2090ea;
text-decoration: underline;
cursor: pointer; }
.bottom-bar {
height: 36px;
border-top: 1px solid #f3f3f3;
background: white; }
.bottom-bar button, .bottom-bar input, .bottom-bar textarea {
color: #454545; }
.bottom-bar button {
position: absolute;
top: 0;
height: 100%;
width: 36px;
padding: 0;
border: 0;
outline: 0;
font-size: 24px;
background: transparent; }
.bottom-bar .attachments {
2015-01-25 09:18:10 +00:00
float: left;
2015-02-06 06:42:16 +00:00
height: 100%; }
.bottom-bar .send-btn {
float: right;
height: 100%;
width: 36px;
border: none;
outline: none;
background: url("/images/send.png") no-repeat;
2015-03-05 23:48:28 +00:00
background-size: 75%;
background-position: center center;
cursor: pointer; }
.bottom-bar .send-btn::before {
content: '+'; }
.bottom-bar form, .bottom-bar input, .bottom-bar textarea {
height: 100%; }
.bottom-bar .send-message {
display: block;
width: calc(100% - 2 * 36px - 20px);
min-height: 35px;
max-height: 100px;
padding: 10px;
border: 0;
outline: 0;
z-index: 5;
resize: none; }
.toast {
position: absolute;
bottom: 0;
margin: 0 2em 3em;
padding: 0.5em 1.5em;
background: rgba(0, 0, 0, 0.75);
color: white;
box-shadow: 0 0 5px 0 black;
border-radius: 20px;
font-size: small; }
2015-03-23 21:11:48 +00:00
.confirmation-dialog {
position: absolute;
top: 36px;
padding: 1em;
background: white;
border: solid 2px #2090ea; }
.confirmation-dialog .message {
text-align: center; }
.confirmation-dialog button {
float: right;
margin-left: 10px; }
2015-03-23 21:11:48 +00:00
/*# sourceMappingURL=manifest.css.map */