toggle-components-library 1.36.1 → 1.36.3

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.
Files changed (34) hide show
  1. package/dist/img/airship-feedback-hover.a207c947.svg +10 -0
  2. package/dist/img/airship-feedback.1f7c858c.svg +10 -0
  3. package/dist/toggle-components-library.common.js +39123 -13087
  4. package/dist/toggle-components-library.common.js.map +1 -1
  5. package/dist/toggle-components-library.css +1 -1
  6. package/dist/toggle-components-library.umd.js +39123 -13087
  7. package/dist/toggle-components-library.umd.js.map +1 -1
  8. package/dist/toggle-components-library.umd.min.js +285 -8
  9. package/dist/toggle-components-library.umd.min.js.map +1 -1
  10. package/package-lock.json +83 -89
  11. package/package.json +2 -1
  12. package/src/assets/icons/airship-feedback-hover.svg +10 -0
  13. package/src/assets/icons/airship-feedback.svg +10 -0
  14. package/src/components/buttons/ToggleMetricsButton.vue +22 -3
  15. package/src/components/cards/ToggleCommentCard.vue +55 -0
  16. package/src/components/carousel/ToggleCarousel.vue +29 -16
  17. package/src/components/carousel/ToggleCarouselSlide.vue +1 -1
  18. package/src/components/forms/ToggleDatePicker.vue +229 -138
  19. package/src/components/forms/ToggleInputSelect.vue +7 -13
  20. package/src/components/forms/ToggleInputText.vue +6 -15
  21. package/src/components/metrics/ToggleMetricSingleMetric.vue +12 -7
  22. package/src/components/metrics/ToggleMetricSparkLine.vue +7 -3
  23. package/src/components/mixins/mixins.js +2 -2
  24. package/src/components/tables/ToggleTable.vue +49 -114
  25. package/src/index.js +4 -4
  26. package/src/sass/includes/_as_buttons.scss +47 -4
  27. package/src/sass/includes/_as_cards.scss +33 -0
  28. package/src/sass/includes/_as_carousels.scss +12 -0
  29. package/src/sass/includes/_as_inputs.scss +832 -832
  30. package/src/sass/includes/_as_metrics.scss +5 -0
  31. package/src/sass/includes/_as_navs.scss +18 -2
  32. package/src/sass/includes/_as_table.scss +163 -163
  33. package/dist/img/contacts-greyblue.ef6f8a9a.svg +0 -1
  34. package/dist/img/contacts-white.95d07c7a.svg +0 -1
@@ -8,338 +8,338 @@
8
8
  .toggle-input-search-options,
9
9
  .toggle-input-select,
10
10
  .toggle-contact-search-container{
11
- @include toggle-global-font-config;
11
+ @include toggle-global-font-config;
12
12
  }
13
13
 
14
14
  .toggle-input-counter{
15
- font-size: $toggle-font-size-small;
16
- display : inline-block;
17
- float : right;
15
+ font-size: $toggle-font-size-small;
16
+ display : inline-block;
17
+ float : right;
18
18
  }
19
19
 
20
20
  .toggle-input, .toggle-input-select, .toggle-input-crud-container{
21
- font-size : $toggle-font-size-large;
22
- color : $toggle-input-colour;
23
- width : 100%;
24
- background-color: transparent;
25
- background: none;
26
- border : none;
27
- font-weight : bold;
28
- border-radius : 5px;
29
- padding : 0 0 1rem 0;
30
- box-sizing : border-box;
31
- padding: 0rem 3.5rem 1rem 0rem;
32
- position : relative;
33
- box-shadow : none;
34
- z-index : 1;
35
- background-color : transparent;
36
- background-image : none;
37
- height: 2.8rem;
38
- clear: both;
39
- float: left;
40
- margin: 0;
41
-
42
- &.height-medium {
43
- height: 6rem;
44
- }
45
-
46
- &.height-large {
47
- height: 10rem;
48
- }
49
-
50
- &.height-extra-large {
51
- height: 15rem;
52
- }
21
+ font-size : $toggle-font-size-large;
22
+ color : $toggle-input-colour;
23
+ width : 100%;
24
+ background-color: transparent;
25
+ background: none;
26
+ border : none;
27
+ font-weight : bold;
28
+ border-radius : 5px;
29
+ padding : 0 0 1rem 0;
30
+ box-sizing : border-box;
31
+ padding: 0rem 3.5rem 1rem 0rem;
32
+ position : relative;
33
+ box-shadow : none;
34
+ z-index : 1;
35
+ background-color : transparent;
36
+ background-image : none;
37
+ height: 2.8rem;
38
+ clear: both;
39
+ float: left;
40
+ margin: 0;
41
+
42
+ &.height-medium {
43
+ height: 6rem;
44
+ }
45
+
46
+ &.height-large {
47
+ height: 10rem;
48
+ }
49
+
50
+ &.height-extra-large {
51
+ height: 15rem;
52
+ }
53
53
 
54
54
  }
55
55
 
56
56
  .toggle-input-search-options-container{
57
- position:relative;
58
- float:left;
59
- clear: both;
60
- width: 100%;
57
+ position:relative;
58
+ float:left;
59
+ clear: both;
60
+ width: 100%;
61
61
  }
62
62
 
63
63
 
64
64
  .toggle-input-search-options{
65
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
66
- float:left;
67
- clear: both;
68
- background: $toggle-white;
69
- margin:0;
70
- width:100%;
71
- padding: 0;
72
- position:absolute;
73
- list-style: none;
74
- max-height: 10rem;
75
- overflow: scroll;
76
- z-index: 10;
77
-
78
- li{
79
- padding:0.5rem 0.5rem 0 0.5rem;
80
- cursor: pointer;
81
- opacity: 0.8;
82
-
83
- &:hover{
84
- opacity: 1;
85
- }
86
- &:last-child{
87
- padding:0.5rem;
65
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
66
+ float:left;
67
+ clear: both;
68
+ background: $toggle-white;
69
+ margin:0;
70
+ width:100%;
71
+ padding: 0;
72
+ position:absolute;
73
+ list-style: none;
74
+ max-height: 10rem;
75
+ overflow: scroll;
76
+ z-index: 10;
77
+
78
+ li{
79
+ padding:0.5rem 0.5rem 0 0.5rem;
80
+ cursor: pointer;
81
+ opacity: 0.8;
82
+
83
+ &:hover{
84
+ opacity: 1;
85
+ }
86
+ &:last-child{
87
+ padding:0.5rem;
88
+ }
88
89
  }
89
- }
90
90
  }
91
91
 
92
- // placeholders
92
+ // placeholders
93
93
  ::-webkit-input-placeholder { /* Edge */
94
- color:$toggle-placeholder-grey;
94
+ color:$toggle-placeholder-grey;
95
95
  }
96
96
  :-ms-input-placeholder { /* Internet Explorer 10-11 */
97
- color:$toggle-placeholder-grey;
97
+ color:$toggle-placeholder-grey;
98
98
  }
99
99
  ::placeholder {
100
- color:$toggle-placeholder-grey;
100
+ color:$toggle-placeholder-grey;
101
101
  }
102
102
 
103
103
  .toggle-input-is-invalid{
104
- border:1px solid $toggle-error-red !important;
104
+ border:1px solid $toggle-error-red !important;
105
105
  }
106
106
 
107
107
 
108
108
 
109
109
  .toggle-input-container, .toggle-date-container, .toggle-input-group{
110
110
 
111
- padding : 0.8rem 1.2rem 1.4rem 1.2rem;
112
- background-color: $toggle-off-white;
113
- border-radius : 9px;
114
- box-sizing : border-box;
115
- border : 1px solid $toggle-off-white;
116
- position : relative;
117
- float : left;
118
- width : 100%;
119
- &:hover {
120
- background-color: $toggle-white;
121
- }
122
- &.margin-bottom-0{
123
- padding-bottom:0;
124
- }
111
+ padding : 0.8rem 1.2rem 1.4rem 1.2rem;
112
+ background-color: $toggle-off-white;
113
+ border-radius : 9px;
114
+ box-sizing : border-box;
115
+ border : 1px solid $toggle-off-white;
116
+ position : relative;
117
+ float : left;
118
+ width : 100%;
119
+ &:hover {
120
+ background-color: $toggle-white;
121
+ }
122
+ &.margin-bottom-0{
123
+ padding-bottom:0;
124
+ }
125
125
 
126
126
  }
127
127
 
128
128
  // When inputs are inside input groups or modals, they look a bit different
129
129
  .toggle-input-group, .toggle-modal-container, .toggle-input-radio-group-container{
130
- .toggle-input-is-invalid{
131
- border:none !important;
132
- }
133
-
134
- .toggle-input-container, .toggle-date-container{
135
- padding: 0 0 1.4rem 0 ;
136
- background:none;
137
- border:none;
138
- }
139
- .toggle-input{
140
- background:$toggle-dark-grey;
141
- padding : 0.5rem 2.5rem 0.5rem 1rem;
142
- }
130
+ .toggle-input-is-invalid{
131
+ border:none !important;
132
+ }
133
+
134
+ .toggle-input-container, .toggle-date-container{
135
+ padding: 0 0 1.4rem 0 ;
136
+ background:none;
137
+ border:none;
138
+ }
139
+ .toggle-input{
140
+ background:$toggle-dark-grey;
141
+ padding : 0.5rem 2.5rem 0.5rem 1rem;
142
+ }
143
143
  }
144
144
 
145
145
 
146
146
  .toggle-input-label {
147
- display : inline-block;
148
- font-size: 1rem;
149
- color : $toggle-input-colour;
150
- margin-bottom: 0.5rem;
151
- float: left;
147
+ display : inline-block;
148
+ font-size: 1rem;
149
+ color : $toggle-input-colour;
150
+ margin-bottom: 0.5rem;
151
+ float: left;
152
152
  }
153
153
 
154
154
  .toggle-input-label-error {
155
- font-size: $toggle-font-size-small;
156
- color : $toggle-error-red !important;
157
- display : block;
158
- position : absolute;
159
- bottom : 0.3rem;
155
+ font-size: $toggle-font-size-small;
156
+ color : $toggle-error-red !important;
157
+ display : block;
158
+ position : absolute;
159
+ bottom : 0.3rem;
160
160
  }
161
161
 
162
162
  // date picker
163
163
 
164
164
  .toggle-date-container{
165
165
 
166
- *{
167
- font-family: $toggle-font-family;
168
- color : $toggle-input-colour;
169
- }
166
+ *{
167
+ font-family: $toggle-font-family;
168
+ color : $toggle-input-colour;
169
+ }
170
170
 
171
- .toggle-input{
172
- padding:0.5rem 3.5rem 0.5rem 1rem;
173
- background-color: $toggle-dark-grey;
174
- }
171
+ .toggle-input{
172
+ padding:0.5rem 3.5rem 0.5rem 1rem;
173
+ background-color: $toggle-dark-grey;
174
+ }
175
175
  }
176
176
 
177
177
 
178
178
 
179
179
  .toggle-clear{
180
- background : transparent;
181
- background-image : url('../assets/icons/delete.svg');
182
- background-repeat: no-repeat;
183
- cursor : pointer;
184
- margin-left : 1rem;
185
- height : 1.5rem;
186
- width : 1.5rem;
187
- border : none;
180
+ background : transparent;
181
+ background-image : url('../assets/icons/delete.svg');
182
+ background-repeat: no-repeat;
183
+ cursor : pointer;
184
+ margin-left : 1rem;
185
+ height : 1.5rem;
186
+ width : 1.5rem;
187
+ border : none;
188
188
  }
189
189
 
190
190
  .toggle-clear-dates {
191
- position : absolute;
192
- top : 1rem;
193
- right : 1rem;
194
- background: url("../assets/icons/grey_cross.svg") no-repeat;
195
- width : 1rem;
196
- height : 1rem;
197
- opacity : 0.5;
198
- cursor : pointer;
199
- &:hover {
200
- opacity: 1;
201
- }
191
+ position : absolute;
192
+ top : 1rem;
193
+ right : 1rem;
194
+ background: url("../assets/icons/grey_cross.svg") no-repeat;
195
+ width : 1rem;
196
+ height : 1rem;
197
+ opacity : 0.5;
198
+ cursor : pointer;
199
+ &:hover {
200
+ opacity: 1;
201
+ }
202
202
  }
203
203
 
204
204
 
205
205
 
206
206
  .toggle-date-input-container {
207
- display: flex;
208
- align-items: center;
209
- width:100%;
210
- clear: both;
211
- float:left;
207
+ display: flex;
208
+ align-items: center;
209
+ width:100%;
210
+ clear: both;
211
+ float:left;
212
212
  }
213
213
 
214
214
  .toggle-date-input-calendar-icon{
215
- position:relative;
216
- width: 100%;
217
- &:after{
218
- cursor: pointer;
219
- content: url("../assets/icons/calendar.svg");
220
- width: 1.5rem;
221
- height: 1.5rem;
222
- position: absolute;
223
- right: 1rem;
224
- top: 0.7rem;
225
- pointer-events: none;
226
- z-index: 2;
227
- }
228
- }
229
-
230
- .calendar-icon-disabled {
231
- cursor: default;
232
- opacity: 0.5;
233
- }
234
-
235
- .toggle-input-select-container {
236
- position:relative;
237
- background-color: $toggle-dark-grey;
238
- border-radius:5px;
239
- overflow: auto;
240
- float: left;
241
- clear: both;
242
- width: 100%;
243
- container-type: inline-size;
244
- @container (inline-size > 140px){
215
+ position:relative;
216
+ width: 100%;
245
217
  &:after{
246
- content: '';
247
- width: 1.5rem;
248
- height: 1.5rem;
249
- background: transparent url("../assets/icons/arrow_down.svg") no-repeat 100% 50%;
250
- position: absolute;
251
- z-index: 1;
252
- right: 1rem;
253
- top: 0.7rem;
254
- pointer-events: none;
218
+ cursor: pointer;
219
+ content: url("../assets/icons/calendar.svg");
220
+ width: 1.5rem;
221
+ height: 1.5rem;
222
+ position: absolute;
223
+ right: 1rem;
224
+ top: 0.7rem;
225
+ pointer-events: none;
226
+ z-index: 2;
255
227
  }
256
- }
257
228
  }
258
229
 
230
+ .toggle-date-input-calendar-icon-disabled {
231
+ cursor: default;
232
+ opacity: 0.4;
233
+ }
234
+
235
+ .toggle-date-input-disabled {
236
+ opacity: 0.7 !important;
237
+ }
238
+
239
+ .toggle-input-select-container{
240
+ position:relative;
241
+ background-color: $toggle-dark-grey;
242
+ border-radius:5px;
243
+ overflow: auto;
244
+ float: left;
245
+ clear: both;
246
+ width: 100%;
247
+ &:after{
248
+ content: '';
249
+ width: 1.5rem;
250
+ height: 1.5rem;
251
+ background: transparent url("../assets/icons/arrow_down.svg") no-repeat 100% 50%;
252
+ position: absolute;
253
+ right: 1rem;
254
+ top: 0.7rem;
255
+ pointer-events: none;
256
+ }
257
+ }
258
+
259
+
259
260
  .toggle-input-select{
260
261
 
261
- //padding : 0.5rem 2.5rem 0.5rem 1rem;
262
- padding: 0.5rem;
263
- cursor : pointer;
262
+ padding : 0.5rem 2.5rem 0.5rem 1rem;
263
+ cursor : pointer;
264
264
 
265
- -webkit-appearance: none;
266
- -moz-appearance : none;
267
- appearance : none;
265
+ -webkit-appearance: none;
266
+ -moz-appearance : none;
267
+ appearance : none;
268
268
 
269
- &:focus {
270
- outline: none;
271
- }
269
+ &:focus {
270
+ outline: none;
271
+ }
272
272
  }
273
273
 
274
274
  // For multi tier side nav
275
275
  .toggle-multi-tier-sidenav-container {
276
276
 
277
- .toggle-input-container {
278
- padding: 0.4rem 0rem 0rem 0.8rem;
279
- }
277
+ .toggle-input-container {
278
+ padding: 0.4rem 0rem 0rem 0.8rem;
279
+ }
280
280
 
281
- .toggle-input-label {
282
- margin-bottom: 0;
283
- font-size: 0.8rem;
284
- }
281
+ .toggle-input-label {
282
+ margin-bottom: 0;
283
+ font-size: 0.8rem;
284
+ }
285
285
 
286
- .toggle-input-select-container {
287
- position: relative;
288
- background-color: transparent;
289
- }
286
+ .toggle-input-select-container {
287
+ position: relative;
288
+ background-color: transparent;
289
+ }
290
290
 
291
- .toggle-input-select {
292
- padding: 0rem;
293
- font-size: 0.9rem;
294
- }
291
+ .toggle-input-select {
292
+ padding: 0rem;
293
+ font-size: 0.9rem;
294
+ }
295
295
  }
296
296
 
297
297
  // radio
298
298
 
299
299
  .toggle-input-radio-container{
300
300
 
301
- display : flex;
302
- padding-bottom:0.4rem;
303
- width:100%;
304
- clear: both;
305
- float: left;
306
- &.wrap {
307
- flex-wrap: wrap;
308
- }
309
- .toggle-input-radio,.toggle-input-checkbox, .toggle-input-checkbox-inline{
310
- background-color: $toggle-dark-grey;
311
- }
301
+ display : flex;
302
+ padding-bottom:0.4rem;
303
+ width:100%;
304
+ clear: both;
305
+ float: left;
306
+ &.wrap {
307
+ flex-wrap: wrap;
308
+ }
309
+ .toggle-input-radio,.toggle-input-checkbox, .toggle-input-checkbox-inline{
310
+ background-color: $toggle-dark-grey;
311
+ }
312
312
 
313
- .toggle-input-radio-button-img{
314
- margin-left: 1rem;
315
- }
316
- .toggle-input-checkbox-icon {
317
- height: 2rem;
318
- margin-left: auto ;
319
- }
313
+ .toggle-input-radio-button-img{
314
+ margin-left: 1rem;
315
+ }
316
+ .toggle-input-checkbox-icon {
317
+ height: 2rem;
318
+ margin-left: auto ;
319
+ }
320
320
 
321
321
  }
322
322
 
323
323
  .toggle-input-radio-group-container{
324
324
 
325
- padding-bottom:0.4rem;
326
- clear: both;
327
- float: left;
325
+ padding-bottom:0.4rem;
326
+ clear: both;
327
+ float: left;
328
328
 
329
- .toggle-input-container{
330
- padding-bottom:0;
329
+ .toggle-input-container{
330
+ padding-bottom:0;
331
331
 
332
- }
332
+ }
333
333
 
334
- .toggle-input-checkbox, .toggle-input-checkbox-inline{
335
- background-color: $toggle-dark-grey;
336
- }
334
+ .toggle-input-checkbox, .toggle-input-checkbox-inline{
335
+ background-color: $toggle-dark-grey;
336
+ }
337
337
 
338
- .toggle-input-radio{
339
- clear:both;
340
- float: left;
341
- margin-left:2.2rem;
342
- }
338
+ .toggle-input-radio{
339
+ clear:both;
340
+ float: left;
341
+ margin-left:2.2rem;
342
+ }
343
343
 
344
344
  }
345
345
 
@@ -347,154 +347,154 @@
347
347
 
348
348
 
349
349
  .toggle-input-radio, .toggle-input-checkbox, .toggle-input-checkbox-inline{
350
- cursor : pointer;
351
- align-items : center;
352
- float : left;
353
- display : inline-block;
354
- padding : 0 1rem;
355
- background-color: $toggle-off-white;
356
- border-radius : 6px;
357
- margin-right : 1rem;
358
- margin-bottom : 1rem;
359
- &:hover {
350
+ cursor : pointer;
351
+ align-items : center;
352
+ float : left;
353
+ display : inline-block;
354
+ padding : 0 1rem;
360
355
  background-color: $toggle-off-white;
361
- }
362
- span {
363
- float: left;
364
- display: inline-block;
365
- }
366
- min-height: 2.8rem;;
367
- box-sizing:border-box;
368
- display: flex;
369
- align-items: center;
370
-
371
- div{
372
- display : flex;
356
+ border-radius : 6px;
357
+ margin-right : 1rem;
358
+ margin-bottom : 1rem;
359
+ &:hover {
360
+ background-color: $toggle-off-white;
361
+ }
362
+ span {
363
+ float: left;
364
+ display: inline-block;
365
+ }
366
+ min-height: 2.8rem;;
367
+ box-sizing:border-box;
368
+ display: flex;
373
369
  align-items: center;
374
- }
375
370
 
371
+ div{
372
+ display : flex;
373
+ align-items: center;
374
+ }
376
375
 
377
- input[type="radio"], input[type="checkbox"]{
378
- display: none;
379
- }
380
376
 
381
- &:hover > input + div {
382
- .toggle-input-radio-check-element{
383
- background: #D1D1D1;
384
- border-radius: 25px;
377
+ input[type="radio"], input[type="checkbox"]{
378
+ display: none;
385
379
  }
386
- .toggle-input-checkbox-check-element{
387
- background: url('../assets/icons/checkbox_hover.svg') no-repeat;
380
+
381
+ &:hover > input + div {
382
+ .toggle-input-radio-check-element{
383
+ background: #D1D1D1;
384
+ border-radius: 25px;
385
+ }
386
+ .toggle-input-checkbox-check-element{
387
+ background: url('../assets/icons/checkbox_hover.svg') no-repeat;
388
+ }
388
389
  }
389
- }
390
390
 
391
- > input:checked + div{ /* (RADIO CHECKED) IMAGE STYLES */
392
- .toggle-input-radio-check-element {
393
- background: url('../assets/icons/tick_circle.svg') no-repeat;
391
+ > input:checked + div{ /* (RADIO CHECKED) IMAGE STYLES */
392
+ .toggle-input-radio-check-element {
393
+ background: url('../assets/icons/tick_circle.svg') no-repeat;
394
+ }
394
395
  }
395
- }
396
396
 
397
- > input:checked + div{ /* (RADIO CHECKED) IMAGE STYLES */
398
- .toggle-input-checkbox-check-element {
399
- background: url('../assets/icons/checkbox_checked.svg') no-repeat;
397
+ > input:checked + div{ /* (RADIO CHECKED) IMAGE STYLES */
398
+ .toggle-input-checkbox-check-element {
399
+ background: url('../assets/icons/checkbox_checked.svg') no-repeat;
400
+ }
400
401
  }
401
- }
402
402
 
403
403
 
404
404
 
405
- > input:disabled:checked + div{
406
- .toggle-input-radio-check-element {
407
- background: url('../assets/icons/tick_circle_grey.svg') no-repeat !important;
405
+ > input:disabled:checked + div{
406
+ .toggle-input-radio-check-element {
407
+ background: url('../assets/icons/tick_circle_grey.svg') no-repeat !important;
408
+ }
409
+
408
410
  }
409
411
 
410
- }
412
+ > input:disabled:checked + div{
413
+ .toggle-input-checkbox-check-element {
414
+ background: url('../assets/icons/checkbox_inactive.svg') no-repeat !important;
415
+ }
411
416
 
412
- > input:disabled:checked + div{
413
- .toggle-input-checkbox-check-element {
414
- background: url('../assets/icons/checkbox_inactive.svg') no-repeat !important;
415
417
  }
416
418
 
417
- }
418
-
419
419
  }
420
420
 
421
421
  .toggle-input-is-disabled{
422
- .toggle-input-radio, .toggle-input-checkbox, .toggle-input-checkbox-inline{
423
- &:hover > input + div {
424
- .toggle-input-radio-check-element{
425
- background: url('../assets/icons/circle_blank.svg') no-repeat;
426
- }
422
+ .toggle-input-radio, .toggle-input-checkbox, .toggle-input-checkbox-inline{
423
+ &:hover > input + div {
424
+ .toggle-input-radio-check-element{
425
+ background: url('../assets/icons/circle_blank.svg') no-repeat;
426
+ }
427
+ }
427
428
  }
428
- }
429
- .toggle-input-radio-label, .toggle-input-checkbox-label{
430
- opacity: 0.5;
431
- }
432
- .toggle-input-label, .toggle-input, .toggle-contact-search-container{
433
- opacity: 0.5;
434
- }
435
- .toggle-input-select-container{
436
- &:after{
437
- opacity: 0.3;
429
+ .toggle-input-radio-label, .toggle-input-checkbox-label{
430
+ opacity: 0.5;
431
+ }
432
+ .toggle-input-label, .toggle-input, .toggle-contact-search-container{
433
+ opacity: 0.5;
434
+ }
435
+ .toggle-input-select-container{
436
+ &:after{
437
+ opacity: 0.3;
438
+ }
438
439
  }
439
- }
440
440
  }
441
441
 
442
442
  .toggle-input-is-readonly:focus {
443
- outline: none;
443
+ outline: none;
444
444
  }
445
445
 
446
446
  .toggle-input-radio-label, .toggle-input-checkbox-label{
447
- display : inline-block;
448
- font-size: $toggle-font-size-large;
449
- color : $toggle-input-colour;
450
- border-radius: 3px;
451
- font-weight: bold;
452
- padding: 0.3rem 0;
453
- display: inline-block;
454
- text-align: left;
455
-
456
- &.active{
457
- padding: 0.25rem 1rem;
458
- text-align: center;
459
- color: white;
460
- background-color: $toggle-success-green;
461
- }
462
-
463
- &.inactive {
464
- padding: 0.25rem 1rem;
465
- text-align: center;
466
- color: white;
467
- background-color: $toggle-inactive-grey;
468
- }
447
+ display : inline-block;
448
+ font-size: $toggle-font-size-large;
449
+ color : $toggle-input-colour;
450
+ border-radius: 3px;
451
+ font-weight: bold;
452
+ padding: 0.3rem 0;
453
+ display: inline-block;
454
+ text-align: left;
455
+
456
+ &.active{
457
+ padding: 0.25rem 1rem;
458
+ text-align: center;
459
+ color: white;
460
+ background-color: $toggle-success-green;
461
+ }
462
+
463
+ &.inactive {
464
+ padding: 0.25rem 1rem;
465
+ text-align: center;
466
+ color: white;
467
+ background-color: $toggle-inactive-grey;
468
+ }
469
469
  }
470
470
 
471
471
  .toggle-input-radio-check-element, .toggle-input-checkbox-check-element {
472
- background: url('../assets/icons/circle_blank.svg') no-repeat;
473
- background-size: 100%;
474
- margin: 0px 1rem 0 0;
475
- vertical-align: text-top;
476
- display: inline-block;
477
- float: none;
478
- height: 1.2rem;
479
- min-width: 1.2rem;
480
- float: left;
472
+ background: url('../assets/icons/circle_blank.svg') no-repeat;
473
+ background-size: 100%;
474
+ margin: 0px 1rem 0 0;
475
+ vertical-align: text-top;
476
+ display: inline-block;
477
+ float: none;
478
+ height: 1.2rem;
479
+ min-width: 1.2rem;
480
+ float: left;
481
481
  }
482
482
 
483
483
  .toggle-input-checkbox-inline{
484
- padding: 0;
485
- min-height:0;
486
- display: inline-block;
487
- float: none;
488
- margin:0;
484
+ padding: 0;
485
+ min-height:0;
486
+ display: inline-block;
487
+ float: none;
488
+ margin:0;
489
489
 
490
- .toggle-input-checkbox-check-element{
491
- margin: 0;
492
- }
490
+ .toggle-input-checkbox-check-element{
491
+ margin: 0;
492
+ }
493
493
 
494
494
  }
495
495
 
496
496
  .toggle-input-checkbox-check-element {
497
- background: url('../assets/icons/checkbox_blank.svg') no-repeat;
497
+ background: url('../assets/icons/checkbox_blank.svg') no-repeat;
498
498
  }
499
499
 
500
500
  // image input
@@ -504,461 +504,461 @@ $thumbnailWidth:80px;
504
504
  $iconWidth:20px;
505
505
 
506
506
  .toggle-helper-text {
507
- font-size: 12px;
507
+ font-size: 12px;
508
508
  }
509
509
 
510
510
  .toggle-dropzone-image-holder {
511
- display:flex;
512
- justify-content: left;
513
- align-items: center;
514
- width:100%;
515
- .toggle-draggable-group {
516
- min-height: 20px;
517
- padding:0%;
518
- span {
519
- display: flex;
520
- align-items: center;
521
- .toggle-dark-grey {
522
- border:7px solid inherit;
523
- }
524
- .toggle-draggable-group-item {
525
- position: relative;
526
- list-style: none;
527
- margin:5px 10px 5px 0px;
528
- .toggle-item-img {
529
- margin:2px;
530
- height:$thumbnailWidth;
531
- width:$thumbnailWidth;
532
- background-size: cover !important;
533
- background-position: center;
534
- border-radius:4px;
535
- }
536
- .toggle-center {
537
- display: flex;
538
- align-items: center;
539
- justify-content: center;
540
- }
541
- .toggle-move-icon::after {
542
- position: absolute;
543
- content:'';
544
- height: 100%;
545
- width: 100%;
546
- background-size: $iconWidth!important;
547
- background: url('../assets/icons/draggable.svg') no-repeat center center;
548
- cursor: move;
549
- }
550
-
551
- }
552
- .toggle-button-container{
553
- border:0px solid transparent!important;
554
- .toggle-button{
555
- width:$iconWidth;
556
- height:$iconWidth;
511
+ display:flex;
512
+ justify-content: left;
513
+ align-items: center;
514
+ width:100%;
515
+ .toggle-draggable-group {
516
+ min-height: 20px;
517
+ padding:0%;
518
+ span {
519
+ display: flex;
520
+ align-items: center;
521
+ .toggle-dark-grey {
522
+ border:7px solid inherit;
523
+ }
524
+ .toggle-draggable-group-item {
525
+ position: relative;
526
+ list-style: none;
527
+ margin:5px 10px 5px 0px;
528
+ .toggle-item-img {
529
+ margin:2px;
530
+ height:$thumbnailWidth;
531
+ width:$thumbnailWidth;
532
+ background-size: cover !important;
533
+ background-position: center;
534
+ border-radius:4px;
535
+ }
536
+ .toggle-center {
537
+ display: flex;
538
+ align-items: center;
539
+ justify-content: center;
540
+ }
541
+ .toggle-move-icon::after {
542
+ position: absolute;
543
+ content:'';
544
+ height: 100%;
545
+ width: 100%;
546
+ background-size: $iconWidth!important;
547
+ background: url('../assets/icons/draggable.svg') no-repeat center center;
548
+ cursor: move;
549
+ }
550
+
551
+ }
552
+ .toggle-button-container{
553
+ border:0px solid transparent!important;
554
+ .toggle-button{
555
+ width:$iconWidth;
556
+ height:$iconWidth;
557
+ }
558
+ }
559
+
560
+
561
+ li:first-child div:first-child{
562
+ border:4px solid #189ED1;
563
+ margin:0px !important;
564
+ }
557
565
  }
558
- }
559
-
560
-
561
- li:first-child div:first-child{
562
- border:4px solid #189ED1;
563
- margin:0px !important;
564
- }
565
566
  }
566
- }
567
567
 
568
568
 
569
569
 
570
570
  }
571
571
 
572
572
  .toggle-dropzone-container{
573
- margin:0px 5px 30px 0px;
574
- margin-bottom:42px;
575
- background: $toggle-dark-grey;
576
- background-size: auto 100%;
577
- background-position: center;
578
- background-repeat: no-repeat;
579
- border-radius: 4px;
580
- display: block;
581
- position:relative;
582
- background: #F4F6F7 url('../assets/icons/upload.svg') no-repeat center center;
583
- background-size: $iconWidth;
584
-
585
- .toggle-fill-loader-container-background {
586
- display: flex;
587
- justify-content: center;
588
- align-items: center;
589
- height:100%;
590
- width:100%;
591
- .toggle-fill-loader {
592
- position:static;
593
- margin:0px;
594
- width:0.5vw;
595
- height:0.5vw;
596
- }
597
- }
598
-
599
-
600
- .vue-dropzone {
601
- border: 0;
573
+ margin:0px 5px 30px 0px;
574
+ margin-bottom:42px;
575
+ background: $toggle-dark-grey;
576
+ background-size: auto 100%;
577
+ background-position: center;
578
+ background-repeat: no-repeat;
602
579
  border-radius: 4px;
603
- padding: 0;
604
- background: none transparent;
605
- height: 100%;
580
+ display: block;
606
581
  position:relative;
607
- &:after{
608
- content: '';
609
- top:0;
610
- left:0;
611
- height:100%;
612
- width: 100%;
613
- position:absolute;
614
- z-index: 0;
615
- opacity: 0.2;
616
- }
617
- &:hover{
618
- &:after{
619
- background-color: $toggle-light-blue;
620
- }
582
+ background: #F4F6F7 url('../assets/icons/upload.svg') no-repeat center center;
583
+ background-size: $iconWidth;
584
+
585
+ .toggle-fill-loader-container-background {
586
+ display: flex;
587
+ justify-content: center;
588
+ align-items: center;
589
+ height:100%;
590
+ width:100%;
591
+ .toggle-fill-loader {
592
+ position:static;
593
+ margin:0px;
594
+ width:0.5vw;
595
+ height:0.5vw;
596
+ }
621
597
  }
622
598
 
623
- }
624
599
 
625
- .dropzone{
626
- min-height: 33px;
627
- .dz-preview {
628
- display:none !important;
600
+ .vue-dropzone {
601
+ border: 0;
602
+ border-radius: 4px;
603
+ padding: 0;
604
+ background: none transparent;
605
+ height: 100%;
606
+ position:relative;
607
+ &:after{
608
+ content: '';
609
+ top:0;
610
+ left:0;
611
+ height:100%;
612
+ width: 100%;
613
+ position:absolute;
614
+ z-index: 0;
615
+ opacity: 0.2;
616
+ }
617
+ &:hover{
618
+ &:after{
619
+ background-color: $toggle-light-blue;
620
+ }
621
+ }
622
+
629
623
  }
630
- }
631
624
 
632
- .dropzone > .dz-message {
633
- margin: 0;
634
- display: block !important;
635
- position:absolute;
636
- left: 0;
637
- height: 100%;
638
- width:100%;
639
- //padding: 10rem 0 0 0;
640
- background-size: 2.61rem;
641
- font-size: $toggle-font-size-small;
642
- font-weight: bold;
643
- color: #354B64;
644
- z-index: 1;
645
- span{
646
- position: absolute;
647
- bottom: 0;
648
- width:100%;
649
- left:0;
625
+ .dropzone{
626
+ min-height: 33px;
627
+ .dz-preview {
628
+ display:none !important;
629
+ }
630
+ }
631
+
632
+ .dropzone > .dz-message {
633
+ margin: 0;
634
+ display: block !important;
635
+ position:absolute;
636
+ left: 0;
637
+ height: 100%;
638
+ width:100%;
639
+ //padding: 10rem 0 0 0;
640
+ background-size: 2.61rem;
641
+ font-size: $toggle-font-size-small;
642
+ font-weight: bold;
643
+ color: #354B64;
644
+ z-index: 1;
645
+ span{
646
+ position: absolute;
647
+ bottom: 0;
648
+ width:100%;
649
+ left:0;
650
+ }
650
651
  }
651
- }
652
652
 
653
- .dropzone > .dz-preview {
654
- width: 40%;
655
- }
653
+ .dropzone > .dz-preview {
654
+ width: 40%;
655
+ }
656
656
 
657
657
  }
658
658
 
659
659
  .toggle-dropzone-file-container {
660
- height: 15vw;
661
- width: 15vw;
660
+ height: 15vw;
661
+ width: 15vw;
662
662
  }
663
663
 
664
664
  //Colour picker
665
665
 
666
666
  .toggle-chrome-picker {
667
- position: absolute;
668
- z-index: 99;
667
+ position: absolute;
668
+ z-index: 99;
669
669
  }
670
670
 
671
671
 
672
672
  .toggle-color-picker-current-color {
673
- box-shadow: 0px 0px 1px $toggle-placeholder-grey;
674
- display: inline-block;
675
- width: 16px;
676
- height: 16px;
677
- background-color: #000;
678
- cursor: pointer;
679
- float:left;
680
- height: 2rem;
681
- width: 2rem;
682
- border-radius: 0% 50% 50% 0%;
683
- margin-left: -5px;
673
+ box-shadow: 0px 0px 1px $toggle-placeholder-grey;
674
+ display: inline-block;
675
+ width: 16px;
676
+ height: 16px;
677
+ background-color: #000;
678
+ cursor: pointer;
679
+ float:left;
680
+ height: 2rem;
681
+ width: 2rem;
682
+ border-radius: 0% 50% 50% 0%;
683
+ margin-left: -5px;
684
684
  }
685
685
  .toggle-input-colour-picker {
686
- box-shadow: 0px 0px 1px $toggle-placeholder-grey;
687
- height: 2rem;
688
- width: 7rem;
689
- float: left;
690
- outline: 1px solid ;
691
- outline-offset: -1px;
692
- padding: 0 0 0 1rem !important;
686
+ box-shadow: 0px 0px 1px $toggle-placeholder-grey;
687
+ height: 2rem;
688
+ width: 7rem;
689
+ float: left;
690
+ outline: 1px solid ;
691
+ outline-offset: -1px;
692
+ padding: 0 0 0 1rem !important;
693
693
  }
694
694
 
695
695
 
696
696
  // input crud buttons
697
697
  //
698
698
  .toggle-input-crud-container{
699
- padding:1rem 3.5rem 1rem 1rem;;
700
- height:auto;
701
- background: $toggle-white;
702
- padding-left:2rem;
703
- width: 100%;
704
- position:relative;
699
+ padding:1rem 3.5rem 1rem 1rem;;
700
+ height:auto;
701
+ background: $toggle-white;
702
+ padding-left:2rem;
703
+ width: 100%;
704
+ position:relative;
705
705
  }
706
706
 
707
707
  .toggle-input-crud-container-empty{
708
- opacity: 0.5;
709
- padding-left:3.5rem;
708
+ opacity: 0.5;
709
+ padding-left:3.5rem;
710
710
 
711
- cursor: pointer;
712
- *{
713
711
  cursor: pointer;
714
- }
712
+ *{
713
+ cursor: pointer;
714
+ }
715
715
 
716
716
 
717
717
 
718
- .toggle-input-crud-container-description{
719
- text-align: center;
720
- width:100%;
721
- }
718
+ .toggle-input-crud-container-description{
719
+ text-align: center;
720
+ width:100%;
721
+ }
722
722
 
723
- .toggle-input-crud-container-label{
724
- width: 100%;
725
- padding:0;
726
- text-align: center;
727
- background: transparent;
728
- border:none;
729
- cursor: pointer;
730
- outline: none;
731
- &.toggle-input-crud-container-label-vertical-center{
732
- position:relative;
733
- top:0.5rem;
723
+ .toggle-input-crud-container-label{
724
+ width: 100%;
725
+ padding:0;
726
+ text-align: center;
727
+ background: transparent;
728
+ border:none;
729
+ cursor: pointer;
730
+ outline: none;
731
+ &.toggle-input-crud-container-label-vertical-center{
732
+ position:relative;
733
+ top:0.5rem;
734
+ }
734
735
  }
735
- }
736
736
  }
737
737
 
738
738
 
739
739
  .toggle-input-crud-container-buttons{
740
- .toggle-button-container{
740
+ .toggle-button-container{
741
+ display: block;
742
+ margin-bottom: 0.5rem;
743
+ }
741
744
  display: block;
742
- margin-bottom: 0.5rem;
743
- }
744
- display: block;
745
- right:0;
746
- height:100%;
747
- box-sizing:border-box;
748
- padding:1rem 0;
749
- top: 0.8rem;
750
- position: absolute;
751
- width:2rem;
745
+ right:0;
746
+ height:100%;
747
+ box-sizing:border-box;
748
+ padding:1rem 0;
749
+ top: 0.8rem;
750
+ position: absolute;
751
+ width:2rem;
752
752
  }
753
753
 
754
754
 
755
755
 
756
756
  .toggle-input-crud-container-label{
757
- @include toggle-global-font-config;
758
- float:left;
759
- font-size: $toggle-font-size-regular;
760
- color: $toggle-header-colour;
761
- font-weight: bold;
757
+ @include toggle-global-font-config;
758
+ float:left;
759
+ font-size: $toggle-font-size-regular;
760
+ color: $toggle-header-colour;
761
+ font-weight: bold;
762
762
  }
763
763
 
764
764
  .toggle-input-crud-container-description{
765
- @include toggle-global-font-config;
766
- float:left;
767
- clear: both;
768
- font-size: $toggle-font-size-small;
769
- color: $toggle-header-colour;
770
- &.hide-overflow{
771
- overflow-x: clip;
772
- text-overflow: ellipsis;
773
- white-space: nowrap;
774
- width: inherit;
775
- }
765
+ @include toggle-global-font-config;
766
+ float:left;
767
+ clear: both;
768
+ font-size: $toggle-font-size-small;
769
+ color: $toggle-header-colour;
770
+ &.hide-overflow{
771
+ overflow-x: clip;
772
+ text-overflow: ellipsis;
773
+ white-space: nowrap;
774
+ width: inherit;
775
+ }
776
776
  }
777
777
  .toggle-input-protocol {
778
- width: 100px;
779
- float: left;
780
- clear: left;
781
- padding: 0.5rem 0 0.5rem 0;
778
+ width: 100px;
779
+ float: left;
780
+ clear: left;
781
+ padding: 0.5rem 0 0.5rem 0;
782
782
  }
783
783
 
784
784
  .toggle-input-website {
785
- width: 80%;
786
- float: left;
787
- padding: 1rem;
788
- clear: right;
785
+ width: 80%;
786
+ float: left;
787
+ padding: 1rem;
788
+ clear: right;
789
789
  }
790
790
 
791
791
  .toggle-input-file-background {
792
- background-size: 5rem;
793
- background-image : url('../assets/icons/file.svg');
792
+ background-size: 5rem;
793
+ background-image : url('../assets/icons/file.svg');
794
794
  }
795
795
 
796
796
  .toggle-input-integration-container {
797
- @include toggle-global-font-config;
798
- display: grid;
799
- align-items: center;
800
- grid-template-columns: 4fr 4fr 1fr;
801
- padding: 0.5rem 1.2rem;
802
- background: $toggle-off-white;
803
- border-radius: 9px;
804
- border: 1px solid $toggle-off-white;
805
- &:hover{
806
- background: $toggle-white;
807
- }
797
+ @include toggle-global-font-config;
798
+ display: grid;
799
+ align-items: center;
800
+ grid-template-columns: 4fr 4fr 1fr;
801
+ padding: 0.5rem 1.2rem;
802
+ background: $toggle-off-white;
803
+ border-radius: 9px;
804
+ border: 1px solid $toggle-off-white;
805
+ &:hover{
806
+ background: $toggle-white;
807
+ }
808
808
 
809
- .toggle-input-is-invalid {
810
- padding-bottom: 1rem !important;
811
- .toggle-input-label-error{
812
- z-index: 1;
809
+ .toggle-input-is-invalid {
810
+ padding-bottom: 1rem !important;
811
+ .toggle-input-label-error{
812
+ z-index: 1;
813
+ }
813
814
  }
814
- }
815
815
 
816
- .toggle-input-container,
817
- .toggle-input {
818
- background: $toggle-dark-grey;
819
- padding-bottom: 0;
820
- padding-top: 0;
821
- border-radius: 9px;
822
- }
816
+ .toggle-input-container,
817
+ .toggle-input {
818
+ background: $toggle-dark-grey;
819
+ padding-bottom: 0;
820
+ padding-top: 0;
821
+ border-radius: 9px;
822
+ }
823
823
 
824
- p {
825
- margin: 0;
826
- };
824
+ p {
825
+ margin: 0;
826
+ };
827
827
 
828
- .toggle-input-integration-unit {
829
- grid-column-start: 1;
830
- }
831
- .toggle-input-integration-input-container {
832
- grid-column-start: 2;
833
- }
828
+ .toggle-input-integration-unit {
829
+ grid-column-start: 1;
830
+ }
831
+ .toggle-input-integration-input-container {
832
+ grid-column-start: 2;
833
+ }
834
834
 
835
- .toggle-input-integration-delete-button-container {
836
- display: flex;
837
- justify-self: flex-end;
838
- grid-column-start: 3;
839
- }
835
+ .toggle-input-integration-delete-button-container {
836
+ display: flex;
837
+ justify-self: flex-end;
838
+ grid-column-start: 3;
839
+ }
840
840
 
841
841
  }
842
842
 
843
843
  .toggle-country-wrapper {
844
- display: inline-flex;
845
- height:57px;
846
- position: relative;
844
+ display: inline-flex;
845
+ height:57px;
846
+ position: relative;
847
847
 
848
848
 
849
- @mixin toggle-input-country-font-config {
850
- color: black;
851
- font-size: 12px;
852
- line-height: 1.4;
853
- -webkit-font-smoothing: antialiased;
854
- -moz-osx-font-smoothing: grayscale;
855
- }
849
+ @mixin toggle-input-country-font-config {
850
+ color: black;
851
+ font-size: 12px;
852
+ line-height: 1.4;
853
+ -webkit-font-smoothing: antialiased;
854
+ -moz-osx-font-smoothing: grayscale;
855
+ }
856
856
 
857
- @mixin toggle-input-border-base {
858
- border: 1px solid #ccc;
859
- }
857
+ @mixin toggle-input-border-base {
858
+ border: 1px solid #ccc;
859
+ }
860
860
 
861
- @mixin toggle-input-border {
862
- @include toggle-input-border-base;
863
- border-radius: 4px;
864
- box-sizing: border-box;
865
- }
866
-
867
- @mixin toggle-input-border-country-left {
868
- @include toggle-input-border-base;
869
- border-top-left-radius: 4px;
870
- border-bottom-left-radius: 4px;
871
- border-right: none;
872
- }
873
-
874
- @mixin toggle-input-border-country-right {
875
- @include toggle-input-border-base;
876
- border-top-right-radius: 4px;
877
- border-bottom-right-radius: 4px;
878
- }
879
-
880
- input, select, .toggle-selected-wraper{
881
- @include toggle-input-country-font-config;
882
- }
883
-
884
- .toggle-country-selector {
885
- position: relative;
886
- display: inline-block;
887
- width: 130px;
888
- margin: 5px 0px;
889
- @include toggle-input-border-country-left;
890
-
891
- select{
892
- position: relative;
893
- opacity: 0;
894
- width: 100% !important;
895
- z-index: 2;
896
- cursor: pointer;
897
- height: 100%;
898
- }
899
-
900
- .toggle-selected-wraper {
901
- top:20%;
902
- font-size: 0.9em;
903
- position: absolute;
904
- padding: 3px;
905
- left: 5px;
906
-
907
- &:before{
908
- float:left;
909
- content: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 317 275'><path id='Arrow_downw' data-name='Arrow_Down' d='M158.5,0,317,275H0Z' transform='translate(317 275) rotate(180)' fill='gray'/></svg>");
910
- margin-top:1px;
911
- margin-right: 2px;
912
- }
861
+ @mixin toggle-input-border {
862
+ @include toggle-input-border-base;
863
+ border-radius: 4px;
864
+ box-sizing: border-box;
865
+ }
913
866
 
914
- div {
915
- float:left;
916
- }
867
+ @mixin toggle-input-border-country-left {
868
+ @include toggle-input-border-base;
869
+ border-top-left-radius: 4px;
870
+ border-bottom-left-radius: 4px;
871
+ border-right: none;
872
+ }
917
873
 
918
- .toggle-selected-country-emoji {
919
- margin-left: 5px;
920
- margin-top: 2px;
921
- }
874
+ @mixin toggle-input-border-country-right {
875
+ @include toggle-input-border-base;
876
+ border-top-right-radius: 4px;
877
+ border-bottom-right-radius: 4px;
922
878
  }
923
879
 
880
+ input, select, .toggle-selected-wraper{
881
+ @include toggle-input-country-font-config;
882
+ }
924
883
 
925
- }
884
+ .toggle-country-selector {
885
+ position: relative;
886
+ display: inline-block;
887
+ width: 130px;
888
+ margin: 5px 0px;
889
+ @include toggle-input-border-country-left;
890
+
891
+ select{
892
+ position: relative;
893
+ opacity: 0;
894
+ width: 100% !important;
895
+ z-index: 2;
896
+ cursor: pointer;
897
+ height: 100%;
898
+ }
926
899
 
927
- .toggle-input-label-error {
928
- position: absolute;
929
- bottom:-17px;
930
- }
900
+ .toggle-selected-wraper {
901
+ top:20%;
902
+ font-size: 0.9em;
903
+ position: absolute;
904
+ padding: 3px;
905
+ left: 5px;
906
+
907
+ &:before{
908
+ float:left;
909
+ content: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 317 275'><path id='Arrow_downw' data-name='Arrow_Down' d='M158.5,0,317,275H0Z' transform='translate(317 275) rotate(180)' fill='gray'/></svg>");
910
+ margin-top:1px;
911
+ margin-right: 2px;
912
+ }
913
+
914
+ div {
915
+ float:left;
916
+ }
917
+
918
+ .toggle-selected-country-emoji {
919
+ margin-left: 5px;
920
+ margin-top: 2px;
921
+ }
922
+ }
931
923
 
932
- .toggle-input-select-country {
933
- padding: 3px 10px 22px 10px;
934
- margin: 5px 0px 5px 0px;
935
924
 
936
- &.toggle-number {
925
+ }
937
926
 
938
- position: relative;
939
- font-size:0.9em;
940
- padding:10px;
941
- @include toggle-input-border-country-right;
942
- width: 80%;
927
+ .toggle-input-label-error {
928
+ position: absolute;
929
+ bottom:-17px;
943
930
  }
944
931
 
945
- }
946
- .toggle-invalid-number {
947
- border:1px solid #ED7B7C !important;
948
- }
932
+ .toggle-input-select-country {
933
+ padding: 3px 10px 22px 10px;
934
+ margin: 5px 0px 5px 0px;
935
+
936
+ &.toggle-number {
937
+
938
+ position: relative;
939
+ font-size:0.9em;
940
+ padding:10px;
941
+ @include toggle-input-border-country-right;
942
+ width: 80%;
943
+ }
944
+
945
+ }
946
+ .toggle-invalid-number {
947
+ border:1px solid #ED7B7C !important;
948
+ }
949
949
 
950
950
  }
951
951
 
952
952
  .toggle-input-is-editable{
953
- .toggle-input{
954
- width: 90%;
955
- }
956
- .toggle-button-container{
957
- position: absolute;
958
- right: 20px;
959
- top: 50%;
960
- transform: translate(0, -50%);
961
- }
953
+ .toggle-input{
954
+ width: 90%;
955
+ }
956
+ .toggle-button-container{
957
+ position: absolute;
958
+ right: 20px;
959
+ top: 50%;
960
+ transform: translate(0, -50%);
961
+ }
962
962
  }
963
963
 
964
964
  //
@@ -966,218 +966,218 @@ $iconWidth:20px;
966
966
  //
967
967
 
968
968
  .toggle-contact-search-input-container {
969
- width: 100%;
970
- height: 40px;
971
- background-color: $toggle-white;
972
- border-radius: 8px;
973
- min-width: 500px;
969
+ width: 100%;
970
+ height: 40px;
971
+ background-color: $toggle-white;
972
+ border-radius: 8px;
973
+ min-width: 500px;
974
974
  }
975
975
 
976
976
  .toggle-contact-search-input-container-active {
977
- border-radius: 8px 8px 0 0;
977
+ border-radius: 8px 8px 0 0;
978
978
  }
979
979
 
980
980
  .toggle-contact-search-icon-input-container {
981
- display: flex;
982
- flex-direction: row;
983
- width: 100%;
981
+ display: flex;
982
+ flex-direction: row;
983
+ width: 100%;
984
984
  }
985
985
 
986
986
  .toggle-contact-search-dropdown-container {
987
- min-width: 550px;
988
- background-color: $toggle-white;
989
- border-radius: 0 0 8px 8px;
990
- overflow: hidden;
991
- position: absolute;
992
- z-index: 1;
987
+ min-width: 550px;
988
+ background-color: $toggle-white;
989
+ border-radius: 0 0 8px 8px;
990
+ overflow: hidden;
991
+ position: absolute;
992
+ z-index: 1;
993
993
  }
994
994
 
995
995
  .toggle-contact-search-input {
996
- width: 100%;
997
- border: 0;
998
- border-radius: 0px;
999
- height: 30px;
1000
- margin: 4px 5px 0px 14px;
1001
- color: #3A4A62;
1002
- font-family: $toggle-font-family;
1003
- font-weight: 700;
1004
- font-size: 16px;
1005
- background-color: #FFFFFF;
996
+ width: 100%;
997
+ border: 0;
998
+ border-radius: 0px;
999
+ height: 30px;
1000
+ margin: 4px 5px 0px 14px;
1001
+ color: #3A4A62;
1002
+ font-family: $toggle-font-family;
1003
+ font-weight: 700;
1004
+ font-size: 16px;
1005
+ background-color: #FFFFFF;
1006
1006
  }
1007
1007
 
1008
1008
  .toggle-contact-search-input::placeholder {
1009
- color: #C5CED8;
1010
- opacity: 1;
1009
+ color: #C5CED8;
1010
+ opacity: 1;
1011
1011
  }
1012
1012
  .toggle-contact-search-input:-ms-input-placeholder {
1013
- color: #C5CED8;
1014
- opacity: 1;
1013
+ color: #C5CED8;
1014
+ opacity: 1;
1015
1015
  }
1016
1016
  .toggle-contact-search-input::-ms-input-placeholder {
1017
- color: #C5CED8;
1018
- opacity: 1;
1017
+ color: #C5CED8;
1018
+ opacity: 1;
1019
1019
  }
1020
1020
  .toggle-contact-search-input::-webkit-input-placeholder {
1021
- color: #C5CED8;
1022
- opacity: 1;
1021
+ color: #C5CED8;
1022
+ opacity: 1;
1023
1023
  }
1024
1024
  .toggle-contact-search-input:-moz-placeholder {
1025
- color: #C5CED8;
1026
- opacity: 1;
1025
+ color: #C5CED8;
1026
+ opacity: 1;
1027
1027
  }
1028
1028
  .toggle-contact-search-input::-ms-placeholder {
1029
- color: #C5CED8;
1030
- opacity: 1;
1029
+ color: #C5CED8;
1030
+ opacity: 1;
1031
1031
  }
1032
1032
 
1033
1033
  .toggle-contact-search-icon {
1034
- max-width: 20px;
1035
- max-height: 20px;
1036
- margin: 10px 16px 0 0;
1037
- transition: transform .2s ease-in-out;
1038
- width: 25px;
1039
- height: 25px;
1040
- background-repeat: no-repeat;
1041
- background-size: contain;
1034
+ max-width: 20px;
1035
+ max-height: 20px;
1036
+ margin: 10px 16px 0 0;
1037
+ transition: transform .2s ease-in-out;
1038
+ width: 25px;
1039
+ height: 25px;
1040
+ background-repeat: no-repeat;
1041
+ background-size: contain;
1042
1042
  }
1043
1043
 
1044
1044
  .toggle-contact-search-icon-email {
1045
- background-image: url('../assets/icons/email-icon.svg');
1045
+ background-image: url('../assets/icons/email-icon.svg');
1046
1046
  }
1047
1047
 
1048
1048
  .toggle-contact-search-icon-mobile {
1049
- background-image: url('../assets/icons/mobile-icon.svg');
1049
+ background-image: url('../assets/icons/mobile-icon.svg');
1050
1050
  }
1051
1051
 
1052
1052
  .toggle-contact-search-icon-arrow-container:hover {
1053
- .toggle-contact-search-icon {
1054
- transform: scale(1.1);
1055
- }
1053
+ .toggle-contact-search-icon {
1054
+ transform: scale(1.1);
1055
+ }
1056
1056
  }
1057
1057
 
1058
1058
  .toggle-contact-search-icon-arrow-container {
1059
- display: flex;
1060
- width: 100px;
1061
- min-width: 60px;
1062
- flex-direction: row;
1063
- justify-content: center;
1064
- cursor: pointer;
1059
+ display: flex;
1060
+ width: 100px;
1061
+ min-width: 60px;
1062
+ flex-direction: row;
1063
+ justify-content: center;
1064
+ cursor: pointer;
1065
1065
  }
1066
1066
 
1067
1067
  .toggle-contact-search-icon-arrow-container-disabled {
1068
- cursor: default !important;
1069
- opacity: 0.5;
1068
+ cursor: default !important;
1069
+ opacity: 0.5;
1070
1070
  }
1071
1071
 
1072
1072
  .toggle-contact-search-magnifying-glass-icon {
1073
- cursor: pointer;
1074
- margin: 10px 15px 0 3px;
1075
- width: 25px;
1076
- height: 25px;
1077
- background-image: url('../assets/icons/magnifying-glass-icon.svg');
1078
- background-repeat: no-repeat;
1079
- background-size: contain;
1080
- transition: transform .2s ease-in-out;
1073
+ cursor: pointer;
1074
+ margin: 10px 15px 0 3px;
1075
+ width: 25px;
1076
+ height: 25px;
1077
+ background-image: url('../assets/icons/magnifying-glass-icon.svg');
1078
+ background-repeat: no-repeat;
1079
+ background-size: contain;
1080
+ transition: transform .2s ease-in-out;
1081
1081
  }
1082
1082
 
1083
1083
  .toggle-contact-search-magnifying-glass-icon:hover {
1084
- transform: scale(1.1);
1084
+ transform: scale(1.1);
1085
1085
  }
1086
1086
 
1087
1087
  .toggle-contact-search-magnifying-glass-icon-disabled {
1088
- cursor: default;
1089
- opacity: 0.5;
1088
+ cursor: default;
1089
+ opacity: 0.5;
1090
1090
  }
1091
1091
 
1092
1092
  .toggle-contact-search-arrow {
1093
- margin: 17px 0px 0px;
1094
- width: 10px;
1095
- height: 10px;
1096
- background-image: url('../assets/icons/arrow-icon.svg');
1097
- background-repeat: no-repeat;
1098
- background-size: contain;
1093
+ margin: 17px 0px 0px;
1094
+ width: 10px;
1095
+ height: 10px;
1096
+ background-image: url('../assets/icons/arrow-icon.svg');
1097
+ background-repeat: no-repeat;
1098
+ background-size: contain;
1099
1099
  }
1100
1100
 
1101
1101
  .toggle-contact-search-arrow-active {
1102
- transition: all .2s ease;
1103
- transform: rotate(-3.1416rad) translateY(5px);
1102
+ transition: all .2s ease;
1103
+ transform: rotate(-3.1416rad) translateY(5px);
1104
1104
  }
1105
1105
 
1106
1106
  .toggle-contact-search-divider {
1107
- height: 28px;
1108
- margin: 7px 0 0 0;
1109
- border-right: 2px solid #D9D9D9;
1107
+ height: 28px;
1108
+ margin: 7px 0 0 0;
1109
+ border-right: 2px solid #D9D9D9;
1110
1110
  }
1111
1111
 
1112
1112
  .toggle-contact-search-dropdown-item {
1113
- margin: 5px 5px 5px 10px;
1114
- border-radius: 8px;
1115
- cursor: pointer;
1116
- font-size: 16px;
1117
- display: flex;
1118
- flex-direction: row;
1119
- justify-content: left;
1120
- align-items: center;
1121
- padding: 5px;
1113
+ margin: 5px 5px 5px 10px;
1114
+ border-radius: 8px;
1115
+ cursor: pointer;
1116
+ font-size: 16px;
1117
+ display: flex;
1118
+ flex-direction: row;
1119
+ justify-content: left;
1120
+ align-items: center;
1121
+ padding: 5px;
1122
1122
  }
1123
1123
 
1124
1124
  .toggle-contact-search-dropdown-item-label {
1125
- cursor: pointer;
1126
- font-weight: 700;
1127
- color: #3A4A62;
1125
+ cursor: pointer;
1126
+ font-weight: 700;
1127
+ color: #3A4A62;
1128
1128
  }
1129
1129
 
1130
1130
  .toggle-contact-search-dropwdown-item-highlighted {
1131
- color: #547DEE;
1131
+ color: #547DEE;
1132
1132
  }
1133
1133
 
1134
1134
  .toggle-contact-search-dropdown-item:hover {
1135
- background-color: #F5F5F5;
1136
- color: #3A4A62;
1135
+ background-color: #F5F5F5;
1136
+ color: #3A4A62;
1137
1137
 
1138
- .toggle-contact-search-icon-dropdown {
1139
- transform: scale(1.1);
1140
- }
1138
+ .toggle-contact-search-icon-dropdown {
1139
+ transform: scale(1.1);
1140
+ }
1141
1141
 
1142
- .toggle-contact-search-dropdown-item-label {
1143
- color: #3A4A62;
1144
- }
1142
+ .toggle-contact-search-dropdown-item-label {
1143
+ color: #3A4A62;
1144
+ }
1145
1145
  }
1146
1146
 
1147
1147
  .toggle-contact-search-icon-dropdown {
1148
- width: 25px;
1149
- height: 25px;
1150
- background-repeat: no-repeat;
1151
- background-size: contain;
1152
- max-width: 20px;
1153
- max-height: 20px;
1154
- margin: 2px 14px 0 0;
1155
- transition: transform .2s ease-in-out;
1148
+ width: 25px;
1149
+ height: 25px;
1150
+ background-repeat: no-repeat;
1151
+ background-size: contain;
1152
+ max-width: 20px;
1153
+ max-height: 20px;
1154
+ margin: 2px 14px 0 0;
1155
+ transition: transform .2s ease-in-out;
1156
1156
  }
1157
1157
 
1158
1158
  .toggle-contact-search-error {
1159
- height: 16.8px;
1160
- text-align: right;
1161
- color: #FF6F6F;
1162
- font-size: 12px;
1163
- margin: 0 0 10px 0;
1159
+ height: 16.8px;
1160
+ text-align: right;
1161
+ color: #FF6F6F;
1162
+ font-size: 12px;
1163
+ margin: 0 0 10px 0;
1164
1164
  }
1165
1165
 
1166
1166
  .toggle-contact-search-input-disabled {
1167
- color: #D3D9DF !important;
1167
+ color: #D3D9DF !important;
1168
1168
  }
1169
1169
 
1170
1170
  .toggle-contact-search-input-disabled::placeholder,
1171
1171
  .toggle-contact-search-input-disabled:-ms-input-placeholder,
1172
1172
  .toggle-contact-search-input-disabled::-ms-input-placeholder {
1173
- color: #D3D9DF !important;
1174
- opacity: 1;
1173
+ color: #D3D9DF !important;
1174
+ opacity: 1;
1175
1175
  }
1176
1176
 
1177
1177
  .toggle-contact-search-loading-container {
1178
- display: flex;
1179
- align-items: center;
1180
- margin: 0 0 3px 0;
1178
+ display: flex;
1179
+ align-items: center;
1180
+ margin: 0 0 3px 0;
1181
1181
  }
1182
1182
 
1183
1183
  //
@@ -1185,35 +1185,35 @@ $iconWidth:20px;
1185
1185
  //
1186
1186
 
1187
1187
  .drop-down-enter-active {
1188
- -moz-transition-duration: 0.4s;
1189
- -webkit-transition-duration: 0.4s;
1190
- -o-transition-duration: 0.4s;
1191
- transition-duration: 0.4s;
1192
- -moz-transition-timing-function: ease-in;
1193
- -webkit-transition-timing-function: ease-in;
1194
- -o-transition-timing-function: ease-in;
1195
- transition-timing-function: ease-in;
1188
+ -moz-transition-duration: 0.4s;
1189
+ -webkit-transition-duration: 0.4s;
1190
+ -o-transition-duration: 0.4s;
1191
+ transition-duration: 0.4s;
1192
+ -moz-transition-timing-function: ease-in;
1193
+ -webkit-transition-timing-function: ease-in;
1194
+ -o-transition-timing-function: ease-in;
1195
+ transition-timing-function: ease-in;
1196
1196
  }
1197
1197
 
1198
1198
  .drop-down-leave-active {
1199
- -moz-transition-duration: 0.4s;
1200
- -webkit-transition-duration: 0.4s;
1201
- -o-transition-duration: 0.4s;
1202
- transition-duration: 0.4s;
1203
- -moz-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
1204
- -webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
1205
- -o-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
1206
- transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
1199
+ -moz-transition-duration: 0.4s;
1200
+ -webkit-transition-duration: 0.4s;
1201
+ -o-transition-duration: 0.4s;
1202
+ transition-duration: 0.4s;
1203
+ -moz-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
1204
+ -webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
1205
+ -o-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
1206
+ transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
1207
1207
  }
1208
1208
 
1209
1209
  .drop-down-enter-to,
1210
1210
  .drop-down-leave {
1211
- max-height: 100px;
1212
- overflow: hidden;
1211
+ max-height: 100px;
1212
+ overflow: hidden;
1213
1213
  }
1214
1214
 
1215
1215
  .drop-down-enter,
1216
1216
  .drop-down-leave-to {
1217
- overflow: hidden;
1218
- max-height: 0;
1217
+ overflow: hidden;
1218
+ max-height: 0;
1219
1219
  }