'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _styledComponents = require('styled-components');

var _styledComponents2 = _interopRequireDefault(_styledComponents);

var _themeGet = require('../../extensions/themeGet');

var _themeGet2 = _interopRequireDefault(_themeGet);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var ShadowOverlay = _styledComponents2.default.div.withConfig({
  displayName: 'ShadowOverlay'
})(['transition:0.05s ease box-shadow;position:', ';z-index:', ';top:0;left:0;right:0;bottom:0;pointer-events:none;&.outer.top{box-shadow:0 -15px 10px -10px transparent,0 15px 10px -10px ', ';}&.outer.bottom{box-shadow:0 -15px 10px -10px ', ',0 15px 10px -10px transparent;}&.outer.both{box-shadow:0 -15px 10px -10px ', ',0 15px 10px -10px ', ';}&.inner.top{box-shadow:inset 0 -15px 10px -10px transparent,inset 0 15px 10px -10px ', ';}&.inner.bottom{box-shadow:inset 0 -15px 10px -10px ', ',inset 0 15px 10px -10px transparent;}&.inner.both{box-shadow:inset 0 -15px 10px -10px ', ',inset 0 15px 10px -10px ', ';}'], function (props) {
  return props.entireViewport ? 'fixed' : 'absolute';
}, function (props) {
  return props.entireViewport ? 'auto' : '5';
}, (0, _themeGet2.default)('colors.shadow.light'), (0, _themeGet2.default)('colors.shadow.light'), (0, _themeGet2.default)('colors.shadow.light'), (0, _themeGet2.default)('colors.shadow.light'), (0, _themeGet2.default)('colors.shadow.light'), (0, _themeGet2.default)('colors.shadow.light'), (0, _themeGet2.default)('colors.shadow.light'), (0, _themeGet2.default)('colors.shadow.light'));

exports.default = ShadowOverlay;