2013-09-03 10:57:38 -04:00
|
|
|
/* colors */
|
|
|
|
|
|
|
|
$default-text-color: #333333;
|
|
|
|
$blue-color: #00c6ff;
|
|
|
|
$lightgrey-color: #f9f9f9;
|
|
|
|
|
|
|
|
/* global */
|
|
|
|
|
2013-09-03 08:03:33 -04:00
|
|
|
@font-face {
|
|
|
|
font-family: 'PT Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2013-09-03 09:11:19 -04:00
|
|
|
src: local('PT Sans'), local('PTSans-Regular'), url(pt-sans.ttf) format('truetype');
|
2013-09-03 08:03:33 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: 'PT Sans', sans-serif;
|
2013-09-03 10:57:38 -04:00
|
|
|
color: $default-text-color;
|
2013-09-03 08:03:33 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Inbox */
|
|
|
|
|
|
|
|
.hamburger {
|
|
|
|
background-image:url('../img/Inbox.png');
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
width: 55px;
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* message list */
|
|
|
|
|
|
|
|
.message-list {
|
2013-09-03 10:57:38 -04:00
|
|
|
background-color: $lightgrey-color;
|
2013-09-03 08:03:33 -04:00
|
|
|
padding: 46px 15px;
|
|
|
|
width: 314px;
|
|
|
|
|
|
|
|
ul {
|
2013-09-03 09:11:19 -04:00
|
|
|
list-style-type: none;
|
|
|
|
}
|
2013-09-03 08:03:33 -04:00
|
|
|
|
2013-09-03 09:11:19 -04:00
|
|
|
@mixin marked {
|
2013-09-03 10:57:38 -04:00
|
|
|
background-color: $blue-color;
|
|
|
|
color: $lightgrey-color;
|
2013-09-03 09:11:19 -04:00
|
|
|
.from {
|
2013-09-03 10:57:38 -04:00
|
|
|
color: $lightgrey-color;
|
2013-09-03 09:11:19 -04:00
|
|
|
}
|
2013-09-03 08:03:33 -04:00
|
|
|
}
|
|
|
|
|
2013-09-03 10:17:48 -04:00
|
|
|
.unread {
|
|
|
|
position: absolute;
|
|
|
|
margin-top: 1.85em;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
width: 0.9em;
|
|
|
|
height: 0.9em;
|
|
|
|
border-radius: 50%;
|
2013-09-03 10:57:38 -04:00
|
|
|
background: $blue-color;
|
|
|
|
box-shadow: inset 0.5px 1px 1px #A4A4A4;
|
2013-09-03 10:17:48 -04:00
|
|
|
}
|
|
|
|
|
2013-09-03 08:03:33 -04:00
|
|
|
li {
|
2013-09-03 10:57:38 -04:00
|
|
|
background-color: white;
|
2013-09-03 08:03:33 -04:00
|
|
|
margin: 8px 0;
|
2013-09-03 09:11:19 -04:00
|
|
|
padding: 10px 0;
|
|
|
|
height: 85px;
|
2013-09-03 10:57:38 -04:00
|
|
|
.from {
|
|
|
|
color: $blue-color;
|
|
|
|
}
|
2013-09-03 08:03:33 -04:00
|
|
|
|
|
|
|
&:hover {
|
2013-09-03 10:57:38 -04:00
|
|
|
background-color: $lightgrey-color;
|
2013-09-03 08:03:33 -04:00
|
|
|
}
|
|
|
|
&:hover.selected {
|
|
|
|
@include marked;
|
|
|
|
}
|
|
|
|
|
2013-09-03 09:11:19 -04:00
|
|
|
p {
|
|
|
|
margin-left: 32px;
|
|
|
|
margin-right: 32px;
|
2013-09-03 08:03:33 -04:00
|
|
|
}
|
2013-09-03 09:11:19 -04:00
|
|
|
p.from {
|
|
|
|
font-size: 1.5em;
|
2013-09-03 08:03:33 -04:00
|
|
|
}
|
2013-09-03 09:11:19 -04:00
|
|
|
p.subject {
|
|
|
|
font-size: 0.875em;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-bottom: 0.5em;
|
2013-09-03 08:03:33 -04:00
|
|
|
}
|
2013-09-03 09:11:19 -04:00
|
|
|
p.text-preview {
|
|
|
|
font-size: 0.875em;
|
|
|
|
height: 2em;
|
|
|
|
overflow: hidden;
|
2013-09-03 08:03:33 -04:00
|
|
|
}
|
|
|
|
}
|
2013-09-03 10:57:38 -04:00
|
|
|
|
2013-09-03 09:11:19 -04:00
|
|
|
li.selected {
|
|
|
|
@include marked;
|
2013-09-03 10:17:48 -04:00
|
|
|
|
|
|
|
.unread {
|
2013-09-03 10:57:38 -04:00
|
|
|
background: $lightgrey-color;
|
2013-09-03 10:17:48 -04:00
|
|
|
box-shadow: inset 1px 1px 1px #D8D8D8;
|
|
|
|
}
|
2013-09-03 09:11:19 -04:00
|
|
|
}
|
2013-09-03 08:03:33 -04:00
|
|
|
}
|
|
|
|
|