UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

8 lines 1.66 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var util_shared_styles_1 = require("@atlaskit/util-shared-styles"); var styled_components_1 = require("styled-components"); // tslint:disable-next-line:variable-name exports.Input = (_a = ["\n // Normal .className gets overridden by input[type=text] hence this hack to produce input.className\n input& {\n background: transparent;\n border: 0;\n border-radius: 0;\n box-sizing: content-box;\n color: ", ";\n flex-grow: 1;\n font-size: 13px;\n line-height: 20px;\n padding: 0;\n\n /* IE11 fixes */\n height: 20px;\n min-width: 145px;\n\n /* Hides IE10+ built-in [x] clear input button */\n &::-ms-clear {\n display: none;\n }\n\n &:focus {\n outline: none;\n }\n\n &::placeholder {\n color: ", ";\n opacity: 0.5;\n }\n }\n"], _a.raw = ["\n // Normal .className gets overridden by input[type=text] hence this hack to produce input.className\n input& {\n background: transparent;\n border: 0;\n border-radius: 0;\n box-sizing: content-box;\n color: ", ";\n flex-grow: 1;\n font-size: 13px;\n line-height: 20px;\n padding: 0;\n\n /* IE11 fixes */\n height: 20px;\n min-width: 145px;\n\n /* Hides IE10+ built-in [x] clear input button */\n &::-ms-clear {\n display: none;\n }\n\n &:focus {\n outline: none;\n }\n\n &::placeholder {\n color: ", ";\n opacity: 0.5;\n }\n }\n"], styled_components_1.default.input(_a, util_shared_styles_1.akColorN400, util_shared_styles_1.akColorN400)); var _a; //# sourceMappingURL=styles.js.map