@textback/notification-widget 2.0.6-110502 → 2.0.6

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.
@@ -1,15 +1,13 @@
1
1
  $base-class-name: tb-nw-wahunter;
2
- $font-family: 'Montserrat',
3
- 'Open Sans',
4
- 'Droid Sans',
5
- Arial,
6
- sans-serif;
7
-
8
- $color-green: #25D366;
9
- $color-light-gray: #F2F2F2;
2
+ $font-family: 'Montserrat', 'Open Sans', 'Droid Sans', Arial, sans-serif;
3
+
4
+ $color-green: #25d366;
5
+ $color-light-gray: #f2f2f2;
10
6
  $color-dark-gray: darken($color-light-gray, 5%);
11
7
 
12
- tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inner tb-nw-wahunter {
8
+ tb-notification-widget
9
+ #tb-notification-widget-inner.tb-notification-widget-inner
10
+ tb-nw-wahunter {
13
11
  font-size: 12px;
14
12
  font-family: $font-family;
15
13
 
@@ -39,9 +37,9 @@ tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inne
39
37
  }
40
38
  }
41
39
 
42
-
43
- tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inner .tb-nw-wahunter {
44
-
40
+ tb-notification-widget
41
+ #tb-notification-widget-inner.tb-notification-widget-inner
42
+ .tb-nw-wahunter {
45
43
  /**** All modes ****/
46
44
  &__headline {
47
45
  font-weight: 600;
@@ -52,8 +50,6 @@ tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inne
52
50
  margin-bottom: 1.4em;
53
51
  }
54
52
 
55
-
56
-
57
53
  /**** Popup mode only ****/
58
54
  &__top-img {
59
55
  padding: 20% 0;
@@ -85,7 +81,6 @@ tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inne
85
81
  }
86
82
 
87
83
  &_without-image {
88
-
89
84
  .#{$base-class-name}__top-img,
90
85
  .#{$base-class-name}__img {
91
86
  display: none;
@@ -103,8 +98,6 @@ tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inne
103
98
  }
104
99
  }
105
100
 
106
-
107
-
108
101
  /**** Inline mode only ****/
109
102
  &_mode_inline {
110
103
  display: flex;
@@ -132,17 +125,18 @@ tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inne
132
125
  justify-content: center;
133
126
  }
134
127
 
135
-
136
-
137
128
  /**** Corner-popup mode only ****/
138
129
  &_mode_corner-popup {
139
130
  .#{$base-class-name}__headline {
140
131
  font-size: 1.7em;
141
132
  margin-bottom: 0.4em;
142
133
  }
143
- }
144
-
145
134
 
135
+ .#{$base-class-name}__agreement-text {
136
+ width: 93%;
137
+ align-items: flex-start;
138
+ }
139
+ }
146
140
 
147
141
  /**** Submit-form ****/
148
142
  &__submit-form {
@@ -163,7 +157,7 @@ tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inne
163
157
  &__phone-input {
164
158
  font-size: 14px;
165
159
  margin-bottom: 12px;
166
- background: #F2F2F2;
160
+ background: #f2f2f2;
167
161
  border: 1px solid $color-dark-gray;
168
162
  letter-spacing: 1px;
169
163
  color: #333;
@@ -211,10 +205,9 @@ tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inne
211
205
 
212
206
  &__agreement {
213
207
  display: flex;
214
- align-items: center;
215
208
  }
216
209
 
217
- &__agreement input[type="checkbox"] {
210
+ &__agreement input[type='checkbox'] {
218
211
  -webkit-appearance: none;
219
212
  -moz-appearance: none;
220
213
  -o-appearance: none;
@@ -246,6 +239,8 @@ tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inne
246
239
 
247
240
  &__agreement-text {
248
241
  margin-left: 5px;
242
+ align-items: center;
243
+ text-align: left;
249
244
  }
250
245
 
251
246
  &__agreement-wa-icon {
@@ -263,6 +258,10 @@ tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inne
263
258
  }
264
259
  }
265
260
 
261
+ &__agreement-personal-data a {
262
+ color: rgba(13, 99, 143, 1);
263
+ }
264
+
266
265
  &__state-report {
267
266
  display: none;
268
267
  flex-direction: column;
@@ -297,10 +296,8 @@ tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inne
297
296
  text-decoration: underline;
298
297
  }
299
298
 
300
-
301
-
302
299
  /**** Submit-form state management ****/
303
- &__submit-form:not([data-state="initial"]) {
300
+ &__submit-form:not([data-state='initial']) {
304
301
  .#{$base-class-name}__submit-form-controls {
305
302
  display: none;
306
303
  }
@@ -310,15 +307,14 @@ tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inne
310
307
  }
311
308
  }
312
309
 
313
- &__submit-form[data-state="success"] {
310
+ &__submit-form[data-state='success'] {
314
311
  #tb-notification-brand-badge {
315
312
  display: inline-flex;
316
313
  }
317
314
  }
318
315
 
319
- &__submit-form[data-state="error"],
320
- &__submit-form[data-state="notFound"] {
321
-
316
+ &__submit-form[data-state='error'],
317
+ &__submit-form[data-state='notFound'] {
322
318
  .#{$base-class-name}__state-report-message {
323
319
  font-weight: normal;
324
320
  }
@@ -328,15 +324,13 @@ tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inne
328
324
  }
329
325
  }
330
326
 
331
-
332
-
333
327
  @media only screen and (min-device-width: 481px) {
334
328
  font-size: 13px;
335
329
 
336
330
  &:not(.tb-nw-wahunter_mode_corner-popup) {
337
331
  .#{$base-class-name}__phone-input-container {
338
332
  padding: 5px;
339
- background: #F2F2F2;
333
+ background: #f2f2f2;
340
334
  border-radius: 22px;
341
335
  display: flex;
342
336
  justify-content: space-between;
@@ -391,8 +385,6 @@ tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inne
391
385
  }
392
386
  }
393
387
 
394
-
395
-
396
388
  @media only screen and (min-device-width: 768px) {
397
389
  font-size: 14px;
398
390
 
@@ -434,8 +426,8 @@ tb-notification-widget #tb-notification-widget-inner.tb-notification-widget-inne
434
426
  margin-right: 10px;
435
427
  }
436
428
 
437
- .#{$base-class-name}__submit-form[data-state="notFound"],
438
- .#{$base-class-name}__submit-form[data-state="error"] {
429
+ .#{$base-class-name}__submit-form[data-state='notFound'],
430
+ .#{$base-class-name}__submit-form[data-state='error'] {
439
431
  .#{$base-class-name}__state-report {
440
432
  align-items: flex-start;
441
433
  }