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
|
|
|
|
|
|
|
|
*,
|
|
|
|
*::before,
|
|
|
|
*::after {
|
|
|
|
-webkit-user-select: text;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
@include font-sans;
|
|
|
|
background-color: $lbry-white;
|
|
|
|
font-size: 12px;
|
|
|
|
height: 100%;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
color: $lbry-black;
|
|
|
|
cursor: default;
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: 400;
|
|
|
|
height: 100%;
|
|
|
|
line-height: 1.5;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
html[data-mode='dark'] & {
|
2018-12-19 06:44:53 +01:00
|
|
|
color: mix($lbry-white, $lbry-gray-3, 50%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
*::selection {
|
|
|
|
background-color: $lbry-teal-3;
|
|
|
|
color: $lbry-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.columns {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
> * {
|
|
|
|
flex-basis: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
&:not(:last-of-type) {
|
|
|
|
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;
|
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-02-13 17:27:20 +01:00
|
|
|
html[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 {
|
2019-02-13 17:27:20 +01:00
|
|
|
font-size: 0.9em;
|
2018-12-19 06:44:53 +01:00
|
|
|
background-color: rgba($lbry-blue-1, 0.1);
|
|
|
|
color: $lbry-gray-5;
|
|
|
|
display: block;
|
|
|
|
padding: 1rem;
|
2019-01-22 19:29:45 +01:00
|
|
|
margin-top: var(--spacing-vertical-large);
|
2019-01-11 17:34:36 +01:00
|
|
|
margin-bottom: var(--spacing-vertical-large);
|
2018-12-19 06:44:53 +01:00
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
html[data-mode='dark'] & {
|
2018-12-19 06:44:53 +01:00
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
.help--warning {
|
|
|
|
background-color: $lbry-yellow-3;
|
|
|
|
color: $lbry-black;
|
|
|
|
|
2019-02-20 06:20:29 +01:00
|
|
|
.button--link:not(:disabled) {
|
2019-02-13 17:27:20 +01:00
|
|
|
// The normal colors we use for .button--link are too light for the warning background
|
|
|
|
// This just darkens them a bit and adds an border-bottom so they are easier to see.
|
|
|
|
$altered-color: mix($lbry-teal-5, $lbry-black, 80%);
|
|
|
|
$altered-hover-color: mix($lbry-teal-5, $lbry-black, 60%);
|
|
|
|
|
|
|
|
&:not(.button--disabled) {
|
|
|
|
color: $altered-color;
|
|
|
|
border-bottom: 1px solid $altered-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $altered-hover-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
html[data-mode='dark'] & {
|
|
|
|
color: $altered-color;
|
|
|
|
border-bottom: 1px solid $altered-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $altered-hover-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
html[data-mode='dark'] & {
|
|
|
|
background-color: $lbry-yellow-4;
|
|
|
|
color: $lbry-black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-19 06:44:53 +01:00
|
|
|
.meta {
|
|
|
|
color: $lbry-gray-1;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.empty {
|
|
|
|
color: $lbry-gray-5;
|
|
|
|
font-style: italic;
|
|
|
|
|
2019-02-13 17:27:20 +01:00
|
|
|
html[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;
|
|
|
|
}
|