@atlaskit/editor-core
Version:
A package contains Atlassian editor core functionality
15 lines • 2.56 kB
JavaScript
import styled from 'styled-components';
import { akEditorTableToolbarSelected, akEditorTableBorder, akEditorTableBorderSelected, akEditorTableToolbar, } from '../../styles';
export var toolbarSize = 11;
// tslint:disable-next-line:variable-name
export var Container = (_a = ["\n position: relative;\n"], _a.raw = ["\n position: relative;\n"], styled.div(_a));
// tslint:disable-next-line:variable-name
export var 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.button(_b, akEditorTableToolbar, akEditorTableBorder, akEditorTableBorder, akEditorTableToolbarSelected, akEditorTableBorderSelected));
// tslint:disable-next-line:variable-name
export var 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.div(_c));
// tslint:disable-next-line:variable-name
export var 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.div(_d, akEditorTableBorder, akEditorTableBorderSelected));
// tslint:disable-next-line:variable-name
export var 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.div(_e, akEditorTableBorderSelected));
var _a, _b, _c, _d, _e;
//# sourceMappingURL=styles.js.map