toggle-components-library 1.36.2 → 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.
@@ -1,15 +1,15 @@
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
11
  @include toggle-global-font-config;
12
- }
12
+ }
13
13
 
14
14
  .toggle-input-counter{
15
15
  font-size: $toggle-font-size-small;
@@ -110,7 +110,7 @@
110
110
 
111
111
  padding : 0.8rem 1.2rem 1.4rem 1.2rem;
112
112
  background-color: $toggle-off-white;
113
- border-radius : 9px;
113
+ border-radius : 9px;
114
114
  box-sizing : border-box;
115
115
  border : 1px solid $toggle-off-white;
116
116
  position : relative;
@@ -122,7 +122,7 @@
122
122
  &.margin-bottom-0{
123
123
  padding-bottom:0;
124
124
  }
125
-
125
+
126
126
  }
127
127
 
128
128
  // When inputs are inside input groups or modals, they look a bit different
@@ -227,6 +227,15 @@
227
227
  }
228
228
  }
229
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
+
230
239
  .toggle-input-select-container{
231
240
  position:relative;
232
241
  background-color: $toggle-dark-grey;
@@ -236,18 +245,18 @@
236
245
  clear: both;
237
246
  width: 100%;
238
247
  &: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;
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;
247
256
  }
248
257
  }
249
258
 
250
-
259
+
251
260
  .toggle-input-select{
252
261
 
253
262
  padding : 0.5rem 2.5rem 0.5rem 1rem;
@@ -329,7 +338,7 @@
329
338
  .toggle-input-radio{
330
339
  clear:both;
331
340
  float: left;
332
- margin-left:2.2rem;
341
+ margin-left:2.2rem;
333
342
  }
334
343
 
335
344
  }
@@ -363,8 +372,8 @@
363
372
  display : flex;
364
373
  align-items: center;
365
374
  }
366
-
367
-
375
+
376
+
368
377
  input[type="radio"], input[type="checkbox"]{
369
378
  display: none;
370
379
  }
@@ -391,7 +400,7 @@
391
400
  }
392
401
  }
393
402
 
394
-
403
+
395
404
 
396
405
  > input:disabled:checked + div{
397
406
  .toggle-input-radio-check-element {
@@ -430,6 +439,10 @@
430
439
  }
431
440
  }
432
441
 
442
+ .toggle-input-is-readonly:focus {
443
+ outline: none;
444
+ }
445
+
433
446
  .toggle-input-radio-label, .toggle-input-checkbox-label{
434
447
  display : inline-block;
435
448
  font-size: $toggle-font-size-large;
@@ -481,7 +494,7 @@
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
@@ -508,8 +521,8 @@ $iconWidth:20px;
508
521
  .toggle-dark-grey {
509
522
  border:7px solid inherit;
510
523
  }
511
- .toggle-draggable-group-item {
512
- position: relative;
524
+ .toggle-draggable-group-item {
525
+ position: relative;
513
526
  list-style: none;
514
527
  margin:5px 10px 5px 0px;
515
528
  .toggle-item-img {
@@ -534,7 +547,7 @@ $iconWidth:20px;
534
547
  background: url('../assets/icons/draggable.svg') no-repeat center center;
535
548
  cursor: move;
536
549
  }
537
-
550
+
538
551
  }
539
552
  .toggle-button-container{
540
553
  border:0px solid transparent!important;
@@ -543,7 +556,7 @@ $iconWidth:20px;
543
556
  height:$iconWidth;
544
557
  }
545
558
  }
546
-
559
+
547
560
 
548
561
  li:first-child div:first-child{
549
562
  border:4px solid #189ED1;
@@ -552,8 +565,8 @@ $iconWidth:20px;
552
565
  }
553
566
  }
554
567
 
555
-
556
-
568
+
569
+
557
570
  }
558
571
 
559
572
  .toggle-dropzone-container{
@@ -582,7 +595,7 @@ $iconWidth:20px;
582
595
  height:0.5vw;
583
596
  }
584
597
  }
585
-
598
+
586
599
 
587
600
  .vue-dropzone {
588
601
  border: 0;
@@ -606,7 +619,7 @@ $iconWidth:20px;
606
619
  background-color: $toggle-light-blue;
607
620
  }
608
621
  }
609
-
622
+
610
623
  }
611
624
 
612
625
  .dropzone{
@@ -640,7 +653,7 @@ $iconWidth:20px;
640
653
  .dropzone > .dz-preview {
641
654
  width: 40%;
642
655
  }
643
-
656
+
644
657
  }
645
658
 
646
659
  .toggle-dropzone-file-container {
@@ -665,7 +678,7 @@ $iconWidth:20px;
665
678
  cursor: pointer;
666
679
  float:left;
667
680
  height: 2rem;
668
- width: 2rem;
681
+ width: 2rem;
669
682
  border-radius: 0% 50% 50% 0%;
670
683
  margin-left: -5px;
671
684
  }
@@ -681,7 +694,7 @@ $iconWidth:20px;
681
694
 
682
695
 
683
696
  // input crud buttons
684
- //
697
+ //
685
698
  .toggle-input-crud-container{
686
699
  padding:1rem 3.5rem 1rem 1rem;;
687
700
  height:auto;
@@ -700,7 +713,7 @@ $iconWidth:20px;
700
713
  cursor: pointer;
701
714
  }
702
715
 
703
-
716
+
704
717
 
705
718
  .toggle-input-crud-container-description{
706
719
  text-align: center;
@@ -840,24 +853,24 @@ $iconWidth:20px;
840
853
  -webkit-font-smoothing: antialiased;
841
854
  -moz-osx-font-smoothing: grayscale;
842
855
  }
843
-
856
+
844
857
  @mixin toggle-input-border-base {
845
858
  border: 1px solid #ccc;
846
859
  }
847
-
860
+
848
861
  @mixin toggle-input-border {
849
862
  @include toggle-input-border-base;
850
863
  border-radius: 4px;
851
864
  box-sizing: border-box;
852
865
  }
853
-
866
+
854
867
  @mixin toggle-input-border-country-left {
855
868
  @include toggle-input-border-base;
856
869
  border-top-left-radius: 4px;
857
870
  border-bottom-left-radius: 4px;
858
871
  border-right: none;
859
872
  }
860
-
873
+
861
874
  @mixin toggle-input-border-country-right {
862
875
  @include toggle-input-border-base;
863
876
  border-top-right-radius: 4px;
@@ -874,7 +887,7 @@ $iconWidth:20px;
874
887
  width: 130px;
875
888
  margin: 5px 0px;
876
889
  @include toggle-input-border-country-left;
877
-
890
+
878
891
  select{
879
892
  position: relative;
880
893
  opacity: 0;
@@ -883,32 +896,32 @@ $iconWidth:20px;
883
896
  cursor: pointer;
884
897
  height: 100%;
885
898
  }
886
-
899
+
887
900
  .toggle-selected-wraper {
888
901
  top:20%;
889
902
  font-size: 0.9em;
890
903
  position: absolute;
891
904
  padding: 3px;
892
905
  left: 5px;
893
-
906
+
894
907
  &:before{
895
908
  float:left;
896
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>");
897
910
  margin-top:1px;
898
911
  margin-right: 2px;
899
912
  }
900
-
913
+
901
914
  div {
902
915
  float:left;
903
916
  }
904
-
917
+
905
918
  .toggle-selected-country-emoji {
906
919
  margin-left: 5px;
907
920
  margin-top: 2px;
908
921
  }
909
922
  }
910
-
911
-
923
+
924
+
912
925
  }
913
926
 
914
927
  .toggle-input-label-error {
@@ -919,16 +932,16 @@ $iconWidth:20px;
919
932
  .toggle-input-select-country {
920
933
  padding: 3px 10px 22px 10px;
921
934
  margin: 5px 0px 5px 0px;
922
-
935
+
923
936
  &.toggle-number {
924
-
937
+
925
938
  position: relative;
926
939
  font-size:0.9em;
927
940
  padding:10px;
928
941
  @include toggle-input-border-country-right;
929
942
  width: 80%;
930
943
  }
931
-
944
+
932
945
  }
933
946
  .toggle-invalid-number {
934
947
  border:1px solid #ED7B7C !important;