mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-29 22:54:39 +01:00
Make section headers white #64
This commit is contained in:
parent
6c56006fbf
commit
76d2d06e77
3 changed files with 4 additions and 9 deletions
|
@ -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>
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue