2016-03-15 17:05:11 +01:00
|
|
|
@import "global";
|
|
|
|
|
2017-01-13 03:03:34 +01:00
|
|
|
@mixin text-link($color: $color-primary, $hover-opacity: 0.70) {
|
2017-01-21 22:31:41 +01:00
|
|
|
|
2016-11-02 17:09:33 +01:00
|
|
|
.icon
|
|
|
|
{
|
|
|
|
&:first-child {
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
&:last-child:not(:only-child) {
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.no-underline) {
|
|
|
|
text-decoration: underline;
|
|
|
|
.icon {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover
|
|
|
|
{
|
|
|
|
opacity: $hover-opacity;
|
|
|
|
transition: opacity .225s ease;
|
|
|
|
text-decoration: underline;
|
|
|
|
.icon {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2017-01-02 05:29:11 +01:00
|
|
|
|
2017-01-13 03:03:34 +01:00
|
|
|
color: $color;
|
2017-01-21 22:31:41 +01:00
|
|
|
cursor: pointer;
|
2016-11-02 17:09:33 +01:00
|
|
|
}
|
|
|
|
|
2016-05-27 13:04:37 +02:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2016-04-10 02:00:56 +02:00
|
|
|
section
|
|
|
|
{
|
|
|
|
margin-bottom: $spacing-vertical;
|
|
|
|
&:last-child
|
|
|
|
{
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2016-08-22 15:03:36 +02:00
|
|
|
&:only-child {
|
|
|
|
/* If it's an only child, assume it's part of a React layout that will handle the last child condition on its own */
|
|
|
|
margin-bottom: $spacing-vertical;
|
|
|
|
}
|
2016-04-10 02:00:56 +02:00
|
|
|
}
|
|
|
|
|
2016-08-08 00:13:17 +02:00
|
|
|
main h1 {
|
2016-08-07 22:10:44 +02:00
|
|
|
font-size: 2.0em;
|
|
|
|
margin-bottom: $spacing-vertical;
|
|
|
|
margin-top: $spacing-vertical*2;
|
2016-08-03 10:07:36 +02:00
|
|
|
font-family: 'Raleway', sans-serif;
|
|
|
|
}
|
|
|
|
|
2016-08-07 22:10:44 +02:00
|
|
|
h2 {
|
|
|
|
font-size: 1.75em;
|
2016-08-03 10:07:36 +02:00
|
|
|
}
|
|
|
|
|
2016-03-15 17:05:11 +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
|
|
|
}
|
|
|
|
|
2016-03-15 17:05:11 +01:00
|
|
|
h5 { font-size: 1.1em; }
|
|
|
|
sup, sub {
|
|
|
|
vertical-align: baseline;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
sup { top: -0.4em; }
|
|
|
|
sub { top: 0.4em; }
|
2016-08-03 10:07:36 +02:00
|
|
|
|
2016-08-07 22:10:44 +02:00
|
|
|
label {
|
|
|
|
cursor: default;
|
2016-08-03 10:07:36 +02:00
|
|
|
display: block;
|
|
|
|
}
|
2016-03-15 17:05:11 +01:00
|
|
|
|
2016-10-22 10:31:48 +02:00
|
|
|
code {
|
|
|
|
font: 0.8em Consolas, 'Lucida Console', 'Source Sans', monospace;
|
|
|
|
background-color: #eee;
|
|
|
|
}
|
|
|
|
|
2016-04-24 10:59:55 +02:00
|
|
|
p
|
|
|
|
{
|
|
|
|
margin-bottom: 0.8em;
|
2016-08-08 00:45:26 +02:00
|
|
|
&:last-child
|
|
|
|
{
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
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;
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2016-08-08 05:31:21 +02:00
|
|
|
input[type="text"], input[type="search"], textarea
|
2016-08-03 10:07:36 +02:00
|
|
|
{
|
2016-07-26 11:07:52 +02:00
|
|
|
@include placeholder {
|
|
|
|
color: lighten($color-text-dark, 60%);
|
|
|
|
}
|
2016-08-03 10:07:36 +02:00
|
|
|
border: 2px solid rgba(160,160,160,.5);
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
2016-08-08 05:31:21 +02:00
|
|
|
box-sizing: border-box;
|
2016-08-10 03:19:35 +02:00
|
|
|
-webkit-appearance: none;
|
2016-03-15 17:05:11 +01:00
|
|
|
}
|
2016-08-27 00:06:22 +02:00
|
|
|
input[type="text"], input[type="search"]
|
|
|
|
{
|
|
|
|
line-height: $spacing-vertical - 4;
|
|
|
|
height: $spacing-vertical * 1.5;
|
|
|
|
}
|
2016-03-15 17:05:11 +01:00
|
|
|
|
2017-02-10 01:06:09 +01:00
|
|
|
.truncated-text {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2016-03-15 17:05:11 +01:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-21 07:26:59 +01:00
|
|
|
.button-set-item {
|
2017-01-02 05:29:11 +01:00
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
|
2017-02-21 07:26:59 +01:00
|
|
|
+ .button-set-item
|
2016-10-28 14:51:15 +02:00
|
|
|
{
|
2017-01-13 03:03:34 +01:00
|
|
|
margin-left: $padding-button;
|
2016-10-28 14:51:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-13 03:03:34 +01:00
|
|
|
.button-block, .faux-button-block
|
2016-03-15 17:05:11 +01:00
|
|
|
{
|
|
|
|
display: inline-block;
|
2017-01-13 03:03:34 +01:00
|
|
|
height: $height-button;
|
|
|
|
line-height: $height-button;
|
2016-03-15 17:05:11 +01:00
|
|
|
text-decoration: none;
|
|
|
|
border: 0 none;
|
|
|
|
text-align: center;
|
2016-08-03 10:07:36 +02:00
|
|
|
border-radius: 2px;
|
|
|
|
text-transform: uppercase;
|
2016-04-25 12:57:47 +02:00
|
|
|
.icon
|
|
|
|
{
|
|
|
|
top: 0em;
|
|
|
|
}
|
2016-03-15 17:05:11 +01:00
|
|
|
.icon:first-child
|
|
|
|
{
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
.icon:last-child
|
|
|
|
{
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
2017-01-13 03:03:34 +01:00
|
|
|
.button-block
|
|
|
|
{
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2016-03-15 17:05:11 +01:00
|
|
|
|
2017-01-16 06:29:28 +01:00
|
|
|
.button__content {
|
|
|
|
margin: 0 $padding-button;
|
|
|
|
}
|
|
|
|
|
2016-03-15 17:05:11 +01:00
|
|
|
.button-primary
|
|
|
|
{
|
|
|
|
color: white;
|
|
|
|
background-color: $color-primary;
|
2016-08-08 05:31:21 +02:00
|
|
|
box-shadow: $default-box-shadow;
|
2016-03-15 17:05:11 +01:00
|
|
|
}
|
|
|
|
.button-alt
|
|
|
|
{
|
2017-01-09 09:26:48 +01:00
|
|
|
background-color: $color-bg-alt;
|
2016-08-08 05:31:21 +02:00
|
|
|
box-shadow: $default-box-shadow;
|
2016-08-08 06:47:48 +02:00
|
|
|
}
|
2017-01-06 12:27:23 +01:00
|
|
|
|
2016-03-15 17:05:11 +01:00
|
|
|
.button-text
|
|
|
|
{
|
2016-11-02 17:09:33 +01:00
|
|
|
@include text-link();
|
2017-01-16 06:29:28 +01:00
|
|
|
display: inline-block;
|
2017-01-18 09:45:23 +01:00
|
|
|
|
|
|
|
.button__content {
|
|
|
|
margin: 0 $padding-text-link;
|
|
|
|
}
|
2016-04-10 02:00:56 +02:00
|
|
|
}
|
2016-11-02 17:12:24 +01:00
|
|
|
.button-text-help
|
|
|
|
{
|
2017-01-21 22:31:41 +01:00
|
|
|
@include text-link(#aaa);
|
2016-11-02 17:12:24 +01:00
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
2016-04-10 02:00:56 +02:00
|
|
|
|
2016-05-16 11:54:58 +02:00
|
|
|
.icon:only-child {
|
2016-04-25 12:57:47 +02:00
|
|
|
position: relative;
|
|
|
|
top: 0.16em;
|
|
|
|
}
|
|
|
|
|
2016-08-03 10:07:36 +02:00
|
|
|
.help {
|
|
|
|
font-size: .85em;
|
2016-04-10 02:00:56 +02:00
|
|
|
color: $color-help;
|
2016-03-25 08:31:20 +01:00
|
|
|
}
|
2016-08-03 10:07:36 +02:00
|
|
|
|
2016-08-08 06:47:48 +02:00
|
|
|
.meta
|
|
|
|
{
|
|
|
|
font-size: 0.9em;
|
|
|
|
color: $color-meta-light;
|
|
|
|
}
|
|
|
|
|
2016-08-27 16:12:56 +02:00
|
|
|
.empty
|
|
|
|
{
|
|
|
|
color: $color-meta-light;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2016-08-08 05:31:21 +02:00
|
|
|
.form-row
|
|
|
|
{
|
|
|
|
+ .form-row
|
|
|
|
{
|
|
|
|
margin-top: $spacing-vertical / 2;
|
|
|
|
}
|
|
|
|
.help
|
|
|
|
{
|
|
|
|
margin-top: $spacing-vertical / 2;
|
|
|
|
}
|
2016-08-08 05:36:23 +02:00
|
|
|
+ .form-row-submit
|
|
|
|
{
|
|
|
|
margin-top: $spacing-vertical;
|
|
|
|
}
|
2016-08-20 22:38:27 +02:00
|
|
|
}
|
2016-10-21 03:25:32 +02:00
|
|
|
|
2016-11-18 09:05:28 +01:00
|
|
|
.form-field-container {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-03-01 21:31:05 +01:00
|
|
|
.form-field--text {
|
|
|
|
width: 330px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field--text-number {
|
|
|
|
width: 50px;
|
|
|
|
}
|
|
|
|
|
2016-11-18 09:05:28 +01:00
|
|
|
.form-field-advice-container {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field-advice {
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
transition: opacity 400ms ease-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field-advice--fading {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field-advice__arrow {
|
2016-11-22 06:46:42 +01:00
|
|
|
text-align: left;
|
|
|
|
padding-left: 18px;
|
|
|
|
|
2016-11-18 09:05:28 +01:00
|
|
|
font-size: 22px;
|
|
|
|
line-height: 0.3;
|
|
|
|
color: darken($color-primary, 5%);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.form-field-advice__content-container {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field-advice__content {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 2px;
|
|
|
|
|
|
|
|
background-color: darken($color-primary, 5%);
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2017-03-01 21:40:50 +01:00
|
|
|
.form-field-label {
|
|
|
|
width: 118px;
|
|
|
|
text-align: right;
|
|
|
|
vertical-align: top;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2016-10-22 10:31:48 +02:00
|
|
|
|
2016-11-18 11:56:55 +01:00
|
|
|
.sort-section {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
|
|
|
|
|
|
|
text-align: right;
|
|
|
|
font-size: 0.85em;
|
|
|
|
color: $color-help;
|
|
|
|
}
|
|
|
|
|
2016-10-21 03:25:32 +02:00
|
|
|
.modal-overlay {
|
|
|
|
position: fixed;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
background-color: rgba(255, 255, 255, 0.74902);
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
border: 1px solid rgb(204, 204, 204);
|
|
|
|
background: rgb(255, 255, 255);
|
|
|
|
overflow: auto;
|
|
|
|
border-radius: 4px;
|
|
|
|
outline: none;
|
2016-10-26 08:57:20 +02:00
|
|
|
padding: 36px;
|
2016-10-21 03:25:32 +02:00
|
|
|
max-width: 250px;
|
|
|
|
}
|
|
|
|
|
2016-10-26 08:57:20 +02:00
|
|
|
.modal__header {
|
|
|
|
margin-bottom: 5px;
|
2017-02-25 07:51:33 +01:00
|
|
|
text-align: center;
|
2016-10-26 08:57:20 +02:00
|
|
|
}
|
|
|
|
|
2016-10-21 03:25:32 +02:00
|
|
|
.modal__buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal__button {
|
|
|
|
margin: 0px 6px;
|
|
|
|
}
|
2016-10-22 10:31:48 +02:00
|
|
|
|
2016-10-25 05:52:36 +02:00
|
|
|
.error-modal-overlay {
|
2016-10-26 08:57:20 +02:00
|
|
|
background: rgba(#000, .88);
|
2016-10-25 05:52:36 +02:00
|
|
|
}
|
|
|
|
|
2016-10-26 08:57:20 +02:00
|
|
|
.error-modal__content {
|
2016-10-25 05:52:36 +02:00
|
|
|
display: flex;
|
|
|
|
padding: 0px 8px 10px 10px;
|
|
|
|
}
|
|
|
|
|
2016-10-26 08:57:20 +02:00
|
|
|
.error-modal__warning-symbol {
|
|
|
|
margin-top: 6px;
|
2016-10-25 05:52:36 +02:00
|
|
|
margin-right: 7px;
|
2016-12-02 09:02:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.download-started-modal__file-path {
|
|
|
|
word-break: break-all;
|
2016-12-29 10:23:28 +01:00
|
|
|
}
|
|
|
|
|
2017-01-13 03:03:34 +01:00
|
|
|
.error-modal {
|
|
|
|
max-width: none;
|
|
|
|
width: 400px;
|
2016-12-23 07:57:01 +01:00
|
|
|
}
|
2017-01-13 03:03:34 +01:00
|
|
|
.error-modal__error-list { /*shitty hack/temp fix for long errors making modals unusable*/
|
2017-01-13 23:18:37 +01:00
|
|
|
border: 1px solid #eee;
|
|
|
|
padding: 8px;
|
|
|
|
list-style: none;
|
2017-01-13 03:03:34 +01:00
|
|
|
max-height: 400px;
|
2017-01-13 23:18:37 +01:00
|
|
|
max-width: 400px;
|
2016-12-23 07:57:01 +01:00
|
|
|
overflow-y: hidden;
|
|
|
|
}
|