UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

13 lines 2.6 kB
import styled from 'styled-components'; import { akEditorTableToolbarSize, akEditorTableBorder, akEditorTableBorderRadius, akEditorTableBorderSelected, akEditorTableToolbarSelected, } from '../../../styles'; import { LineMarkerDefault } from '../styles'; // tslint:disable-next-line:variable-name export var 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.div(_a, akEditorTableToolbarSize, akEditorTableToolbarSize, akEditorTableToolbarSize, akEditorTableToolbarSize)); // tslint:disable-next-line:variable-name export var 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.button(_b, akEditorTableToolbarSize, akEditorTableToolbarSize, akEditorTableBorder, akEditorTableBorder, akEditorTableBorder, akEditorTableBorderRadius, akEditorTableToolbarSelected, akEditorTableToolbarSelected, akEditorTableBorderSelected)); // tslint:disable-next-line:variable-name export var 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(LineMarkerDefault)(_c)); // tslint:disable-next-line:variable-name export var 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(LineMarkerDefault)(_d)); var _a, _b, _c, _d; //# sourceMappingURL=styles.js.map