-
Notifications
You must be signed in to change notification settings - Fork 14
/
widget.html
75 lines (64 loc) · 2.09 KB
/
widget.html
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
63
64
65
66
67
68
69
70
71
72
73
74
75
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Demo App - Widget</title>
<script src="//static.parastorage.com/services/third-party/react/15.3.1/react-with-addons.min.js"></script>
<script src="//static.parastorage.com/services/third-party/react/15.3.1/react-dom.min.js"></script>
<script src="//static.parastorage.com/services/third-party/jquery/3.1.1/dist/jquery.min.js"></script>
<script src="//static.parastorage.com/services/third-party/lodash/4.17.2/lodash.js"></script>
<script src="//static.parastorage.com/services/js-sdk/1.425.0/js/wix.min.js"></script>
<style wix-style>
.wix-style-sample {
background: {{style._backgroundColor color-1}};
}
.sample-title {
{{style._titleFont Heading-L}}
color: {{style._titleColor color-5}};
}
.sample-content {
{{style._descFont Body-M}}
color: {{style._descColor color-4}};
}
.sample-button {
cursor: pointer;
background: {{style._btnBgColor color-8}};
color: {{style._btnTextColor color-1}};
{{style._btnFont Body-M}}
}
.sample-button:hover {
opacity: 0.8;
}
.sample-input {
{{style._inputFont Body-M}}
border:1px solid black;
background: {{style._inputFieldBackground color-4}};
color: {{style._inputColor color-1}};
}
.sample-input::placeholder {
color: {{style.inputCologr color-1}};
opacity: 0.7;
}
a {
color: {{style._linkColor color-8}};
text-decoration: underline;
cursor:pointer;
}
a:hover {
opacity: 0.8;
text-decoration: none;
}
body {
border:1px solid {{style._borderColor color-2}};
}
hr {
background-color: {{style._hrColor color-2}};
height: 1px; border: 0;
}
</style>
</head>
<script src="dist/widget.js"></script>
</html>
<body>
<div id="root"></div>
</body>