mail/src/ui/css/style.scss

85 lines
1.5 KiB
SCSS
Raw Normal View History

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;
}
/* Inbox */
.hamburger {
background-image:url('../img/Inbox.png');
background-repeat: no-repeat;
width: 55px;
height: 40px;
}
/* message list */
.message-list {
background-color: #f9f9f9;
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 {
background-color: #00c6ff;
color: #ffffff;
.from {
color: #ffffff;
}
}
@mixin unmarked {
color: #000000;
.from {
color: #00c6ff;
}
2013-09-03 08:03:33 -04:00
}
li {
background-color: #ffffff;
margin: 8px 0;
2013-09-03 09:11:19 -04:00
padding: 10px 0;
height: 85px;
2013-09-03 08:03:33 -04:00
@include unmarked;
&:hover {
background-color: #f9f9f9;
}
&: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 09:11:19 -04:00
li.selected {
@include marked;
}
2013-09-03 08:03:33 -04:00
}