mirror of
https://github.com/trezor/trezor-wallet
synced 2025-06-19 06:28:46 +00:00
User hover css constant
This commit is contained in:
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…
Reference in New Issue
Block a user