1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Brighten dropdown menu item\'s text

This commit is contained in:
sdtsui 2017-07-13 22:39:44 -07:00
parent 1507da139d
commit d01b5c927d

View File

@ -21,7 +21,16 @@ class Dropdown extends Component {
boxShadow: 'rgba(0, 0, 0, 0.15) 0px 2px 2px 2px', boxShadow: 'rgba(0, 0, 0, 0.15) 0px 2px 2px 2px',
}, },
}, },
children, [
h(
'style',
`
li.dropdown-menu-item:hover { color:rgb(225, 225, 225); }
li.dropdown-menu-item { color: rgb(185, 185, 185); }
`
),
...children,
],
); );
} }
} }
@ -38,7 +47,7 @@ class DropdownMenuItem extends Component {
const { onClick, closeMenu, children } = this.props; const { onClick, closeMenu, children } = this.props;
return h( return h(
'li', 'li.dropdown-menu-item',
{ {
onClick, onClick,
closeMenu, closeMenu,
@ -48,7 +57,6 @@ class DropdownMenuItem extends Component {
fontSize: '12px', fontSize: '12px',
fontStyle: 'normal', fontStyle: 'normal',
fontFamily: 'Montserrat Regular', fontFamily: 'Montserrat Regular',
color: 'rgb(185, 185, 185)',
cursor: 'pointer', cursor: 'pointer',
display: 'flex', display: 'flex',
justifyContent: 'flex-start', justifyContent: 'flex-start',