# All files / behaviors/ScrollShadow Sentinel.js

0% Statements 0/9
0% Branches 0/12
0% Functions 0/5
0% Lines 0/5

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20

     import styled from 'styled-components';

    export default styled.div`
      height: ${props => (props.debugShow ? '1px' : '0px')};
      width: ${props => (props.debugShow ? '100%' : 'auto')};
      background: ${props => (props.debugShow ? 'red' : 'transparent')};
      z-index: ${props => (props.debugShow ? '100000' : '0')};
      position: absolute;

      &.global.top {
        position: absolute;
        top: 0;
      }

      &.global.bottom {
        position: absolute;
        bottom: 0;
      }
    `;