UNPKG

@orca-fe/pdf-viewer

Version:
40 lines 794 B
import { createUseStyles } from '@orca-fe/simple-jss'; import jssAutoPrefix from '@orca-fe/jss-plugin-auto-prefix'; var prefix = 'pdf-painter-plugin'; export default createUseStyles({ root: { position: 'relative', display: 'flex', alignItems: 'center' }, toolbar: { backgroundColor: '#eeeeee', padding: '4px 4px', border: '1px solid #DDD', display: 'flex' }, painter: { position: 'absolute', top: 0, left: 0, '&$drawing': { zIndex: 10, width: '100%', height: '100%' }, '&:not($drawing)': { width: 0, height: 0 } }, drawing: { '&:hover, & .shape-creator-root:hover': { outline: '2px solid #19f' } } }, { classNamePrefix: prefix, plugins: [jssAutoPrefix({ prefix })] });