@import "compass";
@import "compass/reset";
html, body {
width: 100%;
height: 100%;
}
body {
@include establish-baseline(12px);
@include display-box;
@include box-orient(vertical);
background: #eee;
color: #000;
font-size: 12px;
font-family: Helvetica, sans-serif;
}
body > header {
@include clearfix;
border-bottom: 1px solid #ccc;
h1 {
float: left;
padding: 6px;
font-size: 18px;
font-weight: bold;
a {
color: black;
text-decoration: none;
@include text-shadow(0 1px 0 #fff);
@include transition(0.1s ease);
&:hover {
color: #4183C4;
}
}
}
nav {
padding: 0 5px;
&.project { float: left; }
&.app { float: right; }
li {
padding: 10px 5px;
@include inline-block;
}
}
}
#messages {
width: 100%;
height: 10em;
overflow: auto;
background: #fff;
border-top: 1px solid #fff;
border-bottom: 1px solid #ccc;
table {
width: 100%;
thead tr {
background: #eee;
color: #333;
th {
padding: .25em;
font-weight: bold;
color: #666;
@include text-shadow(0 1px 0 #fff);
}
}
tbody tr {
&:nth-child(even) {
background: #f0f0f0;
}
&.selected {
background: Highlight;
color: HighlightText;
}
td {
padding: .25em;
}
}
}
}
#message {
@include display-box;
@include box-orient(vertical);
@include box-flex(1);
border-top: 1px solid #fff;
> header {
@include clearfix;
.metadata {
@include clearfix;
padding: .5em;
dt, dd {
padding: .25em;
}
dt {
float: left;
clear: left;
width: 8em;
margin-right: .5em;
text-align: right;
font-weight: bold;
color: #666;
@include text-shadow(0 1px 0 #fff);
}
dd.subject {
font-weight: bold;
}
.attachments {
display: none;
ul {
display: inline;
li {
@include inline-block;
margin-right: .5em;
}
}
}
}
.views {
ul {
padding: 0 .5em;
border-bottom: 1px solid #999;
}
.tab {
display: inline-block;
padding: .5em;
border: 1px solid #999;
background: #ddd;
color: #333;
border-width: 1px 1px 0 1px;
cursor: pointer;
@include text-shadow(0 1px 0 #eee);
}
.tab:not(.selected):hover {
background-color: #ddd;
}
.tab.selected {
background: #fff;
color: #000;
height: 13px;
@include box-shadow(1px 1px 0 #ccc);
margin-bottom: -2px;
}
.button {
display: inline-block;
float: right;
margin: 0 .25em;
a {
display: inline-block;
padding: .25em .5em;
border: 1px solid #999;
background: #ddd;
color: #333;
text-decoration: none;
@include text-shadow(1px 1px 0 #eee);
@include box-shadow(1px 1px 0 #ccc);
&:hover {
background: #fff;
@include text-shadow(none);
}
&:active {
margin: 1px -1px -1px 1px;
@include box-shadow(none);
}
}
}
}
}
.body {
@include display-box;
@include box-flex(1);
width: 100%;
background: #fff;
}
}