2019-12-15 22:48:15 +01:00
|
|
|
$messagingBoxWidth: 15em;
|
|
|
|
$messagingBoxHeight: 20em;
|
|
|
|
|
|
|
|
.fixed-box {
|
2019-12-13 17:19:37 +01:00
|
|
|
border: solid 1px white;
|
|
|
|
padding: 1em;
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
2019-12-15 22:48:15 +01:00
|
|
|
}
|
|
|
|
|
2019-12-23 11:44:49 +01:00
|
|
|
.airmail-border {
|
|
|
|
border: 0.25em solid transparent;
|
|
|
|
border-image: 4 repeating-linear-gradient(-45deg, red 0, red 1em, white 0, white 2em,
|
|
|
|
#58a 0, #58a 3em, white 0, white 4em);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-direct,
|
|
|
|
.item-list .conversation {
|
|
|
|
@extend .airmail-border;
|
|
|
|
}
|
|
|
|
|
2019-12-15 22:48:15 +01:00
|
|
|
.messaging-box {
|
|
|
|
@extend .fixed-box;
|
|
|
|
|
2019-12-13 17:19:37 +01:00
|
|
|
right: 1em;
|
2019-12-15 22:48:15 +01:00
|
|
|
width: $messagingBoxWidth;
|
|
|
|
background: $ui-base-color;
|
2019-12-22 18:30:22 +01:00
|
|
|
|
|
|
|
.messager-textarea {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2019-12-15 22:48:15 +01:00
|
|
|
}
|
|
|
|
|
2019-12-23 11:44:49 +01:00
|
|
|
.conversation {
|
|
|
|
&.focusable {
|
|
|
|
&:hover {
|
|
|
|
background: mix($ui-base-color, $ui-secondary-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.conversation_reply {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 1em;
|
|
|
|
width: 15em;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $ui-highlight-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__action-bar-dropdown {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 1em;
|
|
|
|
width: 10em;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $ui-highlight-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-15 22:48:15 +01:00
|
|
|
.conversations_list {
|
2019-12-22 18:48:13 +01:00
|
|
|
right: 1em;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0.5em;
|
|
|
|
background: gray;
|
2019-12-22 18:30:22 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.conversation-item {
|
2019-12-15 22:48:15 +01:00
|
|
|
@extend .fixed-box;
|
|
|
|
width: $messagingBoxWidth;
|
|
|
|
right: $messagingBoxWidth + 5em;
|
|
|
|
background: $ui-secondary-color;
|
|
|
|
|
|
|
|
&.has-new-message {
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
color: $classic-primary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-18 12:52:46 +01:00
|
|
|
.conversation_created-at {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
2019-12-15 22:48:15 +01:00
|
|
|
.conversation_stream {
|
|
|
|
padding-top: 1em;
|
|
|
|
height: $messagingBoxHeight;
|
|
|
|
overflow: auto;
|
|
|
|
background: $ui-secondary-color;
|
|
|
|
|
|
|
|
.message {
|
|
|
|
-webkit-border-radius: 0.5rem;
|
|
|
|
-moz-border-radius: 0.5rem;
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
padding: 0.5em 1em;
|
2019-12-18 12:52:46 +01:00
|
|
|
width: 80%;
|
2019-12-15 22:48:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.mine {
|
|
|
|
text-align: right;
|
|
|
|
background: $classic-primary-color;
|
2019-12-18 12:52:46 +01:00
|
|
|
float: right;
|
|
|
|
|
|
|
|
.arrow-down {
|
|
|
|
border-top-color: $classic-primary-color;
|
|
|
|
left: 1em;
|
|
|
|
}
|
2019-12-15 22:48:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.theirs {
|
|
|
|
text-align: left;
|
|
|
|
background: $ui-highlight-color;
|
2019-12-18 12:52:46 +01:00
|
|
|
float: left;
|
|
|
|
|
|
|
|
.arrow-down {
|
|
|
|
border-top-color: $ui-highlight-color;
|
|
|
|
right: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.arrow-down {
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-left: 10px solid transparent;
|
|
|
|
border-right: 20px solid transparent;
|
|
|
|
border-top: 20px solid $classic-primary-color;
|
|
|
|
position: relative;
|
|
|
|
bottom: -1em;
|
|
|
|
|
2019-12-15 22:48:15 +01:00
|
|
|
}
|
2019-12-13 17:19:37 +01:00
|
|
|
}
|