publish layout cleanup
This commit is contained in:
parent
d8e4e2437a
commit
37d3515fa8
3 changed files with 13 additions and 8 deletions
1
ui/dist/themes/dark.css
vendored
1
ui/dist/themes/dark.css
vendored
|
@ -17,7 +17,6 @@
|
|||
|
||||
/* Input */
|
||||
--input-bg: transparent;
|
||||
--input-active-bg: rgba(0,0,0, 0.5);
|
||||
--input-border-color: rgba(255,255,255, 0.25);
|
||||
|
||||
/* Search */
|
||||
|
|
|
@ -636,15 +636,12 @@ class PublishForm extends React.PureComponent {
|
|||
|
||||
<section className="card">
|
||||
<div className="card__title-primary">
|
||||
<h4>{__("Access")}</h4>
|
||||
<h4>{__("Price")}</h4>
|
||||
<div className="card__subtitle">
|
||||
{__("How much does this content cost?")}
|
||||
</div>
|
||||
</div>
|
||||
<div className="card__content">
|
||||
<div className="form-row__label-row">
|
||||
<label className="form-row__label">{__("Price")}</label>
|
||||
</div>
|
||||
<FormRow
|
||||
label={__("Free")}
|
||||
type="radio"
|
||||
|
@ -675,8 +672,17 @@ class PublishForm extends React.PureComponent {
|
|||
)}
|
||||
</div>
|
||||
: null}
|
||||
</div>
|
||||
</section>
|
||||
<section className="card">
|
||||
<div className="card__title-primary">
|
||||
<h4>{__("License")}</h4>
|
||||
<div className="card__subtitle">
|
||||
{__("Rights and permissions")}
|
||||
</div>
|
||||
</div>
|
||||
<div className="card__content">
|
||||
<FormRow
|
||||
label="License"
|
||||
type="select"
|
||||
value={this.state.licenseType}
|
||||
ref={row => {
|
||||
|
@ -686,7 +692,7 @@ class PublishForm extends React.PureComponent {
|
|||
this.handleLicenseTypeChange(event);
|
||||
}}
|
||||
>
|
||||
<option />
|
||||
<option>{__("None")}</option>
|
||||
<option value="publicDomain">{__("Public Domain")}</option>
|
||||
<option
|
||||
value="cc-by"
|
||||
|
|
|
@ -130,7 +130,7 @@ input[readonly]:focus {
|
|||
}
|
||||
|
||||
.form-field__label, .form-row__label {
|
||||
color: var(--color-help);
|
||||
color: var(--color-label);
|
||||
&[for] { cursor: pointer; }
|
||||
> input[type="checkbox"], input[type="radio"] {
|
||||
margin-right: 6px;
|
||||
|
|
Loading…
Add table
Reference in a new issue