app fixes

This commit is contained in:
Sean Yesmunt 2019-02-13 12:37:50 -04:00
parent 17f9c27196
commit 06c31d1d03
2 changed files with 26 additions and 11 deletions

View file

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

View file

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