File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.root
22 absolute bottom left right
3- height 24 px
3+ height $statusBar-height
44 border-top $ui-border
55 background-color $ui-backgroundColor
66
7+ .pathname
8+ absolute left
9+ height 24px
10+ overflow ellipsis
11+ width 350px
12+ line-height 24px
13+ font-size 12px
14+ padding 0 15px
15+ color $ui-inactive-text-color
16+
717.zoom
818 navButtonColor ()
919 absolute right
2131 border-width 0 0 0 1px
2232 border-style solid
2333 border-color $ui-borderColor
34+ & :active .update-icon
35+ color white
36+
37+ .update-icon
38+ color $brand-color
Original file line number Diff line number Diff line change @@ -49,14 +49,16 @@ class StatusBar extends React.Component {
4949 }
5050
5151 render ( ) {
52- let { config } = this . props
52+ let { config, location } = this . props
53+
5354 return (
5455 < div className = 'StatusBar'
5556 styleName = 'root'
5657 >
58+ < div styleName = 'pathname' > { location . pathname } </ div >
5759 { this . state . updateAvailable
5860 ? < button onClick = { this . updateApp } styleName = 'update' >
59- < i className = 'fa fa-cloud-download' /> Update is available!
61+ < i styleName = 'update-icon' className = 'fa fa-cloud-download' /> Update is available!
6062 </ button >
6163 : null
6264 }
You can’t perform that action at this time.
0 commit comments