mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Fix ListItemEditionWidget spinner's colour
This commit is contained in:
parent
9d02877363
commit
5a6026d0ca
@ -78,7 +78,6 @@ let AccordionListItemEditionWidget = React.createClass({
|
||||
return (
|
||||
<AscribeSpinner
|
||||
size='sm'
|
||||
color='white'
|
||||
classNames='pull-right margin-left-2px'/>
|
||||
);
|
||||
} else {
|
||||
|
@ -7,26 +7,26 @@ let AscribeSpinner = React.createClass({
|
||||
propTypes: {
|
||||
classNames: React.PropTypes.string,
|
||||
size: React.PropTypes.oneOf(['sm', 'md', 'lg']),
|
||||
color: React.PropTypes.oneOf(['blue', 'dark-blue', 'light-blue', 'pink', 'black', 'loop'])
|
||||
color: React.PropTypes.oneOf(['black', 'blue', 'dark-blue', 'light-blue', 'pink', 'white', 'loop'])
|
||||
},
|
||||
|
||||
getDefaultProps() {
|
||||
return {
|
||||
inline: false,
|
||||
size: 'md',
|
||||
color: 'loop'
|
||||
size: 'md'
|
||||
};
|
||||
},
|
||||
|
||||
render() {
|
||||
const { classNames: classes, color, size } = this.props;
|
||||
|
||||
return (
|
||||
<div
|
||||
className={
|
||||
classNames('spinner-wrapper-' + this.props.size,
|
||||
'spinner-wrapper-' + this.props.color,
|
||||
this.props.classNames)}>
|
||||
<div className={classNames('spinner-circle')}></div>
|
||||
<div className={classNames('spinner-inner')}>A</div>
|
||||
className={classNames('spinner-wrapper-' + size,
|
||||
color ? 'spinner-wrapper-' + color : null,
|
||||
classes)}>
|
||||
<div className='spinner-circle' />
|
||||
<div className='spinner-inner'>A</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -52,6 +52,13 @@ $ascribe--spinner-size-sm: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.spinner-wrapper-white {
|
||||
color: $ascribe-white;
|
||||
.spinner-circle {
|
||||
border-color: $ascribe-white;
|
||||
}
|
||||
}
|
||||
|
||||
.spinner-wrapper-lg {
|
||||
width: $ascribe--spinner-size-lg;
|
||||
height: $ascribe--spinner-size-lg;
|
||||
|
@ -331,6 +331,9 @@ $vivi23--highlight-color: #de2600;
|
||||
.spinner-inner {
|
||||
display: none;
|
||||
}
|
||||
.btn-secondary .spinner-circle {
|
||||
border-color: $vivi23--bg-color;
|
||||
}
|
||||
|
||||
// video player
|
||||
.ascribe-media-player .vjs-default-skin {
|
||||
|
Loading…
Reference in New Issue
Block a user