User hover css constant

pull/8/head
Vasek Mlejnsky 6 years ago
parent ef72dbcc90
commit 6c772c6038

@ -2,7 +2,7 @@ import styled, { css } from 'styled-components';
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { TRANSITION_TIME } from 'config/variables'; import { TRANSITION } from 'config/variables';
const Wrapper = styled.div` const Wrapper = styled.div`
height: 100%; height: 100%;
@ -10,7 +10,7 @@ const Wrapper = styled.div`
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
transition: background-color ${TRANSITION_TIME.BASE} ease-in-out, color ${TRANSITION_TIME.BASE} ease-in-out, border-color ${TRANSITION_TIME.BASE} ease-in-out; transition: ${TRANSITION.HOVER};
${props => props.disabled && css` ${props => props.disabled && css`
cursor: not-allowed; cursor: not-allowed;

Loading…
Cancel
Save