2015-08-26 01:47:15 +02:00
|
|
|
.conversation-stack,
|
2015-03-09 22:50:50 +01:00
|
|
|
.new-conversation, .inbox, .gutter {
|
2015-02-19 08:09:34 +01:00
|
|
|
height: 100%;
|
|
|
|
}
|
2015-08-27 02:11:01 +02:00
|
|
|
|
|
|
|
.container, .scrollable {
|
2015-03-09 22:50:50 +01:00
|
|
|
height: 100%;
|
2015-02-19 08:09:34 +01:00
|
|
|
overflow: auto;
|
2015-01-30 07:59:08 +01:00
|
|
|
}
|
|
|
|
|
2015-08-26 01:47:15 +02:00
|
|
|
.gutter {
|
2016-03-21 07:36:45 +01:00
|
|
|
color: $grey_d;
|
2015-08-26 01:47:15 +02:00
|
|
|
float: left;
|
2015-08-27 02:48:18 +02:00
|
|
|
width: 300px;
|
2016-02-22 19:47:48 +01:00
|
|
|
.content {
|
2016-03-18 19:11:36 +01:00
|
|
|
background-color: $grey_l;
|
2016-03-18 23:54:40 +01:00
|
|
|
height: calc(100% - 104px);
|
2016-02-22 19:47:48 +01:00
|
|
|
}
|
|
|
|
|
2015-08-27 02:48:18 +02:00
|
|
|
.conversations {
|
2015-10-23 23:50:27 +02:00
|
|
|
overflow-y: scroll;
|
2016-02-22 19:47:48 +01:00
|
|
|
height: 100%;
|
2015-08-27 02:48:18 +02:00
|
|
|
width: 100%;
|
|
|
|
}
|
2015-08-26 01:47:15 +02:00
|
|
|
}
|
|
|
|
|
2015-03-09 21:20:01 +01:00
|
|
|
.socket-status {
|
2015-10-17 03:14:50 +02:00
|
|
|
float: right;
|
2016-03-21 23:37:53 +01:00
|
|
|
line-height: $button-height;
|
2015-03-09 21:20:01 +01:00
|
|
|
|
|
|
|
* {
|
2015-08-26 19:31:16 +02:00
|
|
|
display: inline;
|
2015-03-09 21:20:01 +01:00
|
|
|
padding-left: 20px;
|
2016-03-19 00:21:55 +01:00
|
|
|
border-radius: 100%;
|
2016-03-18 23:54:40 +01:00
|
|
|
vertical-align: middle;
|
2015-03-09 21:20:01 +01:00
|
|
|
}
|
|
|
|
.connecting .icon {
|
|
|
|
background-color: $blue;
|
|
|
|
}
|
|
|
|
.closing {
|
|
|
|
background-color: $blue_l;
|
|
|
|
}
|
|
|
|
.closed {
|
|
|
|
background: url('/images/error_red.png') no-repeat left center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-26 01:47:15 +02:00
|
|
|
.conversation-stack {
|
|
|
|
.conversation {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.conversation:first-child {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.conversation-header {
|
2016-03-21 23:37:53 +01:00
|
|
|
height: $header-height;
|
2016-03-18 21:09:45 +01:00
|
|
|
text-align: center;
|
|
|
|
color: white;
|
2016-03-21 07:46:31 +01:00
|
|
|
background-color: #999999;
|
|
|
|
transition: background-color 0.5s;
|
2016-03-18 21:09:45 +01:00
|
|
|
|
2015-11-09 20:29:51 +01:00
|
|
|
.avatar {
|
2016-03-18 21:09:45 +01:00
|
|
|
margin-bottom: -30px;
|
|
|
|
border: solid 2px white;
|
|
|
|
z-index: 10;
|
|
|
|
width: 48px;
|
|
|
|
height: 48px;
|
|
|
|
line-height: 44px;
|
|
|
|
position: relative;
|
2015-11-09 20:29:51 +01:00
|
|
|
}
|
2015-08-26 01:47:15 +02:00
|
|
|
}
|
2016-03-21 04:02:38 +01:00
|
|
|
.inactive .conversation-header {
|
2016-03-21 07:46:31 +01:00
|
|
|
background-color: $grey_l !important;
|
2016-03-21 04:02:38 +01:00
|
|
|
color: $grey_d;
|
|
|
|
}
|
2015-08-26 01:47:15 +02:00
|
|
|
|
2015-03-13 00:14:21 +01:00
|
|
|
input.search {
|
2015-02-06 07:42:16 +01:00
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
outline: 0;
|
2015-12-07 05:40:29 +01:00
|
|
|
&::-webkit-search-cancel-button {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
background: url('/images/x.png') no-repeat center;
|
|
|
|
background-size: cover;
|
|
|
|
}
|
2015-12-07 22:28:22 +01:00
|
|
|
&::-webkit-search-cancel-button:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2015-01-26 08:44:53 +01:00
|
|
|
}
|
|
|
|
|
2015-09-18 22:07:19 +02:00
|
|
|
.tool-bar {
|
2016-03-18 19:11:36 +01:00
|
|
|
background: $grey_l;
|
2016-03-21 04:02:38 +01:00
|
|
|
padding: 2px;
|
2016-03-18 19:11:36 +01:00
|
|
|
|
2015-09-18 22:07:19 +02:00
|
|
|
button.show-new-conversation {
|
|
|
|
float: right;
|
2016-03-21 23:37:53 +01:00
|
|
|
height: $button-height;
|
|
|
|
width: $button-height;
|
2015-09-18 22:07:19 +02:00
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
font: 300 36px $roboto;
|
|
|
|
color: white;
|
|
|
|
background: url('/images/pencil.png') no-repeat center center;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($grey_l, 3%);
|
|
|
|
}
|
2015-01-26 08:44:53 +01:00
|
|
|
}
|
2015-10-15 21:10:03 +02:00
|
|
|
|
|
|
|
input.search {
|
2016-03-21 23:37:53 +01:00
|
|
|
height: $button-height;
|
2016-03-18 19:11:36 +01:00
|
|
|
width: 100%;
|
|
|
|
padding: 10px;
|
|
|
|
border: solid 1px $grey_l;
|
2016-03-18 21:09:45 +01:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
outline: solid 1px $blue;
|
|
|
|
}
|
2015-10-15 21:10:03 +02:00
|
|
|
}
|
2015-01-26 08:44:53 +01:00
|
|
|
}
|
|
|
|
|
2015-01-30 22:43:10 +01:00
|
|
|
.last-timestamp {
|
|
|
|
font-size: smaller;
|
2015-10-23 23:43:51 +02:00
|
|
|
float: right;
|
2015-10-24 00:47:32 +02:00
|
|
|
margin: 0 10px;
|
2016-03-18 21:09:45 +01:00
|
|
|
color: $grey;
|
2015-01-30 22:43:10 +01:00
|
|
|
}
|
|
|
|
|
2015-02-06 07:42:16 +01:00
|
|
|
.new-contact {
|
2015-03-12 19:40:55 +01:00
|
|
|
display: none;
|
2015-10-21 21:11:48 +02:00
|
|
|
cursor: pointer;
|
2015-12-06 04:21:15 +01:00
|
|
|
opacity: 0.7;
|
2015-09-04 22:11:21 +02:00
|
|
|
background: $grey_l;
|
2015-12-06 04:21:15 +01:00
|
|
|
.contact-details .number {
|
2015-02-06 07:42:16 +01:00
|
|
|
display: block;
|
|
|
|
font-style: italic;
|
|
|
|
padding-right: 8px;
|
|
|
|
}
|
2015-12-06 04:21:15 +01:00
|
|
|
|
|
|
|
&.valid {
|
|
|
|
opacity: 1.0
|
|
|
|
}
|
2015-01-25 19:38:35 +01:00
|
|
|
}
|
|
|
|
|
2015-01-25 19:36:41 +01:00
|
|
|
.index {
|
|
|
|
color: $grey_d;
|
|
|
|
|
2015-08-26 01:47:15 +02:00
|
|
|
.gutter .new-group-update-form {
|
2015-03-12 19:40:55 +01:00
|
|
|
display: none;
|
|
|
|
padding: 0.5em;
|
2015-01-25 19:36:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.last-message {
|
|
|
|
margin: 6px 0;
|
2015-01-30 22:43:10 +01:00
|
|
|
font-size: small;
|
2015-01-25 19:36:41 +01:00
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
2015-08-26 01:47:15 +02:00
|
|
|
.gutter .timestamp {
|
2015-01-25 19:36:41 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 14px;
|
|
|
|
right: 12px;
|
2016-03-18 21:09:45 +01:00
|
|
|
color: $grey;
|
2015-01-25 19:36:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-03-11 20:06:19 +01:00
|
|
|
.conversations .unread .contact-details {
|
2015-09-03 22:33:17 +02:00
|
|
|
.name,
|
2015-10-24 00:41:39 +02:00
|
|
|
.last-message,
|
2015-03-11 20:06:19 +01:00
|
|
|
.last-timestamp {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
2015-11-21 01:58:52 +01:00
|
|
|
|
|
|
|
.hint {
|
|
|
|
margin: 10px;
|
|
|
|
padding: 1em;
|
|
|
|
border-radius: 10px;
|
|
|
|
color: white;
|
|
|
|
border: 2px dashed white;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.firstRun {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 302px;
|
|
|
|
width: 225px;
|
|
|
|
|
|
|
|
&:before, &:after {
|
|
|
|
content: ' ';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 8px;
|
|
|
|
left: -35px;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border: solid 10px white;
|
|
|
|
border-color: transparent white transparent transparent;
|
|
|
|
transform: scaleX(2.5) scaleY(0.75);
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
border-color: transparent #2eace0 transparent transparent;
|
|
|
|
left: -30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-11-28 00:43:45 +01:00
|
|
|
|
|
|
|
.conversation.placeholder {
|
2015-11-28 23:41:58 +01:00
|
|
|
text-align: center;
|
2016-03-19 02:02:43 +01:00
|
|
|
padding: 100px 36px;
|
2015-11-28 23:41:58 +01:00
|
|
|
color: #aaa;
|
2015-11-28 00:43:45 +01:00
|
|
|
}
|
2015-11-28 02:34:02 +01:00
|
|
|
.contact.placeholder {
|
|
|
|
position: absolute;
|
|
|
|
top: 50px;
|
|
|
|
left: 0;
|
|
|
|
background: transparent;
|
|
|
|
border-radius: 10px;
|
|
|
|
color: white;
|
|
|
|
border: 2px dashed white;
|
|
|
|
overflow: visible;
|
|
|
|
p { color: white; }
|
|
|
|
&:before, &:after {
|
|
|
|
content: ' ';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: -35px;
|
|
|
|
left: 15px;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border: solid 10px white;
|
|
|
|
border-color: transparent transparent white transparent;
|
|
|
|
transform: scaleY(2.5) scaleX(0.75);
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
border-color: transparent transparent #2eace0 transparent;
|
|
|
|
top: -30px;
|
|
|
|
}
|
|
|
|
}
|