# All files / components/DragContainer/styles Container.js

0% Statements 0/11
0% Branches 0/8
0% Functions 0/3
0% Lines 0/4

    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

     import get from 'extensions/themeGet';
    import styled, { css } from 'styled-components';

    export default styled.div`
      position: relative;
      ${
        '' /* padding: 20px;
      border: 1px solid
        ${({ isDragging }) =>
          isDragging
            ? get('colors.background.disabled')
            : get('colors.border.medium')}; */
      }
      background-color: ${({ isDragging }) =>
        isDragging
          ? get('colors.background.disabled')
          : get('colors.background.default')};

      ${({ isDragging }) =>
        isDragging &&
        css`
          cursor: move;
          pointer-events: all;
        `}
    `;