Merge branch 'config-buttons' into 'develop'
SoapboxConfig: button styles See merge request soapbox-pub/soapbox-fe!288
This commit is contained in:
commit
2a077aca84
2 changed files with 15 additions and 2 deletions
|
@ -267,7 +267,7 @@ class SoapboxConfig extends ImmutablePureComponent {
|
|||
</div>
|
||||
))
|
||||
}
|
||||
<div className='actions'>
|
||||
<div className='actions add-row'>
|
||||
<div name='button' type='button' role='presentation' className='btn button button-secondary' onClick={this.handleAddItem(['promoPanel', 'items'], templates.promoPanelItem)}>
|
||||
<Icon id='plus-circle' />
|
||||
<FormattedMessage id='soapbox_config.fields.promo_panel.add' defaultMessage='Add new Promo panel item' />
|
||||
|
@ -300,7 +300,7 @@ class SoapboxConfig extends ImmutablePureComponent {
|
|||
</div>
|
||||
))
|
||||
}
|
||||
<div className='actions'>
|
||||
<div className='actions add-row'>
|
||||
<div name='button' type='button' role='presentation' className='btn button button-secondary' onClick={this.handleAddItem(['navlinks', 'homeFooter'], templates.footerItem)}>
|
||||
<Icon id='plus-circle' />
|
||||
<FormattedMessage id='soapbox_config.fields.home_footer.add' defaultMessage='Add new Home Footer Item' />
|
||||
|
|
|
@ -750,3 +750,16 @@ code {
|
|||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.actions.add-row {
|
||||
margin: 10px 0 0;
|
||||
|
||||
.button {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
|
||||
&:hover {
|
||||
color: var(--primary-text-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue