Move highlighting around

This commit is contained in:
Berkeley Martinez
2015-10-20 15:30:25 -07:00
parent ac8a1a3f6f
commit 24927748e0
2 changed files with 36 additions and 15 deletions

View File

@ -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

View File

@ -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,7 +354,25 @@ export default contain({
wrapperClassName={ inputClass } /> wrapperClassName={ inputClass } />
<div className='spacer' /> <div className='spacer' />
<Well>
<div>
<h2>Make it stand out</h2>
</div>
<div className='spacer' />
<Row>
<Col
md={ 6 }
mdOffset={ 3 }>
Highlight this ad to give it extra attention.
<br />
Featured listings receive more clicks and more applications.
</Col>
</Row>
<div className='spacer' />
<Row>
<Input <Input
bsSize='large'
bsStyle='success'
checked={ isHighlighted.value } checked={ isHighlighted.value }
label={ hightlightCopy } label={ hightlightCopy }
onChange={ onChange={
@ -362,10 +381,15 @@ export default contain({
}) })
} }
type='checkbox' type='checkbox'
wrapperClassName={ checkboxClass } /> 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