Make section headers white #64

This commit is contained in:
Lukas Martinelli 2017-01-11 16:32:31 +01:00
parent 6c56006fbf
commit 76d2d06e77
3 changed files with 4 additions and 9 deletions

View file

@ -26,16 +26,9 @@ export default class LayerEditorGroup extends React.Component {
onActiveToggle: React.PropTypes.func.isRequired
}
constructor(props) {
super(props)
this.state = { hover: false }
}
render() {
return <div>
<div className="maputnik-layer-editor-group"
onMouseOver={e => this.setState({hover: true})}
onMouseOut={e => this.setState({hover: false})}
onClick={e => this.props.onActiveToggle(!this.props.isActive)}
>
<span>{this.props.title}</span>

View file

@ -39,11 +39,13 @@ h1 {
h2 {
font-size: $font-size-3;
margin-bottom: $margin-3;
font-weight: bold;
}
h3 {
font-size: $font-size-4;
margin-bottom: $margin-3;
font-weight: bold;
}
h4 {

View file

@ -7,7 +7,7 @@
padding: $margin-2;
font-weight: bold;
font-size: $font-size-5;
color: $color-lowgray;
color: $color-white;
display: flex;
display: -ms-flexbox;
@include vendor-prefix(flex-direction, row)
@ -77,7 +77,7 @@
font-weight: bold;
font-size: $font-size-5;
background-color: lighten($color-black, 2);
color: $color-lowgray;
color: $color-white;
cursor: pointer;
user-select: none;
padding: $margin-2;