Added pressed state to window buttons on windows / linux (#985)

* Added pressed state to window buttons on windows / linux

* Removed transition causing flicker

* Do not reset color on close button while not hovering but active
This commit is contained in:
Levin Rickert 2016-11-19 19:05:53 +01:00 committed by Timothy
parent 039729221f
commit 638725fea6

View file

@ -232,10 +232,14 @@ export default class Header extends Component {
height: '34px',
padding: '12px 15px 12px 15px',
WebkitAppRegion: 'no-drag',
color: '#808080',
color: '#FFFFFF',
opacity: 0.5,
shapeRendering: 'crispEdges',
':hover': {
color: '#FFFFFF'
opacity: 1
},
':active': {
opacity: 0.3
}
},
@ -268,7 +272,7 @@ export default class Header extends Component {
maximizeWindowLeft: {order: 3},
closeWindow: {':hover': {color: '#FE354E'}}
closeWindow: {':hover': {color: '#FE354E'}, ':active': {color: '#FE354E'}}
};
}