Browse Source
- update top bar items container / interactive states - unify selects in settingsmaster
meriadec
7 years ago
4 changed files with 37 additions and 24 deletions
@ -0,0 +1,20 @@ |
|||
// @flow
|
|||
|
|||
import styled from 'styled-components' |
|||
|
|||
import Box from 'components/base/Box' |
|||
|
|||
export default styled(Box).attrs({ |
|||
px: 2, |
|||
ml: 0, |
|||
justifyContent: 'center', |
|||
cursor: p => (p.interactive ? 'pointer' : 'default'), |
|||
})` |
|||
opacity: 0.7; |
|||
&:hover { |
|||
opacity: ${p => (p.interactive ? 0.85 : 0.7)}; |
|||
} |
|||
&:active { |
|||
opacity: ${p => (p.interactive ? 1 : 0.7)}; |
|||
} |
|||
` |
Loading…
Reference in new issue