# All files / components/Note/styles NoteCorner.js

0% Statements 0/7
0% Branches 0/4
0% Functions 0/1
0% Lines 0/2

    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
    40
    41
    42
    43

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

    export default styled.div`
      background: inherit;
      width: 1em;
      height: calc(100% - 1em + 2px);
      border-color: ${get('colors.border.medium')};
      border-width: ${get('thicknesses.normal')};
      border-style: solid;
      border-left: 0;
      position: absolute;
      top: -1px;
      right: -1em;

      &:before {
        content: '';
        height: 0;
        width: 0;
        border-width: 0.5em;
        border-color: ${get('colors.border.medium')} transparent transparent
          ${get('colors.border.medium')};
        border-style: solid;
        position: absolute;
        bottom: calc(-1em - 1px);
        left: 0;
        box-shadow: 0 -1px 0 ${get('colors.border.medium')};
      }

      &:after {
        content: '';
        height: 0;
        width: 0;
        border-width: calc(0.5em - 1px);
        border-color: ${get('colors.background.default')} transparent transparent
          ${get('colors.background.default')};
        border-style: solid;
        position: absolute;
        bottom: calc(-1em + 1px);
        left: 1px;
      }
    `;