c7522dc0a5
merging is hard releasable?
180 lines
2.5 KiB
SCSS
180 lines
2.5 KiB
SCSS
@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;
|
|
}
|
|
}
|
|
main.main--refreshing {
|
|
&:before {
|
|
$width: 30px;
|
|
position: absolute;
|
|
background: url('../img/busy.gif') no-repeat center center;
|
|
width: $width;
|
|
height: $spacing-vertical;
|
|
content: "";
|
|
left: 50%;
|
|
margin-left: -1 / 2 * $width;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.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.5;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
|
|
.help {
|
|
font-size: .85em;
|
|
color: $color-help;
|
|
}
|
|
|
|
.meta
|
|
{
|
|
font-size: 0.9em;
|
|
color: $color-meta-light;
|
|
}
|
|
|
|
.empty
|
|
{
|
|
color: $color-meta-light;
|
|
font-style: italic;
|
|
}
|
|
|
|
/*should be redone/moved*/
|
|
.file-list__header {
|
|
.busy-indicator {
|
|
float: left;
|
|
margin-top: 12px;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.text-center
|
|
{
|
|
text-align: center;
|
|
}
|