Changes for lbry-desktop #5

Merged
neb-b merged 3 commits from app-fixes into master 2019-02-14 00:33:40 +01:00
2 changed files with 21 additions and 8 deletions

View file

@ -16,10 +16,10 @@
.badge--cost:not(.badge--large) { .badge--cost:not(.badge--large) {
background-color: $lbry-yellow-2; background-color: $lbry-yellow-2;
color: $lbry-black;
[data-mode="dark"] & { [data-mode="dark"] & {
background-color: $lbry-yellow-3; background-color: $lbry-yellow-3;
color: $lbry-black;
} }
} }
@ -33,7 +33,7 @@
} }
.badge--large { .badge--large {
font-size: 5rem; font-size: 4rem;
line-height: 1; line-height: 1;
} }
@ -50,3 +50,8 @@
background-color: $lbry-teal-5; background-color: $lbry-teal-5;
color: $lbry-white; color: $lbry-white;
} }
.badge--alert {
background-color: $lbry-red-2;
color: $lbry-white;
}

View file

@ -1,23 +1,33 @@
form { form {
// setting the font size here sizes everything within // setting the font size here sizes everything within
&:not(:last-child) {
margin-bottom: var(--spacing-s); margin-bottom: var(--spacing-s);
}
button, button:not(.button--link),
input, input,
select { select {
height: var(--spacing-l); height: var(--spacing-l);
border: 1px solid; border: 1px solid;
} }
checkbox-element,
radio-element,
select {
cursor: pointer;
}
[type="email"], [type="email"],
[type="number"],
[type="password"]
[type="text"] { [type="text"] {
padding-right: var(--spacing-s); padding-right: var(--spacing-s);
padding-left: var(--spacing-s); padding-left: var(--spacing-s);
transition: border 0.2s; transition: border 0.2s;
} }
[type="button"], [type="submit"],
[type="submit"] { .button--primary {
color: $lbry-white; color: $lbry-white;
padding-right: var(--spacing-m); padding-right: var(--spacing-m);
padding-left: var(--spacing-m); padding-left: var(--spacing-m);
@ -218,8 +228,6 @@ radio-toggle {
} }
} }
// Custom elements are apparently difficult to use in React, so use classes // Custom elements are apparently difficult to use in React, so use classes
.checkbox-element { .checkbox-element {