2015-01-24 22:17:44 +00:00
|
|
|
.gutter {
|
2015-02-19 07:09:34 +00:00
|
|
|
padding: $header-height 0 0;
|
2015-01-24 22:17:44 +00:00
|
|
|
}
|
2015-01-25 10:19:28 +00:00
|
|
|
|
2015-02-19 07:09:34 +00:00
|
|
|
.gutter, #contacts {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2015-01-30 06:59:08 +00:00
|
|
|
#contacts {
|
2015-02-19 07:09:34 +00:00
|
|
|
overflow: auto;
|
2015-01-30 06:59:08 +00:00
|
|
|
}
|
|
|
|
|
2015-01-25 20:48:47 +00:00
|
|
|
.loading .gutter {
|
|
|
|
// TODO: spinner
|
|
|
|
}
|
|
|
|
|
2015-02-06 06:42:16 +00:00
|
|
|
.contact {
|
|
|
|
.number, .checkbox {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-01-25 10:19:28 +00:00
|
|
|
}
|
|
|
|
|
2015-01-26 07:44:53 +00:00
|
|
|
input.new-message {
|
2015-02-06 06:42:16 +00:00
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
outline: 0;
|
2015-01-26 07:44:53 +00:00
|
|
|
}
|
|
|
|
|
2015-02-06 06:42:16 +00:00
|
|
|
.new-conversation {
|
|
|
|
.new-group-update-form {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
button.create-group {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.group-avatar {
|
|
|
|
float: left;
|
|
|
|
height: 36px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.buttons {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.new-conversation {
|
|
|
|
.recipients-container {
|
|
|
|
background-color: white;
|
|
|
|
padding: 2px;
|
|
|
|
border-bottom: 1px solid #f2f2f2;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.recipient {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 2px 2px 0;
|
|
|
|
padding: 0 5px;
|
|
|
|
border-radius: 10px;
|
|
|
|
background-color: $blue;
|
|
|
|
color: white;
|
|
|
|
|
|
|
|
&.error {
|
|
|
|
background-color: #f00;
|
|
|
|
}
|
|
|
|
|
|
|
|
.remove {
|
|
|
|
margin-left: 5px;
|
|
|
|
padding: 0 2px;
|
|
|
|
}
|
|
|
|
}
|
2015-01-28 12:17:29 +00:00
|
|
|
}
|
|
|
|
|
2015-01-26 07:44:53 +00:00
|
|
|
.fab {
|
|
|
|
z-index: 1;
|
|
|
|
position: fixed;
|
2015-01-30 21:43:10 +00:00
|
|
|
right: 25px;;
|
2015-01-26 07:44:53 +00:00
|
|
|
bottom: 22px;
|
2015-01-30 21:43:10 +00:00
|
|
|
height: 50px;
|
|
|
|
width: 50px;
|
2015-01-26 07:44:53 +00:00
|
|
|
border: 0;
|
|
|
|
border-radius: (60px / 2);
|
|
|
|
outline: 0;
|
|
|
|
font: 300 36px $roboto;
|
|
|
|
color: white;
|
|
|
|
background: $blue url('/images/pencil.png') no-repeat center center;
|
|
|
|
box-shadow: 0 8px 8px -8px rgba(darken($blue, 50%), 0.8);
|
|
|
|
transition: box-shadow 0.33s, transform 0.33s, background 0.33s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($blue, 3%);
|
|
|
|
box-shadow: 0 8px 18px -8px rgba(darken($blue, 50%), 0.9);
|
|
|
|
transform: translate3d(0, -1px, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-30 21:43:10 +00:00
|
|
|
.last-timestamp {
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
2015-02-06 06:42:16 +00:00
|
|
|
.new-conversation {
|
2015-01-25 10:19:28 +00:00
|
|
|
.last-message, .last-timestamp {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-02-06 06:42:16 +00:00
|
|
|
.contact {
|
|
|
|
.checkbox, .number {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.number {
|
|
|
|
color: $grey;
|
|
|
|
font-size: small;
|
|
|
|
}
|
2015-01-25 10:19:28 +00:00
|
|
|
}
|
|
|
|
}
|
2015-01-25 12:53:07 +00:00
|
|
|
|
2015-02-06 06:42:16 +00:00
|
|
|
.new-contact {
|
|
|
|
.contact-name { display: none; }
|
|
|
|
.contact-details::before {
|
|
|
|
content: 'Create new contact';
|
|
|
|
display: block;
|
|
|
|
font-style: italic;
|
|
|
|
opacity: 0.7;
|
|
|
|
padding-right: 8px;
|
|
|
|
}
|
2015-01-25 18:38:35 +00:00
|
|
|
}
|
|
|
|
|
2015-01-25 18:36:41 +00:00
|
|
|
.index {
|
|
|
|
color: $grey_d;
|
|
|
|
background: #eee;
|
|
|
|
|
|
|
|
.contact {
|
|
|
|
position: relative;
|
|
|
|
padding: 12px;
|
|
|
|
background: white;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: background 0.2s;
|
2015-01-26 08:13:42 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
2015-01-25 18:36:41 +00:00
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
right: 16px;
|
|
|
|
bottom: 0;
|
|
|
|
height: 1px;
|
|
|
|
width: calc(100% - 12px - 54px - 2 * 8px - 16px);
|
|
|
|
background: #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: #f8f8f8;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
box-shadow: 0 1px 3px rgba(#aaa, 0.8);
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.contact-details {
|
|
|
|
vertical-align: top;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 4px 0 0 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.contact-name {
|
|
|
|
margin: 0;
|
2015-01-30 21:43:10 +00:00
|
|
|
font-size: 1em;
|
2015-01-25 18:36:41 +00:00
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
.last-message {
|
|
|
|
margin: 6px 0;
|
2015-01-30 21:43:10 +00:00
|
|
|
font-size: small;
|
2015-01-25 18:36:41 +00:00
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timestamp {
|
|
|
|
position: absolute;
|
|
|
|
top: 14px;
|
|
|
|
right: 12px;
|
|
|
|
color: #888;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2015-01-30 21:43:10 +00:00
|
|
|
height: 44px;
|
|
|
|
width: 44px;
|
2015-01-25 18:36:41 +00:00
|
|
|
background: $grey_l;
|
2015-01-30 21:43:10 +00:00
|
|
|
border-radius: (44px / 2);
|
2015-01-25 18:36:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
background: red;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
.settings-open & {
|
|
|
|
display: block;
|
|
|
|
}
|
2015-01-25 12:53:07 +00:00
|
|
|
}
|