Merge branch 'master' into newcopyedits

This commit is contained in:
Sean Yesmunt 2018-10-24 00:54:16 -04:00 committed by GitHub
commit 3798ca0444
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 36 deletions

View file

@ -10,10 +10,11 @@ However, for those individuals who want a bit more guidance on the best way to c
* [Here](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+no%3Aassignee) * [Here](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+no%3Aassignee)
is a list of help wanted issues. is a list of help wanted issues.
* Comment on an issue to let us know if you are going to work on it, don't take an issue that * Comment on an issue to let us know if you are going to work on it, don't take an issue that someone reserved less than 3 days ago.
someone reserved less than 3 days ago.
* Submit a pull request and get paid in LBC. * Submit a pull request and get paid in LBC.
* Don't hesitate to contact us with any questions or comments. * Don't hesitate to contact us with any questions or comments.
* [Check out this video for a quickstart guide to running and developing the desktop app](https://spee.ch/7da73fc508ffc4ff8b2711e3c3950110430b0c5f/LBRYAppDesign.mp4).
## Choose an Issue ## Choose an Issue

View file

@ -354,23 +354,25 @@ class PublishForm extends React.PureComponent<Props> {
return ( return (
<Form onSubmit={this.handlePublish}> <Form onSubmit={this.handlePublish}>
<section className={classnames('card card--section', { 'card--disabled': publishing })}> <section className={classnames('card card--section', { 'card--disabled': publishing })}>
<div className="card__title">{__('Content')}</div> <div className="card__title card--space-between">
{__('Content')}
{(filePath || !!editingURI) && (
<div className="card__actions-top-corner">
<Button
button="inverse"
icon={icons.CLOSE}
label={__('Clear')}
onClick={clearPublish}
/>
</div>
)}
</div>
<div className="card__subtitle"> <div className="card__subtitle">
{isStillEditing ? __('Editing a claim') : __('What are you publishing?')}{' '} {isStillEditing ? __('Editing a claim') : __('What are you publishing?')}{' '}
{__('Read our')}{' '} {__('Read our')}{' '}
<Button button="link" label={__('FAQ')} href="https://lbry.io/faq/how-to-publish" />{' '} <Button button="link" label={__('FAQ')} href="https://lbry.io/faq/how-to-publish" />{' '}
{__('to learn more.')} {__('to learn more.')}
</div> </div>
{(filePath || !!editingURI) && (
<div className="card-media__internal-links">
<Button
button="inverse"
icon={icons.CLOSE}
label={__('Clear')}
onClick={clearPublish}
/>
</div>
)}
<div className="card__content"> <div className="card__content">
<FileSelector currentPath={filePath} onFileChosen={this.handleFileChange} /> <FileSelector currentPath={filePath} onFileChosen={this.handleFileChange} />
{!!isStillEditing && {!!isStillEditing &&

View file

@ -36,24 +36,6 @@
cursor: pointer; cursor: pointer;
} }
.card__media {
background-color: $lbry-gray-3;
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: cover;
}
.card__media--no-img {
align-items: center;
display: flex;
justify-content: center;
position: relative;
}
.card__media--nsfw {
background-color: $lbry-red-5;
}
.card--pending { .card--pending {
opacity: 0.5; opacity: 0.5;
} }
@ -85,6 +67,24 @@
} }
} }
.card__media {
background-color: $lbry-gray-3;
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: cover;
}
.card__media--no-img {
align-items: center;
display: flex;
justify-content: center;
position: relative;
}
.card__media--nsfw {
background-color: $lbry-red-5;
}
.card__actions { .card__actions {
display: flex; display: flex;
margin-top: $spacing-vertical * 2/3; margin-top: $spacing-vertical * 2/3;
@ -227,12 +227,12 @@
.card__subtitle { .card__subtitle {
color: $lbry-gray-5; color: $lbry-gray-5;
font-size: 1em; font-size: .9em;
line-height: 1em; line-height: .9em;
padding-top: $spacing-vertical * 1/3; padding-top: $spacing-vertical * 1/3;
@media (min-width: $large-breakpoint) { @media (min-width: $large-breakpoint) {
font-size: 1.2em; font-size: 1em;
} }
} }
@ -277,11 +277,11 @@
.card__title--file-card { .card__title--file-card {
// FileCard is slightly different where the title is only slightly bigger than the subtitle // FileCard is slightly different where the title is only slightly bigger than the subtitle
// Slightly bigger than 2 lines for consistent channel placement // Slightly bigger than 2 lines for consistent channel placement
font-size: 1.1em; font-size: 1em;
height: 3.3em; height: 3.3em;
@media only screen and (min-width: $large-breakpoint) { @media only screen and (min-width: $large-breakpoint) {
font-size: 1.3em; font-size: 1.1em;
} }
} }