2018-12-19 06:44:53 +01:00
|
|
|
// Generic html styles used accross the App
|
|
|
|
// component specific styling should go in the component scss file
|
|
|
|
|
2019-07-21 23:31:22 +02:00
|
|
|
*::selection {
|
|
|
|
background-color: $lbry-teal-3;
|
|
|
|
color: $lbry-white;
|
|
|
|
}
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
html {
|
|
|
|
@include font-sans;
|
2019-06-28 09:33:07 +02:00
|
|
|
|
2019-07-21 23:31:22 +02:00
|
|
|
font-size: 14px;
|
2018-12-19 06:44:53 +01:00
|
|
|
height: 100%;
|
2019-07-17 22:49:06 +02:00
|
|
|
min-height: 100%;
|
2018-12-19 06:44:53 +01:00
|
|
|
overflow-x: hidden;
|
2019-06-29 00:21:21 +02:00
|
|
|
|
|
|
|
&[data-mode='dark'] {
|
2019-07-01 20:42:32 +02:00
|
|
|
background-color: var(--dm-color-08);
|
2019-06-29 00:21:21 +02:00
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
color: $lbry-black;
|
|
|
|
cursor: default;
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1.5;
|
2019-09-26 18:07:11 +02:00
|
|
|
background-color: var(--color-background);
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-06-29 00:21:21 +02:00
|
|
|
[data-mode='dark'] & {
|
2019-07-01 20:42:32 +02:00
|
|
|
background-color: var(--dm-color-08);
|
|
|
|
color: var(--dm-color-01);
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-21 23:31:22 +02:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: var(--font-body);
|
|
|
|
}
|
|
|
|
|
2019-09-26 18:07:11 +02:00
|
|
|
ul,
|
|
|
|
ol {
|
2019-07-21 23:31:22 +02:00
|
|
|
list-style: initial;
|
|
|
|
|
|
|
|
li {
|
2019-09-26 18:07:11 +02:00
|
|
|
list-style-position: outside;
|
2019-09-27 22:03:05 +02:00
|
|
|
margin: var(--spacing-medium);
|
|
|
|
margin-bottom: 0;
|
2019-07-21 23:31:22 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ul--no-style {
|
|
|
|
list-style: none;
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
2019-09-30 23:48:30 +02:00
|
|
|
dl {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
2019-10-03 23:40:54 +02:00
|
|
|
overflow-x: visible;
|
2019-09-30 23:48:30 +02:00
|
|
|
margin-top: var(--spacing-medium);
|
|
|
|
}
|
|
|
|
|
|
|
|
dt {
|
|
|
|
flex-basis: 40%;
|
|
|
|
text-align: left;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
flex-basis: 55%;
|
|
|
|
flex-grow: 1;
|
|
|
|
margin: 0;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
dt,
|
|
|
|
dd {
|
|
|
|
padding: var(--spacing-medium) var(--spacing-small);
|
|
|
|
|
|
|
|
border-top: 1px solid $lbry-gray-1;
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
border-bottom: 1px solid $lbry-gray-1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-02 08:28:14 +02:00
|
|
|
input,
|
|
|
|
label {
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
blockquote {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
padding: 0.8rem;
|
|
|
|
|
|
|
|
background-color: rgba($lbry-cyan-1, 0.1);
|
|
|
|
border-left: 0.5rem solid $lbry-cyan-5;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
@include font-mono;
|
|
|
|
background-color: $lbry-gray-1;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
|
2019-06-29 00:21:21 +02:00
|
|
|
hr {
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
background-color: $lbry-gray-1;
|
|
|
|
|
|
|
|
[data-mode='dark'] & {
|
2019-07-01 20:42:32 +02:00
|
|
|
background-color: var(--dm-color-04);
|
2019-06-29 00:21:21 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-14 18:31:34 +02:00
|
|
|
img,
|
|
|
|
a {
|
|
|
|
-webkit-user-drag: none;
|
|
|
|
}
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
.columns {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2019-07-21 23:31:22 +02:00
|
|
|
align-items: flex-start;
|
2019-08-27 16:43:42 +02:00
|
|
|
flex-wrap: wrap;
|
2018-12-19 06:44:53 +01:00
|
|
|
|
|
|
|
> * {
|
|
|
|
flex-grow: 1;
|
2019-06-17 22:32:38 +02:00
|
|
|
flex-basis: 0;
|
2019-08-27 16:43:42 +02:00
|
|
|
min-width: 15rem;
|
|
|
|
margin-bottom: var(--spacing-large);
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-06-17 22:32:38 +02:00
|
|
|
&:first-child {
|
2018-12-19 06:44:53 +01:00
|
|
|
margin-right: 1.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.divider__horizontal {
|
|
|
|
border-top: $lbry-gray-2;
|
|
|
|
margin: 16px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.disabled {
|
|
|
|
opacity: 0.3;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.column__item:not(:first-child) {
|
|
|
|
padding-left: $spacing-width * 2/3;
|
2019-02-13 17:27:20 +01:00
|
|
|
flex: 1;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.truncated-text {
|
2019-02-18 18:24:56 +01:00
|
|
|
display: -webkit-box;
|
|
|
|
overflow: hidden;
|
|
|
|
-webkit-box-orient: vertical;
|
2019-02-21 23:45:17 +01:00
|
|
|
word-break: break-word;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.busy-indicator__loader {
|
|
|
|
min-width: 16px;
|
|
|
|
min-height: 8px;
|
|
|
|
margin: -1rem 0;
|
|
|
|
padding: 0 30px;
|
|
|
|
|
|
|
|
background: url('../../../static/img/busy.gif') no-repeat center center;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
padding-left: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
padding-right: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-text {
|
|
|
|
color: $lbry-red-3;
|
|
|
|
font-weight: 600;
|
|
|
|
|
2019-06-29 00:21:21 +02:00
|
|
|
[data-mode='dark'] & {
|
2018-12-19 06:44:53 +01:00
|
|
|
color: $lbry-red-1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-11 17:34:36 +01:00
|
|
|
.card {
|
2019-02-13 17:27:20 +01:00
|
|
|
.help:last-child {
|
2019-01-11 17:34:36 +01:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
.help {
|
|
|
|
display: block;
|
2019-07-21 23:31:22 +02:00
|
|
|
font-size: var(--font-label);
|
|
|
|
color: lighten($lbry-gray-5, 10%);
|
|
|
|
margin-top: var(--spacing-small);
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-06-29 00:21:21 +02:00
|
|
|
[data-mode='dark'] & {
|
2019-07-21 23:31:22 +02:00
|
|
|
color: $lbry-gray-5;
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
.help--warning {
|
2019-07-21 23:31:22 +02:00
|
|
|
background-color: $lbry-yellow-1;
|
2019-02-13 17:27:20 +01:00
|
|
|
|
2019-06-29 00:21:21 +02:00
|
|
|
[data-mode='dark'] & {
|
2019-02-13 17:27:20 +01:00
|
|
|
color: $lbry-black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
.empty {
|
|
|
|
color: $lbry-gray-5;
|
|
|
|
font-style: italic;
|
|
|
|
|
2019-06-29 00:21:21 +02:00
|
|
|
[data-mode='dark'] & {
|
2018-12-19 06:44:53 +01:00
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.qr-code {
|
|
|
|
width: 134px;
|
|
|
|
height: 134px;
|
|
|
|
border: 3px solid $lbry-white;
|
|
|
|
|
|
|
|
&.qr-code--right-padding {
|
|
|
|
margin-right: $spacing-vertical * 2/3;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.qr-code--top-padding {
|
|
|
|
margin-top: $spacing-vertical * 2/3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-text {
|
|
|
|
color: $lbry-red-5;
|
2019-02-20 06:20:29 +01:00
|
|
|
|
|
|
|
[data-mode='dark'] & {
|
|
|
|
color: $lbry-red-3;
|
|
|
|
}
|
2018-12-19 06:44:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail-preview {
|
|
|
|
width: var(--thumbnail-preview-width);
|
|
|
|
height: var(--thumbnail-preview-height);
|
|
|
|
|
|
|
|
background-position: 50% 50%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: cover;
|
|
|
|
}
|
2019-06-29 00:21:21 +02:00
|
|
|
|
|
|
|
fieldset,
|
|
|
|
.fieldset {
|
|
|
|
[data-mode='dark'] & {
|
2019-07-01 20:42:32 +02:00
|
|
|
border-top-color: var(--dm-color-04);
|
2019-06-29 00:21:21 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
legend {
|
|
|
|
[data-mode='dark'] & {
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
}
|