Move highlighting around
This commit is contained in:
@ -10,9 +10,6 @@ a.jobs-list-highlight:hover {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
cursor: hand;
|
cursor: hand;
|
||||||
}
|
}
|
||||||
.jobs-checkbox {
|
|
||||||
text-align: left
|
|
||||||
}
|
|
||||||
|
|
||||||
.jobs-checkbox-spacer input[type="checkbox"] {
|
.jobs-checkbox-spacer input[type="checkbox"] {
|
||||||
margin-left: -23px
|
margin-left: -23px
|
||||||
|
@ -16,7 +16,8 @@ import {
|
|||||||
Col,
|
Col,
|
||||||
Input,
|
Input,
|
||||||
Row,
|
Row,
|
||||||
Panel
|
Panel,
|
||||||
|
Well
|
||||||
} from 'react-bootstrap';
|
} from 'react-bootstrap';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@ -58,7 +59,7 @@ This job can be performed remotely.
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const checkboxClass = dedent`
|
const checkboxClass = dedent`
|
||||||
jobs-checkbox
|
text-left
|
||||||
jobs-checkbox-spacer
|
jobs-checkbox-spacer
|
||||||
col-sm-offset-2
|
col-sm-offset-2
|
||||||
col-sm-6 col-md-offset-3
|
col-sm-6 col-md-offset-3
|
||||||
@ -353,19 +354,42 @@ export default contain({
|
|||||||
wrapperClassName={ inputClass } />
|
wrapperClassName={ inputClass } />
|
||||||
|
|
||||||
<div className='spacer' />
|
<div className='spacer' />
|
||||||
<Input
|
<Well>
|
||||||
checked={ isHighlighted.value }
|
<div>
|
||||||
label={ hightlightCopy }
|
<h2>Make it stand out</h2>
|
||||||
onChange={
|
</div>
|
||||||
({ target: { checked } }) => handleForm({
|
<div className='spacer' />
|
||||||
isHighlighted: !!checked
|
<Row>
|
||||||
})
|
<Col
|
||||||
}
|
md={ 6 }
|
||||||
type='checkbox'
|
mdOffset={ 3 }>
|
||||||
wrapperClassName={ checkboxClass } />
|
Highlight this ad to give it extra attention.
|
||||||
|
<br />
|
||||||
|
Featured listings receive more clicks and more applications.
|
||||||
|
</Col>
|
||||||
|
</Row>
|
||||||
|
<div className='spacer' />
|
||||||
|
<Row>
|
||||||
|
<Input
|
||||||
|
bsSize='large'
|
||||||
|
bsStyle='success'
|
||||||
|
checked={ isHighlighted.value }
|
||||||
|
label={ hightlightCopy }
|
||||||
|
onChange={
|
||||||
|
({ target: { checked } }) => handleForm({
|
||||||
|
isHighlighted: !!checked
|
||||||
|
})
|
||||||
|
}
|
||||||
|
type='checkbox'
|
||||||
|
wrapperClassName={
|
||||||
|
checkboxClass.replace('text-left', '')
|
||||||
|
} />
|
||||||
|
</Row>
|
||||||
|
</Well>
|
||||||
<div className='spacer' />
|
<div className='spacer' />
|
||||||
<Row>
|
<Row>
|
||||||
<Col
|
<Col
|
||||||
|
className='text-left'
|
||||||
lg={ 6 }
|
lg={ 6 }
|
||||||
lgOffset={ 3 }>
|
lgOffset={ 3 }>
|
||||||
<Button
|
<Button
|
||||||
|
Reference in New Issue
Block a user