UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

17 lines 2.72 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var styled_components_1 = require("styled-components"); var styles_1 = require("../../styles"); exports.toolbarSize = 11; // tslint:disable-next-line:variable-name exports.Container = (_a = ["\n position: relative;\n"], _a.raw = ["\n position: relative;\n"], styled_components_1.default.div(_a)); // tslint:disable-next-line:variable-name exports.HeaderButtonDefault = (_b = ["\n background: ", ";\n border-top: 1px solid ", ";\n border-left: 1px solid ", ";\n display: block;\n padding: 0;\n cursor: pointer;\n &:hover, .active > &, .tableSelected & {\n background-color: ", ";\n border-color: ", ";\n }\n &:focus {\n outline: none;\n }\n"], _b.raw = ["\n background: ", ";\n border-top: 1px solid ", ";\n border-left: 1px solid ", ";\n display: block;\n padding: 0;\n cursor: pointer;\n &:hover, .active > &, .tableSelected & {\n background-color: ", ";\n border-color: ", ";\n }\n &:focus {\n outline: none;\n }\n"], styled_components_1.default.button(_b, styles_1.akEditorTableToolbar, styles_1.akEditorTableBorder, styles_1.akEditorTableBorder, styles_1.akEditorTableToolbarSelected, styles_1.akEditorTableBorderSelected)); // tslint:disable-next-line:variable-name exports.InsertButtonDefault = (_c = ["\n position: absolute;\n z-index: 20;\n display: none;\n width: 20px;\n height: 20px;\n justify-content: center;\n & button {\n width: 100%;\n }\n & button * {\n width: 100%;\n height: 100%;\n }\n"], _c.raw = ["\n position: absolute;\n z-index: 20;\n display: none;\n width: 20px;\n height: 20px;\n justify-content: center;\n & button {\n width: 100%;\n }\n & button * {\n width: 100%;\n height: 100%;\n }\n"], styled_components_1.default.div(_c)); // tslint:disable-next-line:variable-name exports.InsertMarkerDefault = (_d = ["\n background-color: ", ";\n position: absolute;\n height: 4px;\n width: 4px;\n border-radius: 50%;\n div:hover > & {\n background-color: ", "\n }\n"], _d.raw = ["\n background-color: ", ";\n position: absolute;\n height: 4px;\n width: 4px;\n border-radius: 50%;\n div:hover > & {\n background-color: ", "\n }\n"], styled_components_1.default.div(_d, styles_1.akEditorTableBorder, styles_1.akEditorTableBorderSelected)); // tslint:disable-next-line:variable-name exports.LineMarkerDefault = (_e = ["\n background: ", ";\n display: none;\n position: absolute;\n z-index: 1;\n"], _e.raw = ["\n background: ", ";\n display: none;\n position: absolute;\n z-index: 1;\n"], styled_components_1.default.div(_e, styles_1.akEditorTableBorderSelected)); var _a, _b, _c, _d, _e; //# sourceMappingURL=styles.js.map