@import "global";
html
{
height: 100%;
font-size: $font-size;
}
body
{
font-family: 'Source Sans Pro', sans-serif;
line-height: $font-line-height;
}
#window
{
min-height: 100vh;
background: $color-canvas;
}
.badge
{
background: $color-money;
display: inline-block;
padding: 2px;
color: white;
border-radius: 2px;
}
.credit-amount--indicator
{
font-weight: bold;
color: $color-money;
}
#main-content
{
padding: $spacing-vertical;
margin-top: $height-header;
display: flex;
flex-direction: column;
main {
margin-left: auto;
margin-right: auto;
max-width: 100%;
}
main.main--single-column
{
width: $width-page-constrained;
}
}
.icon-fixed-width {
/* This borrowed is from a component of Font Awesome we're not using, maybe add it? */
width: (18em / 14);
text-align: center;
}
h2 {
font-size: 1.75em;
}
h3 { font-size: 1.4em; }
h4 {
font-size: 1.2em;
}
h5 { font-size: 1.1em; }
sup, sub {
vertical-align: baseline;
position: relative;
}
sup { top: -0.4em; }
sub { top: 0.4em; }
code {
font: 0.8em Consolas, 'Lucida Console', 'Source Sans', monospace;
background-color: #eee;
}
p
{
margin-bottom: 0.8em;
&:last-child
{
margin-bottom: 0;
}
}
.hidden {
display: none;
}
.disabled {
pointer-events: none;
opacity: 0.7;
}
.truncated-text {
//display: inline-block;
display: -webkit-box;
overflow: hidden;
-webkit-box-orient: vertical;
}
.busy-indicator
{
background: url('../img/busy.gif') no-repeat center center;
display: inline-block;
margin: -1em 0;
min-width: 16px;
min-height: 8px;
vertical-align: middle;
padding: 0 30px;
&:last-child
{
padding-right: 2px;
}
&:first-child
{
padding-left: 2px;
}
}
.icon:only-child {
position: relative;
top: 0.16em;
}
.help {
font-size: .85em;
color: $color-help;
}
.meta
{
font-size: 0.9em;
color: $color-meta-light;
}
.empty
{
color: $color-meta-light;
font-style: italic;
}
.sort-section {
display: block;
margin-bottom: $spacing-vertical * 2/3;
text-align: right;
line-height: 1;
font-size: 0.85em;
color: $color-help;
}
section.section-spaced {
margin-bottom: $spacing-vertical;
}