mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-30 23:15:28 +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
|
onActiveToggle: React.PropTypes.func.isRequired
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor(props) {
|
|
||||||
super(props)
|
|
||||||
this.state = { hover: false }
|
|
||||||
}
|
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return <div>
|
return <div>
|
||||||
<div className="maputnik-layer-editor-group"
|
<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)}
|
onClick={e => this.props.onActiveToggle(!this.props.isActive)}
|
||||||
>
|
>
|
||||||
<span>{this.props.title}</span>
|
<span>{this.props.title}</span>
|
||||||
|
|
|
@ -39,11 +39,13 @@ h1 {
|
||||||
h2 {
|
h2 {
|
||||||
font-size: $font-size-3;
|
font-size: $font-size-3;
|
||||||
margin-bottom: $margin-3;
|
margin-bottom: $margin-3;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-size: $font-size-4;
|
font-size: $font-size-4;
|
||||||
margin-bottom: $margin-3;
|
margin-bottom: $margin-3;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
padding: $margin-2;
|
padding: $margin-2;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: $font-size-5;
|
font-size: $font-size-5;
|
||||||
color: $color-lowgray;
|
color: $color-white;
|
||||||
display: flex;
|
display: flex;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
@include vendor-prefix(flex-direction, row)
|
@include vendor-prefix(flex-direction, row)
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: $font-size-5;
|
font-size: $font-size-5;
|
||||||
background-color: lighten($color-black, 2);
|
background-color: lighten($color-black, 2);
|
||||||
color: $color-lowgray;
|
color: $color-white;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
padding: $margin-2;
|
padding: $margin-2;
|
||||||
|
|
Loading…
Reference in a new issue