147 lines
2.3 KiB
SCSS
147 lines
2.3 KiB
SCSS
.gutter {
|
|
margin-top: 36px;
|
|
}
|
|
|
|
.loading .gutter {
|
|
// TODO: spinner
|
|
}
|
|
|
|
.contact .checkbox {
|
|
display: none;
|
|
}
|
|
|
|
input.new-message {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
}
|
|
|
|
.back {
|
|
display: none;
|
|
float: left;
|
|
width: 36px;
|
|
height: 36px;
|
|
background: $blue url('/images/back.png') no-repeat center center;
|
|
}
|
|
|
|
.fab {
|
|
z-index: 1;
|
|
position: fixed;
|
|
right: 16px;
|
|
bottom: 22px;
|
|
height: 60px;
|
|
width: 60px;
|
|
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);
|
|
}
|
|
}
|
|
|
|
.new-contact,
|
|
.typeahead {
|
|
.last-message, .last-timestamp {
|
|
display: none;
|
|
}
|
|
|
|
.contact .checkbox {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.new-contact .contact-details::before {
|
|
content: 'Create new contact';
|
|
display: block;
|
|
font-style: italic;
|
|
opacity: 0.7;
|
|
padding-right: 8px;
|
|
}
|
|
|
|
.index {
|
|
color: $grey_d;
|
|
background: #eee;
|
|
|
|
.contact {
|
|
position: relative;
|
|
padding: 12px;
|
|
background: white;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
|
|
&::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;
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.last-message {
|
|
margin: 6px 0;
|
|
font-size: 14px;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.timestamp {
|
|
position: absolute;
|
|
top: 14px;
|
|
right: 12px;
|
|
color: #888;
|
|
}
|
|
|
|
img {
|
|
height: 54px;
|
|
width: 54px;
|
|
background: $grey_l;
|
|
border-radius: (54px / 2);
|
|
}
|
|
|
|
}
|
|
|
|
.settings {
|
|
height: 100%;
|
|
width: 100%;
|
|
background: red;
|
|
display: none;
|
|
|
|
.settings-open & {
|
|
display: block;
|
|
}
|
|
}
|