toggle-components-library 1.35.1 → 1.36.1-beta.0

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