UNPKG

snabbdom-material

Version:

Stateless UI components for snabbdom that follow material design

62 lines (39 loc) 27.1 kB
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.getComponentVariables = exports.baseVariables = undefined; exports.init = init; exports.getStyle = getStyle; var _deepmerge = require('deepmerge'); var _deepmerge2 = _interopRequireDefault(_deepmerge); var _insertCss = require('insert-css'); var _insertCss2 = _interopRequireDefault(_insertCss); var _easyStyle = require('easy-style'); var _easyStyle2 = _interopRequireDefault(_easyStyle); var _getChild = require('../helpers/getChild'); var _getChild2 = _interopRequireDefault(_getChild); var _variables = require('./variables'); var _defaults = require('./defaults'); var _defaults2 = _interopRequireDefault(_defaults); var _index = "/*! normalize.css v4.0.0 | MIT License | github.com/necolas/normalize.css */\n/**\n * 1. Change the default font family in all browsers (opinionated).\n * 2. Prevent adjustments of font size after orientation changes in IE and iOS.\n */\nhtml {\n font-family: sans-serif;\n /* 1 */\n -ms-text-size-adjust: 100%;\n /* 2 */\n -webkit-text-size-adjust: 100%;\n /* 2 */ }\n\n/**\n * Remove the margin in all browsers (opinionated).\n */\nbody {\n margin: 0; }\n\n/* HTML5 display definitions\n ========================================================================== */\n/**\n * Add the correct display in IE 9-.\n * 1. Add the correct display in Edge, IE, and Firefox.\n * 2. Add the correct display in IE.\n */\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nmain,\nmenu,\nnav,\nsection,\nsummary {\n /* 1 */\n display: block; }\n\n/**\n * Add the correct display in IE 9-.\n */\naudio,\ncanvas,\nprogress,\nvideo {\n display: inline-block; }\n\n/**\n * Add the correct display in iOS 4-7.\n */\naudio:not([controls]) {\n display: none;\n height: 0; }\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\nprogress {\n vertical-align: baseline; }\n\n/**\n * Add the correct display in IE 10-.\n * 1. Add the correct display in IE.\n */\ntemplate,\n[hidden] {\n display: none; }\n\n/* Links\n ========================================================================== */\n/**\n * Remove the gray background on active links in IE 10.\n */\na {\n background-color: transparent; }\n\n/**\n * Remove the outline on focused links when they are also active or hovered\n * in all browsers (opinionated).\n */\na:active,\na:hover {\n outline-width: 0; }\n\n/* Text-level semantics\n ========================================================================== */\n/**\n * 1. Remove the bottom border in Firefox 39-.\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\nabbr[title] {\n border-bottom: none;\n /* 1 */\n text-decoration: underline;\n /* 2 */\n text-decoration: underline dotted;\n /* 2 */ }\n\n/**\n * Prevent the duplicate application of `bolder` by the next rule in Safari 6.\n */\nb,\nstrong {\n font-weight: inherit; }\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\nb,\nstrong {\n font-weight: bolder; }\n\n/**\n * Add the correct font style in Android 4.3-.\n */\ndfn {\n font-style: italic; }\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\nh1 {\n font-size: 2em;\n margin: 0.67em 0; }\n\n/**\n * Add the correct background and color in IE 9-.\n */\nmark {\n background-color: #ff0;\n color: #000; }\n\n/**\n * Add the correct font size in all browsers.\n */\nsmall {\n font-size: 80%; }\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline; }\n\nsub {\n bottom: -0.25em; }\n\nsup {\n top: -0.5em; }\n\n/* Embedded content\n ========================================================================== */\n/**\n * Remove the border on images inside links in IE 10-.\n */\nimg {\n border-style: none; }\n\n/**\n * Hide the overflow in IE.\n */\nsvg:not(:root) {\n overflow: hidden; }\n\n/* Grouping content\n ========================================================================== */\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, monospace;\n /* 1 */\n font-size: 1em;\n /* 2 */ }\n\n/**\n * Add the correct margin in IE 8.\n */\nfigure {\n margin: 1em 40px; }\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\nhr {\n box-sizing: content-box;\n /* 1 */\n height: 0;\n /* 1 */\n overflow: visible;\n /* 2 */ }\n\n/* Forms\n ========================================================================== */\n/**\n * Change font properties to `inherit` in all browsers (opinionated).\n */\nbutton,\ninput,\nselect,\ntextarea {\n font: inherit; }\n\n/**\n * Restore the font weight unset by the previous rule.\n */\noptgroup {\n font-weight: bold; }\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n * 2. Show the overflow in Edge, Firefox, and IE.\n */\nbutton,\ninput,\nselect {\n /* 2 */\n overflow: visible; }\n\n/**\n * Remove the margin in Safari.\n * 1. Remove the margin in Firefox and Safari.\n */\nbutton,\ninput,\nselect,\ntextarea {\n /* 1 */\n margin: 0; }\n\n/**\n * Remove the inheritence of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritence of text transform in Firefox.\n */\nbutton,\nselect {\n /* 1 */\n text-transform: none; }\n\n/**\n * Change the cursor in all browsers (opinionated).\n */\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n cursor: pointer; }\n\n/**\n * Restore the default cursor to disabled elements unset by the previous rule.\n */\n[disabled] {\n cursor: default; }\n\n/**\n * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`\n * controls in Android 4.\n * 2. Correct the inability to style clickable types in iOS.\n */\nbutton,\nhtml [type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n /* 2 */ }\n\n/**\n * Remove the inner border and padding in Firefox.\n */\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n padding: 0; }\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\nbutton:-moz-focusring,\ninput:-moz-focusring {\n outline: 1px dotted ButtonText; }\n\n/**\n * Change the border, margin, and padding in all browsers (opinionated).\n */\nfieldset {\n border: 1px solid #c0c0c0;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em; }\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\nlegend {\n box-sizing: border-box;\n /* 1 */\n color: inherit;\n /* 2 */\n display: table;\n /* 1 */\n max-width: 100%;\n /* 1 */\n padding: 0;\n /* 3 */\n white-space: normal;\n /* 1 */ }\n\n/**\n * Remove the default vertical scrollbar in IE.\n */\ntextarea {\n overflow: auto; }\n\n/**\n * 1. Add the correct box sizing in IE 10-.\n * 2. Remove the padding in IE 10-.\n */\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box;\n /* 1 */\n padding: 0;\n /* 2 */ }\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto; }\n\n/**\n * Correct the odd appearance of search inputs in Chrome and Safari.\n */\n[type=\"search\"] {\n -webkit-appearance: textfield; }\n\n/**\n * Remove the inner padding and cancel buttons in Chrome on OS X and\n * Safari on OS X.\n */\n[type=\"search\"]::-webkit-search-cancel-button,\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none; }\n\n/*!\n * Waves v0.7.5\n * http://fian.my.id/Waves\n *\n * Copyright 2014-2016 Alfiana E. Sibuea and other contributors\n * Released under the MIT license\n * https: */\n.waves-effect {\n position: relative;\n cursor: pointer;\n display: inline-block;\n overflow: hidden;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent; }\n .waves-effect .waves-ripple {\n position: absolute;\n border-radius: 50%;\n width: 100px;\n height: 100px;\n margin-top: -50px;\n margin-left: -50px;\n opacity: 0;\n background: rgba(0, 0, 0, 0.2);\n background: -webkit-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n background: -o-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n background: -moz-radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n background: radial-gradient(rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n -webkit-transition: all 0.5s ease-out;\n -moz-transition: all 0.5s ease-out;\n -o-transition: all 0.5s ease-out;\n transition: all 0.5s ease-out;\n -webkit-transition-property: -webkit-transform, opacity;\n -moz-transition-property: -moz-transform, opacity;\n -o-transition-property: -o-transform, opacity;\n transition-property: transform, opacity;\n -webkit-transform: scale(0) translate(0, 0);\n -moz-transform: scale(0) translate(0, 0);\n -ms-transform: scale(0) translate(0, 0);\n -o-transform: scale(0) translate(0, 0);\n transform: scale(0) translate(0, 0);\n pointer-events: none; }\n .waves-effect.waves-light .waves-ripple {\n background: rgba(255, 255, 255, 0.4);\n background: -webkit-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n background: -o-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n background: -moz-radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%);\n background: radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%); }\n .waves-effect.waves-classic .waves-ripple {\n background: rgba(0, 0, 0, 0.2); }\n .waves-effect.waves-classic.waves-light .waves-ripple {\n background: rgba(255, 255, 255, 0.4); }\n\n.waves-notransition {\n -webkit-transition: none !important;\n -moz-transition: none !important;\n -o-transition: none !important;\n transition: none !important; }\n\n.waves-button,\n.waves-circle {\n -webkit-transform: translateZ(0);\n -moz-transform: translateZ(0);\n -ms-transform: translateZ(0);\n -o-transform: translateZ(0);\n transform: translateZ(0);\n -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); }\n\n.waves-button,\n.waves-button:hover,\n.waves-button:visited,\n.waves-button-input {\n white-space: nowrap;\n vertical-align: middle;\n cursor: pointer;\n border: none;\n outline: none;\n color: inherit;\n background-color: transparent;\n font-size: 1em;\n line-height: 1em;\n text-align: center;\n text-decoration: none;\n z-index: 1; }\n\n.waves-button {\n padding: 0.85em 1.1em;\n border-radius: 0.2em; }\n\n.waves-button-input {\n margin: 0;\n padding: 0.85em 1.1em; }\n\n.waves-input-wrapper {\n border-radius: 0.2em;\n vertical-align: bottom; }\n .waves-input-wrapper.waves-button {\n padding: 0; }\n .waves-input-wrapper .waves-button-input {\n position: relative;\n top: 0;\n left: 0;\n z-index: 1; }\n\n.waves-circle {\n text-align: center;\n width: 2.5em;\n height: 2.5em;\n line-height: 2.5em;\n border-radius: 50%; }\n\n.waves-float {\n -webkit-mask-image: none;\n -webkit-box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);\n box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.12);\n -webkit-transition: all 300ms;\n -moz-transition: all 300ms;\n -o-transition: all 300ms;\n transition: all 300ms; }\n .waves-float:active {\n -webkit-box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3);\n box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.3); }\n\n.waves-block {\n display: block; }\n\n.container {\n margin-right: auto;\n margin-left: auto;\n padding-left: 15px;\n padding-right: 15px; }\n .container:before, .container:after {\n content: \" \";\n display: table; }\n .container:after {\n clear: both; }\n @media (min-width: 768px) {\n .container {\n width: 750px; } }\n @media (min-width: 992px) {\n .container {\n width: 970px; } }\n @media (min-width: 1200px) {\n .container {\n width: 1170px; } }\n\n.container-fluid {\n margin-right: auto;\n margin-left: auto;\n padding-left: 15px;\n padding-right: 15px; }\n .container-fluid:before, .container-fluid:after {\n content: \" \";\n display: table; }\n .container-fluid:after {\n clear: both; }\n\n.row {\n margin-left: -15px;\n margin-right: -15px; }\n .row:before, .row:after {\n content: \" \";\n display: table; }\n .row:after {\n clear: both; }\n\n.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {\n position: relative;\n min-height: 1px;\n padding-left: 15px;\n padding-right: 15px; }\n\n.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {\n float: left; }\n\n.col-xs-1 {\n width: 8.33333%; }\n\n.col-xs-2 {\n width: 16.66667%; }\n\n.col-xs-3 {\n width: 25%; }\n\n.col-xs-4 {\n width: 33.33333%; }\n\n.col-xs-5 {\n width: 41.66667%; }\n\n.col-xs-6 {\n width: 50%; }\n\n.col-xs-7 {\n width: 58.33333%; }\n\n.col-xs-8 {\n width: 66.66667%; }\n\n.col-xs-9 {\n width: 75%; }\n\n.col-xs-10 {\n width: 83.33333%; }\n\n.col-xs-11 {\n width: 91.66667%; }\n\n.col-xs-12 {\n width: 100%; }\n\n.col-xs-pull-0 {\n right: auto; }\n\n.col-xs-pull-1 {\n right: 8.33333%; }\n\n.col-xs-pull-2 {\n right: 16.66667%; }\n\n.col-xs-pull-3 {\n right: 25%; }\n\n.col-xs-pull-4 {\n right: 33.33333%; }\n\n.col-xs-pull-5 {\n right: 41.66667%; }\n\n.col-xs-pull-6 {\n right: 50%; }\n\n.col-xs-pull-7 {\n right: 58.33333%; }\n\n.col-xs-pull-8 {\n right: 66.66667%; }\n\n.col-xs-pull-9 {\n right: 75%; }\n\n.col-xs-pull-10 {\n right: 83.33333%; }\n\n.col-xs-pull-11 {\n right: 91.66667%; }\n\n.col-xs-pull-12 {\n right: 100%; }\n\n.col-xs-push-0 {\n left: auto; }\n\n.col-xs-push-1 {\n left: 8.33333%; }\n\n.col-xs-push-2 {\n left: 16.66667%; }\n\n.col-xs-push-3 {\n left: 25%; }\n\n.col-xs-push-4 {\n left: 33.33333%; }\n\n.col-xs-push-5 {\n left: 41.66667%; }\n\n.col-xs-push-6 {\n left: 50%; }\n\n.col-xs-push-7 {\n left: 58.33333%; }\n\n.col-xs-push-8 {\n left: 66.66667%; }\n\n.col-xs-push-9 {\n left: 75%; }\n\n.col-xs-push-10 {\n left: 83.33333%; }\n\n.col-xs-push-11 {\n left: 91.66667%; }\n\n.col-xs-push-12 {\n left: 100%; }\n\n.col-xs-offset-0 {\n margin-left: 0%; }\n\n.col-xs-offset-1 {\n margin-left: 8.33333%; }\n\n.col-xs-offset-2 {\n margin-left: 16.66667%; }\n\n.col-xs-offset-3 {\n margin-left: 25%; }\n\n.col-xs-offset-4 {\n margin-left: 33.33333%; }\n\n.col-xs-offset-5 {\n margin-left: 41.66667%; }\n\n.col-xs-offset-6 {\n margin-left: 50%; }\n\n.col-xs-offset-7 {\n margin-left: 58.33333%; }\n\n.col-xs-offset-8 {\n margin-left: 66.66667%; }\n\n.col-xs-offset-9 {\n margin-left: 75%; }\n\n.col-xs-offset-10 {\n margin-left: 83.33333%; }\n\n.col-xs-offset-11 {\n margin-left: 91.66667%; }\n\n.col-xs-offset-12 {\n margin-left: 100%; }\n\n@media (min-width: 768px) {\n .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {\n float: left; }\n .col-sm-1 {\n width: 8.33333%; }\n .col-sm-2 {\n width: 16.66667%; }\n .col-sm-3 {\n width: 25%; }\n .col-sm-4 {\n width: 33.33333%; }\n .col-sm-5 {\n width: 41.66667%; }\n .col-sm-6 {\n width: 50%; }\n .col-sm-7 {\n width: 58.33333%; }\n .col-sm-8 {\n width: 66.66667%; }\n .col-sm-9 {\n width: 75%; }\n .col-sm-10 {\n width: 83.33333%; }\n .col-sm-11 {\n width: 91.66667%; }\n .col-sm-12 {\n width: 100%; }\n .col-sm-pull-0 {\n right: auto; }\n .col-sm-pull-1 {\n right: 8.33333%; }\n .col-sm-pull-2 {\n right: 16.66667%; }\n .col-sm-pull-3 {\n right: 25%; }\n .col-sm-pull-4 {\n right: 33.33333%; }\n .col-sm-pull-5 {\n right: 41.66667%; }\n .col-sm-pull-6 {\n right: 50%; }\n .col-sm-pull-7 {\n right: 58.33333%; }\n .col-sm-pull-8 {\n right: 66.66667%; }\n .col-sm-pull-9 {\n right: 75%; }\n .col-sm-pull-10 {\n right: 83.33333%; }\n .col-sm-pull-11 {\n right: 91.66667%; }\n .col-sm-pull-12 {\n right: 100%; }\n .col-sm-push-0 {\n left: auto; }\n .col-sm-push-1 {\n left: 8.33333%; }\n .col-sm-push-2 {\n left: 16.66667%; }\n .col-sm-push-3 {\n left: 25%; }\n .col-sm-push-4 {\n left: 33.33333%; }\n .col-sm-push-5 {\n left: 41.66667%; }\n .col-sm-push-6 {\n left: 50%; }\n .col-sm-push-7 {\n left: 58.33333%; }\n .col-sm-push-8 {\n left: 66.66667%; }\n .col-sm-push-9 {\n left: 75%; }\n .col-sm-push-10 {\n left: 83.33333%; }\n .col-sm-push-11 {\n left: 91.66667%; }\n .col-sm-push-12 {\n left: 100%; }\n .col-sm-offset-0 {\n margin-left: 0%; }\n .col-sm-offset-1 {\n margin-left: 8.33333%; }\n .col-sm-offset-2 {\n margin-left: 16.66667%; }\n .col-sm-offset-3 {\n margin-left: 25%; }\n .col-sm-offset-4 {\n margin-left: 33.33333%; }\n .col-sm-offset-5 {\n margin-left: 41.66667%; }\n .col-sm-offset-6 {\n margin-left: 50%; }\n .col-sm-offset-7 {\n margin-left: 58.33333%; }\n .col-sm-offset-8 {\n margin-left: 66.66667%; }\n .col-sm-offset-9 {\n margin-left: 75%; }\n .col-sm-offset-10 {\n margin-left: 83.33333%; }\n .col-sm-offset-11 {\n margin-left: 91.66667%; }\n .col-sm-offset-12 {\n margin-left: 100%; } }\n\n@media (min-width: 992px) {\n .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {\n float: left; }\n .col-md-1 {\n width: 8.33333%; }\n .col-md-2 {\n width: 16.66667%; }\n .col-md-3 {\n width: 25%; }\n .col-md-4 {\n width: 33.33333%; }\n .col-md-5 {\n width: 41.66667%; }\n .col-md-6 {\n width: 50%; }\n .col-md-7 {\n width: 58.33333%; }\n .col-md-8 {\n width: 66.66667%; }\n .col-md-9 {\n width: 75%; }\n .col-md-10 {\n width: 83.33333%; }\n .col-md-11 {\n width: 91.66667%; }\n .col-md-12 {\n width: 100%; }\n .col-md-pull-0 {\n right: auto; }\n .col-md-pull-1 {\n right: 8.33333%; }\n .col-md-pull-2 {\n right: 16.66667%; }\n .col-md-pull-3 {\n right: 25%; }\n .col-md-pull-4 {\n right: 33.33333%; }\n .col-md-pull-5 {\n right: 41.66667%; }\n .col-md-pull-6 {\n right: 50%; }\n .col-md-pull-7 {\n right: 58.33333%; }\n .col-md-pull-8 {\n right: 66.66667%; }\n .col-md-pull-9 {\n right: 75%; }\n .col-md-pull-10 {\n right: 83.33333%; }\n .col-md-pull-11 {\n right: 91.66667%; }\n .col-md-pull-12 {\n right: 100%; }\n .col-md-push-0 {\n left: auto; }\n .col-md-push-1 {\n left: 8.33333%; }\n .col-md-push-2 {\n left: 16.66667%; }\n .col-md-push-3 {\n left: 25%; }\n .col-md-push-4 {\n left: 33.33333%; }\n .col-md-push-5 {\n left: 41.66667%; }\n .col-md-push-6 {\n left: 50%; }\n .col-md-push-7 {\n left: 58.33333%; }\n .col-md-push-8 {\n left: 66.66667%; }\n .col-md-push-9 {\n left: 75%; }\n .col-md-push-10 {\n left: 83.33333%; }\n .col-md-push-11 {\n left: 91.66667%; }\n .col-md-push-12 {\n left: 100%; }\n .col-md-offset-0 {\n margin-left: 0%; }\n .col-md-offset-1 {\n margin-left: 8.33333%; }\n .col-md-offset-2 {\n margin-left: 16.66667%; }\n .col-md-offset-3 {\n margin-left: 25%; }\n .col-md-offset-4 {\n margin-left: 33.33333%; }\n .col-md-offset-5 {\n margin-left: 41.66667%; }\n .col-md-offset-6 {\n margin-left: 50%; }\n .col-md-offset-7 {\n margin-left: 58.33333%; }\n .col-md-offset-8 {\n margin-left: 66.66667%; }\n .col-md-offset-9 {\n margin-left: 75%; }\n .col-md-offset-10 {\n margin-left: 83.33333%; }\n .col-md-offset-11 {\n margin-left: 91.66667%; }\n .col-md-offset-12 {\n margin-left: 100%; } }\n\n@media (min-width: 1200px) {\n .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {\n float: left; }\n .col-lg-1 {\n width: 8.33333%; }\n .col-lg-2 {\n width: 16.66667%; }\n .col-lg-3 {\n width: 25%; }\n .col-lg-4 {\n width: 33.33333%; }\n .col-lg-5 {\n width: 41.66667%; }\n .col-lg-6 {\n width: 50%; }\n .col-lg-7 {\n width: 58.33333%; }\n .col-lg-8 {\n width: 66.66667%; }\n .col-lg-9 {\n width: 75%; }\n .col-lg-10 {\n width: 83.33333%; }\n .col-lg-11 {\n width: 91.66667%; }\n .col-lg-12 {\n width: 100%; }\n .col-lg-pull-0 {\n right: auto; }\n .col-lg-pull-1 {\n right: 8.33333%; }\n .col-lg-pull-2 {\n right: 16.66667%; }\n .col-lg-pull-3 {\n right: 25%; }\n .col-lg-pull-4 {\n right: 33.33333%; }\n .col-lg-pull-5 {\n right: 41.66667%; }\n .col-lg-pull-6 {\n right: 50%; }\n .col-lg-pull-7 {\n right: 58.33333%; }\n .col-lg-pull-8 {\n right: 66.66667%; }\n .col-lg-pull-9 {\n right: 75%; }\n .col-lg-pull-10 {\n right: 83.33333%; }\n .col-lg-pull-11 {\n right: 91.66667%; }\n .col-lg-pull-12 {\n right: 100%; }\n .col-lg-push-0 {\n left: auto; }\n .col-lg-push-1 {\n left: 8.33333%; }\n .col-lg-push-2 {\n left: 16.66667%; }\n .col-lg-push-3 {\n left: 25%; }\n .col-lg-push-4 {\n left: 33.33333%; }\n .col-lg-push-5 {\n left: 41.66667%; }\n .col-lg-push-6 {\n left: 50%; }\n .col-lg-push-7 {\n left: 58.33333%; }\n .col-lg-push-8 {\n left: 66.66667%; }\n .col-lg-push-9 {\n left: 75%; }\n .col-lg-push-10 {\n left: 83.33333%; }\n .col-lg-push-11 {\n left: 91.66667%; }\n .col-lg-push-12 {\n left: 100%; }\n .col-lg-offset-0 {\n margin-left: 0%; }\n .col-lg-offset-1 {\n margin-left: 8.33333%; }\n .col-lg-offset-2 {\n margin-left: 16.66667%; }\n .col-lg-offset-3 {\n margin-left: 25%; }\n .col-lg-offset-4 {\n margin-left: 33.33333%; }\n .col-lg-offset-5 {\n margin-left: 41.66667%; }\n .col-lg-offset-6 {\n margin-left: 50%; }\n .col-lg-offset-7 {\n margin-left: 58.33333%; }\n .col-lg-offset-8 {\n margin-left: 66.66667%; }\n .col-lg-offset-9 {\n margin-left: 75%; }\n .col-lg-offset-10 {\n margin-left: 83.33333%; }\n .col-lg-offset-11 {\n margin-left: 91.66667%; }\n .col-lg-offset-12 {\n margin-left: 100%; } }\n\n.waves-effect .waves-ripple {\n background: radial-gradient(rgba(0, 0, 0, 0.1) 0, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.3) 60%, rgba(255, 255, 255, 0) 70%); }\n\n.waves-effect.waves-light .waves-ripple {\n background: radial-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0) 70%); }\n\n.waves-float {\n -webkit-box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.25);\n box-shadow: 0px 1px 1.5px 1px rgba(0, 0, 0, 0.25); }\n .waves-float:active {\n -webkit-box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.35);\n box-shadow: 0px 8px 20px 1px rgba(0, 0, 0, 0.35); }\n\n.menu-item:hover {\n background-color: #eee; }\n\ninput:focus {\n outline: 0; }\n\ntable.material-table th, table.material-table td {\n box-shadow: 0 0.5px 0 0 rgba(0, 0, 0, 0.156), 0 1.5px 0 0 rgba(0, 0, 0, 0.055);\n text-align: left;\n padding: 4px 12px;\n vertical-align: middle; }\n\ntable.material-table th {\n font-size: 12px;\n line-height: 16px;\n font-weight: 500;\n color: rgba(0, 0, 0, 0.54);\n height: 56px; }\n\ntable.material-table tr.toolbar th {\n height: 64px; }\n\ntable.material-table td {\n font-size: 13px;\n line-height: 17px;\n color: rgba(0, 0, 0, 0.87);\n height: 48px; }\n\ntable.material-table th:first-child, table.material-table td:first-child {\n padding-left: 24px; }\n\ntable.material-table th:last-child, table.material-table td:last-child {\n padding-right: 24px; }\n\ntable.material-table tbody tr.clickable:hover {\n background-color: #EEE; }\n\ntable.material-table tbody tr.disabled td * {\n opacity: 0.5;\n text-decoration: line-through; }\n\ntable.material-table tbody tr:last-child td {\n box-shadow: none; }\n\n@keyframes spinner-rotate {\n 100% {\n transform: rotate(360deg); } }\n\n@keyframes spinner-dash {\n 0% {\n stroke-dasharray: 1,400;\n stroke-dashoffset: 0; }\n 50% {\n stroke-dasharray: 211,400;\n stroke-dashoffset: -82; }\n 100% {\n stroke-dasharray: 211,400;\n stroke-dashoffset: -294; } }\n\n@keyframes spinner-color {\n 100%, 0% {\n stroke: #d62d20; }\n 40% {\n stroke: #0057e7; }\n 66% {\n stroke: #008744; }\n 80%, 90% {\n stroke: #ffa700; } }\n\n* {\n box-sizing: border-box; }\n"; var _index2 = _interopRequireDefault(_index); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } (0, _insertCss2.default)(_index2.default, { prepend: true }); // inject the css in to the page var baseStyle = void 0; function init(variables) { var overrides = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; baseStyle = (0, _deepmerge2.default)((0, _defaults2.default)(variables), overrides); Object.keys(baseStyle.rules).forEach(function (rule) { return _easyStyle2.default.rule(rule, baseStyle.rules[rule]); }); } function getStyle(name, overrides) { if (!baseStyle) { init((0, _variables.getComponentVariables)(_variables.baseVariables)); } return overrides ? (0, _deepmerge2.default)((0, _getChild2.default)(baseStyle, name), overrides) : (0, _getChild2.default)(baseStyle, name); } exports.baseVariables = _variables.baseVariables; exports.getComponentVariables = _variables.getComponentVariables;