igot-cb-tour-guide 0.0.1-ang-13-17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/guided-tour-base-theme.css +90 -0
- package/css/guided-tour-base-theme.css.map +1 -0
- package/css/guided-tour.component.css +325 -0
- package/css/guided-tour.component.css.map +1 -0
- package/fesm2022/igot-cb-tour-guide.mjs +670 -0
- package/fesm2022/igot-cb-tour-guide.mjs.map +1 -0
- package/igot-cb-tour-guide-0.0.1-ang-13-17.tgz +0 -0
- package/index.d.ts +191 -0
- package/package.json +51 -0
- package/scss/guided-tour-base-theme.scss +144 -0
- package/scss/guided-tour.component.scss +374 -0
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
ngx-guided-tour {
|
|
2
|
+
.guided-tour-user-input-mask {
|
|
3
|
+
position: fixed;
|
|
4
|
+
top: 0;
|
|
5
|
+
left: 0;
|
|
6
|
+
display: block;
|
|
7
|
+
height: 100%;
|
|
8
|
+
width: 100%;
|
|
9
|
+
max-height: 100vh;
|
|
10
|
+
text-align: center;
|
|
11
|
+
opacity: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.guided-tour-spotlight-overlay {
|
|
15
|
+
position: fixed;
|
|
16
|
+
box-shadow: 0 0 0 9999px rgba(0, 0, 0, .7), 0 0 1.5rem rgba(0, 0, 0, .5);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.tour-orb {
|
|
20
|
+
position: fixed;
|
|
21
|
+
width: 20px;
|
|
22
|
+
height: 20px;
|
|
23
|
+
border-radius: 50%;
|
|
24
|
+
|
|
25
|
+
.tour-orb-ring {
|
|
26
|
+
width: 35px;
|
|
27
|
+
height: 35px;
|
|
28
|
+
position: relative;
|
|
29
|
+
top: 50%;
|
|
30
|
+
left: 50%;
|
|
31
|
+
transform: translate(-50%, -50%);
|
|
32
|
+
animation: pulse 2s linear infinite;
|
|
33
|
+
|
|
34
|
+
&:after {
|
|
35
|
+
content: '';
|
|
36
|
+
display: inline-block;
|
|
37
|
+
height: 100%;
|
|
38
|
+
width: 100%;
|
|
39
|
+
border-radius: 50%;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@keyframes pulse {
|
|
44
|
+
from {
|
|
45
|
+
transform: translate(-50%, -50%) scale(0.45);
|
|
46
|
+
opacity: 1.0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
to {
|
|
50
|
+
transform: translate(-50%, -50%) scale(1);
|
|
51
|
+
opacity: 0.0;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.tour-step {
|
|
57
|
+
position: fixed;
|
|
58
|
+
|
|
59
|
+
&.page-tour-step {
|
|
60
|
+
max-width: 400px;
|
|
61
|
+
width: 50%;
|
|
62
|
+
left: 50%;
|
|
63
|
+
top: 50%;
|
|
64
|
+
transform: translate(-50%, -50%)
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.tour-bottom,
|
|
68
|
+
&.tour-bottom-right,
|
|
69
|
+
&.tour-bottom-left {
|
|
70
|
+
.tour-arrow::before {
|
|
71
|
+
position: absolute;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.tour-block {
|
|
75
|
+
margin-top: 10px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.tour-top,
|
|
80
|
+
&.tour-top-right,
|
|
81
|
+
&.tour-top-left {
|
|
82
|
+
margin-bottom: 10px;
|
|
83
|
+
|
|
84
|
+
.tour-arrow::before {
|
|
85
|
+
position: absolute;
|
|
86
|
+
bottom: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.tour-block {
|
|
90
|
+
margin-bottom: 10px;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&.tour-bottom,
|
|
95
|
+
&.tour-top {
|
|
96
|
+
.tour-arrow::before {
|
|
97
|
+
transform: translateX(-50%);
|
|
98
|
+
left: 50%;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&.tour-bottom-right,
|
|
103
|
+
&.tour-top-right {
|
|
104
|
+
.tour-arrow::before {
|
|
105
|
+
transform: translateX(-100%);
|
|
106
|
+
left: calc(100% - 5px);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&.tour-bottom-left,
|
|
111
|
+
&.tour-top-left {
|
|
112
|
+
.tour-arrow::before {
|
|
113
|
+
left: 5px;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&.tour-left {
|
|
118
|
+
.tour-arrow::before {
|
|
119
|
+
position: absolute;
|
|
120
|
+
left: 100%;
|
|
121
|
+
transform: translateX(-100%);
|
|
122
|
+
top: 5px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.tour-block {
|
|
126
|
+
margin-right: 10px;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&.tour-right {
|
|
131
|
+
.tour-arrow::before {
|
|
132
|
+
position: absolute;
|
|
133
|
+
left: 0;
|
|
134
|
+
top: 5px;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.tour-block {
|
|
138
|
+
margin-left: 10px;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.tour-block {
|
|
143
|
+
padding: 15px 25px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.tour-progress-indicator {
|
|
147
|
+
padding-bottom: 15px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.tour-title {
|
|
151
|
+
font-weight: bold !important;
|
|
152
|
+
padding-bottom: 20px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
h3.tour-title {
|
|
156
|
+
font-size: 20px;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
h2.tour-title {
|
|
160
|
+
font-size: 30px;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.tour-content {
|
|
164
|
+
min-height: 80px;
|
|
165
|
+
padding-bottom: 30px;
|
|
166
|
+
font-size: 15px;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.tour-buttons {
|
|
170
|
+
overflow: hidden; // clearfix
|
|
171
|
+
|
|
172
|
+
button.link-button {
|
|
173
|
+
padding-left: 0;
|
|
174
|
+
font-size: 15px;
|
|
175
|
+
font-weight: bold;
|
|
176
|
+
max-width: none !important;
|
|
177
|
+
cursor: pointer;
|
|
178
|
+
text-align: center;
|
|
179
|
+
white-space: nowrap;
|
|
180
|
+
vertical-align: middle;
|
|
181
|
+
border: 1px solid transparent;
|
|
182
|
+
line-height: 1.5;
|
|
183
|
+
background-color: transparent;
|
|
184
|
+
position: relative;
|
|
185
|
+
outline: none;
|
|
186
|
+
padding: 0 15px;
|
|
187
|
+
-webkit-appearance: button;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
button.skip-button.link-button {
|
|
191
|
+
padding-left: 0;
|
|
192
|
+
border-left: 0;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.back-button {
|
|
196
|
+
cursor: pointer;
|
|
197
|
+
border-radius: 1px;
|
|
198
|
+
font-size: 14px;
|
|
199
|
+
border: none;
|
|
200
|
+
outline: none;
|
|
201
|
+
padding-left: 10px;
|
|
202
|
+
padding-right: 10px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.next-button {
|
|
206
|
+
cursor: pointer;
|
|
207
|
+
border-radius: 1px;
|
|
208
|
+
font-size: 14px;
|
|
209
|
+
border: none;
|
|
210
|
+
outline: none;
|
|
211
|
+
padding-left: 10px;
|
|
212
|
+
padding-right: 10px;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
.arrow {
|
|
220
|
+
position: absolute;
|
|
221
|
+
left: -50px;
|
|
222
|
+
top: -13px;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.right-connector {
|
|
226
|
+
transform: scaleX(-1);
|
|
227
|
+
left: 0;
|
|
228
|
+
right: -46px;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
.circle {
|
|
233
|
+
position: absolute;
|
|
234
|
+
box-sizing: border-box;
|
|
235
|
+
height: 118px;
|
|
236
|
+
width: 100px;
|
|
237
|
+
border: 7px solid #000;
|
|
238
|
+
border-radius: 50%;
|
|
239
|
+
-webkit-clip-path: inset(0 50% 0 0);
|
|
240
|
+
clip-path: inset(0 50% 0 0);
|
|
241
|
+
border-style: dotted;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.triangle {
|
|
245
|
+
position: absolute;
|
|
246
|
+
width: 20px;
|
|
247
|
+
height: 15px;
|
|
248
|
+
background: #000;
|
|
249
|
+
margin-top: -6px;
|
|
250
|
+
margin-left: 38px;
|
|
251
|
+
-webkit-clip-path: polygon(50% 0, 0% 100%, 100% 100%);
|
|
252
|
+
clip-path: polygon(50% 0, 0% 100%, 100% 100%);
|
|
253
|
+
-moz-transform: rotate(90deg);
|
|
254
|
+
-webkit-transform: rotate(90deg);
|
|
255
|
+
-o-transform: rotate(90deg);
|
|
256
|
+
-ms-transform: rotate(90deg);
|
|
257
|
+
transform: rotate(90deg);
|
|
258
|
+
}
|
|
259
|
+
.circle-start-dot {
|
|
260
|
+
display: inline;
|
|
261
|
+
width: 16px;
|
|
262
|
+
height: 16px;
|
|
263
|
+
background-color: #F3962E;
|
|
264
|
+
content: "";
|
|
265
|
+
border-radius: 50%;
|
|
266
|
+
position: absolute;
|
|
267
|
+
margin-top: 108px;
|
|
268
|
+
margin-left: 40px;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.tour-step.left-panel:after {
|
|
272
|
+
display: inline;
|
|
273
|
+
width: 8px;
|
|
274
|
+
height: -webkit-fill-available;
|
|
275
|
+
background-color:green;
|
|
276
|
+
position: absolute;
|
|
277
|
+
content: "";
|
|
278
|
+
overflow: hidden;
|
|
279
|
+
top: 10px;
|
|
280
|
+
}
|
|
281
|
+
.tour-step.right-panel:after {
|
|
282
|
+
display: inline;
|
|
283
|
+
width: 8px;
|
|
284
|
+
height: -webkit-fill-available;
|
|
285
|
+
background-color: green;
|
|
286
|
+
right: 0;
|
|
287
|
+
position: absolute;
|
|
288
|
+
content: "";
|
|
289
|
+
overflow: hidden;
|
|
290
|
+
top: 10px;
|
|
291
|
+
}
|
|
292
|
+
.tour-step.top-panel:after {
|
|
293
|
+
display: inline;
|
|
294
|
+
width: 8px;
|
|
295
|
+
height: -webkit-fill-available;
|
|
296
|
+
background-color: green;
|
|
297
|
+
right: 0;
|
|
298
|
+
position: absolute;
|
|
299
|
+
content: "";
|
|
300
|
+
overflow: hidden;
|
|
301
|
+
top: 10px;
|
|
302
|
+
}
|
|
303
|
+
.tour-step.bottom-panel:after {
|
|
304
|
+
display: inline;
|
|
305
|
+
width: 8px;
|
|
306
|
+
height: -webkit-fill-available;
|
|
307
|
+
background-color: green;
|
|
308
|
+
right: 0;
|
|
309
|
+
position: absolute;
|
|
310
|
+
content: "";
|
|
311
|
+
overflow: hidden;
|
|
312
|
+
top: 10px;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/* Dots Styles */
|
|
316
|
+
.progress-container {
|
|
317
|
+
display: flex;
|
|
318
|
+
justify-content: center;
|
|
319
|
+
align-items: center;
|
|
320
|
+
}
|
|
321
|
+
.pagination {
|
|
322
|
+
display: flex;
|
|
323
|
+
justify-content: center;
|
|
324
|
+
align-items: center;
|
|
325
|
+
padding: 0.5rem;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.nav-dots {
|
|
329
|
+
display: inline-block;
|
|
330
|
+
position: relative;
|
|
331
|
+
width: auto;
|
|
332
|
+
height: 10px;
|
|
333
|
+
border-radius: 50%;
|
|
334
|
+
cursor: default;
|
|
335
|
+
margin: 2px;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.nav-dots .nav-dot {
|
|
339
|
+
top: -5px;
|
|
340
|
+
width: 11px;
|
|
341
|
+
height: 11px;
|
|
342
|
+
margin: 0 4px;
|
|
343
|
+
position: relative;
|
|
344
|
+
border-radius: 100%;
|
|
345
|
+
display: inline-block;
|
|
346
|
+
background-color: lightgray;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.nav-dot-active {
|
|
350
|
+
background: #113463;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/* Dots Styles */
|
|
354
|
+
|
|
355
|
+
.top-connector {
|
|
356
|
+
top: -116px !important;
|
|
357
|
+
right: 173px !important;
|
|
358
|
+
|
|
359
|
+
.circle {
|
|
360
|
+
top: 50px;
|
|
361
|
+
left: 80px;
|
|
362
|
+
transform: rotate(180deg);
|
|
363
|
+
width: 50px;
|
|
364
|
+
height: 70px;
|
|
365
|
+
}
|
|
366
|
+
.circle-start-dot {
|
|
367
|
+
margin-left: 100px;
|
|
368
|
+
}
|
|
369
|
+
.triangle {
|
|
370
|
+
left: 63px;
|
|
371
|
+
top: 49px;
|
|
372
|
+
transform: rotate(44deg) !important;
|
|
373
|
+
}
|
|
374
|
+
}
|