Add hover styles

main
Jake Dexheimer 7 years ago committed by Jake Dexheimer
parent a3a90f99bb
commit de11ff034f

@ -24,6 +24,10 @@ export default props => (
user-select: none;
}
button:hover {
background: ${COLORS.HOVER} !important;
}
button > span {
font-size: 14px;
line-height: 1;

@ -46,6 +46,10 @@ class Dropdown extends React.Component {
border-bottom: 0.5px solid ${COLORS.SECONDARY};
}
.dropdown-list-item:hover {
background: ${COLORS.HOVER};
}
.dropdown-list-item:last-of-type {
border-bottom: none;
border-radius: 0px 0px 2px 2px;
@ -107,6 +111,10 @@ class Dropdown extends React.Component {
z-index: 1;
}
.dropdown-display:hover {
background: ${COLORS.HOVER};
}
.is-visible + .dropdown-list {
display: block;
}

@ -84,6 +84,10 @@ class Settings extends React.Component {
cursor: pointer;
}
.settings-display:hover {
background: ${COLORS.HOVER};
}
.is-visible + .settings-settings {
display: block;
}

@ -324,7 +324,8 @@ export const COLORS = {
BLACK: '#121212',
PRIMARY: '#F8E81C',
SECONDARY: '#fff',
GRAY: '#858585'
GRAY: '#858585',
HOVER: '#1F1F1F'
}
export const DEFAULT_CODE = `const pluckDeep = key => obj => key.split('.').reduce((accum, key) => accum[key], obj)

Loading…
Cancel
Save