# All files / components/Input/styles InputRevealPasswordWrapper.js

0% Statements 0/9
0% Branches 0/4
0% Functions 0/1
0% Lines 0/5

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31

     import styled from 'styled-components';
    import get from 'extensions/themeGet';

    const InputRevealPasswordContainer = styled.div`
      position: relative;
      width: 100%;

      div {
        position: absolute;
        right: ${get('spacing.medium')};
        top: 30%;
        z-index: 10;
      }

      input[type='password'],
      input[type='text'] {
        padding-right: ${get('spacing.extraLarge')};
        padding-left: ${get('spacing.medium')};
      }
    `;

    InputRevealPasswordContainer.Small = styled(InputRevealPasswordContainer)`
      input[type='password'],
      input[type='text'] {
        padding: ${get('spacing.small')} ${get('spacing.extraLarge')}
          ${get('spacing.small')} ${get('spacing.small')} !important;
      }
    `;

    export default InputRevealPasswordContainer;