2015-02-19 08:09:34 +01:00
|
|
|
.conversation {
|
|
|
|
padding: $header-height 0;
|
|
|
|
}
|
|
|
|
|
2015-02-27 03:10:04 +01:00
|
|
|
.conversation, .discussion-container, .message-list, .message-detail, .key-verification {
|
2015-02-19 08:09:34 +01:00
|
|
|
height: 100%;
|
|
|
|
}
|
2014-11-07 09:17:27 +01:00
|
|
|
|
2015-02-27 03:10:04 +01:00
|
|
|
.key-verification {
|
|
|
|
padding: $header-height 0 0;
|
|
|
|
.container {
|
|
|
|
height: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
.key {
|
|
|
|
font-family: monospace;
|
|
|
|
padding: 0 1em;
|
|
|
|
}
|
|
|
|
}
|
2015-02-23 22:17:50 +01:00
|
|
|
.message-detail {
|
|
|
|
padding: $header-height 0 0;
|
|
|
|
background: $grey_l;
|
|
|
|
|
|
|
|
.message-container {
|
|
|
|
background: white;
|
|
|
|
padding: 1em 0;
|
|
|
|
|
|
|
|
.sender {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.info {
|
|
|
|
padding: 1em;
|
|
|
|
|
|
|
|
.label {
|
|
|
|
text-align: right;
|
|
|
|
font-weight: bold;
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-29 13:34:31 +01:00
|
|
|
.group-update {
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
2015-02-13 06:17:48 +01:00
|
|
|
.private .sender,
|
2015-02-13 03:16:33 +01:00
|
|
|
.outgoing .sender {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-01-29 13:34:31 +01:00
|
|
|
.sender {
|
|
|
|
font-size: smaller;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
2015-01-20 03:44:34 +01:00
|
|
|
.timestamp {
|
2015-01-30 22:43:10 +01:00
|
|
|
font-size: smaller;
|
2015-01-20 03:44:34 +01:00
|
|
|
}
|
|
|
|
|
2015-02-18 08:36:20 +01:00
|
|
|
.entry .delivered .timestamp::after {
|
2015-01-25 21:49:28 +01:00
|
|
|
margin-left: 4px;
|
|
|
|
content: "✓";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-01-20 03:44:34 +01:00
|
|
|
.message-list {
|
2015-01-30 07:59:08 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 1em 0;
|
2015-02-27 07:05:52 +01:00
|
|
|
overflow-y: auto;
|
2015-01-20 03:44:34 +01:00
|
|
|
|
2015-02-23 22:17:50 +01:00
|
|
|
.timestamp {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-detail,
|
|
|
|
.message-list {
|
|
|
|
list-style: none;
|
|
|
|
|
2015-01-20 03:44:34 +01:00
|
|
|
li {
|
|
|
|
margin: 0 8px 16px;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
visibility: hidden;
|
|
|
|
display: block;
|
|
|
|
font-size: 0;
|
|
|
|
content: " ";
|
|
|
|
clear: both;
|
|
|
|
height: 0;
|
2014-12-23 01:28:10 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-20 03:44:34 +01:00
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bubble {
|
|
|
|
position: relative;
|
|
|
|
left: -2px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2015-01-22 10:39:07 +01:00
|
|
|
max-width: calc(100% - 54px - 2 * 12px);
|
2015-01-20 03:44:34 +01:00
|
|
|
padding: 9px 12px;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 3px 3px -4px black;
|
|
|
|
|
|
|
|
&::before, &::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
top: (54px / 2) - 8px;
|
|
|
|
border-top: 8px solid transparent;
|
|
|
|
border-bottom: 8px solid transparent;
|
|
|
|
}
|
|
|
|
|
2014-12-23 01:28:10 +01:00
|
|
|
&::after {
|
2015-01-20 03:44:34 +01:00
|
|
|
top: (54px / 2) - 6px;
|
|
|
|
border-top: 6px solid transparent;
|
|
|
|
border-bottom: 6px solid transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 01:28:10 +01:00
|
|
|
}
|
|
|
|
}
|
2015-01-20 03:44:34 +01:00
|
|
|
|
|
|
|
.outgoing {
|
|
|
|
|
|
|
|
img, .bubble {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bubble {
|
|
|
|
clear: left;
|
|
|
|
color: white;
|
|
|
|
background: $blue;
|
|
|
|
|
|
|
|
.timestamp {
|
|
|
|
color: $blue_l;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
right: -10px;
|
|
|
|
border-left: 10px solid white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
right: -8px;
|
|
|
|
border-left: 8px solid $blue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-03-02 20:49:23 +01:00
|
|
|
.attachments {
|
|
|
|
img, audio, video {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2015-03-03 02:53:44 +01:00
|
|
|
|
|
|
|
video {
|
|
|
|
background: black;
|
|
|
|
}
|
2015-01-22 10:39:07 +01:00
|
|
|
}
|
2015-02-02 05:37:50 +01:00
|
|
|
|
|
|
|
.outgoing img.avatar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-01-22 10:39:07 +01:00
|
|
|
img.avatar {
|
2015-01-30 22:43:10 +01:00
|
|
|
height: 44px;
|
|
|
|
width: 44px;
|
|
|
|
background: $grey_l;
|
|
|
|
border-radius: (44px / 2);
|
2015-01-20 03:44:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.timestamp {
|
|
|
|
margin-top: 3px;
|
|
|
|
float: right;
|
|
|
|
}
|
2015-02-19 20:51:32 +01:00
|
|
|
|
|
|
|
.end-session {
|
|
|
|
font: small;
|
|
|
|
font-style: italic;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
2014-11-07 09:17:27 +01:00
|
|
|
}
|
|
|
|
|
2015-01-20 03:44:34 +01:00
|
|
|
.bottom-bar {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
height: 36px;
|
|
|
|
width: 100%;
|
|
|
|
border-top: 1px solid $grey_l;
|
|
|
|
background: white;
|
|
|
|
|
|
|
|
button, input {
|
|
|
|
color: $grey_d;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
|
|
|
width: 36px;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
font-size: 24px;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
2015-01-22 10:39:07 +01:00
|
|
|
.attachments {
|
2015-01-25 10:18:10 +01:00
|
|
|
float: left;
|
2015-01-22 10:39:07 +01:00
|
|
|
height: 100%;
|
2015-01-20 03:44:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.send-btn {
|
2015-01-22 10:39:07 +01:00
|
|
|
float: right;
|
|
|
|
height: 100%;
|
|
|
|
width: 36px;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
|
|
|
background: url('/images/send.png') no-repeat;
|
|
|
|
background-size: 90%;
|
|
|
|
background-position: center 1px;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '+';
|
|
|
|
}
|
2015-01-20 03:44:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
form, input {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2015-01-22 10:39:07 +01:00
|
|
|
input[type=textarea] {
|
|
|
|
display: block;
|
|
|
|
height: 100%;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
z-index: 5;
|
2014-11-07 09:17:27 +01:00
|
|
|
}
|
2015-01-11 12:27:22 +01:00
|
|
|
}
|
2015-02-14 01:21:39 +01:00
|
|
|
|
2015-03-03 01:31:04 +01: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;
|
|
|
|
}
|