2015-02-19 07:09:34 +00:00
|
|
|
.conversation {
|
2015-03-12 18:40:55 +00:00
|
|
|
.file-input .close {
|
|
|
|
top: -10px;
|
|
|
|
}
|
2015-05-22 22:41:30 +00:00
|
|
|
|
|
|
|
.conversation-title {
|
|
|
|
line-height: $header-height;
|
|
|
|
}
|
2015-06-16 20:43:40 +00:00
|
|
|
|
|
|
|
#header {
|
|
|
|
position: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.discussion-container {
|
|
|
|
height: calc(100% - 2 * #{$header-height});
|
|
|
|
}
|
2015-02-19 07:09:34 +00:00
|
|
|
}
|
|
|
|
|
2015-03-12 18:40:55 +00:00
|
|
|
.conversation + .new-group-update-form,
|
2015-06-16 20:43:40 +00:00
|
|
|
.conversation, .message-list, .message-detail, .key-verification {
|
2015-02-19 07:09:34 +00:00
|
|
|
height: 100%;
|
|
|
|
}
|
2014-11-07 08:17:27 +00:00
|
|
|
|
2015-02-27 02:10:04 +00:00
|
|
|
.key-verification {
|
|
|
|
padding: $header-height 0 0;
|
|
|
|
.container {
|
|
|
|
height: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
.key {
|
|
|
|
font-family: monospace;
|
|
|
|
padding: 0 1em;
|
|
|
|
}
|
|
|
|
}
|
2015-06-16 20:43:40 +00:00
|
|
|
|
2015-02-23 21:17:50 +00:00
|
|
|
.message-detail {
|
|
|
|
padding: $header-height 0 0;
|
|
|
|
background: $grey_l;
|
|
|
|
|
2015-02-18 02:03:05 +00:00
|
|
|
.container {
|
|
|
|
height: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2015-02-23 21:17:50 +00:00
|
|
|
.message-container {
|
|
|
|
background: white;
|
|
|
|
padding: 1em 0;
|
|
|
|
|
|
|
|
.sender {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
.label {
|
|
|
|
text-align: right;
|
|
|
|
font-weight: bold;
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
}
|
2015-02-18 02:03:05 +00:00
|
|
|
|
|
|
|
.conflict {
|
|
|
|
border: none;
|
|
|
|
border-radius: 5px;
|
|
|
|
color: white;
|
|
|
|
padding: 0.5em;
|
|
|
|
font-weight: bold;
|
|
|
|
background: #d00;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
background: url('/images/error.png') no-repeat center center;
|
|
|
|
background-size: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
vertical-align: middle;
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
2015-02-23 21:17:50 +00:00
|
|
|
}
|
|
|
|
|
2015-01-29 12:34:31 +00:00
|
|
|
.group-update {
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
2015-03-12 18:40:55 +00:00
|
|
|
.new-group-update-form {
|
|
|
|
.container {
|
|
|
|
height: 100%;
|
|
|
|
padding-top: $header-height;
|
|
|
|
}
|
|
|
|
.scrollable {
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-13 05:17:48 +00:00
|
|
|
.private .sender,
|
2015-02-13 02:16:33 +00:00
|
|
|
.outgoing .sender {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-06-16 20:43:40 +00:00
|
|
|
|
2015-01-29 12:34:31 +00:00
|
|
|
.sender {
|
|
|
|
font-size: smaller;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
2015-01-20 02:44:34 +00:00
|
|
|
.timestamp {
|
2015-01-30 21:43:10 +00:00
|
|
|
font-size: smaller;
|
2015-01-20 02:44:34 +00:00
|
|
|
}
|
|
|
|
|
2015-03-25 18:40:33 +00:00
|
|
|
.entry.delivered .checkmark {
|
2015-06-16 20:43:40 +00:00
|
|
|
display: inline;
|
2015-01-25 20:49:28 +00:00
|
|
|
}
|
|
|
|
|
2015-01-20 02:44:34 +00:00
|
|
|
.message-list {
|
2015-01-30 06:59:08 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 1em 0;
|
2015-02-27 06:05:52 +00:00
|
|
|
overflow-y: auto;
|
2015-01-20 02:44:34 +00:00
|
|
|
|
2015-02-23 21:17:50 +00:00
|
|
|
.timestamp {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-detail,
|
|
|
|
.message-list {
|
|
|
|
list-style: none;
|
|
|
|
|
2015-01-20 02:44:34 +00:00
|
|
|
li {
|
|
|
|
margin: 0 8px 16px;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
visibility: hidden;
|
|
|
|
display: block;
|
|
|
|
font-size: 0;
|
|
|
|
content: " ";
|
|
|
|
clear: both;
|
|
|
|
height: 0;
|
2014-12-23 00:28:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-20 02:44:34 +00:00
|
|
|
.bubble {
|
|
|
|
position: relative;
|
|
|
|
left: -2px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2015-03-04 21:59:40 +00:00
|
|
|
max-width: calc(100% - 20px - 2 * 12px);
|
2015-01-20 02:44:34 +00:00
|
|
|
padding: 9px 12px;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 3px 3px -4px black;
|
2015-06-18 20:35:40 +00:00
|
|
|
word-wrap: break-word;
|
2015-01-20 02:44:34 +00:00
|
|
|
|
|
|
|
&::before, &::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
2015-03-06 01:47:30 +00:00
|
|
|
top: (34px / 2) - 8px;
|
2015-01-20 02:44:34 +00:00
|
|
|
border-top: 8px solid transparent;
|
|
|
|
border-bottom: 8px solid transparent;
|
|
|
|
}
|
|
|
|
|
2014-12-23 00:28:10 +00:00
|
|
|
&::after {
|
2015-03-06 01:47:30 +00:00
|
|
|
top: (34px / 2) - 6px;
|
2015-01-20 02:44:34 +00:00
|
|
|
border-top: 6px solid transparent;
|
|
|
|
border-bottom: 6px solid transparent;
|
|
|
|
}
|
2015-03-17 01:08:45 +00:00
|
|
|
|
|
|
|
.content a {
|
|
|
|
word-break: break-all
|
|
|
|
}
|
2015-02-18 02:03:05 +00:00
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2015-01-20 02:44:34 +00:00
|
|
|
}
|
|
|
|
|
2015-05-26 20:30:51 +00:00
|
|
|
.outgoing.pending .bubble {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2015-01-20 02:44:34 +00:00
|
|
|
.incoming {
|
|
|
|
.bubble {
|
|
|
|
color: $grey_d;
|
|
|
|
background: $grey_l;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
left: -10px;
|
|
|
|
border-right: 10px solid white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
left: -8px;
|
|
|
|
border-right: 8px solid $grey_l;
|
|
|
|
}
|
2014-12-23 00:28:10 +00:00
|
|
|
}
|
|
|
|
}
|
2015-01-20 02:44:34 +00:00
|
|
|
|
|
|
|
.outgoing {
|
|
|
|
|
2015-03-10 19:11:32 +00:00
|
|
|
.avatar, .bubble {
|
2015-01-20 02:44:34 +00:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bubble {
|
|
|
|
clear: left;
|
|
|
|
color: white;
|
|
|
|
background: $blue;
|
|
|
|
|
2015-03-06 00:29:12 +00:00
|
|
|
.meta {
|
2015-01-20 02:44:34 +00:00
|
|
|
color: $blue_l;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
right: -10px;
|
|
|
|
border-left: 10px solid white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
right: -8px;
|
|
|
|
border-left: 8px solid $blue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-03-23 22:44:47 +00:00
|
|
|
.control {
|
|
|
|
.bubble {
|
|
|
|
.content {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2015-06-16 20:43:40 +00:00
|
|
|
&::before, &::after {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-03-23 22:44:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-03-02 19:49:23 +00:00
|
|
|
.attachments {
|
|
|
|
img, audio, video {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2015-03-03 01:53:44 +00:00
|
|
|
|
|
|
|
video {
|
|
|
|
background: black;
|
|
|
|
}
|
2015-01-22 09:39:07 +00:00
|
|
|
}
|
2015-02-02 04:37:50 +00:00
|
|
|
|
2015-03-12 00:49:01 +00:00
|
|
|
.outgoing .avatar {
|
2015-02-02 04:37:50 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-03-23 21:01:18 +00:00
|
|
|
.avatar {
|
2015-03-04 21:59:40 +00:00
|
|
|
height: 36px;
|
|
|
|
width: 36px;
|
2015-06-19 23:20:27 +00:00
|
|
|
line-height: 36px;
|
2015-01-20 02:44:34 +00:00
|
|
|
}
|
|
|
|
|
2015-03-06 00:29:12 +00:00
|
|
|
.meta {
|
2015-01-20 02:44:34 +00:00
|
|
|
margin-top: 3px;
|
|
|
|
float: right;
|
|
|
|
}
|
2015-02-19 19:51:32 +00:00
|
|
|
|
|
|
|
.end-session {
|
|
|
|
font: small;
|
|
|
|
font-style: italic;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
2015-02-18 02:03:05 +00:00
|
|
|
|
|
|
|
.error {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.key-conflict {
|
|
|
|
padding: 15px 10px;
|
|
|
|
|
|
|
|
button {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.key-conflict-dialogue {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
padding: $header-height;
|
|
|
|
|
|
|
|
.content {
|
|
|
|
padding: 1em;
|
|
|
|
background: white;
|
|
|
|
color: black;
|
|
|
|
box-shadow: 0 0 5px 0 black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.verify {
|
|
|
|
color: $blue;
|
|
|
|
text-decoration: underline;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2014-11-07 08:17:27 +00:00
|
|
|
}
|
|
|
|
|
2015-01-20 02:44:34 +00:00
|
|
|
.bottom-bar {
|
2015-06-16 20:43:40 +00:00
|
|
|
$button-width: 36px;
|
|
|
|
|
2015-01-20 02:44:34 +00:00
|
|
|
position: fixed;
|
2015-05-22 00:07:11 +00:00
|
|
|
bottom: 1; // offset 1 for window frame.
|
2015-01-20 02:44:34 +00:00
|
|
|
height: 36px;
|
2015-05-22 00:07:11 +00:00
|
|
|
width: calc(100% - 2px);
|
2015-01-20 02:44:34 +00:00
|
|
|
border-top: 1px solid $grey_l;
|
|
|
|
background: white;
|
|
|
|
|
2015-06-16 20:43:40 +00:00
|
|
|
button, input, textarea {
|
2015-01-20 02:44:34 +00:00
|
|
|
color: $grey_d;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
2015-06-16 20:43:40 +00:00
|
|
|
width: $button-width;
|
2015-01-20 02:44:34 +00:00
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
font-size: 24px;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2015-01-22 09:39:07 +00:00
|
|
|
.attachments {
|
2015-01-25 09:18:10 +00:00
|
|
|
float: left;
|
2015-01-22 09:39:07 +00:00
|
|
|
height: 100%;
|
2015-01-20 02:44:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.send-btn {
|
2015-01-22 09:39:07 +00:00
|
|
|
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;
|
2015-01-22 09:39:07 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '+';
|
|
|
|
}
|
2015-01-20 02:44:34 +00:00
|
|
|
}
|
|
|
|
|
2015-06-16 20:43:40 +00:00
|
|
|
form, input, textarea {
|
2015-01-20 02:44:34 +00:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2015-06-16 20:43:40 +00:00
|
|
|
.send-message {
|
|
|
|
display: block;
|
|
|
|
width: calc(100% - 2 * #{$button-width} - 20px);
|
|
|
|
min-height: $header-height - 1px;
|
|
|
|
max-height: 100px;
|
|
|
|
padding: 10px;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
z-index: 5;
|
2014-11-07 08:17:27 +00:00
|
|
|
}
|
2015-01-11 11:27:22 +00:00
|
|
|
}
|
2015-02-14 00:21:39 +00:00
|
|
|
|
2015-03-03 00:31:04 +00:00
|
|
|
.toast {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
margin: 0 2em 3em;
|
|
|
|
padding: 0.5em 1.5em;
|
|
|
|
background: rgba(0, 0, 0, 0.75);
|
|
|
|
color: white;
|
|
|
|
box-shadow: 0 0 5px 0 black;
|
|
|
|
border-radius: 20px;
|
|
|
|
font-size: small;
|
|
|
|
}
|
2015-06-16 20:43:40 +00:00
|
|
|
|
2015-05-26 23:54:21 +00:00
|
|
|
.confirmation-dialog {
|
2015-06-16 20:43:40 +00:00
|
|
|
position: absolute;
|
|
|
|
top: $header-height;
|
|
|
|
padding: 1em;
|
|
|
|
background: white;
|
|
|
|
border: solid 2px $blue;
|
2015-05-26 23:54:21 +00:00
|
|
|
|
2015-06-16 20:43:40 +00:00
|
|
|
.message {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2015-03-03 02:27:14 +00:00
|
|
|
|
2015-06-16 20:43:40 +00:00
|
|
|
button {
|
|
|
|
float: right;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2015-05-26 23:54:21 +00:00
|
|
|
}
|