| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- "use strict";
- var _a;
- Object.defineProperty(exports, "__esModule", { value: true });
- var theme_1 = require("../util/theme");
- // tooltip 相关 dom 的 css 类名
- var CssConst = require("./css-const");
- exports.default = (_a = {},
- // css style for tooltip
- _a["" + CssConst.CONTAINER_CLASS] = {
- position: 'absolute',
- visibility: 'visible',
- // @2018-07-25 by blue.lb 这里去掉浮动,火狐上存在样式错位
- // whiteSpace: 'nowrap',
- zIndex: 8,
- transition: 'visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), ' +
- 'left 0.4s cubic-bezier(0.23, 1, 0.32, 1), ' +
- 'top 0.4s cubic-bezier(0.23, 1, 0.32, 1)',
- backgroundColor: 'rgba(255, 255, 255, 0.9)',
- boxShadow: '0px 0px 10px #aeaeae',
- borderRadius: '3px',
- color: 'rgb(87, 87, 87)',
- fontSize: '12px',
- fontFamily: theme_1.default.fontFamily,
- lineHeight: '20px',
- padding: '10px 10px 6px 10px',
- },
- _a["" + CssConst.TITLE_CLASS] = {
- marginBottom: '4px',
- },
- _a["" + CssConst.LIST_CLASS] = {
- margin: '0px',
- listStyleType: 'none',
- padding: '0px',
- },
- _a["" + CssConst.LIST_ITEM_CLASS] = {
- listStyleType: 'none',
- marginBottom: '4px',
- },
- _a["" + CssConst.MARKER_CLASS] = {
- width: '8px',
- height: '8px',
- borderRadius: '50%',
- display: 'inline-block',
- marginRight: '8px',
- },
- _a["" + CssConst.VALUE_CLASS] = {
- display: 'inline-block',
- float: 'right',
- marginLeft: '30px',
- },
- _a["" + CssConst.CROSSHAIR_X] = {
- position: 'absolute',
- width: '1px',
- backgroundColor: 'rgba(0, 0, 0, 0.25)',
- },
- _a["" + CssConst.CROSSHAIR_Y] = {
- position: 'absolute',
- height: '1px',
- backgroundColor: 'rgba(0, 0, 0, 0.25)',
- },
- _a);
- //# sourceMappingURL=html-theme.js.map
|