2015-01-30 05:53:49 +01:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2015-02-19 08:09:34 +01:00
|
|
|
html {
|
|
|
|
height: 100%;
|
2015-05-22 02:07:11 +02:00
|
|
|
border: solid 1px #ccc;
|
2015-02-19 08:09:34 +01:00
|
|
|
}
|
|
|
|
|
2015-01-30 05:53:49 +01:00
|
|
|
body {
|
2015-02-18 03:03:05 +01:00
|
|
|
position: relative;
|
2015-01-30 05:53:49 +01:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2015-02-19 08:09:34 +01:00
|
|
|
margin: 0;
|
2015-01-30 05:53:49 +01:00
|
|
|
font-family: $roboto;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2015-02-06 07:42:16 +01:00
|
|
|
.clearfix:before,
|
|
|
|
.clearfix:after {
|
|
|
|
display: table;
|
|
|
|
content: " ";
|
|
|
|
}
|
|
|
|
.clearfix:after {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2015-02-23 21:50:07 +01:00
|
|
|
.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-01-30 05:53:49 +01:00
|
|
|
#header {
|
|
|
|
position: fixed;
|
2015-06-09 00:02:08 +02:00
|
|
|
top: 1px;
|
|
|
|
width: calc(100% - 2px);
|
2015-01-30 05:53:49 +01:00
|
|
|
z-index: 1;
|
|
|
|
height: $header-height;
|
|
|
|
line-height: 24px;
|
2015-05-22 02:07:11 +02:00
|
|
|
color: #f2f2f2;
|
2015-01-30 05:53:49 +01:00
|
|
|
box-shadow: 0 -4px 3px 4px rgba(darken($header-color, 30%), 0.8);
|
2015-05-22 02:07:11 +02:00
|
|
|
background-color: $header-color;
|
2015-05-21 22:05:52 +02:00
|
|
|
-webkit-app-region: drag;
|
2015-05-21 23:35:44 +02:00
|
|
|
|
|
|
|
button {
|
|
|
|
-webkit-app-region: no-drag;
|
2015-05-22 02:07:11 +02:00
|
|
|
color: inherit;
|
|
|
|
background-color: $blue;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(darken($blue, 10%), 0.8);
|
|
|
|
}
|
2015-05-21 23:35:44 +02:00
|
|
|
}
|
2015-01-30 22:20:32 +01:00
|
|
|
}
|
|
|
|
|
2015-05-23 00:41:30 +02:00
|
|
|
.window-controls {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2015-02-23 21:07:06 +01:00
|
|
|
.title-text {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
height: $header-height;
|
|
|
|
line-height: $header-height;
|
|
|
|
font-family: $roboto-light;
|
|
|
|
}
|
|
|
|
|
2015-02-23 21:50:07 +01:00
|
|
|
.title-bar button {
|
|
|
|
width: $header-height;
|
|
|
|
height: $header-height;
|
|
|
|
line-height: $header-height;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
button { cursor: pointer; }
|
|
|
|
|
|
|
|
button.back {
|
|
|
|
float: left;
|
|
|
|
background: $header-color url('/images/back.png') no-repeat center center;
|
|
|
|
|
|
|
|
& + .title-text {
|
|
|
|
text-indent: -$header-height;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-30 22:20:32 +01:00
|
|
|
.menu {
|
|
|
|
position: relative;
|
2015-05-21 23:35:44 +02:00
|
|
|
float: left;
|
2015-01-30 22:20:32 +01:00
|
|
|
height: 36px;
|
2015-05-22 02:07:11 +02:00
|
|
|
padding-right: 8px;
|
2015-01-30 22:20:32 +01:00
|
|
|
|
|
|
|
.hamburger {
|
|
|
|
width: 36px;
|
|
|
|
background: url('/images/menu.png') no-repeat center;
|
|
|
|
}
|
|
|
|
.menu-list {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
2015-05-22 02:07:11 +02:00
|
|
|
color: $grey_d;
|
2015-06-19 22:43:24 +02:00
|
|
|
z-index: 1;
|
2015-05-22 02:07:11 +02:00
|
|
|
|
2015-01-30 22:20:32 +01:00
|
|
|
top: 100%;
|
2015-05-22 02:58:22 +02:00
|
|
|
left: 0;
|
2015-01-30 22:20:32 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: solid 1px $blue;
|
|
|
|
background-color: white;
|
|
|
|
box-shadow: 0 4px 3px 0px rgba(darken($blue, 30%), 0.8);
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: block;
|
|
|
|
white-space: nowrap;
|
2015-03-13 01:39:56 +01:00
|
|
|
|
|
|
|
a {
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
padding: 5px 15px 5px 10px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $grey_l;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-30 22:20:32 +01:00
|
|
|
}
|
|
|
|
}
|
2015-01-30 05:53:49 +01:00
|
|
|
}
|
2015-02-06 07:42:16 +01:00
|
|
|
|
|
|
|
.file-input {
|
|
|
|
position: relative;
|
|
|
|
margin-right: 10px;
|
2015-03-12 19:40:55 +01:00
|
|
|
cursor: pointer;
|
2015-02-06 07:42:16 +01:00
|
|
|
|
|
|
|
.paperclip {
|
2015-03-12 19:40:55 +01:00
|
|
|
width: 36px;
|
2015-06-16 22:43:40 +02:00
|
|
|
height: 100%;
|
|
|
|
background: url('/images/paperclip.png') no-repeat center center;
|
2015-02-06 07:42:16 +01:00
|
|
|
background-size: 90%;
|
2015-06-16 22:43:40 +02:00
|
|
|
margin-top: 4px;
|
2015-02-06 07:42:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type=file] {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
opacity: 0;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.close {
|
|
|
|
font-family: sans-serif;
|
|
|
|
color: white;
|
|
|
|
position: absolute;
|
2015-03-12 19:40:55 +01:00
|
|
|
top: 0;
|
|
|
|
right: -8px;
|
2015-02-06 07:42:16 +01:00
|
|
|
cursor: default;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
padding: 0px;
|
|
|
|
|
|
|
|
background: #666;
|
|
|
|
color: #fff;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
2015-03-10 20:11:32 +01:00
|
|
|
|
|
|
|
img.emoji {
|
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
|
|
|
margin: 0 .05em 0 .1em;
|
|
|
|
vertical-align: -0.1em;
|
|
|
|
}
|
2015-03-13 00:14:21 +01:00
|
|
|
|
2015-06-18 22:35:40 +02:00
|
|
|
$avatar-size: 44px;
|
|
|
|
|
2015-03-23 22:01:18 +01:00
|
|
|
.avatar {
|
|
|
|
display: inline-block;
|
2015-06-18 22:35:40 +02:00
|
|
|
height: $avatar-size;
|
|
|
|
width: $avatar-size;
|
2015-03-23 22:01:18 +01:00
|
|
|
background: $grey_l url('/images/default.png') no-repeat center;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-size: cover;
|
|
|
|
vertical-align: middle;
|
2015-06-19 02:05:00 +02:00
|
|
|
text-align: center;
|
|
|
|
line-height: $avatar-size;
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
color: white;
|
2015-03-23 22:01:18 +01:00
|
|
|
}
|
|
|
|
|
2015-03-13 00:14:21 +01:00
|
|
|
.new-group-update-form {
|
2015-03-12 19:40:55 +01:00
|
|
|
background: white;
|
|
|
|
|
2015-03-13 00:14:21 +01:00
|
|
|
.group-avatar {
|
|
|
|
float: left;
|
|
|
|
}
|
2015-03-12 19:40:55 +01:00
|
|
|
|
|
|
|
.group-default {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border-radius: 50%;
|
|
|
|
background: $grey_l url('/images/group_default.png') no-repeat center;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-06-10 01:10:39 +02:00
|
|
|
.file-input .thumbnail, .thumbnail .avatar,
|
2015-03-12 19:40:55 +01:00
|
|
|
img {
|
|
|
|
height: 54px;
|
|
|
|
width: 54px;
|
|
|
|
border-radius: (54px / 2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
border-bottom: 10px solid $grey;
|
|
|
|
border-left: 10px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
input.name {
|
|
|
|
padding: 0.5em;
|
|
|
|
border: solid 1px #ccc;
|
|
|
|
border-width: 0 0 1px 0;
|
|
|
|
width: calc(100% - 64px);
|
|
|
|
}
|
|
|
|
|
2015-06-10 01:10:39 +02:00
|
|
|
.results {
|
|
|
|
width: calc(100% - 20px);
|
|
|
|
margin: 0 0 0 20px;
|
|
|
|
.contact {
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
}
|
2015-08-04 21:15:37 +02:00
|
|
|
}
|
2015-06-10 01:10:39 +02:00
|
|
|
|
2015-08-04 21:15:37 +02:00
|
|
|
.group-member-list,
|
|
|
|
.new-group-update-form {
|
2015-06-10 01:10:39 +02:00
|
|
|
.members .contact {
|
|
|
|
box-shadow: none;
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
.last-message, .last-timestamp {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
background: white;
|
|
|
|
cursor: auto;
|
|
|
|
}
|
|
|
|
}
|
2015-03-13 00:14:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.title-bar .check {
|
|
|
|
float: right;
|
2015-05-22 02:07:11 +02:00
|
|
|
background: url('/images/check.png') no-repeat center center;
|
2015-03-12 19:40:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.contact {
|
|
|
|
position: relative;
|
|
|
|
padding: 12px;
|
|
|
|
background: white;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: background 0.2s;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
2015-06-10 01:10:39 +02:00
|
|
|
box-shadow: 0 1px 3px rgba(#aaa, 0.8);
|
2015-03-13 00:14:21 +01:00
|
|
|
|
|
|
|
&:hover {
|
2015-03-12 19:40:55 +01:00
|
|
|
background: #f8f8f8;
|
|
|
|
}
|
|
|
|
|
2015-06-10 01:10:39 +02:00
|
|
|
&:last-child::after {
|
|
|
|
display: none;
|
2015-03-12 19:40:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.contact-details {
|
2015-06-18 22:35:40 +02:00
|
|
|
$left-margin: 8px;
|
|
|
|
|
2015-03-12 19:40:55 +01:00
|
|
|
vertical-align: top;
|
|
|
|
display: inline-block;
|
2015-06-18 22:35:40 +02:00
|
|
|
margin: 4px 0 0 $left-margin;
|
|
|
|
width: calc(100% - #{$avatar-size} - #{$left-margin});
|
|
|
|
|
|
|
|
p {
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2015-03-13 00:14:21 +01:00
|
|
|
}
|
2015-03-12 19:40:55 +01:00
|
|
|
|
|
|
|
.contact-name {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1em;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.recipients-input {
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.contact {
|
|
|
|
.number {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.last-message, .last-timestamp {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.number {
|
|
|
|
color: $grey;
|
|
|
|
font-size: small;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachment-preview {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: white;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2015-03-13 00:14:21 +01:00
|
|
|
}
|
2015-06-19 02:05:00 +02:00
|
|
|
|
|
|
|
// avatar colors
|
2015-06-25 22:32:05 +02:00
|
|
|
.avatar.colorgray { background-color: #999999 }
|
2015-08-01 01:38:55 +02:00
|
|
|
.avatar.color1 { background-color: #EF5350 } // red
|
|
|
|
.avatar.color2 { background-color: #EC407A } // pink
|
|
|
|
.avatar.color3 { background-color: #AB47BC } // purple
|
|
|
|
.avatar.color4 { background-color: #7E57C2 } // deep purple
|
|
|
|
.avatar.color5 { background-color: #5C6BC0 } // indigo
|
|
|
|
.avatar.color6 { background-color: #2196F3 } // blue
|
|
|
|
.avatar.color7 { background-color: #03A9F4 } // light blue
|
|
|
|
.avatar.color8 { background-color: #00BCD4 } // cyan
|
|
|
|
.avatar.color9 { background-color: #009688 } // teal
|
|
|
|
.avatar.color10 { background-color: #4CAF50 } // green
|
|
|
|
.avatar.color11 { background-color: #7CB342 } // light green
|
|
|
|
.avatar.color12 { background-color: #FF9800 } // orange
|
|
|
|
.avatar.color13 { background-color: #FF5722 } // deep orange
|
|
|
|
.avatar.color14 { background-color: #FFB300 } // amber
|
|
|
|
.avatar.color15 { background-color: #607D8B } // blue grey
|