-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
118 lines (109 loc) · 3.47 KB
/
index.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"
/>
<link
href="https://fonts.googleapis.com/css?family=K2D:400,500"
rel="stylesheet"
/>
<title>Biness Elements demo</title>
<style>
@font-face {
font-family: 'Pacifico';
font-style: normal;
font-weight: 400;
src: local('Pacifico Regular'), local('Pacifico-Regular'),
url(https://fonts.gstatic.com/s/pacifico/v12/Q_Z9mv4hySLTMoMjnk_rCXYhjbSpvc47ee6xR_80Hnw.woff2)
format('woff2');
}
body {
margin: 0;
/* This is a font-stack that tries to use the system-default sans-serifs first */
font-family: 'K2D', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
'Segoe UI Emoji', 'Segoe UI Symbol';
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
line-height: 1.5;
min-height: 100vh;
background-color: #fafafa;
}
:root {
--app-primary-color: #008463;
--app-accent-color: #29b88c;
--app-secondary-color: black;
--app-secondary-background: #f7f7f7;
--app-light-text-color: rgba(0, 0, 0, 0.6);
--app-accent-color: #8642ff;
--app-text-color: black;
}
h3 {
font-size: 1.5rem;
color: #1c5567;
font-weight: 500;
}
h2 {
font-size: 1rem;
color: #1c5567;
font-weight: 500;
}
.content {
max-width: 917px;
margin: 0 auto;
}
.component-wrapper {
padding: 1em;
border-radius: 4px;
background-color: white;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
margin-bottom: 3em;
}
</style>
<script src="./node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<!-- <script type="module">
import '@polymer/iron-demo-helpers/demo-pages-shared-styles';
import '@polymer/iron-demo-helpers/demo-snippet';
</script> -->
<script type="module" src="./app.js"></script>
<custom-style>
<style is="custom-style" include="demo-pages-shared-styles"></style>
</custom-style>
</head>
<body>
<div class="vertical-section-container centered">
<section class="content">
<header>
<h3>Biness Elements Demo</h3>
</header>
<!-- Notify -->
<div class="card component-wrapper">
<h2>Biness Notify</h2>
<div>
<button onClick="document.querySelector('biness-notify').open();">
Open Notify
</button>
</div>
<biness-notify
opened
message="Success! You have seen this message"
type="success"
></biness-notify>
</div>
<!-- Step Progress -->
<div class="card component-wrapper">
<h2>Biness Step Progress</h2>
<biness-step-progress index="1"> </biness-step-progress>
</div>
<!-- Quantity Input -->
<div class="card component-wrapper">
<h2>Biness Quantity Input</h2>
<biness-quantity-input> </biness-quantity-input>
</div>
</section>
</div>
</body>
</html>