signal-desktop/stylesheets/_index.scss

140 lines
2.2 KiB
SCSS
Raw Normal View History

.gutter {
padding: $header-height 0 0;
}
.new-conversation, .inbox, .gutter {
height: 100%;
}
.scrollable {
height: 100%;
overflow: auto;
}
.loading .gutter {
// TODO: spinner
}
.socket-status {
float: left;
padding: 6px;
-webkit-app-region: no-drag;
* {
cursor: pointer;
padding-left: 20px;
border-radius: $header-height;
min-height: 20px;
&:hover {
background: $blue url('/images/refresh.png') center;
}
}
.connecting .icon {
background-color: $blue;
}
.closing {
background-color: $blue_l;
}
.closed {
background: url('/images/error_red.png') no-repeat left center;
}
}
2015-02-06 06:42:16 +00:00
.contact {
.number, .checkbox {
display: none;
}
}
input.search {
2015-02-06 06:42:16 +00:00
border: none;
padding: 0;
margin: 0;
outline: 0;
2015-01-26 07:44:53 +00:00
}
.fab {
z-index: 1;
position: fixed;
right: 25px;;
2015-01-26 07:44:53 +00:00
bottom: 22px;
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);
}
}
.last-timestamp {
font-size: smaller;
}
2015-02-06 06:42:16 +00:00
.new-conversation {
}
2015-02-06 06:42:16 +00:00
.new-contact {
display: none;
2015-02-06 06:42:16 +00:00
.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;
.new-group-update-form {
display: none;
padding: 0.5em;
2015-01-25 18:36:41 +00:00
}
.last-message {
margin: 6px 0;
font-size: small;
2015-01-25 18:36:41 +00:00
font-weight: 300;
}
.timestamp {
position: absolute;
top: 14px;
right: 12px;
color: #888;
}
}
.settings {
height: 100%;
width: 100%;
background: red;
display: none;
.settings-open & {
display: block;
}
}
.conversations .unread .contact-details {
.contact-name,
.last-message,
.last-timestamp {
font-weight: bold;
}
}