@swimlane/ngx-datatable 20.1.0 → 21.0.0-alpha.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 (145) hide show
  1. package/{fesm2020 → fesm2022}/swimlane-ngx-datatable.mjs +3404 -2536
  2. package/fesm2022/swimlane-ngx-datatable.mjs.map +1 -0
  3. package/lib/components/body/body-cell.component.d.ts +28 -23
  4. package/lib/components/body/body-group-header-template.directive.d.ts +3 -4
  5. package/lib/components/body/body-group-header.directive.d.ts +14 -9
  6. package/lib/components/body/body-row-def.component.d.ts +34 -0
  7. package/lib/components/body/body-row-wrapper.component.d.ts +34 -22
  8. package/lib/components/body/body-row.component.d.ts +28 -34
  9. package/lib/components/body/body.component.d.ts +88 -69
  10. package/lib/components/body/ghost-loader/ghost-loader.component.d.ts +12 -0
  11. package/lib/components/body/progress-bar.component.d.ts +1 -1
  12. package/lib/components/body/scroller.component.d.ts +4 -7
  13. package/lib/components/body/selection.component.d.ts +21 -25
  14. package/lib/components/body/summary/summary-row.component.d.ts +4 -3
  15. package/lib/components/columns/column-cell.directive.d.ts +4 -3
  16. package/lib/components/columns/column-ghost-cell.directive.d.ts +6 -0
  17. package/lib/components/columns/column-header.directive.d.ts +3 -4
  18. package/lib/components/columns/column.directive.d.ts +43 -18
  19. package/lib/components/columns/tree.directive.d.ts +1 -2
  20. package/lib/components/datatable.component.d.ts +142 -76
  21. package/lib/components/footer/footer-template.directive.d.ts +3 -4
  22. package/lib/components/footer/footer.component.d.ts +3 -2
  23. package/lib/components/footer/footer.directive.d.ts +6 -4
  24. package/lib/components/footer/pager.component.d.ts +6 -4
  25. package/lib/components/header/header-cell.component.d.ts +18 -18
  26. package/lib/components/header/header.component.d.ts +41 -36
  27. package/lib/components/row-detail/row-detail-template.directive.d.ts +3 -4
  28. package/lib/components/row-detail/row-detail.directive.d.ts +9 -8
  29. package/lib/directives/disable-row.directive.d.ts +22 -0
  30. package/lib/directives/draggable.directive.d.ts +11 -8
  31. package/lib/directives/long-press.directive.d.ts +16 -5
  32. package/lib/directives/orderable.directive.d.ts +21 -10
  33. package/lib/directives/resizeable.directive.d.ts +7 -5
  34. package/lib/directives/visibility.directive.d.ts +2 -3
  35. package/lib/ngx-datatable.module.d.ts +29 -30
  36. package/lib/services/scrollbar-helper.service.d.ts +0 -1
  37. package/lib/types/internal.types.d.ts +31 -0
  38. package/lib/types/public.types.d.ts +142 -0
  39. package/lib/types/table-column.type.d.ts +39 -66
  40. package/lib/utils/column-helper.d.ts +2 -2
  41. package/lib/utils/column-prop-getters.d.ts +1 -1
  42. package/lib/utils/column.d.ts +7 -14
  43. package/lib/utils/keys.d.ts +6 -6
  44. package/lib/utils/math.d.ts +4 -3
  45. package/lib/utils/selection.d.ts +2 -2
  46. package/lib/utils/sort.d.ts +5 -5
  47. package/lib/utils/table-token.d.ts +7 -0
  48. package/lib/utils/tree.d.ts +2 -2
  49. package/package.json +9 -17
  50. package/public-api.d.ts +4 -11
  51. package/LICENSE +0 -22
  52. package/README.md +0 -47
  53. package/assets/app.css +0 -302
  54. package/assets/data/100k.json +0 -100002
  55. package/assets/data/company.json +0 -505
  56. package/assets/data/company_tree.json +0 -61
  57. package/assets/data/forRowGrouping.json +0 -227
  58. package/assets/fonts/data-table.eot +0 -0
  59. package/assets/fonts/data-table.svg +0 -26
  60. package/assets/fonts/data-table.ttf +0 -0
  61. package/assets/fonts/data-table.woff +0 -0
  62. package/assets/icons-reference.html +0 -395
  63. package/assets/icons.css +0 -105
  64. package/esm2020/lib/components/body/body-cell.component.mjs +0 -432
  65. package/esm2020/lib/components/body/body-group-header-template.directive.mjs +0 -16
  66. package/esm2020/lib/components/body/body-group-header.directive.mjs +0 -62
  67. package/esm2020/lib/components/body/body-row-wrapper.component.mjs +0 -140
  68. package/esm2020/lib/components/body/body-row.component.mjs +0 -262
  69. package/esm2020/lib/components/body/body.component.mjs +0 -863
  70. package/esm2020/lib/components/body/progress-bar.component.mjs +0 -27
  71. package/esm2020/lib/components/body/scroller.component.mjs +0 -91
  72. package/esm2020/lib/components/body/selection.component.mjs +0 -150
  73. package/esm2020/lib/components/body/summary/summary-row.component.mjs +0 -105
  74. package/esm2020/lib/components/columns/column-cell.directive.mjs +0 -14
  75. package/esm2020/lib/components/columns/column-header.directive.mjs +0 -14
  76. package/esm2020/lib/components/columns/column.directive.mjs +0 -98
  77. package/esm2020/lib/components/columns/tree.directive.mjs +0 -14
  78. package/esm2020/lib/components/datatable.component.mjs +0 -1008
  79. package/esm2020/lib/components/footer/footer-template.directive.mjs +0 -14
  80. package/esm2020/lib/components/footer/footer.component.mjs +0 -128
  81. package/esm2020/lib/components/footer/footer.directive.mjs +0 -35
  82. package/esm2020/lib/components/footer/pager.component.mjs +0 -181
  83. package/esm2020/lib/components/header/header-cell.component.mjs +0 -243
  84. package/esm2020/lib/components/header/header.component.mjs +0 -376
  85. package/esm2020/lib/components/row-detail/row-detail-template.directive.mjs +0 -16
  86. package/esm2020/lib/components/row-detail/row-detail.directive.mjs +0 -63
  87. package/esm2020/lib/directives/draggable.directive.mjs +0 -108
  88. package/esm2020/lib/directives/long-press.directive.mjs +0 -117
  89. package/esm2020/lib/directives/orderable.directive.mjs +0 -136
  90. package/esm2020/lib/directives/resizeable.directive.mjs +0 -93
  91. package/esm2020/lib/directives/visibility.directive.mjs +0 -63
  92. package/esm2020/lib/events.mjs +0 -7
  93. package/esm2020/lib/ngx-datatable.module.mjs +0 -139
  94. package/esm2020/lib/services/column-changes.service.mjs +0 -24
  95. package/esm2020/lib/services/dimensions-helper.service.mjs +0 -17
  96. package/esm2020/lib/services/scrollbar-helper.service.mjs +0 -37
  97. package/esm2020/lib/types/click.type.mjs +0 -6
  98. package/esm2020/lib/types/column-mode.type.mjs +0 -7
  99. package/esm2020/lib/types/contextmenu.type.mjs +0 -6
  100. package/esm2020/lib/types/selection.type.mjs +0 -9
  101. package/esm2020/lib/types/sort-direction.type.mjs +0 -6
  102. package/esm2020/lib/types/sort-prop-dir.type.mjs +0 -2
  103. package/esm2020/lib/types/sort.type.mjs +0 -6
  104. package/esm2020/lib/types/table-column.type.mjs +0 -2
  105. package/esm2020/lib/utils/camel-case.mjs +0 -28
  106. package/esm2020/lib/utils/column-helper.mjs +0 -95
  107. package/esm2020/lib/utils/column-prop-getters.mjs +0 -96
  108. package/esm2020/lib/utils/column.mjs +0 -69
  109. package/esm2020/lib/utils/elm-from-point.mjs +0 -38
  110. package/esm2020/lib/utils/id.mjs +0 -8
  111. package/esm2020/lib/utils/keys.mjs +0 -10
  112. package/esm2020/lib/utils/math.mjs +0 -146
  113. package/esm2020/lib/utils/prefixes.mjs +0 -38
  114. package/esm2020/lib/utils/row-height-cache.mjs +0 -138
  115. package/esm2020/lib/utils/selection.mjs +0 -40
  116. package/esm2020/lib/utils/sort.mjs +0 -127
  117. package/esm2020/lib/utils/throttle.mjs +0 -60
  118. package/esm2020/lib/utils/translate.mjs +0 -25
  119. package/esm2020/lib/utils/tree.mjs +0 -103
  120. package/esm2020/public-api.mjs +0 -64
  121. package/esm2020/swimlane-ngx-datatable.mjs +0 -5
  122. package/fesm2015/swimlane-ngx-datatable.mjs +0 -5979
  123. package/fesm2015/swimlane-ngx-datatable.mjs.map +0 -1
  124. package/fesm2020/swimlane-ngx-datatable.mjs.map +0 -1
  125. package/index.css +0 -198
  126. package/index.scss +0 -315
  127. package/lib/events.d.ts +0 -3
  128. package/lib/services/dimensions-helper.service.d.ts +0 -10
  129. package/lib/types/click.type.d.ts +0 -4
  130. package/lib/types/column-mode.type.d.ts +0 -5
  131. package/lib/types/contextmenu.type.d.ts +0 -4
  132. package/lib/types/selection.type.d.ts +0 -7
  133. package/lib/types/sort-direction.type.d.ts +0 -4
  134. package/lib/types/sort-prop-dir.type.d.ts +0 -6
  135. package/lib/types/sort.type.d.ts +0 -4
  136. package/lib/utils/elm-from-point.d.ts +0 -8
  137. package/lib/utils/prefixes.d.ts +0 -1
  138. package/lib/utils/translate.d.ts +0 -1
  139. package/themes/bootstrap.css +0 -67
  140. package/themes/bootstrap.scss +0 -101
  141. package/themes/dark.css +0 -75
  142. package/themes/dark.scss +0 -120
  143. package/themes/material.css +0 -305
  144. package/themes/material.scss +0 -480
  145. /package/{swimlane-ngx-datatable.d.ts → index.d.ts} +0 -0
@@ -1,480 +0,0 @@
1
- /*
2
- This stylesheet uses scss valiables for most of the colors / background-colors of the table
3
- to enable the customization of the displayed table without cloning the stylesheet into the
4
- own application.
5
-
6
- To modify table colors, add the following lines to the scss file of your application
7
- (this example modifies the color of the selected row - selectionType = single, multi or multiClick):
8
-
9
- $ngx-datatable-selected-active-background: yellow;
10
- $ngx-datatable-selected-active-background-hover: rgba(yellow, 0.2);
11
-
12
- @import '~@swimlane/ngx-datatable/index.css';
13
- @import '~@swimlane/ngx-datatable/themes/material.scss';
14
- @import '~@swimlane/ngx-datatable/assets/icons.css';
15
-
16
- That's all.
17
- */
18
-
19
- // common datatable colors
20
- $ngx-datatable-background: #fff !default;
21
- $ngx-datatable-box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14),
22
- 0 3px 14px 2px rgba(0, 0, 0, 0.12) !default;
23
- $ngx-datatable-row-odd-background: #eee !default;
24
-
25
- // default row and cell background colors
26
- $ngx-datatable-default-background: #fff !default;
27
- $ngx-datatable-default-background-hover: #eee !default;
28
- $ngx-datatable-default-background-focus: #ddd !default;
29
-
30
- // default background colors for cell selection style
31
- $ngx-datatable-cellselection-background-hover: #eee !default;
32
- $ngx-datatable-cellselection-background-focus: #ddd !default;
33
-
34
- // background and text colors for selected cell / row
35
- $ngx-datatable-selected-active-background: #304ffe !default;
36
- $ngx-datatable-selected-active-color: #fff !default;
37
- $ngx-datatable-selected-active-background-hover: #193ae4 !default;
38
- $ngx-datatable-selected-active-color-hover: #fff !default;
39
- $ngx-datatable-selected-active-background-focus: #2041ef !default;
40
- $ngx-datatable-selected-active-color-focus: #fff !default;
41
-
42
- // colors for header elements
43
- $datatable-header-cell-background: #fff !default;
44
- $datatable-header-cell-color: rgba(0, 0, 0, 0.54) !default;
45
- $datatable-header-border-bottom-color: rgba(0, 0, 0, 0.12) !default;
46
- $datatable-header-resize-handle-color: #eee !default;
47
-
48
- // colors for table body elements
49
- $datatable-row-detail-background: #f5f5f5 !default;
50
- $datatable-body-cell-color: rgba(0, 0, 0, 0.87) !default;
51
- $datatable-group-header-background: #f5f5f5 !default;
52
- $datatable-group-header-border-top-color: #d9d8d9 !default;
53
- $datatable-group-header-border-bottom-color: #d9d8d9 !default;
54
-
55
- // colors for footer elements
56
- $datatable-footer-cell-color: rgba(0, 0, 0, 0.54) !default;
57
- $datatable-footer-border-top-color: rgba(0, 0, 0, 0.12) !default;
58
- $datatable-pager-color: rgba(0, 0, 0, 0.54) !default;
59
- $datatable-pager-color-hover: rgba(0, 0, 0, 0.75) !default;
60
- $datatable-pager-background-hover: rgba(158, 158, 158, 0.2) !default;
61
- $datatable-pager-disabled-color: rgba(0, 0, 0, 0.26) !default;
62
- $datatable-pager-disabled-background: transparent !default;
63
- $datatable-pager-active-background: rgba(158, 158, 158, 0.2) !default;
64
-
65
- // colors for summary row elements
66
- $datatable-summary-row-background: #ddd !default;
67
- $datatable-summary-row-background-hover: #ddd !default;
68
-
69
- .ngx-datatable.material {
70
- background: $ngx-datatable-background;
71
- box-shadow: $ngx-datatable-box-shadow;
72
-
73
- &.striped {
74
- .datatable-row-odd {
75
- background: $ngx-datatable-row-odd-background;
76
- }
77
- }
78
-
79
- &.single-selection,
80
- &.multi-selection,
81
- &.multi-click-selection {
82
- .datatable-body-row {
83
- &.active,
84
- &.active .datatable-row-group {
85
- background-color: $ngx-datatable-selected-active-background;
86
- color: $ngx-datatable-selected-active-color;
87
- }
88
-
89
- &.active:hover,
90
- &.active:hover .datatable-row-group {
91
- background-color: $ngx-datatable-selected-active-background-hover;
92
- color: $ngx-datatable-selected-active-color-hover;
93
- }
94
-
95
- &.active:focus,
96
- &.active:focus .datatable-row-group {
97
- background-color: $ngx-datatable-selected-active-background-focus;
98
- color: $ngx-datatable-selected-active-color-focus;
99
- }
100
- }
101
- }
102
-
103
- &:not(.cell-selection) {
104
- .datatable-body-row {
105
- &:hover,
106
- &:hover .datatable-row-group {
107
- background-color: $ngx-datatable-default-background-hover;
108
- transition-property: background;
109
- transition-duration: 0.3s;
110
- transition-timing-function: linear;
111
- }
112
-
113
- &:focus,
114
- &:focus .datatable-row-group {
115
- background-color: $ngx-datatable-default-background-focus;
116
- }
117
- }
118
- }
119
-
120
- &.cell-selection {
121
- .datatable-body-cell {
122
- &:hover,
123
- &:hover .datatable-row-group {
124
- background-color: $ngx-datatable-cellselection-background-hover;
125
- transition-property: background;
126
- transition-duration: 0.3s;
127
- transition-timing-function: linear;
128
- }
129
-
130
- &:focus,
131
- &:focus .datatable-row-group {
132
- background-color: $ngx-datatable-cellselection-background-focus;
133
- }
134
-
135
- &.active,
136
- &.active .datatable-row-group {
137
- background-color: $ngx-datatable-selected-active-background;
138
- color: $ngx-datatable-selected-active-color;
139
- }
140
-
141
- &.active:hover,
142
- &.active:hover .datatable-row-group {
143
- background-color: $ngx-datatable-selected-active-background-hover;
144
- color: $ngx-datatable-selected-active-color-hover;
145
- }
146
-
147
- &.active:focus,
148
- &.active:focus .datatable-row-group {
149
- background-color: $ngx-datatable-selected-active-background-focus;
150
- color: $ngx-datatable-selected-active-color-focus;
151
- }
152
- }
153
- }
154
-
155
- /**
156
- * Shared Styles
157
- */
158
- .empty-row {
159
- height: 50px;
160
- text-align: left;
161
- padding: 0.5rem 1.2rem;
162
- vertical-align: top;
163
- border-top: 0;
164
- }
165
-
166
- .loading-row {
167
- text-align: left;
168
- padding: 0.5rem 1.2rem;
169
- vertical-align: top;
170
- border-top: 0;
171
- }
172
-
173
- /**
174
- * Global Row Styles
175
- */
176
- .datatable-header,
177
- .datatable-body {
178
- .datatable-row-left {
179
- background-color: $ngx-datatable-background;
180
- background-position: 100% 0;
181
- background-repeat: repeat-y;
182
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAYAAAD5PA/NAAAAFklEQVQIHWPSkNeSBmJhTQVtbiDNCgASagIIuJX8OgAAAABJRU5ErkJggg==);
183
- }
184
-
185
- .datatable-row-right {
186
- background-position: 0 0;
187
- background-color: $ngx-datatable-background;
188
- background-repeat: repeat-y;
189
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAYAAAD5PA/NAAAAFklEQVQI12PQkNdi1VTQ5gbSwkAsDQARLAIGtOSFUAAAAABJRU5ErkJggg==);
190
- }
191
- }
192
-
193
- /**
194
- * Header Styles
195
- */
196
- .datatable-header {
197
- border-bottom: 1px solid $datatable-header-border-bottom-color;
198
-
199
- .datatable-header-cell {
200
- text-align: left;
201
- padding: 0.9rem 1.2rem;
202
- font-weight: 400;
203
- background-color: $datatable-header-cell-background;
204
- color: $datatable-header-cell-color;
205
- vertical-align: bottom;
206
- font-size: 12px;
207
- font-weight: 500;
208
-
209
- .datatable-header-cell-wrapper {
210
- position: relative;
211
- }
212
-
213
- &.longpress {
214
- .draggable::after {
215
- transition: transform 400ms ease, opacity 400ms ease;
216
- opacity: 0.5;
217
- transform: scale(1);
218
- }
219
- }
220
-
221
- .draggable::after {
222
- content: ' ';
223
- position: absolute;
224
- top: 50%;
225
- left: 50%;
226
- margin: -30px 0 0 -30px;
227
- height: 60px;
228
- width: 60px;
229
- background: #eee;
230
- border-radius: 100%;
231
- opacity: 1;
232
- filter: none;
233
- transform: scale(0);
234
- z-index: 9999;
235
- pointer-events: none;
236
- }
237
-
238
- &.dragging {
239
- .resize-handle {
240
- border-right: none;
241
- }
242
- }
243
- }
244
-
245
- .resize-handle {
246
- border-right: solid 1px $datatable-header-resize-handle-color;
247
- }
248
- }
249
-
250
- /**
251
- * Body Styles
252
- */
253
- .datatable-body {
254
- position: relative;
255
-
256
- .datatable-row-detail {
257
- background: $datatable-row-detail-background;
258
- padding: 10px;
259
- }
260
-
261
- .datatable-group-header {
262
- background: $datatable-group-header-background;
263
- border-bottom: solid 1px $datatable-group-header-border-bottom-color;
264
- border-top: solid 1px $datatable-group-header-border-top-color;
265
- }
266
-
267
- .datatable-body-row {
268
- .datatable-body-cell {
269
- text-align: left;
270
- padding: 0.9rem 1.2rem;
271
- vertical-align: top;
272
- border-top: 0;
273
- color: $datatable-body-cell-color;
274
- transition: width 0.3s ease;
275
- font-size: 14px;
276
- font-weight: 400;
277
-
278
- // cell active class
279
- // &.active {
280
- // background: #0829e0
281
- // }
282
- }
283
- .datatable-body-group-cell {
284
- text-align: left;
285
- padding: 0.9rem 1.2rem;
286
- vertical-align: top;
287
- border-top: 0;
288
- color: $datatable-body-cell-color;
289
- transition: width 0.3s ease;
290
- font-size: 14px;
291
- font-weight: 400;
292
- }
293
- }
294
-
295
- .progress-linear {
296
- display: block;
297
- position: sticky;
298
- width: 100%;
299
- height: 5px;
300
- padding: 0;
301
- margin: 0;
302
- top: 0;
303
-
304
- .container {
305
- display: block;
306
- position: relative;
307
- overflow: hidden;
308
- width: 100%;
309
- height: 5px;
310
- -webkit-transform: translate(0, 0) scale(1, 1);
311
- transform: translate(0, 0) scale(1, 1);
312
- background-color: rgb(170, 209, 249);
313
-
314
- .bar {
315
- transition: all 0.2s linear;
316
- -webkit-animation: query 0.8s infinite cubic-bezier(0.39, 0.575, 0.565, 1);
317
- animation: query 0.8s infinite cubic-bezier(0.39, 0.575, 0.565, 1);
318
-
319
- transition: -webkit-transform 0.2s linear;
320
- transition: transform 0.2s linear;
321
- background-color: rgb(16, 108, 200);
322
-
323
- position: absolute;
324
- left: 0;
325
- top: 0;
326
- bottom: 0;
327
- width: 100%;
328
- height: 5px;
329
- }
330
- }
331
- }
332
- }
333
-
334
- /**
335
- * Footer Styles
336
- */
337
- .datatable-footer {
338
- border-top: 1px solid $datatable-footer-border-top-color;
339
- font-size: 12px;
340
- font-weight: 400;
341
- color: $datatable-footer-cell-color;
342
-
343
- .page-count {
344
- line-height: 50px;
345
- height: 50px;
346
- padding: 0 1.2rem;
347
- }
348
-
349
- .datatable-pager {
350
- margin: 0 10px;
351
-
352
- li {
353
- vertical-align: middle;
354
-
355
- &.disabled a {
356
- color: $datatable-pager-disabled-color !important;
357
- background-color: $datatable-pager-disabled-background !important;
358
- }
359
-
360
- &.active a {
361
- background-color: $datatable-pager-active-background;
362
- font-weight: bold;
363
- }
364
- }
365
-
366
- a {
367
- height: 22px;
368
- min-width: 24px;
369
- line-height: 22px;
370
- padding: 0 6px;
371
- border-radius: 3px;
372
- margin: 6px 3px;
373
- text-align: center;
374
- vertical-align: top;
375
- color: $datatable-pager-color;
376
- text-decoration: none;
377
- vertical-align: bottom;
378
-
379
- &:hover {
380
- color: $datatable-pager-color-hover;
381
- background-color: $datatable-pager-background-hover;
382
- }
383
- }
384
-
385
- .datatable-icon-left,
386
- .datatable-icon-skip,
387
- .datatable-icon-right,
388
- .datatable-icon-prev {
389
- font-size: 20px;
390
- line-height: 20px;
391
- padding: 0 3px;
392
- }
393
- }
394
- }
395
-
396
- // Summary row styles
397
- .datatable-summary-row {
398
- .datatable-body-row {
399
- background-color: $datatable-summary-row-background;
400
-
401
- &:hover {
402
- background-color: $datatable-summary-row-background-hover;
403
- }
404
-
405
- .datatable-body-cell {
406
- font-weight: bold;
407
- }
408
- }
409
- }
410
- }
411
-
412
- /**
413
- * Checkboxes
414
- **/
415
- .datatable-checkbox {
416
- position: relative;
417
- margin: 0;
418
- cursor: pointer;
419
- vertical-align: middle;
420
- display: inline-block;
421
- box-sizing: border-box;
422
- padding: 0;
423
-
424
- input[type='checkbox'] {
425
- position: relative;
426
- margin: 0 1rem 0 0;
427
- cursor: pointer;
428
- outline: none;
429
-
430
- &:before {
431
- -webkit-transition: all 0.3s ease-in-out;
432
- -moz-transition: all 0.3s ease-in-out;
433
- transition: all 0.3s ease-in-out;
434
- content: '';
435
- position: absolute;
436
- left: 0;
437
- z-index: 1;
438
- width: 1rem;
439
- height: 1rem;
440
- border: 2px solid #f2f2f2;
441
- }
442
-
443
- &:checked:before {
444
- -webkit-transform: rotate(-45deg);
445
- -moz-transform: rotate(-45deg);
446
- -ms-transform: rotate(-45deg);
447
- transform: rotate(-45deg);
448
- height: 0.5rem;
449
- border-color: #009688;
450
- border-top-style: none;
451
- border-right-style: none;
452
- }
453
-
454
- &:after {
455
- content: '';
456
- position: absolute;
457
- top: 0;
458
- left: 0;
459
- width: 1rem;
460
- height: 1rem;
461
- background: #fff;
462
- cursor: pointer;
463
- }
464
- }
465
- }
466
-
467
- /**
468
- * Progress bar animations
469
- */
470
- @keyframes query {
471
- 0% {
472
- opacity: 1;
473
- transform: translateX(35%) scale(0.3, 1);
474
- }
475
-
476
- 100% {
477
- opacity: 0;
478
- transform: translateX(-50%) scale(0, 1);
479
- }
480
- }
File without changes