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