@annalib/anna-core 30.0.19 → 30.0.21

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 (77) hide show
  1. package/README.md +28 -28
  2. package/esm2022/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +5 -5
  3. package/esm2022/lib/anna-core-shared-lib/components/anna-circular-progress/anna-circular-progress.component.mjs +5 -5
  4. package/esm2022/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +5 -5
  5. package/esm2022/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.mjs +5 -5
  6. package/esm2022/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +5 -6
  7. package/esm2022/lib/anna-core-shared-lib/components/anna-licensing-table/anna-licensing-table.component.mjs +28 -0
  8. package/esm2022/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +5 -5
  9. package/esm2022/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +6 -6
  10. package/esm2022/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +5 -5
  11. package/esm2022/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +5 -5
  12. package/esm2022/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +5 -5
  13. package/esm2022/lib/anna-core-shared-lib/components/anna-spinner-loader/anna-spinner-loader.component.mjs +4 -4
  14. package/esm2022/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.mjs +5 -5
  15. package/esm2022/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.mjs +5 -5
  16. package/esm2022/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +5 -5
  17. package/esm2022/lib/anna-core-shared-lib/models/anna-generic-data-type.model.mjs +1 -1
  18. package/esm2022/lib/anna-core-shared-lib/models/anna-licensing-table.model.mjs +24 -0
  19. package/esm2022/lib/anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe.mjs +4 -4
  20. package/esm2022/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +4 -4
  21. package/esm2022/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.mjs +3 -3
  22. package/esm2022/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +4 -4
  23. package/esm2022/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.mjs +4 -4
  24. package/esm2022/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.mjs +3 -3
  25. package/esm2022/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +5 -5
  26. package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +5 -5
  27. package/esm2022/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +5 -5
  28. package/esm2022/lib/anna-core-shared-lib/services/anna-generic-tooltip-html.services.mjs +4 -4
  29. package/esm2022/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +4 -4
  30. package/esm2022/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +4 -4
  31. package/esm2022/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +4 -4
  32. package/esm2022/lib/anna-core-shared-lib/services/anna-regex-patterns.service.mjs +3 -3
  33. package/esm2022/lib/anna-core-shared-lib/services/anna-sort.service.mjs +5 -5
  34. package/esm2022/lib/anna-core-shared-lib/services/anna-spinner-loader.service.mjs +3 -3
  35. package/esm2022/lib/anna-core.module.mjs +14 -8
  36. package/esm2022/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +6 -6
  37. package/esm2022/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +5 -5
  38. package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +11 -16
  39. package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +9 -12
  40. package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +9 -12
  41. package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +10 -13
  42. package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +11 -16
  43. package/esm2022/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +7 -8
  44. package/esm2022/public-api.mjs +3 -1
  45. package/fesm2022/annalib-anna-core.mjs +232 -202
  46. package/fesm2022/annalib-anna-core.mjs.map +1 -1
  47. package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +1 -1
  48. package/lib/anna-core-shared-lib/components/anna-licensing-table/anna-licensing-table.component.d.ts +11 -0
  49. package/lib/anna-core-shared-lib/models/anna-licensing-table.model.d.ts +18 -0
  50. package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +2 -2
  51. package/lib/anna-core.module.d.ts +2 -1
  52. package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.d.ts +1 -1
  53. package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.d.ts +1 -1
  54. package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.d.ts +1 -1
  55. package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.d.ts +2 -2
  56. package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +1 -1
  57. package/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.d.ts +1 -1
  58. package/package.json +10 -10
  59. package/public-api.d.ts +2 -0
  60. package/src/lib/anna-common-scss/_animate.scss +27 -27
  61. package/src/lib/anna-common-scss/_button.scss +18 -18
  62. package/src/lib/anna-common-scss/_colors.scss +107 -107
  63. package/src/lib/anna-common-scss/_custom-anna-datepicker.scss +14 -14
  64. package/src/lib/anna-common-scss/_date-picker-form.scss +87 -87
  65. package/src/lib/anna-common-scss/_edit-filter-popup.scss +1 -5
  66. package/src/lib/anna-common-scss/_font.scss +9 -9
  67. package/src/lib/anna-common-scss/_fonts.scss +86 -86
  68. package/src/lib/anna-common-scss/_generic-modal.scss +63 -63
  69. package/src/lib/anna-common-scss/_icons.scss +3 -3
  70. package/src/lib/anna-common-scss/_legend.scss +11 -11
  71. package/src/lib/anna-common-scss/_mat-menu.scss +17 -17
  72. package/src/lib/anna-common-scss/_mixins.scss +187 -187
  73. package/src/lib/anna-common-scss/_modal.scss +37 -37
  74. package/src/lib/anna-common-scss/_scrollbar.scss +14 -14
  75. package/src/lib/anna-common-scss/_toggle.scss +86 -86
  76. package/src/lib/anna-common-scss/style.scss +1 -1
  77. package/src/lib/anna-common-scss/third-party-lib/_mat-autocomplete.scss +31 -31
@@ -1,187 +1,187 @@
1
- @mixin button-social-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
2
- padding: $padding-y $padding-x;
3
- font-size: $font-size;
4
- line-height: $line-height;
5
- border: 0;
6
- @include border-radius($border-radius);
7
-
8
- &::before {
9
- width: ($padding-y * 2) + ($font-size * $line-height);
10
- height: ($padding-y * 2) + ($font-size * $line-height);
11
- padding: $padding-y 0;
12
- font-size: $font-size;
13
- line-height: $line-height;
14
- @include border-radius($border-radius);
15
- }
16
-
17
- span {
18
- margin-left: ($padding-y * 2) + ($font-size * $line-height);
19
- }
20
-
21
- &.icon {
22
- width: ($padding-y * 2) + ($font-size * $line-height);
23
- height: ($padding-y * 2) + ($font-size * $line-height);
24
- }
25
- }
26
-
27
- @mixin avatar($width, $status-width) {
28
- position: relative;
29
- display: inline-block;
30
- width: $width;
31
-
32
- .img-avatar {
33
- width: $width;
34
- height: $width;
35
- }
36
-
37
- .avatar-status {
38
- position: absolute;
39
- right: 0;
40
- bottom: 0;
41
- display: block;
42
- width: $status-width;
43
- height: $status-width;
44
- border: 1px solid #fff;
45
- border-radius: 50em;
46
- }
47
- }
48
-
49
- @mixin borders($borders) {
50
- @each $border in $borders {
51
- $direction: nth($border, 1);
52
- @if $direction == "all" {
53
- $size: map-get(map-get($borders, $direction), size);
54
- $style: map-get(map-get($borders, $direction), style);
55
- $color: map-get(map-get($borders, $direction), color);
56
- border: $size $style $color;
57
- } @else if $direction == "top" {
58
- $size: map-get(map-get($borders, $direction), size);
59
- $style: map-get(map-get($borders, $direction), style);
60
- $color: map-get(map-get($borders, $direction), color);
61
- border-top: $size $style $color;
62
- } @else if $direction == "right" {
63
- $size: map-get(map-get($borders, $direction), size);
64
- $style: map-get(map-get($borders, $direction), style);
65
- $color: map-get(map-get($borders, $direction), color);
66
- border-right: $size $style $color;
67
- } @else if $direction == "bottom" {
68
- $size: map-get(map-get($borders, $direction), size);
69
- $style: map-get(map-get($borders, $direction), style);
70
- $color: map-get(map-get($borders, $direction), color);
71
- border-bottom: $size $style $color;
72
- } @else if $direction == "left" {
73
- $size: map-get(map-get($borders, $direction), size);
74
- $style: map-get(map-get($borders, $direction), style);
75
- $color: map-get(map-get($borders, $direction), color);
76
- border-left: $size $style $color;
77
- }
78
- }
79
- }
80
-
81
- @mixin sidebar-width($borders, $width) {
82
- $sidebar-width: $width;
83
-
84
- @each $border in $borders {
85
- $direction: nth($border, 1);
86
- @if $direction == "all" {
87
- $size: map-get(map-get($borders, $direction), size);
88
- $sidebar-width: ($sidebar-width - (2 * $size));
89
- } @else if $direction == "right" {
90
- $size: map-get(map-get($borders, $direction), size);
91
- $sidebar-width: $sidebar-width - $size;
92
- } @else if $direction == "left" {
93
- $size: map-get(map-get($borders, $direction), size);
94
- $sidebar-width: $sidebar-width - $size;
95
- }
96
- width: $sidebar-width;
97
- }
98
- }
99
-
100
- @mixin bg-variant($parent, $color) {
101
- #{"" + $parent} {
102
- @include border-radius(
103
- $card-border-radius-inner $card-border-radius-inner $card-border-radius-inner $card-border-radius-inner
104
- );
105
- color: #fff !important;
106
- background-color: $color !important;
107
- }
108
- a#{"" + $parent} {
109
- @include hover-focus {
110
- background-color: darken($color, 10%);
111
- }
112
- }
113
- }
114
-
115
- @mixin card-accent-variant($color) {
116
- border-top-width: 2px;
117
- border-top-color: $color;
118
- }
119
-
120
- @mixin tabs-style($color) {
121
- display: inline-block;
122
- margin-right: 20px;
123
- font-size: 16px;
124
- color: $color;
125
- }
126
-
127
- @mixin fit-content() {
128
- width: fit-content !important;
129
- width: -moz-max-content !important;
130
- }
131
-
132
- @mixin fit-content-height() {
133
- height: fit-content !important;
134
- height: -moz-max-content !important;
135
- }
136
-
137
- @mixin label($fontSize, $fontWeight, $fontStyle, $letterSpacing, $color) {
138
- font-family: Roboto;
139
- font-size: $fontSize;
140
- font-weight: normal;
141
- font-stretch: normal;
142
- font-style: $fontStyle;
143
- line-height: normal;
144
- letter-spacing: $letterSpacing;
145
- color: $color;
146
- }
147
-
148
- @mixin modal-btn($background-color) {
149
- width: 100%;
150
- background-color: $background-color;
151
- color: white;
152
- border-radius: initial;
153
- }
154
-
155
- @mixin OrderListingTableStyling {
156
- width: 100%;
157
- tr {
158
- border: 1px solid #d4d4d4;
159
- border-top: none;
160
- th {
161
- color: #4a4a4a;
162
- font-size: 11px;
163
- font-weight: 500;
164
- letter-spacing: 0.3px;
165
- vertical-align: middle;
166
- text-align: left;
167
- // position: sticky;
168
- // // z-index: 101 !important;
169
- // top: 0px;
170
- padding: unset;
171
- height: 30px;
172
- // line-height: 30px;
173
- border-top: 1px solid #d4d4d4;
174
- }
175
- &.header-row th {
176
- background-color: #ededed;
177
- }
178
- td {
179
- font-size: 12px;
180
- padding: 2px 0px 3px;
181
- vertical-align: middle;
182
- text-align: left;
183
- color: #000000;
184
- letter-spacing: 0px;
185
- }
186
- }
187
- }
1
+ @mixin button-social-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
2
+ padding: $padding-y $padding-x;
3
+ font-size: $font-size;
4
+ line-height: $line-height;
5
+ border: 0;
6
+ @include border-radius($border-radius);
7
+
8
+ &::before {
9
+ width: ($padding-y * 2) + ($font-size * $line-height);
10
+ height: ($padding-y * 2) + ($font-size * $line-height);
11
+ padding: $padding-y 0;
12
+ font-size: $font-size;
13
+ line-height: $line-height;
14
+ @include border-radius($border-radius);
15
+ }
16
+
17
+ span {
18
+ margin-left: ($padding-y * 2) + ($font-size * $line-height);
19
+ }
20
+
21
+ &.icon {
22
+ width: ($padding-y * 2) + ($font-size * $line-height);
23
+ height: ($padding-y * 2) + ($font-size * $line-height);
24
+ }
25
+ }
26
+
27
+ @mixin avatar($width, $status-width) {
28
+ position: relative;
29
+ display: inline-block;
30
+ width: $width;
31
+
32
+ .img-avatar {
33
+ width: $width;
34
+ height: $width;
35
+ }
36
+
37
+ .avatar-status {
38
+ position: absolute;
39
+ right: 0;
40
+ bottom: 0;
41
+ display: block;
42
+ width: $status-width;
43
+ height: $status-width;
44
+ border: 1px solid #fff;
45
+ border-radius: 50em;
46
+ }
47
+ }
48
+
49
+ @mixin borders($borders) {
50
+ @each $border in $borders {
51
+ $direction: nth($border, 1);
52
+ @if $direction == "all" {
53
+ $size: map-get(map-get($borders, $direction), size);
54
+ $style: map-get(map-get($borders, $direction), style);
55
+ $color: map-get(map-get($borders, $direction), color);
56
+ border: $size $style $color;
57
+ } @else if $direction == "top" {
58
+ $size: map-get(map-get($borders, $direction), size);
59
+ $style: map-get(map-get($borders, $direction), style);
60
+ $color: map-get(map-get($borders, $direction), color);
61
+ border-top: $size $style $color;
62
+ } @else if $direction == "right" {
63
+ $size: map-get(map-get($borders, $direction), size);
64
+ $style: map-get(map-get($borders, $direction), style);
65
+ $color: map-get(map-get($borders, $direction), color);
66
+ border-right: $size $style $color;
67
+ } @else if $direction == "bottom" {
68
+ $size: map-get(map-get($borders, $direction), size);
69
+ $style: map-get(map-get($borders, $direction), style);
70
+ $color: map-get(map-get($borders, $direction), color);
71
+ border-bottom: $size $style $color;
72
+ } @else if $direction == "left" {
73
+ $size: map-get(map-get($borders, $direction), size);
74
+ $style: map-get(map-get($borders, $direction), style);
75
+ $color: map-get(map-get($borders, $direction), color);
76
+ border-left: $size $style $color;
77
+ }
78
+ }
79
+ }
80
+
81
+ @mixin sidebar-width($borders, $width) {
82
+ $sidebar-width: $width;
83
+
84
+ @each $border in $borders {
85
+ $direction: nth($border, 1);
86
+ @if $direction == "all" {
87
+ $size: map-get(map-get($borders, $direction), size);
88
+ $sidebar-width: ($sidebar-width - (2 * $size));
89
+ } @else if $direction == "right" {
90
+ $size: map-get(map-get($borders, $direction), size);
91
+ $sidebar-width: $sidebar-width - $size;
92
+ } @else if $direction == "left" {
93
+ $size: map-get(map-get($borders, $direction), size);
94
+ $sidebar-width: $sidebar-width - $size;
95
+ }
96
+ width: $sidebar-width;
97
+ }
98
+ }
99
+
100
+ @mixin bg-variant($parent, $color) {
101
+ #{"" + $parent} {
102
+ @include border-radius(
103
+ $card-border-radius-inner $card-border-radius-inner $card-border-radius-inner $card-border-radius-inner
104
+ );
105
+ color: #fff !important;
106
+ background-color: $color !important;
107
+ }
108
+ a#{"" + $parent} {
109
+ @include hover-focus {
110
+ background-color: darken($color, 10%);
111
+ }
112
+ }
113
+ }
114
+
115
+ @mixin card-accent-variant($color) {
116
+ border-top-width: 2px;
117
+ border-top-color: $color;
118
+ }
119
+
120
+ @mixin tabs-style($color) {
121
+ display: inline-block;
122
+ margin-right: 20px;
123
+ font-size: 16px;
124
+ color: $color;
125
+ }
126
+
127
+ @mixin fit-content() {
128
+ width: fit-content !important;
129
+ width: -moz-max-content !important;
130
+ }
131
+
132
+ @mixin fit-content-height() {
133
+ height: fit-content !important;
134
+ height: -moz-max-content !important;
135
+ }
136
+
137
+ @mixin label($fontSize, $fontWeight, $fontStyle, $letterSpacing, $color) {
138
+ font-family: Roboto;
139
+ font-size: $fontSize;
140
+ font-weight: normal;
141
+ font-stretch: normal;
142
+ font-style: $fontStyle;
143
+ line-height: normal;
144
+ letter-spacing: $letterSpacing;
145
+ color: $color;
146
+ }
147
+
148
+ @mixin modal-btn($background-color) {
149
+ width: 100%;
150
+ background-color: $background-color;
151
+ color: white;
152
+ border-radius: initial;
153
+ }
154
+
155
+ @mixin OrderListingTableStyling {
156
+ width: 100%;
157
+ tr {
158
+ border: 1px solid #d4d4d4;
159
+ border-top: none;
160
+ th {
161
+ color: #4a4a4a;
162
+ font-size: 11px;
163
+ font-weight: 500;
164
+ letter-spacing: 0.3px;
165
+ vertical-align: middle;
166
+ text-align: left;
167
+ // position: sticky;
168
+ // // z-index: 101 !important;
169
+ // top: 0px;
170
+ padding: unset;
171
+ height: 30px;
172
+ // line-height: 30px;
173
+ border-top: 1px solid #d4d4d4;
174
+ }
175
+ &.header-row th {
176
+ background-color: #ededed;
177
+ }
178
+ td {
179
+ font-size: 12px;
180
+ padding: 2px 0px 3px;
181
+ vertical-align: middle;
182
+ text-align: left;
183
+ color: #000000;
184
+ letter-spacing: 0px;
185
+ }
186
+ }
187
+ }
@@ -1,37 +1,37 @@
1
- .modal-header {
2
- height: 72px;
3
- background-color: #3f4961;
4
- background-position: center center;
5
- background-size: cover;
6
- font-weight: 300;
7
- border-top-left-radius: 5px;
8
- border-top-right-radius: 5px;
9
- }
10
-
11
- .modal-title {
12
- color: #ffffff;
13
- font-size: 18px;
14
- font-weight: 400 !important;
15
- position: absolute;
16
- top: 40px;
17
- text-align: left;
18
- }
19
-
20
- .modal-dialog {
21
- font-family: Roboto !important;
22
- top: 100px !important;
23
- margin: 0 auto;
24
- }
25
-
26
- .modal-content {
27
- border-radius: 7px;
28
- width: fit-content;
29
- min-width: 100%;
30
- }
31
-
32
- .modal-body {
33
- padding: 24px;
34
- }
35
- .fade {
36
- transition: none !important;
37
- }
1
+ .modal-header {
2
+ height: 72px;
3
+ background-color: #3f4961;
4
+ background-position: center center;
5
+ background-size: cover;
6
+ font-weight: 300;
7
+ border-top-left-radius: 5px;
8
+ border-top-right-radius: 5px;
9
+ }
10
+
11
+ .modal-title {
12
+ color: #ffffff;
13
+ font-size: 18px;
14
+ font-weight: 400 !important;
15
+ position: absolute;
16
+ top: 40px;
17
+ text-align: left;
18
+ }
19
+
20
+ .modal-dialog {
21
+ font-family: Roboto !important;
22
+ top: 100px !important;
23
+ margin: 0 auto;
24
+ }
25
+
26
+ .modal-content {
27
+ border-radius: 7px;
28
+ width: fit-content;
29
+ min-width: 100%;
30
+ }
31
+
32
+ .modal-body {
33
+ padding: 24px;
34
+ }
35
+ .fade {
36
+ transition: none !important;
37
+ }
@@ -1,14 +1,14 @@
1
- *::-webkit-scrollbar {
2
- width: 4px;
3
- height: 4px;
4
- }
5
-
6
- *::-webkit-scrollbar-thumb {
7
- border-radius: 4px;
8
- background-color: rgba(0, 0, 0, 0.4) !important;
9
- border: 1px solid rgba(0, 0, 0, 0.2);
10
- }
11
-
12
- *::-webkit-scrollbar-track {
13
- border: 1px solid rgba(0, 0, 0, 0.1) !important;
14
- }
1
+ *::-webkit-scrollbar {
2
+ width: 4px;
3
+ height: 4px;
4
+ }
5
+
6
+ *::-webkit-scrollbar-thumb {
7
+ border-radius: 4px;
8
+ background-color: rgba(0, 0, 0, 0.4) !important;
9
+ border: 1px solid rgba(0, 0, 0, 0.2);
10
+ }
11
+
12
+ *::-webkit-scrollbar-track {
13
+ border: 1px solid rgba(0, 0, 0, 0.1) !important;
14
+ }
@@ -1,86 +1,86 @@
1
- .switchBtn {
2
- position: relative;
3
- display: inline-block;
4
- width: 50px;
5
- height: 20px;
6
- font-size: 12px;
7
- top: 3px;
8
- }
9
-
10
- .switchBtn input {
11
- display: none;
12
- }
13
-
14
- .slide {
15
- position: absolute;
16
- cursor: pointer;
17
- top: 0;
18
- left: 0;
19
- right: 0;
20
- bottom: 0;
21
- background-color: #ffffff;
22
- -webkit-transition: 0.4s;
23
- transition: 0.4s;
24
- padding: 4px 4px 4px 22px;
25
- line-height: 1;
26
- border: solid 1px rgba(0, 0, 0, 0.1);
27
- }
28
-
29
- .slide:before {
30
- position: absolute;
31
- content: "";
32
- width: 18px;
33
- height: 18px;
34
- background-color: #ffffff;
35
- box-shadow:
36
- 0 3px 3px 0 rgba(0, 0, 0, 0.05),
37
- 0 2px 2px 0 rgba(0, 0, 0, 0.1),
38
- 0 3px 1px 0 rgba(0, 0, 0, 0.05);
39
- border: solid 0.5px rgba(0, 0, 0, 0.1);
40
- left: 0px;
41
- bottom: 0px;
42
- background-color: white;
43
- -webkit-transition: 0.4s;
44
- transition: 0.4s;
45
- color: #999999;
46
- }
47
-
48
- input:checked + .slide {
49
- background-color: #44db5e;
50
- padding-left: 7px;
51
- color: #fff;
52
- line-height: 1;
53
- }
54
-
55
- input:focus + .slide {
56
- box-shadow: 0 0 1px #01aeed;
57
- }
58
-
59
- input:checked + .slide:before {
60
- -webkit-transform: translateX(20px);
61
- -ms-transform: translateX(20px);
62
- transform: translateX(20px);
63
- left: 10px;
64
- }
65
-
66
- .slide.round {
67
- border-radius: 15.5px;
68
- }
69
-
70
- .slide.round:before {
71
- border-radius: 50%;
72
- }
73
-
74
- .has-error {
75
- transition: all linear 0.5s;
76
- color: red !important;
77
- }
78
-
79
- .data-label {
80
- font-size: 11px;
81
- color: #666666;
82
- letter-spacing: 0.2px;
83
- text-overflow: ellipsis;
84
- overflow: hidden;
85
- white-space: nowrap;
86
- }
1
+ .switchBtn {
2
+ position: relative;
3
+ display: inline-block;
4
+ width: 50px;
5
+ height: 20px;
6
+ font-size: 12px;
7
+ top: 3px;
8
+ }
9
+
10
+ .switchBtn input {
11
+ display: none;
12
+ }
13
+
14
+ .slide {
15
+ position: absolute;
16
+ cursor: pointer;
17
+ top: 0;
18
+ left: 0;
19
+ right: 0;
20
+ bottom: 0;
21
+ background-color: #ffffff;
22
+ -webkit-transition: 0.4s;
23
+ transition: 0.4s;
24
+ padding: 4px 4px 4px 22px;
25
+ line-height: 1;
26
+ border: solid 1px rgba(0, 0, 0, 0.1);
27
+ }
28
+
29
+ .slide:before {
30
+ position: absolute;
31
+ content: "";
32
+ width: 18px;
33
+ height: 18px;
34
+ background-color: #ffffff;
35
+ box-shadow:
36
+ 0 3px 3px 0 rgba(0, 0, 0, 0.05),
37
+ 0 2px 2px 0 rgba(0, 0, 0, 0.1),
38
+ 0 3px 1px 0 rgba(0, 0, 0, 0.05);
39
+ border: solid 0.5px rgba(0, 0, 0, 0.1);
40
+ left: 0px;
41
+ bottom: 0px;
42
+ background-color: white;
43
+ -webkit-transition: 0.4s;
44
+ transition: 0.4s;
45
+ color: #999999;
46
+ }
47
+
48
+ input:checked + .slide {
49
+ background-color: #44db5e;
50
+ padding-left: 7px;
51
+ color: #fff;
52
+ line-height: 1;
53
+ }
54
+
55
+ input:focus + .slide {
56
+ box-shadow: 0 0 1px #01aeed;
57
+ }
58
+
59
+ input:checked + .slide:before {
60
+ -webkit-transform: translateX(20px);
61
+ -ms-transform: translateX(20px);
62
+ transform: translateX(20px);
63
+ left: 10px;
64
+ }
65
+
66
+ .slide.round {
67
+ border-radius: 15.5px;
68
+ }
69
+
70
+ .slide.round:before {
71
+ border-radius: 50%;
72
+ }
73
+
74
+ .has-error {
75
+ transition: all linear 0.5s;
76
+ color: red !important;
77
+ }
78
+
79
+ .data-label {
80
+ font-size: 11px;
81
+ color: #666666;
82
+ letter-spacing: 0.2px;
83
+ text-overflow: ellipsis;
84
+ overflow: hidden;
85
+ white-space: nowrap;
86
+ }
@@ -1 +1 @@
1
- @import "./colors", "./filters", "./fonts", "./sort", "./application-spacing", "./customDropdown", "./icons";
1
+ @import "./colors", "./filters", "./fonts", "./sort", "./application-spacing", "./customDropdown", "./icons";