@atlaskit/editor-core
Version:
A package contains Atlassian editor core functionality
6 lines • 1.5 kB
JavaScript
import { akColorN400 } from '@atlaskit/util-shared-styles';
import styled from 'styled-components';
// tslint:disable-next-line:variable-name
export var 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.input(_a, akColorN400, akColorN400));
var _a;
//# sourceMappingURL=styles.js.map