@annalib/anna-core 0.0.0-watch

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 (95) hide show
  1. package/README.md +24 -0
  2. package/annalib-anna-core.d.ts +5 -0
  3. package/esm2020/annalib-anna-core.mjs +5 -0
  4. package/esm2020/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +15 -0
  5. package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +35 -0
  6. package/esm2020/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +15 -0
  7. package/esm2020/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +22 -0
  8. package/esm2020/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +15 -0
  9. package/esm2020/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +21 -0
  10. package/esm2020/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +15 -0
  11. package/esm2020/lib/anna-core-shared-lib/constants/shared.constant.mjs +34 -0
  12. package/esm2020/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.mjs +282 -0
  13. package/esm2020/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +27 -0
  14. package/esm2020/lib/anna-core-shared-lib/models/anna-generic-data-type.model.mjs +2 -0
  15. package/esm2020/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.mjs +2 -0
  16. package/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +2 -0
  17. package/esm2020/lib/anna-core-shared-lib/models/anna-sort.model.mjs +2 -0
  18. package/esm2020/lib/anna-core-shared-lib/models/anna-tooltip.model.mjs +30 -0
  19. package/esm2020/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +26 -0
  20. package/esm2020/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +46 -0
  21. package/esm2020/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.mjs +25 -0
  22. package/esm2020/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.mjs +16 -0
  23. package/esm2020/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +198 -0
  24. package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +465 -0
  25. package/esm2020/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +48 -0
  26. package/esm2020/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +133 -0
  27. package/esm2020/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +41 -0
  28. package/esm2020/lib/anna-core-shared-lib/services/anna-sort.service.mjs +147 -0
  29. package/esm2020/lib/anna-core.module.mjs +180 -0
  30. package/esm2020/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +100 -0
  31. package/esm2020/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +364 -0
  32. package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +1787 -0
  33. package/esm2020/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +67 -0
  34. package/esm2020/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +357 -0
  35. package/esm2020/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive.mjs +189 -0
  36. package/esm2020/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.mjs +2 -0
  37. package/esm2020/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.mjs +178 -0
  38. package/esm2020/lib/anna-generic-table-lib/directives/anna-virtual-table/index.mjs +2 -0
  39. package/esm2020/public-api.mjs +49 -0
  40. package/fesm2015/annalib-anna-core.mjs +4733 -0
  41. package/fesm2015/annalib-anna-core.mjs.map +1 -0
  42. package/fesm2020/annalib-anna-core.mjs +4726 -0
  43. package/fesm2020/annalib-anna-core.mjs.map +1 -0
  44. package/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.d.ts +8 -0
  45. package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +16 -0
  46. package/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.d.ts +8 -0
  47. package/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.d.ts +11 -0
  48. package/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.d.ts +8 -0
  49. package/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.d.ts +11 -0
  50. package/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.d.ts +8 -0
  51. package/lib/anna-core-shared-lib/constants/shared.constant.d.ts +32 -0
  52. package/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.d.ts +34 -0
  53. package/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.d.ts +9 -0
  54. package/lib/anna-core-shared-lib/models/anna-generic-data-type.model.d.ts +16 -0
  55. package/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.d.ts +95 -0
  56. package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +72 -0
  57. package/lib/anna-core-shared-lib/models/anna-sort.model.d.ts +6 -0
  58. package/lib/anna-core-shared-lib/models/anna-tooltip.model.d.ts +25 -0
  59. package/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.d.ts +9 -0
  60. package/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.d.ts +9 -0
  61. package/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.d.ts +9 -0
  62. package/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.d.ts +7 -0
  63. package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +27 -0
  64. package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +74 -0
  65. package/lib/anna-core-shared-lib/services/anna-generic-table.service.d.ts +14 -0
  66. package/lib/anna-core-shared-lib/services/anna-global-config.service.d.ts +21 -0
  67. package/lib/anna-core-shared-lib/services/anna-number-format.service.d.ts +7 -0
  68. package/lib/anna-core-shared-lib/services/anna-sort.service.d.ts +16 -0
  69. package/lib/anna-core.module.d.ts +36 -0
  70. package/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.d.ts +34 -0
  71. package/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.d.ts +70 -0
  72. package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +270 -0
  73. package/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.d.ts +17 -0
  74. package/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.d.ts +141 -0
  75. package/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive.d.ts +89 -0
  76. package/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.d.ts +1 -0
  77. package/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.d.ts +45 -0
  78. package/lib/anna-generic-table-lib/directives/anna-virtual-table/index.d.ts +1 -0
  79. package/package.json +38 -0
  80. package/public-api.d.ts +33 -0
  81. package/src/lib/anna-assets/images/bg-heads.png +0 -0
  82. package/src/lib/anna-common-scss/_animate.scss +27 -0
  83. package/src/lib/anna-common-scss/_application-spacing.scss +6 -0
  84. package/src/lib/anna-common-scss/_colors.scss +107 -0
  85. package/src/lib/anna-common-scss/_dashboard-partials.scss +104 -0
  86. package/src/lib/anna-common-scss/_filters.scss +598 -0
  87. package/src/lib/anna-common-scss/_font.scss +10 -0
  88. package/src/lib/anna-common-scss/_fonts.scss +86 -0
  89. package/src/lib/anna-common-scss/_legend.scss +11 -0
  90. package/src/lib/anna-common-scss/_mixins.scss +188 -0
  91. package/src/lib/anna-common-scss/_modal.scss +37 -0
  92. package/src/lib/anna-common-scss/_ng-select.scss +176 -0
  93. package/src/lib/anna-common-scss/_sort.scss +30 -0
  94. package/src/lib/anna-common-scss/_toggle.scss +84 -0
  95. package/src/lib/anna-common-scss/style.scss +1 -0
@@ -0,0 +1,188 @@
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
+ }
188
+
@@ -0,0 +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
+ }
@@ -0,0 +1,176 @@
1
+ /***COMMON NG-SELECT STYLING FOR ALL SIZES **/
2
+ ::ng-deep .ng-select {
3
+ & .ng-arrow,
4
+ & .ng-arrow:hover {
5
+ border-color: black transparent transparent !important;
6
+ opacity: 1 !important;
7
+ }
8
+
9
+ &.ng-select-opened .ng-arrow,
10
+ &.ng-select-opened .ng-arrow:hover {
11
+ border-color: transparent transparent black !important;
12
+ opacity: 1 !important;
13
+ padding-top: 2px;
14
+ }
15
+
16
+ & .ng-select-container {
17
+ border: 1px solid #b7b7b7 !important;
18
+ border-radius: 2px;
19
+ &:hover {
20
+ box-shadow: none;
21
+ }
22
+ }
23
+
24
+ &.custom-error-ng-select .ng-select-container {
25
+ border: 1px solid #f86c6b;
26
+ }
27
+
28
+ &.ng-select-disabled > .ng-select-container {
29
+ background-color: #bdbdbd;
30
+ opacity: 0.5;
31
+ cursor: not-allowed;
32
+
33
+ }
34
+
35
+ & .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
36
+ & .ng-option-label {
37
+ font-weight: normal !important;
38
+ }
39
+ &:hover {
40
+ background-color: #ebebeb;
41
+ color: #4a4a4a;
42
+ }
43
+ &:not(:hover){
44
+ background-color: #fff;
45
+ }
46
+ &.ng-option-selected {
47
+ background-color: #268bff;
48
+ color: #fff;
49
+ }
50
+ }
51
+
52
+ &.ng-select-focused:not(.ng-select-opened) > .ng-select-container {
53
+ border-color: lightgray;
54
+ box-shadow: none;
55
+ }
56
+
57
+ }
58
+
59
+ /*****EXTRA SMALL NG STYLE******/
60
+ ::ng-deep .ng-select.custom-xs-ng-select {
61
+ & .ng-select-container {
62
+ min-height: 22px !important;
63
+ font-size: 12px !important;
64
+ }
65
+
66
+ &.ng-select-single .ng-select-container {
67
+ height: 22px !important;
68
+ }
69
+
70
+ & .ng-dropdown-panel .scroll-host {
71
+ font-size: 12px !important;
72
+ }
73
+
74
+ & .ng-arrow-wrapper {
75
+ padding-top: 2px !important;
76
+ }
77
+
78
+ &.ng-select-opened,
79
+ &.ng-select-bottom,
80
+ &.ng-select-top {
81
+ & .ng-select-container {
82
+ padding-top: 6px !important;
83
+ }
84
+ }
85
+ &.non-searchable {
86
+ &.ng-select-opened,
87
+ &.ng-select-bottom,
88
+ &.ng-select-top {
89
+ & .ng-select-container {
90
+ padding-top: 4px !important;
91
+ }
92
+ }
93
+ }
94
+ & .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
95
+ padding: 3px 10px;
96
+ }
97
+ }
98
+
99
+ /**SMALL NG SELECT STYLE***/
100
+ ::ng-deep .ng-select.custom-sm-ng-select {
101
+ & .ng-select-container {
102
+ min-height: 1.5625rem !important;
103
+ }
104
+
105
+ &.ng-select-single .ng-select-container {
106
+ height: 1.5625rem !important;
107
+ }
108
+
109
+ &.ng-select-opened,
110
+ &.ng-select-bottom,
111
+ &.ng-select-top {
112
+ & .ng-select-container {
113
+ padding-top: 8px !important;
114
+ }
115
+ }
116
+ &.non-searchable {
117
+ &.ng-select-opened,
118
+ &.ng-select-bottom,
119
+ &.ng-select-top {
120
+ & .ng-select-container {
121
+ padding-top: 8px !important;
122
+ }
123
+ }
124
+ }
125
+ & .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
126
+ padding: 4px 10px;
127
+ }
128
+ }
129
+
130
+ /**MEDIUM NG SELECT STYLE***/
131
+ ::ng-deep .ng-select.custom-md-ng-select {
132
+ & .ng-select-container {
133
+ min-height: 30px !important;
134
+ }
135
+
136
+ &.ng-select-single .ng-select-container {
137
+ height: 1.875rem !important;
138
+ }
139
+ }
140
+
141
+ /**MEDIUM NG SELECT STYLE -2 !!! with 32px height !!!***/
142
+ ::ng-deep .ng-select.custom-md-32-ng-select {
143
+ & .ng-select-container {
144
+ min-height: 32px !important;
145
+ }
146
+
147
+ &.ng-select-single .ng-select-container {
148
+ height: 32px !important;
149
+ }
150
+ }
151
+
152
+ /**LARGE NG SELECT STYLE***/
153
+ ::ng-deep .ng-select.custom-lg-ng-select {
154
+ & .ng-select-container {
155
+ min-height: 2.8125rem !important;
156
+ }
157
+
158
+ &.ng-select-single .ng-select-container {
159
+ height: 2.8125rem !important;
160
+ }
161
+ }
162
+
163
+
164
+ :host::ng-deep .custom-arrow.ng-select.ng-select-opened>.ng-select-container{
165
+ .ng-arrow{
166
+ border-width: 0 4px 4px;
167
+ position: relative;
168
+ bottom: 1px;
169
+ }
170
+ }
171
+
172
+ :host::ng-deep .custom-arrow.ng-select .ng-arrow-wrapper .ng-arrow{
173
+ border-width: 4px 4px 2.5px;
174
+ position: relative;
175
+ bottom: 1px;
176
+ }
@@ -0,0 +1,30 @@
1
+ @import "./fonts", "./colors";
2
+
3
+ .sort-btn{
4
+ background: white;
5
+ border: none;
6
+ border-right: 1px solid #1b88ff;
7
+ text-decoration: underline;
8
+ @include fonts(Roboto, 14px, normal, normal, normal, 1.07, normal);
9
+ color: #1b88ff;
10
+ cursor: pointer;
11
+ flex: 1;
12
+ text-align: center;
13
+ }
14
+
15
+ .sort-btn:last-of-type{
16
+ border-right: none;
17
+ }
18
+
19
+ .sort-btn.active{
20
+ color: #202b47;
21
+ text-decoration: none;
22
+ }
23
+
24
+ p.sort-container{
25
+ margin-top: 8px;
26
+ padding-bottom: 8px;
27
+ border-bottom: 1px solid #e6e6e6;
28
+ margin-bottom: 0;
29
+ display: flex;
30
+ }
@@ -0,0 +1,84 @@
1
+
2
+ .switchBtn {
3
+ position: relative;
4
+ display: inline-block;
5
+ width: 50px;
6
+ height: 20px;
7
+ font-size: 12px;
8
+ top: 3px;
9
+ }
10
+
11
+ .switchBtn input {
12
+ display: none;
13
+ }
14
+
15
+ .slide {
16
+ position: absolute;
17
+ cursor: pointer;
18
+ top: 0;
19
+ left: 0;
20
+ right: 0;
21
+ bottom: 0;
22
+ background-color: #ffffff;
23
+ -webkit-transition: .4s;
24
+ transition: .4s;
25
+ padding: 4px 4px 4px 22px;
26
+ line-height: 1;
27
+ border: solid 1px rgba(0, 0, 0, 0.1);
28
+ }
29
+
30
+ .slide:before {
31
+ position: absolute;
32
+ content: "";
33
+ width: 18px;
34
+ height: 18px;
35
+ background-color: #ffffff;
36
+ box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.05), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 3px 1px 0 rgba(0, 0, 0, 0.05);
37
+ border: solid 0.5px rgba(0, 0, 0, 0.1);
38
+ left: 0px;
39
+ bottom: 0px;
40
+ background-color: white;
41
+ -webkit-transition: .4s;
42
+ transition: .4s;
43
+ color: #999999;
44
+ }
45
+
46
+ input:checked + .slide {
47
+ background-color: #44db5e;
48
+ padding-left: 7px;
49
+ color: #fff;
50
+ line-height: 1;
51
+ }
52
+
53
+ input:focus + .slide {
54
+ box-shadow: 0 0 1px #01aeed;
55
+ }
56
+
57
+ input:checked + .slide:before {
58
+ -webkit-transform: translateX(20px);
59
+ -ms-transform: translateX(20px);
60
+ transform: translateX(20px);
61
+ left: 10px;
62
+ }
63
+
64
+ .slide.round {
65
+ border-radius: 15.5px;
66
+ }
67
+
68
+ .slide.round:before {
69
+ border-radius: 50%;
70
+ }
71
+
72
+ .has-error {
73
+ transition: all linear 0.5s;
74
+ color: red !important;
75
+ }
76
+
77
+ .data-label {
78
+ font-size: 11px;
79
+ color: #666666;
80
+ letter-spacing: 0.2px;
81
+ text-overflow: ellipsis;
82
+ overflow: hidden;
83
+ white-space: nowrap;
84
+ }
@@ -0,0 +1 @@
1
+ @import "./colors", "./filters", "./fonts", "./sort", "./application-spacing";