'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 }; }

// content flex is `0 1 auto`: it won't grow beyond the content size, but can shrink if the window is too small
// to show everything.

exports.default = _styledComponents2.default.div.withConfig({
  displayName: 'ModalWindow'
})(['background:', ';width:auto;max-width:70%;min-width:20%;flex:0 1 auto;min-height:1em;max-height:70vh;margin:180px auto auto auto;display:flex;flex-direction:column;border-radius:5px;box-shadow:', ';position:relative;'], (0, _themeGet2.default)('colors.background.default'), (0, _themeGet2.default)('shadows.long'));