css cleanup

This commit is contained in:
Sean Yesmunt 2019-10-01 17:05:23 -04:00
parent 6843d5ca07
commit ef816608ab
5 changed files with 38 additions and 33 deletions

View file

@ -34,7 +34,7 @@ function PublishFile(props: Props) {
icon={ICONS.PUBLISH}
disabled={disabled || balance === 0}
title={isStillEditing ? __('Edit') : __('Publish')}
subtitle={__('You are currently editing a claim.')}
subtitle={isStillEditing ? __('You are currently editing a claim.') : __('Jeremy please change this.')}
actions={
<React.Fragment>
<FileSelector currentPath={filePath} onFileChosen={handleFileChange} />

View file

@ -18,12 +18,6 @@ form {
}
}
textarea {
&::placeholder {
opacity: 0.4;
}
}
// lbry/components overrides and minor styles
// Some items have very specific styling
// This is because many styles inside `lbry/components/sass/form/` are very specific
@ -49,6 +43,7 @@ textarea {
[data-mode='dark'] & {
&::placeholder {
opacity: 0.4;
color: $lbry-white;
}
}
}
@ -63,6 +58,7 @@ textarea {
[data-mode='dark'] & {
background-color: var(--dm-color-02);
border-color: $lbry-black;
}
}
@ -177,15 +173,6 @@ fieldset-group {
width: 0;
}
fieldset-section:first-child .form-field__prefix,
fieldset-section:last-child input {
border-color: $lbry-black;
[data-mode='dark'] {
border-color: $lbry-gray-4;
}
}
fieldset-section:first-child {
.form-field__prefix {
white-space: nowrap;
@ -201,7 +188,9 @@ fieldset-group {
background-color: $lbry-white;
[data-mode='dark'] & {
border-color: $lbry-gray-4;
background-color: var(--dm-color-02);
border-color: $lbry-gray-2;
color: $lbry-gray-1;
}
}
}
@ -289,8 +278,6 @@ fieldset-section {
background-size: 1.2rem;
[data-mode='dark'] & {
background-color: transparent;
option {
background-color: $lbry-gray-5;
}
@ -304,10 +291,10 @@ fieldset-section {
color: $lbry-white;
}
input:not(:focus):not(.form-field--copyable),
textarea:not(:focus),
select:not(:focus) {
border-color: var(--dm-color-04);
input:not(.form-field--copyable),
textarea,
select {
border-color: var(--dm-color-01);
}
}
}

View file

@ -31,6 +31,7 @@
@extend .section__flex;
flex-wrap: wrap;
margin-bottom: var(--spacing-large);
overflow-x: visible;
& > * {
margin-bottom: var(--spacing-large);

View file

@ -284,12 +284,3 @@ legend {
border-color: transparent;
}
}
checkbox-toggle,
.checkbox-toggle,
radio-toggle,
.radio-toggle {
[data-mode='dark'] & {
border-color: var(--dm-color-04);
}
}

View file

@ -768,5 +768,31 @@
"Claim Channel": "Claim Channel",
"auth": "auth",
"Your videos are currently being transferred. .": "Your videos are currently being transferred. .",
"Please check back later.": "Please check back later."
"Please check back later.": "Please check back later.",
"Available Balance": "Available Balance",
"Earned From Tips": "Earned From Tips",
"LBC Currently Staked": "LBC Currently Staked",
"Your Supports": "Your Supports",
"Add Tags": "Add Tags",
"Jeremy please change this": "Jeremy please change this",
"Jeremy please change this.": "Jeremy please change this.",
"Extra Verification Needed": "Extra Verification Needed",
"We weren't able to auto-approve you for rewards. Please complete one of the steps below to unlock them.": "We weren't able to auto-approve you for rewards. Please complete one of the steps below to unlock them.",
"Proof via Text": "Proof via Text",
"Verify Phone Number": "Verify Phone Number",
"OR": "OR",
"Proof via Credit": "Proof via Credit",
"If you have a valid credit or debit card, you can use it to instantly prove your humanity. LBRY does not store your credit card information. There is no charge at all for this, now or in the future.": "If you have a valid credit or debit card, you can use it to instantly prove your humanity. LBRY does not store your credit card information. There is no charge at all for this, now or in the future.",
"Verify Card": "Verify Card",
"Read more": "Read more",
"Proof via Chat": "Proof via Chat",
"A moderator capable of approving you is typically available in the discord server. Check out the #rewards-approval channel for more information. This process will likely involve providing proof of a stable and established online or real-life identity.": "A moderator capable of approving you is typically available in the discord server. Check out the #rewards-approval channel for more information. This process will likely involve providing proof of a stable and established online or real-life identity.",
"We're friendly. We promise.": "We're friendly. We promise.",
"A channel is your identity on the LBRY network.": "A channel is your identity on the LBRY network.",
"You can have more than one or change this later.": "You can have more than one or change this later.",
"Your Channel": "Your Channel",
"channel": "channel",
"Create": "Create",
"Use this address to receive LBC.": "Use this address to receive LBC.",
"Not a valid LBRY address": "Not a valid LBRY address"
}