UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

15 lines 2.77 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var styled_components_1 = require("styled-components"); var styles_1 = require("../../../styles"); var styles_2 = require("../styles"); // tslint:disable-next-line:variable-name exports.CornerContainer = (_a = ["\n position: absolute;\n top: -", "px;\n left: -", "px;\n width: ", "px;\n height: ", "px;\n"], _a.raw = ["\n position: absolute;\n top: -", "px;\n left: -", "px;\n width: ", "px;\n height: ", "px;\n"], styled_components_1.default.div(_a, styles_1.akEditorTableToolbarSize, styles_1.akEditorTableToolbarSize, styles_1.akEditorTableToolbarSize, styles_1.akEditorTableToolbarSize)); // tslint:disable-next-line:variable-name exports.CornerButton = (_b = ["\n position: absolute;\n right: -1px;\n bottom: -1px;\n width: ", "px;\n height: ", "px;\n background-image: linear-gradient(to bottom right, #fff 0, #fff 49%, ", " 50%, ", " 100%);\n box-shadow: inset 0 0 0 1px #fff;\n border: 1px solid ", ";\n border-top-left-radius: ", ";\n cursor: pointer;\n padding: 0;\n\n &:hover, .active > &, .tableSelected & {\n background-image: linear-gradient(to bottom right, #fff 0, #fff 49%, ", " 50%, ", " 100%);\n border-color: ", ";\n z-index: 1;\n }\n &:focus {\n outline: none;\n }\n"], _b.raw = ["\n position: absolute;\n right: -1px;\n bottom: -1px;\n width: ", "px;\n height: ", "px;\n background-image: linear-gradient(to bottom right, #fff 0, #fff 49%, ", " 50%, ", " 100%);\n box-shadow: inset 0 0 0 1px #fff;\n border: 1px solid ", ";\n border-top-left-radius: ", ";\n cursor: pointer;\n padding: 0;\n\n &:hover, .active > &, .tableSelected & {\n background-image: linear-gradient(to bottom right, #fff 0, #fff 49%, ", " 50%, ", " 100%);\n border-color: ", ";\n z-index: 1;\n }\n &:focus {\n outline: none;\n }\n"], styled_components_1.default.button(_b, styles_1.akEditorTableToolbarSize, styles_1.akEditorTableToolbarSize, styles_1.akEditorTableBorder, styles_1.akEditorTableBorder, styles_1.akEditorTableBorder, styles_1.akEditorTableBorderRadius, styles_1.akEditorTableToolbarSelected, styles_1.akEditorTableToolbarSelected, styles_1.akEditorTableBorderSelected)); // tslint:disable-next-line:variable-name exports.ColumnLineMarker = (_c = ["\n width: 2px;\n left: 8px;\n top: 20px;\n"], _c.raw = ["\n width: 2px;\n left: 8px;\n top: 20px;\n"], styled_components_1.default(styles_2.LineMarkerDefault)(_c)); // tslint:disable-next-line:variable-name exports.RowLineMarker = (_d = ["\n height: 2px;\n top: 8px;\n left: 20px;\n"], _d.raw = ["\n height: 2px;\n top: 8px;\n left: 20px;\n"], styled_components_1.default(styles_2.LineMarkerDefault)(_d)); var _a, _b, _c, _d; //# sourceMappingURL=styles.js.map