# All files / components/Cards OldCards.js

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3

    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
    32
    33
    34
    35
    36
    37
    38
    39

    5x

    5x

    5x

     import styled from 'styled-components';
    import themeGet from 'extensions/themeGet';
    import Card from './Card';

    const Cards = styled.div`
      display: flex;

      & > * {
        margin: ${themeGet('spacing.medium')};
        border-radius: 5px;
        box-shadow: ${themeGet('shadows.long')};
      }
     `;

    Cards.Connected = Cards.extend`
      & > * {
        margin: 0;
        border-radius: 0px;
        border-color: ${themeGet('colors.border.medium')};
        border-right-width: ${themeGet('thicknesses.normal')};
        border-style: solid;
      }

      & > *:first-child {
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        border-left-width: ${themeGet('thicknesses.normal')};
      }

      & > *:last-child {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
      }
    `;

    Cards.Card = Card;

    export default Cards;