2018-01-04 06:05:20 +01:00
|
|
|
// Generic html styles used accross the App
|
|
|
|
// component specific styling should go in the component scss file
|
|
|
|
|
2018-01-04 06:58:51 +01:00
|
|
|
// The actual fonts used will change ex: medium vs regular
|
2018-01-04 06:05:20 +01:00
|
|
|
@font-face {
|
|
|
|
font-family: 'Metropolis';
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
src: url('../../../static/font/metropolis/Metropolis-Medium.woff2') format('woff2');
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Metropolis';
|
|
|
|
font-weight: 600;
|
|
|
|
font-style: normal;
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
src: url('../../../static/font/metropolis/Metropolis-SemiBold.woff2') format('woff2');
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Metropolis';
|
|
|
|
font-weight: 800;
|
|
|
|
font-style: normal;
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
src: url('../../../static/font/metropolis/Metropolis-ExtraBold.woff2') format('woff2');
|
|
|
|
}
|
|
|
|
|
2017-12-21 18:32:51 +01:00
|
|
|
html {
|
2017-05-02 00:31:13 +02:00
|
|
|
height: 100%;
|
2017-08-18 07:37:35 +02:00
|
|
|
font-size: var(--font-size);
|
2017-05-02 00:31:13 +02:00
|
|
|
}
|
2017-09-11 03:25:24 +02:00
|
|
|
|
2017-12-21 18:32:51 +01:00
|
|
|
body {
|
2017-08-20 07:58:03 +02:00
|
|
|
color: var(--text-color);
|
2018-01-04 06:05:20 +01:00
|
|
|
font-family: 'Metropolis', sans-serif;
|
2017-08-18 07:37:35 +02:00
|
|
|
line-height: var(--font-line-height);
|
2018-01-04 06:05:20 +01:00
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
2017-05-02 00:31:13 +02:00
|
|
|
}
|
2017-01-21 22:31:41 +01:00
|
|
|
|
2018-01-04 06:05:20 +01:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5 {
|
2017-12-01 04:51:55 +01:00
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
2016-08-07 22:10:44 +02:00
|
|
|
h2 {
|
|
|
|
font-size: 1.75em;
|
2016-08-03 10:07:36 +02:00
|
|
|
}
|
|
|
|
|
2017-12-21 18:32:51 +01:00
|
|
|
h3 {
|
|
|
|
font-size: 1.4em;
|
|
|
|
}
|
2016-08-03 10:07:36 +02:00
|
|
|
|
2016-08-07 22:10:44 +02:00
|
|
|
h4 {
|
|
|
|
font-size: 1.2em;
|
2016-08-03 10:07:36 +02:00
|
|
|
}
|
|
|
|
|
2017-12-21 18:32:51 +01:00
|
|
|
h5 {
|
|
|
|
font-size: 1.1em;
|
|
|
|
}
|
2018-01-04 06:05:20 +01:00
|
|
|
|
2017-12-21 18:32:51 +01:00
|
|
|
sup,
|
|
|
|
sub {
|
|
|
|
vertical-align: baseline;
|
|
|
|
position: relative;
|
|
|
|
}
|
2018-01-04 06:05:20 +01:00
|
|
|
|
2017-12-21 18:32:51 +01:00
|
|
|
sup {
|
|
|
|
top: -0.4em;
|
|
|
|
}
|
|
|
|
sub {
|
|
|
|
top: 0.4em;
|
2016-03-15 17:05:11 +01:00
|
|
|
}
|
2016-08-03 10:07:36 +02:00
|
|
|
|
2016-10-22 10:31:48 +02:00
|
|
|
code {
|
|
|
|
font: 0.8em Consolas, 'Lucida Console', 'Source Sans', monospace;
|
2017-08-22 04:23:38 +02:00
|
|
|
background-color: var(--color-bg-alt);
|
2016-10-22 10:31:48 +02:00
|
|
|
}
|
|
|
|
|
2018-01-04 06:58:51 +01:00
|
|
|
// Without this buttons don't have the Metropolis font
|
2018-01-04 06:05:20 +01:00
|
|
|
button {
|
|
|
|
font-family: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
#window {
|
|
|
|
height: 100%;
|
2018-01-04 06:58:51 +01:00
|
|
|
overflow: hidden;
|
2018-01-04 06:05:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#main-content {
|
|
|
|
height: 100%;
|
|
|
|
overflow-y: auto;
|
|
|
|
position: absolute;
|
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
|
|
|
// don't use {bottom/top} here
|
|
|
|
// they cause flashes of un-rendered content when scrolling
|
|
|
|
margin-top: var(--header-height);
|
2018-01-04 06:58:51 +01:00
|
|
|
// TODO: fix this scrollbar extends beyond screen at the bottom
|
|
|
|
padding-bottom: var(--header-height);
|
2018-01-04 06:05:20 +01:00
|
|
|
background-color: var(--color-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.main {
|
|
|
|
padding: 0 $spacing-vertical * 2/3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main--no-padding {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page__header {
|
|
|
|
padding: $spacing-vertical * 2/3;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page__title {
|
|
|
|
font-weight: 800;
|
|
|
|
font-size: 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Custom text selection */
|
|
|
|
*::selection {
|
|
|
|
background: var(--text-selection-bg);
|
|
|
|
color: var(--text-selection-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.credit-amount--indicator {
|
|
|
|
font-weight: 500;
|
|
|
|
color: var(--color-money);
|
|
|
|
}
|
|
|
|
|
|
|
|
.credit-amount--fee {
|
|
|
|
font-size: 0.9em;
|
|
|
|
color: var(--color-meta-light);
|
|
|
|
}
|
|
|
|
|
|
|
|
.credit-amount--bold {
|
|
|
|
font-weight: 700;
|
2016-04-24 10:59:55 +02:00
|
|
|
}
|
|
|
|
|
2016-04-03 14:45:33 +02:00
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-04-21 12:55:41 +02:00
|
|
|
.disabled {
|
|
|
|
pointer-events: none;
|
2017-08-17 06:53:37 +02:00
|
|
|
opacity: 0.5;
|
2016-04-21 12:55:41 +02:00
|
|
|
}
|
|
|
|
|
2017-02-10 01:06:09 +01:00
|
|
|
.truncated-text {
|
2017-05-01 02:15:21 +02:00
|
|
|
//display: inline-block;
|
|
|
|
display: -webkit-box;
|
|
|
|
overflow: hidden;
|
|
|
|
-webkit-box-orient: vertical;
|
2017-02-10 01:06:09 +01:00
|
|
|
}
|
|
|
|
|
2017-12-21 18:32:51 +01:00
|
|
|
.busy-indicator {
|
2017-12-06 17:32:21 +01:00
|
|
|
background: url('../../../static/img/busy.gif') no-repeat center center;
|
2016-03-15 17:05:11 +01:00
|
|
|
display: inline-block;
|
|
|
|
margin: -1em 0;
|
|
|
|
min-width: 16px;
|
|
|
|
min-height: 8px;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: 0 30px;
|
2017-12-21 18:32:51 +01:00
|
|
|
&:last-child {
|
2016-03-15 17:05:11 +01:00
|
|
|
padding-right: 2px;
|
|
|
|
}
|
2017-12-21 18:32:51 +01:00
|
|
|
&:first-child {
|
2016-03-15 17:05:11 +01:00
|
|
|
padding-left: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-03 10:07:36 +02:00
|
|
|
.help {
|
2017-12-21 18:32:51 +01:00
|
|
|
font-size: 0.85em;
|
2017-08-18 07:37:35 +02:00
|
|
|
color: var(--color-help);
|
2016-03-25 08:31:20 +01:00
|
|
|
}
|
2016-08-03 10:07:36 +02:00
|
|
|
|
2017-12-21 18:32:51 +01:00
|
|
|
.meta {
|
2016-08-08 06:47:48 +02:00
|
|
|
font-size: 0.9em;
|
2017-08-18 07:37:35 +02:00
|
|
|
color: var(--color-meta-light);
|
2016-08-08 06:47:48 +02:00
|
|
|
}
|
|
|
|
|
2017-12-21 18:32:51 +01:00
|
|
|
.empty {
|
|
|
|
color: var(--color-meta-light);
|
2016-08-27 16:12:56 +02:00
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2017-05-15 18:34:33 +02:00
|
|
|
/*should be redone/moved*/
|
|
|
|
.file-list__header {
|
|
|
|
.busy-indicator {
|
|
|
|
float: left;
|
|
|
|
margin-top: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-18 11:56:55 +01:00
|
|
|
.sort-section {
|
|
|
|
display: block;
|
2017-04-27 15:17:18 +02:00
|
|
|
margin-bottom: $spacing-vertical * 2/3;
|
2016-11-18 11:56:55 +01:00
|
|
|
|
|
|
|
text-align: right;
|
2017-04-27 15:17:18 +02:00
|
|
|
line-height: 1;
|
2016-11-18 11:56:55 +01:00
|
|
|
font-size: 0.85em;
|
2017-08-18 07:37:35 +02:00
|
|
|
color: var(--color-help);
|
2016-11-18 11:56:55 +01:00
|
|
|
}
|
2017-04-20 16:45:39 +02:00
|
|
|
|
|
|
|
section.section-spaced {
|
|
|
|
margin-bottom: $spacing-vertical;
|
|
|
|
}
|