-
Notifications
You must be signed in to change notification settings - Fork 0
/
DefaultOptions.ts
62 lines (60 loc) · 1.37 KB
/
DefaultOptions.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import type { ModuleOptions } from "./types";
const defaultOptions: ModuleOptions = {
modules: ["DisplaySize", "Resize", "AltText"],
overlayStyles: {
position: "absolute",
boxSizing: "border-box",
border: "1px dashed #444",
},
handleStyles: {
position: "absolute",
height: "12px",
width: "12px",
backgroundColor: "white",
border: "1px solid #777",
boxSizing: "border-box",
opacity: "0.80",
},
displayStyles: {
position: "absolute",
font: "12px/1.0 Arial, Helvetica, sans-serif",
padding: "4px 8px",
textAlign: "center",
backgroundColor: "white",
color: "#333",
border: "1px solid #777",
boxSizing: "border-box",
opacity: "0.80",
cursor: "default",
top: "0.5rem",
right: "0.5rem",
},
toolbarStyles: {
position: "absolute",
top: "-12px",
right: "0",
left: "0",
height: "0",
minWidth: "100px",
font: "12px/1.0 Arial, Helvetica, sans-serif",
textAlign: "center",
color: "#333",
boxSizing: "border-box",
cursor: "default",
},
toolbarButtonStyles: {
display: "inline-block",
width: "24px",
height: "24px",
background: "white",
border: "1px solid #999",
verticalAlign: "middle",
},
toolbarButtonSvgStyles: {
fill: "#444",
stroke: "#444",
strokeWidth: "2",
},
altTextStyles: {},
};
export default defaultOptions;