Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1 строка
4.8 KiB

  1. {"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nimport { container, hexToRGBAlpha, defaultFont, primaryColor, infoColor, successColor, warningColor, dangerColor, roseColor, transition, boxShadow, drawerWidth } from \"assets/jss/nextjs-material-kit.js\";\nvar headerStyle = {\n appBar: {\n display: \"flex\",\n border: \"0\",\n borderRadius: \"3px\",\n padding: \"0.625rem 0\",\n marginBottom: \"20px\",\n color: \"#555\",\n width: \"100%\",\n backgroundColor: \"#000\",\n boxShadow: \"0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15)\",\n transition: \"all 150ms ease 0s\",\n alignItems: \"center\",\n flexFlow: \"row nowrap\",\n justifyContent: \"flex-start\",\n position: \"relative\",\n zIndex: \"unset\"\n },\n absolute: {\n position: \"absolute\",\n zIndex: \"1100\"\n },\n fixed: {\n position: \"fixed\",\n zIndex: \"1100\"\n },\n container: _objectSpread({}, container, {\n minHeight: \"50px\",\n flex: \"1\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n display: \"flex\",\n flexWrap: \"nowrap\"\n }),\n flex: {\n flex: 1\n },\n title: _objectSpread({}, defaultFont, {\n lineHeight: \"30px\",\n fontSize: \"18px\",\n borderRadius: \"3px\",\n textTransform: \"none\",\n color: \"inherit\",\n padding: \"8px 16px\",\n letterSpacing: \"unset\",\n \"&:hover,&:focus\": {\n color: \"inherit\",\n background: \"transparent\"\n }\n }),\n appResponsive: {\n margin: \"20px 10px\"\n },\n primary: {\n backgroundColor: primaryColor,\n color: \"#FFFFFF\",\n boxShadow: \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px \".concat(hexToRGBAlpha(primaryColor, 0.46))\n },\n info: {\n backgroundColor: infoColor,\n color: \"#FFFFFF\",\n boxShadow: \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px \".concat(hexToRGBAlpha(infoColor, 0.46))\n },\n success: {\n backgroundColor: successColor,\n color: \"#FFFFFF\",\n boxShadow: \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px \".concat(hexToRGBAlpha(successColor, 0.46))\n },\n warning: {\n backgroundColor: warningColor,\n color: \"#FFFFFF\",\n boxShadow: \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px \".concat(hexToRGBAlpha(warningColor, 0.46))\n },\n danger: {\n backgroundColor: dangerColor,\n color: \"#FFFFFF\",\n boxShadow: \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px \".concat(hexToRGBAlpha(dangerColor, 0.46))\n },\n rose: {\n backgroundColor: roseColor,\n color: \"#FFFFFF\",\n boxShadow: \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px \".concat(hexToRGBAlpha(roseColor, 0.46))\n },\n transparent: {\n backgroundColor: \"transparent !important\",\n boxShadow: \"none\",\n paddingTop: \"25px\",\n color: \"#FFFFFF\"\n },\n dark: {\n color: \"#FFFFFF\",\n backgroundColor: \"#212121 !important\",\n boxShadow: \"0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px rgba(33, 33, 33, 0.46)\"\n },\n white: {\n border: \"0\",\n padding: \"0.625rem 0\",\n marginBottom: \"20px\",\n color: \"#555\",\n backgroundColor: \"#fff !important\",\n boxShadow: \"0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15)\"\n },\n drawerPaper: _objectSpread({\n border: \"none\",\n bottom: \"0\",\n transitionProperty: \"top, bottom, width\",\n transitionDuration: \".2s, .2s, .35s\",\n transitionTimingFunction: \"linear, linear, ease\",\n width: drawerWidth\n }, boxShadow, {\n position: \"fixed\",\n display: \"block\",\n top: \"0\",\n height: \"100vh\",\n right: \"0\",\n left: \"auto\",\n visibility: \"visible\",\n overflowY: \"visible\",\n borderTop: \"none\",\n textAlign: \"left\",\n paddingRight: \"0px\",\n paddingLeft: \"0\"\n }, transition)\n};\nexport default headerStyle;","map":null,"metadata":{},"sourceType":"module"}