UNPKG

@multiplay/ui

Version:

UI kit for Unity and Multiplay applications

24 lines (17 loc) 18.5 kB
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _templateObject = _taggedTemplateLiteral(['\n /*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */\n\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 */\n\n html {\n font-family: sans-serif; /* 1 */\n -ms-text-size-adjust: 100%; /* 2 */\n -webkit-text-size-adjust: 100%; /* 2 */\n }\n\n /**\n * Remove the margin in all browsers (opinionated).\n */\n\n body {\n margin: 0;\n }\n\n /* HTML5 display definitions\n ========================================================================== */\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 */\n\n article,\n aside,\n details, /* 1 */\n figcaption,\n figure,\n footer,\n header,\n main, /* 2 */\n menu,\n nav,\n section,\n summary { /* 1 */\n display: block;\n }\n\n /**\n * Add the correct display in IE 9-.\n */\n\n audio,\n canvas,\n progress,\n video {\n display: inline-block;\n }\n\n /**\n * Add the correct display in iOS 4-7.\n */\n\n audio:not([controls]) {\n display: none;\n height: 0;\n }\n\n /**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\n progress {\n vertical-align: baseline;\n }\n\n /**\n * Add the correct display in IE 10-.\n * 1. Add the correct display in IE.\n */\n\n template, /* 1 */\n [hidden] {\n display: none;\n }\n\n /* Links\n ========================================================================== */\n\n /**\n * 1. Remove the gray background on active links in IE 10.\n * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.\n */\n\n a {\n background-color: transparent; /* 1 */\n -webkit-text-decoration-skip: objects; /* 2 */\n }\n\n /**\n * Remove the outline on focused links when they are also active or hovered\n * in all browsers (opinionated).\n */\n\n a:active,\n a:hover {\n outline-width: 0;\n }\n\n /* Text-level semantics\n ========================================================================== */\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 */\n\n abbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n }\n\n /**\n * Prevent the duplicate application of bolder by the next rule in Safari 6.\n */\n\n b,\n strong {\n font-weight: inherit;\n }\n\n /**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\n b,\n strong {\n font-weight: bolder;\n }\n\n /**\n * Add the correct font style in Android 4.3-.\n */\n\n dfn {\n font-style: italic;\n }\n\n /**\n * Correct the font size and margin on h1 elements within section and\n * article contexts in Chrome, Firefox, and Safari.\n */\n\n h1 {\n font-size: 2em;\n margin: 0.67em 0;\n }\n\n /**\n * Add the correct background and color in IE 9-.\n */\n\n mark {\n background-color: #ff0;\n color: #000;\n }\n\n /**\n * Add the correct font size in all browsers.\n */\n\n small {\n font-size: 80%;\n }\n\n /**\n * Prevent sub and sup elements from affecting the line height in\n * all browsers.\n */\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n /* Embedded content\n ========================================================================== */\n\n /**\n * Remove the border on images inside links in IE 10-.\n */\n\n img {\n border-style: none;\n max-width: 100%;\n }\n\n /**\n * Hide the overflow in IE.\n */\n\n svg:not(:root) {\n overflow: hidden;\n }\n\n /* Grouping content\n ========================================================================== */\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 */\n\n code,\n kbd,\n pre,\n samp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n }\n\n /**\n * Add the correct margin in IE 8.\n */\n\n figure {\n margin: 1em 40px;\n }\n\n /**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\n hr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n }\n\n /* Forms\n ========================================================================== */\n\n /**\n * 1. Change font properties to inherit in all browsers (opinionated).\n * 2. Remove the margin in Firefox and Safari.\n */\n\n button,\n input,\n select,\n textarea {\n font: inherit; /* 1 */\n margin: 0; /* 2 */\n }\n\n /**\n * Restore the font weight unset by the previous rule.\n */\n\n optgroup {\n font-weight: bold;\n }\n\n /**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\n button,\n input { /* 1 */\n overflow: visible;\n }\n\n /**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\n button,\n select { /* 1 */\n text-transform: none;\n }\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 and Safari.\n */\n\n button,\n html [type="button"], /* 1 */\n [type="reset"],\n [type="submit"] {\n -webkit-appearance: button; /* 2 */\n }\n\n /**\n * Remove the inner border and padding in Firefox.\n */\n\n button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n /**\n * Restore the focus styles unset by the previous rule.\n */\n\n button:-moz-focusring,\n [type="button"]:-moz-focusring,\n [type="reset"]:-moz-focusring,\n [type="submit"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n }\n\n /**\n * Change the border, margin, and padding in all browsers (opinionated).\n */\n\n fieldset {\n border: 1px solid #c0c0c0;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em;\n }\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 */\n\n legend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n }\n\n /**\n * Remove the default vertical scrollbar in IE.\n */\n\n textarea {\n overflow: auto;\n resize: none;\n }\n\n /**\n * 1. Add the correct box sizing in IE 10-.\n * 2. Remove the padding in IE 10-.\n */\n\n [type="checkbox"],\n [type="radio"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n }\n\n /**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n [type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button {\n height: auto;\n }\n\n /**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n [type="search"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n }\n\n /**\n * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.\n */\n\n [type="search"]::-webkit-search-cancel-button,\n [type="search"]::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n\n /**\n * Correct the text style of placeholders in Chrome, Edge, and Safari.\n */\n\n ::-webkit-input-placeholder {\n color: inherit;\n opacity: 0.54;\n }\n\n /**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to inherit in Safari.\n */\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n }\n\n *,\n *::after,\n *::before {\n box-sizing: border-box;\n }\n\n svg {\n max-width: 100%;\n }\n\n /**\n * Hack to remove Chrome\'s yellow background on autofilling inputs\n */\n input:-webkit-autofill,\n input:-webkit-autofill:hover,\n input:-webkit-autofill:focus,\n input:-webkit-autofill:active {\n transition: background-color 500000s ease-in-out 0s, color 500000s ease-in-out 0s;\n }\n\n /**\n * Fix for IE select bars\n */\n select::-ms-value,\n select:focus::-ms-value {\n background: none;\n }\n\n table {\n border-collapse: collapse;\n }\n\n p {\n margin: 0 0 1em 0;\n }\n'], ['\n /*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */\n\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 */\n\n html {\n font-family: sans-serif; /* 1 */\n -ms-text-size-adjust: 100%; /* 2 */\n -webkit-text-size-adjust: 100%; /* 2 */\n }\n\n /**\n * Remove the margin in all browsers (opinionated).\n */\n\n body {\n margin: 0;\n }\n\n /* HTML5 display definitions\n ========================================================================== */\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 */\n\n article,\n aside,\n details, /* 1 */\n figcaption,\n figure,\n footer,\n header,\n main, /* 2 */\n menu,\n nav,\n section,\n summary { /* 1 */\n display: block;\n }\n\n /**\n * Add the correct display in IE 9-.\n */\n\n audio,\n canvas,\n progress,\n video {\n display: inline-block;\n }\n\n /**\n * Add the correct display in iOS 4-7.\n */\n\n audio:not([controls]) {\n display: none;\n height: 0;\n }\n\n /**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\n progress {\n vertical-align: baseline;\n }\n\n /**\n * Add the correct display in IE 10-.\n * 1. Add the correct display in IE.\n */\n\n template, /* 1 */\n [hidden] {\n display: none;\n }\n\n /* Links\n ========================================================================== */\n\n /**\n * 1. Remove the gray background on active links in IE 10.\n * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.\n */\n\n a {\n background-color: transparent; /* 1 */\n -webkit-text-decoration-skip: objects; /* 2 */\n }\n\n /**\n * Remove the outline on focused links when they are also active or hovered\n * in all browsers (opinionated).\n */\n\n a:active,\n a:hover {\n outline-width: 0;\n }\n\n /* Text-level semantics\n ========================================================================== */\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 */\n\n abbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n }\n\n /**\n * Prevent the duplicate application of bolder by the next rule in Safari 6.\n */\n\n b,\n strong {\n font-weight: inherit;\n }\n\n /**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\n b,\n strong {\n font-weight: bolder;\n }\n\n /**\n * Add the correct font style in Android 4.3-.\n */\n\n dfn {\n font-style: italic;\n }\n\n /**\n * Correct the font size and margin on h1 elements within section and\n * article contexts in Chrome, Firefox, and Safari.\n */\n\n h1 {\n font-size: 2em;\n margin: 0.67em 0;\n }\n\n /**\n * Add the correct background and color in IE 9-.\n */\n\n mark {\n background-color: #ff0;\n color: #000;\n }\n\n /**\n * Add the correct font size in all browsers.\n */\n\n small {\n font-size: 80%;\n }\n\n /**\n * Prevent sub and sup elements from affecting the line height in\n * all browsers.\n */\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n /* Embedded content\n ========================================================================== */\n\n /**\n * Remove the border on images inside links in IE 10-.\n */\n\n img {\n border-style: none;\n max-width: 100%;\n }\n\n /**\n * Hide the overflow in IE.\n */\n\n svg:not(:root) {\n overflow: hidden;\n }\n\n /* Grouping content\n ========================================================================== */\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 */\n\n code,\n kbd,\n pre,\n samp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n }\n\n /**\n * Add the correct margin in IE 8.\n */\n\n figure {\n margin: 1em 40px;\n }\n\n /**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\n hr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n }\n\n /* Forms\n ========================================================================== */\n\n /**\n * 1. Change font properties to inherit in all browsers (opinionated).\n * 2. Remove the margin in Firefox and Safari.\n */\n\n button,\n input,\n select,\n textarea {\n font: inherit; /* 1 */\n margin: 0; /* 2 */\n }\n\n /**\n * Restore the font weight unset by the previous rule.\n */\n\n optgroup {\n font-weight: bold;\n }\n\n /**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\n button,\n input { /* 1 */\n overflow: visible;\n }\n\n /**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\n button,\n select { /* 1 */\n text-transform: none;\n }\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 and Safari.\n */\n\n button,\n html [type="button"], /* 1 */\n [type="reset"],\n [type="submit"] {\n -webkit-appearance: button; /* 2 */\n }\n\n /**\n * Remove the inner border and padding in Firefox.\n */\n\n button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n /**\n * Restore the focus styles unset by the previous rule.\n */\n\n button:-moz-focusring,\n [type="button"]:-moz-focusring,\n [type="reset"]:-moz-focusring,\n [type="submit"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n }\n\n /**\n * Change the border, margin, and padding in all browsers (opinionated).\n */\n\n fieldset {\n border: 1px solid #c0c0c0;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em;\n }\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 */\n\n legend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n }\n\n /**\n * Remove the default vertical scrollbar in IE.\n */\n\n textarea {\n overflow: auto;\n resize: none;\n }\n\n /**\n * 1. Add the correct box sizing in IE 10-.\n * 2. Remove the padding in IE 10-.\n */\n\n [type="checkbox"],\n [type="radio"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n }\n\n /**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n [type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button {\n height: auto;\n }\n\n /**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n [type="search"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n }\n\n /**\n * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.\n */\n\n [type="search"]::-webkit-search-cancel-button,\n [type="search"]::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n\n /**\n * Correct the text style of placeholders in Chrome, Edge, and Safari.\n */\n\n ::-webkit-input-placeholder {\n color: inherit;\n opacity: 0.54;\n }\n\n /**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to inherit in Safari.\n */\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n }\n\n *,\n *::after,\n *::before {\n box-sizing: border-box;\n }\n\n svg {\n max-width: 100%;\n }\n\n /**\n * Hack to remove Chrome\'s yellow background on autofilling inputs\n */\n input:-webkit-autofill,\n input:-webkit-autofill:hover,\n input:-webkit-autofill:focus,\n input:-webkit-autofill:active {\n transition: background-color 500000s ease-in-out 0s, color 500000s ease-in-out 0s;\n }\n\n /**\n * Fix for IE select bars\n */\n select::-ms-value,\n select:focus::-ms-value {\n background: none;\n }\n\n table {\n border-collapse: collapse;\n }\n\n p {\n margin: 0 0 1em 0;\n }\n']); var _styledComponents = require('styled-components'); function _taggedTemplateLiteral(strings, raw) { return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } /** * IMPORTANT DO NOT EDIT THIS FILE * * If you need to override or set global styles please * make the required changes in the global styles file. * This file should be kept clean of all custom code and * be a simple normalization across browsers */ var Normalise = (0, _styledComponents.createGlobalStyle)(_templateObject); exports.default = Normalise;