@codedoc/core
Version:
Create beautiful modern documentation websites.
30 lines • 932 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HintBoxStyle = void 0;
var jss_theme_1 = require("@connectv/jss-theme");
exports.HintBoxStyle = jss_theme_1.themedStyle(function (theme) { return ({
hintbox: {
position: 'fixed',
background: theme.light.background,
borderRadius: 8,
boxShadow: '0 2px 6px rgba(0, 0, 0, .12)',
maxWidth: 256,
fontSize: 13,
zIndex: 100,
top: '100vh',
padding: 8,
transition: 'top .15s, opacity .3s',
opacity: 0,
'body.dark &': {
background: theme.dark.background,
boxShadow: '0 2px 6px rgba(0, 0, 0, .5)',
},
'&.active': { opacity: 1 },
'& .icon-font': {
verticalAlign: 'middle',
marginRight: 8,
transform: 'rotate(180deg)',
},
}
}); });
//# sourceMappingURL=style.js.map