@vgip/meta-ui 2.0.0 → 2.1.1

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 (206) hide show
  1. package/fesm2022/vgip-meta-ui.mjs +5614 -78
  2. package/fesm2022/vgip-meta-ui.mjs.map +1 -1
  3. package/index.d.ts +709 -5
  4. package/package.json +5 -8
  5. package/vendor/volta3/README.md +1 -0
  6. package/vendor/volta3/fonts/Spezia-Regular.eot +0 -0
  7. package/vendor/volta3/fonts/Spezia-Regular.ttf +0 -0
  8. package/vendor/volta3/fonts/Spezia-Regular.woff +0 -0
  9. package/vendor/volta3/fonts/Spezia-Regular.woff2 +0 -0
  10. package/vendor/volta3/fonts/Spezia-SemiBold.eot +0 -0
  11. package/vendor/volta3/fonts/Spezia-SemiBold.ttf +0 -0
  12. package/vendor/volta3/fonts/Spezia-SemiBold.woff +0 -0
  13. package/vendor/volta3/fonts/Spezia-SemiBold.woff2 +0 -0
  14. package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.eot +0 -0
  15. package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.ttf +0 -0
  16. package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.woff +0 -0
  17. package/vendor/volta3/fonts/Spezia-SemiMonoSemiBold.woff2 +0 -0
  18. package/vendor/volta3/fonts/Spezia-WideMedium.eot +0 -0
  19. package/vendor/volta3/fonts/Spezia-WideMedium.ttf +0 -0
  20. package/vendor/volta3/fonts/Spezia-WideMedium.woff +0 -0
  21. package/vendor/volta3/fonts/Spezia-WideMedium.woff2 +0 -0
  22. package/vendor/volta3/scss/components/_accordions.scss +165 -0
  23. package/vendor/volta3/scss/components/_badge.scss +329 -0
  24. package/vendor/volta3/scss/components/_blockquote.scss +35 -0
  25. package/vendor/volta3/scss/components/_boxes.scss +113 -0
  26. package/vendor/volta3/scss/components/_buttons.scss +794 -0
  27. package/vendor/volta3/scss/components/_callouts.scss +427 -0
  28. package/vendor/volta3/scss/components/_card.scss +421 -0
  29. package/vendor/volta3/scss/components/_color-classes.scss +186 -0
  30. package/vendor/volta3/scss/components/_dialpad.scss +224 -0
  31. package/vendor/volta3/scss/components/_dropdowns.scss +495 -0
  32. package/vendor/volta3/scss/components/_empties.scss +77 -0
  33. package/vendor/volta3/scss/components/_flash-messages.scss +39 -0
  34. package/vendor/volta3/scss/components/_form-elements.scss +879 -0
  35. package/vendor/volta3/scss/components/_lists.scss +427 -0
  36. package/vendor/volta3/scss/components/_modals.scss +227 -0
  37. package/vendor/volta3/scss/components/_popups.scss +173 -0
  38. package/vendor/volta3/scss/components/_progress.scss +28 -0
  39. package/vendor/volta3/scss/components/_spinner.scss +105 -0
  40. package/vendor/volta3/scss/components/_steps.scss +242 -0
  41. package/vendor/volta3/scss/components/_switch.scss +353 -0
  42. package/vendor/volta3/scss/components/_tables.scss +739 -0
  43. package/vendor/volta3/scss/components/_tabs.scss +296 -0
  44. package/vendor/volta3/scss/components/_text-separator.scss +61 -0
  45. package/vendor/volta3/scss/components/_tooltips.scss +152 -0
  46. package/vendor/volta3/scss/components/side-navigation/_side-nav--aqua.scss +179 -0
  47. package/vendor/volta3/scss/components/side-navigation/_side-nav--collapsible.scss +381 -0
  48. package/vendor/volta3/scss/components/side-navigation/_side-nav--dark.scss +196 -0
  49. package/vendor/volta3/scss/components/side-navigation/_side-nav--light.scss +174 -0
  50. package/vendor/volta3/scss/components/side-navigation/_side-nav--structure.scss +631 -0
  51. package/vendor/volta3/scss/components/side-navigation/_side-nav--tabs.scss +88 -0
  52. package/vendor/volta3/scss/flatpickr/_flatpickr-volta.scss +407 -0
  53. package/vendor/volta3/scss/flatpickr/_flatpickr.css +785 -0
  54. package/vendor/volta3/scss/layout/_article.scss +119 -0
  55. package/vendor/volta3/scss/layout/_utils.scss +174 -0
  56. package/vendor/volta3/scss/lib/_grid.scss +374 -0
  57. package/vendor/volta3/scss/lib/_mediaqueries.scss +52 -0
  58. package/vendor/volta3/scss/lib/_reset.scss +110 -0
  59. package/vendor/volta3/scss/lib/_type.scss +345 -0
  60. package/vendor/volta3/scss/lib/_utils.scss +26 -0
  61. package/vendor/volta3/scss/lib/_variables.scss +115 -0
  62. package/vendor/volta3/scss/prism/_prism-volta.scss +390 -0
  63. package/vendor/volta3/scss/prism/_prism.css +326 -0
  64. package/vendor/volta3/scss/templates/volta-error-page.scss +57 -0
  65. package/vendor/volta3/scss/templates/volta-templates.scss +114 -0
  66. package/vendor/volta3/scss/volta-flatpickr.scss +10 -0
  67. package/vendor/volta3/scss/volta-prism.scss +7 -0
  68. package/vendor/volta3/scss/volta.scss +39 -0
  69. package/vendor/volta3/symbol/volta-brand-icons.svg +1 -0
  70. package/vendor/volta3/symbol/volta-flag-icons.svg +1 -0
  71. package/vendor/volta3/symbol/volta-icons.svg +1 -0
  72. package/esm2022/lib/common/fieldNormalizer/boolean.mjs +0 -12
  73. package/esm2022/lib/common/fieldNormalizer/datetime.mjs +0 -9
  74. package/esm2022/lib/common/fieldNormalizer/index.mjs +0 -183
  75. package/esm2022/lib/common/fieldNormalizer/number.mjs +0 -14
  76. package/esm2022/lib/common/fieldNormalizer/options.mjs +0 -50
  77. package/esm2022/lib/common/fieldNormalizer/radio.mjs +0 -30
  78. package/esm2022/lib/common/fieldNormalizer/reference.mjs +0 -36
  79. package/esm2022/lib/common/fieldNormalizer/richtext.mjs +0 -15
  80. package/esm2022/lib/common/fieldNormalizer/string.mjs +0 -24
  81. package/esm2022/lib/common/fieldNormalizer/text.mjs +0 -18
  82. package/esm2022/lib/common/fieldNormalizer/uniqueNameFilter.mjs +0 -23
  83. package/esm2022/lib/common/metaAutofocus.directive.mjs +0 -35
  84. package/esm2022/lib/common/metaIcons.pipe.mjs +0 -29
  85. package/esm2022/lib/common/metaModel.pipe.mjs +0 -23
  86. package/esm2022/lib/common/metaNormalizer.mjs +0 -375
  87. package/esm2022/lib/common/metaStripHtml.pipe.mjs +0 -22
  88. package/esm2022/lib/common/utils/colorThemes.mjs +0 -77
  89. package/esm2022/lib/common/utils/indexedDbStore/index.mjs +0 -228
  90. package/esm2022/lib/common/utils/relativeTimeBuilder.mjs +0 -49
  91. package/esm2022/lib/common/utils/resourceCardLabel.mjs +0 -24
  92. package/esm2022/lib/common/utils/smartProp.mjs +0 -31
  93. package/esm2022/lib/common/utils/templateBuilder.mjs +0 -103
  94. package/esm2022/lib/fieldAbstract.mjs +0 -291
  95. package/esm2022/lib/fieldBoolean/index.mjs +0 -53
  96. package/esm2022/lib/fieldComposite/index.mjs +0 -82
  97. package/esm2022/lib/fieldDatetime/index.mjs +0 -365
  98. package/esm2022/lib/fieldHidden/index.mjs +0 -18
  99. package/esm2022/lib/fieldInput/index.mjs +0 -475
  100. package/esm2022/lib/fieldList/index.mjs +0 -74
  101. package/esm2022/lib/fieldRadio/index.mjs +0 -88
  102. package/esm2022/lib/fieldReference/index.mjs +0 -836
  103. package/esm2022/lib/fieldRichtext/index.mjs +0 -93
  104. package/esm2022/lib/fieldSelect/index.mjs +0 -569
  105. package/esm2022/lib/fieldText/index.mjs +0 -83
  106. package/esm2022/lib/fieldUnknown/index.mjs +0 -19
  107. package/esm2022/lib/index.mjs +0 -163
  108. package/esm2022/lib/layout/index.mjs +0 -214
  109. package/esm2022/lib/metaField/index.mjs +0 -151
  110. package/esm2022/lib/refDialog/index.mjs +0 -135
  111. package/esm2022/lib/resource/index.mjs +0 -525
  112. package/esm2022/lib/resourceCard/index.mjs +0 -40
  113. package/esm2022/lib/services/metaContext/index.mjs +0 -52
  114. package/esm2022/lib/services/metaMsg/index.mjs +0 -84
  115. package/esm2022/lib/services/metaReference/index.mjs +0 -94
  116. package/esm2022/lib/services/metaResource/index.mjs +0 -141
  117. package/esm2022/lib/services/metaResource/metaHttpClient.mjs +0 -64
  118. package/esm2022/lib/services/metaTracker/index.mjs +0 -31
  119. package/esm2022/lib/services/resourceDrafts/index.mjs +0 -69
  120. package/esm2022/public-api.mjs +0 -5
  121. package/esm2022/vgip-meta-ui.mjs +0 -5
  122. package/fesm2022/vgip-meta-ui-fieldAbstract-baeaf24d.mjs +0 -399
  123. package/fesm2022/vgip-meta-ui-fieldAbstract-baeaf24d.mjs.map +0 -1
  124. package/fesm2022/vgip-meta-ui-index-0184d5ec.mjs +0 -478
  125. package/fesm2022/vgip-meta-ui-index-0184d5ec.mjs.map +0 -1
  126. package/fesm2022/vgip-meta-ui-index-1ddfcce0.mjs +0 -86
  127. package/fesm2022/vgip-meta-ui-index-1ddfcce0.mjs.map +0 -1
  128. package/fesm2022/vgip-meta-ui-index-37358620.mjs +0 -158
  129. package/fesm2022/vgip-meta-ui-index-37358620.mjs.map +0 -1
  130. package/fesm2022/vgip-meta-ui-index-4e9c383f.mjs +0 -95
  131. package/fesm2022/vgip-meta-ui-index-4e9c383f.mjs.map +0 -1
  132. package/fesm2022/vgip-meta-ui-index-4fa919c0.mjs +0 -79
  133. package/fesm2022/vgip-meta-ui-index-4fa919c0.mjs.map +0 -1
  134. package/fesm2022/vgip-meta-ui-index-5f68724c.mjs +0 -576
  135. package/fesm2022/vgip-meta-ui-index-5f68724c.mjs.map +0 -1
  136. package/fesm2022/vgip-meta-ui-index-6d502a71.mjs +0 -869
  137. package/fesm2022/vgip-meta-ui-index-6d502a71.mjs.map +0 -1
  138. package/fesm2022/vgip-meta-ui-index-7741951a.mjs +0 -23
  139. package/fesm2022/vgip-meta-ui-index-7741951a.mjs.map +0 -1
  140. package/fesm2022/vgip-meta-ui-index-80ab405f.mjs +0 -93
  141. package/fesm2022/vgip-meta-ui-index-80ab405f.mjs.map +0 -1
  142. package/fesm2022/vgip-meta-ui-index-926ae006.mjs +0 -58
  143. package/fesm2022/vgip-meta-ui-index-926ae006.mjs.map +0 -1
  144. package/fesm2022/vgip-meta-ui-index-b979685f.mjs +0 -87
  145. package/fesm2022/vgip-meta-ui-index-b979685f.mjs.map +0 -1
  146. package/fesm2022/vgip-meta-ui-index-c943b7c0.mjs +0 -24
  147. package/fesm2022/vgip-meta-ui-index-c943b7c0.mjs.map +0 -1
  148. package/fesm2022/vgip-meta-ui-index-ce185ca2.mjs +0 -2062
  149. package/fesm2022/vgip-meta-ui-index-ce185ca2.mjs.map +0 -1
  150. package/fesm2022/vgip-meta-ui-index-f8b00f06.mjs +0 -370
  151. package/fesm2022/vgip-meta-ui-index-f8b00f06.mjs.map +0 -1
  152. package/fesm2022/vgip-meta-ui-index-fb7f54f5.mjs +0 -154
  153. package/fesm2022/vgip-meta-ui-index-fb7f54f5.mjs.map +0 -1
  154. package/fesm2022/vgip-meta-ui-metaModel.pipe-6b803e66.mjs +0 -26
  155. package/fesm2022/vgip-meta-ui-metaModel.pipe-6b803e66.mjs.map +0 -1
  156. package/fesm2022/vgip-meta-ui-relativeTimeBuilder-31791ce4.mjs +0 -51
  157. package/fesm2022/vgip-meta-ui-relativeTimeBuilder-31791ce4.mjs.map +0 -1
  158. package/lib/common/fieldNormalizer/boolean.d.ts +0 -1
  159. package/lib/common/fieldNormalizer/datetime.d.ts +0 -1
  160. package/lib/common/fieldNormalizer/index.d.ts +0 -1
  161. package/lib/common/fieldNormalizer/number.d.ts +0 -1
  162. package/lib/common/fieldNormalizer/options.d.ts +0 -1
  163. package/lib/common/fieldNormalizer/radio.d.ts +0 -1
  164. package/lib/common/fieldNormalizer/reference.d.ts +0 -1
  165. package/lib/common/fieldNormalizer/richtext.d.ts +0 -1
  166. package/lib/common/fieldNormalizer/string.d.ts +0 -1
  167. package/lib/common/fieldNormalizer/text.d.ts +0 -1
  168. package/lib/common/fieldNormalizer/uniqueNameFilter.d.ts +0 -1
  169. package/lib/common/metaAutofocus.directive.d.ts +0 -10
  170. package/lib/common/metaIcons.pipe.d.ts +0 -10
  171. package/lib/common/metaModel.pipe.d.ts +0 -7
  172. package/lib/common/metaNormalizer.d.ts +0 -1
  173. package/lib/common/metaStripHtml.pipe.d.ts +0 -7
  174. package/lib/common/utils/colorThemes.d.ts +0 -8
  175. package/lib/common/utils/indexedDbStore/index.d.ts +0 -25
  176. package/lib/common/utils/relativeTimeBuilder.d.ts +0 -1
  177. package/lib/common/utils/resourceCardLabel.d.ts +0 -1
  178. package/lib/common/utils/smartProp.d.ts +0 -2
  179. package/lib/common/utils/templateBuilder.d.ts +0 -1
  180. package/lib/fieldAbstract.d.ts +0 -61
  181. package/lib/fieldBoolean/index.d.ts +0 -10
  182. package/lib/fieldComposite/index.d.ts +0 -14
  183. package/lib/fieldDatetime/index.d.ts +0 -26
  184. package/lib/fieldHidden/index.d.ts +0 -6
  185. package/lib/fieldInput/index.d.ts +0 -35
  186. package/lib/fieldList/index.d.ts +0 -15
  187. package/lib/fieldRadio/index.d.ts +0 -14
  188. package/lib/fieldReference/index.d.ts +0 -73
  189. package/lib/fieldRichtext/index.d.ts +0 -27
  190. package/lib/fieldSelect/index.d.ts +0 -49
  191. package/lib/fieldText/index.d.ts +0 -15
  192. package/lib/fieldUnknown/index.d.ts +0 -6
  193. package/lib/index.d.ts +0 -65
  194. package/lib/layout/index.d.ts +0 -47
  195. package/lib/metaField/index.d.ts +0 -29
  196. package/lib/refDialog/index.d.ts +0 -33
  197. package/lib/resource/index.d.ts +0 -68
  198. package/lib/resourceCard/index.d.ts +0 -17
  199. package/lib/services/metaContext/index.d.ts +0 -32
  200. package/lib/services/metaMsg/index.d.ts +0 -14
  201. package/lib/services/metaReference/index.d.ts +0 -11
  202. package/lib/services/metaResource/index.d.ts +0 -31
  203. package/lib/services/metaResource/metaHttpClient.d.ts +0 -15
  204. package/lib/services/metaTracker/index.d.ts +0 -19
  205. package/lib/services/resourceDrafts/index.d.ts +0 -26
  206. package/public-api.d.ts +0 -1
@@ -0,0 +1,739 @@
1
+ @use "../lib/mediaqueries";
2
+ @use "../lib/variables";
3
+
4
+ //
5
+ // Copyright (c) 2018-present, Vonage. All rights reserved.
6
+ //
7
+
8
+ // Basic Tables
9
+
10
+ %Vlt-table-cell-hover {
11
+ @media #{mediaqueries.$L-plus} {
12
+ // Limiting to desktop because on mobile it's not good
13
+ // Declaring this in the td because otherwise in Firefox the background covers the borders
14
+ background-color: variables.$grey-lighter;
15
+ }
16
+ }
17
+
18
+ .Vlt-table {
19
+ /* TEMPORARILY REMOVED DUE TO A BUG IN CHROME FOR LINUX
20
+ background: linear-gradient(90deg, rgba($black, 0.1) 0%, transparent 30%), linear-gradient(90deg, transparent 70%, rgba($black, 0.1) 100%) 100% 0;
21
+ background-color: $white;
22
+ background-repeat: no-repeat;
23
+ background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
24
+ */
25
+ display: flex; // Takes care of an artifact that appears on certain screen sizes due to the shadow effect.
26
+ margin-bottom: variables.$unit1;
27
+ overflow-x: auto;
28
+ overflow-y: hidden;
29
+ position: relative;
30
+ width: 100%;
31
+ z-index: 1;
32
+
33
+ // Standard tables
34
+ table {
35
+ @extend %Vlt-table-inner;
36
+
37
+ tr {
38
+ position: relative;
39
+ }
40
+
41
+ thead {
42
+ th {
43
+ @extend %Vlt-table-header-cell;
44
+ }
45
+ }
46
+
47
+ td,
48
+ th {
49
+ @extend %Vlt-table-cell;
50
+ }
51
+
52
+ tbody {
53
+ tr {
54
+ &:hover {
55
+ > td {
56
+ @extend %Vlt-table-cell-hover;
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+
63
+ // Div tables
64
+ &__inner {
65
+ @extend %Vlt-table-inner;
66
+ }
67
+
68
+ &__header {
69
+ .Vlt-table__cell {
70
+ @extend %Vlt-table-header-cell;
71
+ @extend %Vlt-table-cell;
72
+ }
73
+ }
74
+
75
+ &__cell {
76
+ @extend %Vlt-table-cell;
77
+ display: table-cell;
78
+ }
79
+
80
+ &__footer {
81
+ .Vlt-table__cell {
82
+ @extend %Vlt-table-data-footer-cell;
83
+ }
84
+ }
85
+
86
+ & &__row {
87
+ &:hover {
88
+ .Vlt-table__cell {
89
+ @extend %Vlt-table-cell-hover;
90
+ }
91
+ }
92
+
93
+ &--noline {
94
+ .Vlt-table__cell,
95
+ > td {
96
+ border-bottom: 0;
97
+ }
98
+ }
99
+
100
+ &--nohighlight {
101
+ &:hover {
102
+ .Vlt-table__cell,
103
+ > td {
104
+ background-color: transparent;
105
+ }
106
+ }
107
+ }
108
+ }
109
+
110
+ // All tables
111
+
112
+ &--tall {
113
+ .Vlt-table__cell {
114
+ @extend %Vlt-table-tall-padding;
115
+ }
116
+
117
+ table {
118
+ td {
119
+ @extend %Vlt-table-tall-padding;
120
+ }
121
+ }
122
+ }
123
+
124
+ &--short {
125
+ .Vlt-table__cell {
126
+ @extend %Vlt-table-short-padding;
127
+ }
128
+
129
+ table {
130
+ td {
131
+ @extend %Vlt-table-short-padding;
132
+ }
133
+ }
134
+ }
135
+
136
+ &--nowrap {
137
+ td,
138
+ th,
139
+ .Vlt-table__cell {
140
+ white-space: nowrap;
141
+ }
142
+ }
143
+
144
+ &--fixed {
145
+ table {
146
+ @media #{mediaqueries.$M-plus} {
147
+ table-layout: fixed;
148
+ }
149
+ }
150
+ }
151
+
152
+ &--nohighlight {
153
+
154
+ .Vlt-table__row {
155
+ &:hover {
156
+ .Vlt-table__cell {
157
+ background-color: transparent;
158
+ }
159
+ }
160
+ }
161
+
162
+ table {
163
+ tbody {
164
+ tr {
165
+ &:hover {
166
+ > td {
167
+ background-color: transparent;
168
+ }
169
+ }
170
+ }
171
+ }
172
+ }
173
+ }
174
+
175
+ &--bordered {
176
+ border-bottom: 1px solid variables.$grey-light;
177
+ border-left: 1px solid variables.$grey-light;
178
+ border-radius: 2px 2px variables.$unit0 variables.$unit0;
179
+ border-right: 1px solid variables.$grey-light;
180
+ border-top: 1px solid variables.$grey-light;
181
+ }
182
+
183
+ // To deprecate in v2.0
184
+ table tbody &__cell,
185
+ table tfoot &__cell {
186
+ &--number {
187
+ text-align: right;
188
+ }
189
+
190
+ &--neg {
191
+ color: variables.$red;
192
+ }
193
+
194
+ &--pos {
195
+ color: variables.$green;
196
+ }
197
+
198
+ &--avg {
199
+ color: variables.$yellow;
200
+ }
201
+
202
+ &--nowrap {
203
+ white-space: nowrap;
204
+ }
205
+ }
206
+
207
+ // To deprecate in v2.0
208
+ .Vlt-btn {
209
+ @extend %Vlt-btn--small !optional;
210
+ @extend %Vlt-btn--app !optional;
211
+ margin-bottom: -(variables.$unit0);
212
+ margin-top: -(variables.$unit0);
213
+ }
214
+
215
+ &__pagination {
216
+ padding: variables.$unit1;
217
+ text-align: center;
218
+
219
+ ul {
220
+ display: inline-flex;
221
+ flex-flow: row wrap;
222
+
223
+ li {
224
+ border-radius: variables.$unit1;
225
+ font-size: 1.2rem;
226
+ line-height: 2.4rem;
227
+ margin-left: variables.$unit0;
228
+ min-width: 24px;
229
+ text-align: center;
230
+
231
+ &:first-child {
232
+ margin-left: 0;
233
+ }
234
+
235
+ a {
236
+ border-radius: variables.$unit1;
237
+ color: variables.$black;
238
+ line-height: 1.6rem;
239
+ padding: variables.$unit0;
240
+
241
+ &,
242
+ &:visited {
243
+ color: variables.$black;
244
+ display: block;
245
+ height: 100%;
246
+ width: 100%;
247
+
248
+ &:hover {
249
+ background: rgba(variables.$black, 0.12);
250
+ color: variables.$black;
251
+ font-weight: 600;
252
+ text-decoration: none;
253
+ }
254
+ }
255
+ }
256
+
257
+ &.Vlt-table__pagination__prev,
258
+ &.Vlt-table__pagination__next {
259
+ a {
260
+ &:hover {
261
+ background: none;
262
+ color: variables.$purple-dark;
263
+ font-weight: 400;
264
+ }
265
+ }
266
+ }
267
+
268
+ &.Vlt-table__pagination__prev {
269
+ margin-right: variables.$unit1;
270
+ }
271
+
272
+ &.Vlt-table__pagination__next {
273
+ margin-left: 12px;
274
+ }
275
+ }
276
+ }
277
+
278
+ &__current {
279
+ background: rgba(variables.$black, 0.05);
280
+ font-weight: 600;
281
+ }
282
+ }
283
+
284
+ // Mobile stack for traditional tables
285
+
286
+ &--mobile-stack,
287
+ &--mobile-stack.Vlt-table--data {
288
+ @media #{mediaqueries.$S-only} {
289
+ background: none;
290
+
291
+ table {
292
+ background: none;
293
+ display: flex;
294
+ max-width: 100%;
295
+ min-width: 100%;
296
+ overflow: hidden;
297
+ white-space: nowrap;
298
+ width: auto;
299
+
300
+ thead {
301
+ display: flex;
302
+ flex-shrink: 0;
303
+ min-width: min-content;
304
+
305
+ th {
306
+ border-bottom: 1px solid variables.$grey-light;
307
+ border-top: 0;
308
+ font-size: 1.5rem;
309
+ height: auto;
310
+ min-height: 3.6rem;
311
+ padding: 13px 16px 10px;
312
+ }
313
+ }
314
+
315
+ tr {
316
+ display: flex;
317
+ flex-flow: column;
318
+ flex-shrink: 0;
319
+ min-width: min-content;
320
+ }
321
+
322
+ tbody {
323
+ background: linear-gradient(90deg, rgba(variables.$black, 0.1) 0%, transparent 30%), linear-gradient(90deg, transparent 70%, rgba(variables.$black, 0.1) 100%) 100% 0;
324
+ background-repeat: no-repeat;
325
+ background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
326
+ display: flex;
327
+ overflow-x: auto;
328
+ overflow-y: hidden;
329
+ position: relative;
330
+
331
+ tr {
332
+ &:first-child {
333
+ background: linear-gradient(90deg, variables.$white 20px, transparent 20px);
334
+ }
335
+
336
+ &:last-child {
337
+ background: linear-gradient(90deg, transparent calc(100% - 20px), variables.$white calc(100% - 20px)) 100% 0;
338
+ }
339
+ }
340
+ }
341
+
342
+ td,
343
+ th {
344
+ border-left: 0;
345
+ border-right: 0;
346
+ display: block;
347
+ white-space: nowrap;
348
+ }
349
+
350
+ .Vlt-table__cell--number {
351
+ text-align: left;
352
+ }
353
+
354
+ tfoot {
355
+ display: none;
356
+ }
357
+ }
358
+
359
+ &:not(.Vlt-table--data) {
360
+ table {
361
+ thead th {
362
+ border-right: 1px solid variables.$grey-light;
363
+ padding-left: 0;
364
+ padding-right: variables.$unit2;
365
+ }
366
+
367
+ tbody td {
368
+ padding-left: variables.$unit2;
369
+ padding-right: variables.$unit2;
370
+ }
371
+ }
372
+ }
373
+ }
374
+ }
375
+
376
+ // Sortable columns styles for all tables - to be deprecated as we changed plugin
377
+
378
+ &__col {
379
+ &--sortable {
380
+ cursor: pointer;
381
+ padding-left: 16px;
382
+ position: relative;
383
+
384
+ &:before {
385
+ background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%206%2010%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M2.37873%200.265338L0%202.71856L1.24253%204L3%202.1875L4.75747%204L6%202.71856L3.62127%200.265338C3.45648%200.0954422%203.23301%200%203%200C2.76699%200%202.54352%200.0954422%202.37873%200.265338V0.265338Z%22%2F%3E%0A%3Cpath%20d%3D%22M3%207.8125L1.24253%206L0%207.28144L2.37873%209.73466C2.54352%209.90456%202.76699%2010%203%2010C3.23301%2010%203.45648%209.90456%203.62127%209.73466L6%207.28144L4.75747%206L3%207.8125Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
386
+ background-position: center center;
387
+ background-repeat: no-repeat;
388
+ background-size: contain;
389
+ content: '';
390
+ display: inline-block;
391
+ height: 10px;
392
+ left: 5px;
393
+ margin-top: -5px;
394
+ opacity: 0.6;
395
+ position: absolute;
396
+ top: 50%;
397
+ width: 6px;
398
+ }
399
+ }
400
+
401
+ &--descending,
402
+ &--ascending {
403
+ color: variables.$black;
404
+ font-weight: 600;
405
+ }
406
+
407
+ &--descending {
408
+ &:before {
409
+ background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%206%2010%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M3%207.8125L1.24253%206L0%207.28144L2.37873%209.73466C2.54352%209.90456%202.76699%2010%203%2010C3.23301%2010%203.45648%209.90456%203.62127%209.73466L6%207.28144L4.75747%206L3%207.8125Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
410
+ background-position: center center;
411
+ background-repeat: no-repeat;
412
+ background-size: contain;
413
+ }
414
+ }
415
+
416
+ &--ascending {
417
+ &:before {
418
+ background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%206%2010%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M2.37873%200.265338L0%202.71856L1.24253%204L3%202.1875L4.75747%204L6%202.71856L3.62127%200.265338C3.45648%200.0954422%203.23301%200%203%200C2.76699%200%202.54352%200.0954422%202.37873%200.265338Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
419
+ background-position: center center;
420
+ background-repeat: no-repeat;
421
+ background-size: contain;
422
+ }
423
+ }
424
+ }
425
+
426
+ // Hover buttons
427
+
428
+ td:not(.Vlt-btn-group) {
429
+ .Vlt-btn + .Vlt-btn {
430
+ margin-left: variables.$unit0;
431
+ }
432
+ }
433
+
434
+ td.Vlt-btn-group {
435
+ min-height: 0;
436
+ }
437
+
438
+ tfoot {
439
+ td {
440
+ @extend %Vlt-table-data-footer-cell;
441
+ }
442
+ }
443
+
444
+ // Sortable style with sortable plugin (no jQuery)
445
+
446
+ &[data-sortable] {
447
+ th:not([data-sortable='false']) {
448
+ cursor: pointer;
449
+ padding-left: 16px;
450
+ position: relative;
451
+ user-select: none;
452
+
453
+ &:before {
454
+ background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%206%2010%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M2.37873%200.265338L0%202.71856L1.24253%204L3%202.1875L4.75747%204L6%202.71856L3.62127%200.265338C3.45648%200.0954422%203.23301%200%203%200C2.76699%200%202.54352%200.0954422%202.37873%200.265338V0.265338Z%22%2F%3E%0A%3Cpath%20d%3D%22M3%207.8125L1.24253%206L0%207.28144L2.37873%209.73466C2.54352%209.90456%202.76699%2010%203%2010C3.23301%2010%203.45648%209.90456%203.62127%209.73466L6%207.28144L4.75747%206L3%207.8125Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
455
+ background-position: center center;
456
+ background-repeat: no-repeat;
457
+ background-size: contain;
458
+ content: '';
459
+ display: inline-block;
460
+ height: 10px;
461
+ left: 5px;
462
+ margin-top: -4px;
463
+ opacity: 0.6;
464
+ position: absolute;
465
+ top: 50%;
466
+ width: 6px;
467
+ }
468
+ }
469
+
470
+ th[data-sorted='true'] {
471
+ color: variables.$black;
472
+ font-weight: 600;
473
+ }
474
+
475
+ th[data-sorted-direction='descending'] {
476
+ &:before {
477
+ background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%206%2010%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M3%207.8125L1.24253%206L0%207.28144L2.37873%209.73466C2.54352%209.90456%202.76699%2010%203%2010C3.23301%2010%203.45648%209.90456%203.62127%209.73466L6%207.28144L4.75747%206L3%207.8125Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
478
+ background-position: center center;
479
+ background-repeat: no-repeat;
480
+ background-size: contain;
481
+ opacity: 1;
482
+ }
483
+ }
484
+
485
+ th[data-sorted-direction='ascending'] {
486
+ &:before {
487
+ background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%206%2010%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M2.37873%200.265338L0%202.71856L1.24253%204L3%202.1875L4.75747%204L6%202.71856L3.62127%200.265338C3.45648%200.0954422%203.23301%200%203%200C2.76699%200%202.54352%200.0954422%202.37873%200.265338Z%22%2F%3E%0A%3C%2Fsvg%3E%0A');
488
+ background-position: center center;
489
+ background-repeat: no-repeat;
490
+ background-size: contain;
491
+ opacity: 1;
492
+ }
493
+ }
494
+ }
495
+
496
+ &--cols {
497
+ td,
498
+ th,
499
+ .Vlt-table__cell {
500
+ &:not(:first-child) {
501
+ border-left: 1px solid rgba(variables.$black, 0.1);
502
+ }
503
+ }
504
+ }
505
+ }
506
+
507
+ // Data Tables
508
+
509
+ .Vlt-table--data {
510
+
511
+ .Vlt-table__inner,
512
+ table {
513
+ font-size: 1.4rem;
514
+ width: 100%;
515
+ }
516
+
517
+ .Vlt-table__header {
518
+ .Vlt-table__cell {
519
+ @extend %Vlt-table-data-header-cell;
520
+ }
521
+ }
522
+
523
+ table {
524
+ thead {
525
+ th {
526
+ @extend %Vlt-table-data-header-cell;
527
+ }
528
+ }
529
+ }
530
+
531
+ &--cols {
532
+ td,
533
+ th,
534
+ .Vlt-table__cell {
535
+ &:not(:first-child) {
536
+ border-left: 1px solid rgba(variables.$black, 0.1);
537
+ }
538
+ }
539
+ }
540
+
541
+ &.Vlt-table--data--dark {
542
+ table {
543
+ thead {
544
+ th {
545
+ @extend %Vlt-table-data-header-cell-dark;
546
+ }
547
+ }
548
+ }
549
+
550
+ .Vlt-table__header {
551
+ .Vlt-table__cell {
552
+ @extend %Vlt-table-data-header-cell-dark;
553
+ }
554
+ }
555
+
556
+ &.Vlt-table--data--cols,
557
+ &.Vlt-table--cols {
558
+ thead {
559
+ th + th {
560
+ @extend %Vlt-table-data-header-cell-dark-cols;
561
+ }
562
+ }
563
+
564
+ .Vlt-table__header {
565
+ .Vlt-table__cell {
566
+ &:not(:first-child) {
567
+ @extend %Vlt-table-data-header-cell-dark-cols;
568
+ }
569
+ }
570
+ }
571
+ }
572
+ }
573
+
574
+ &.Vlt-table--data--teal {
575
+ table {
576
+ thead {
577
+ th {
578
+ @extend %Vlt-table-data-header-cell-teal;
579
+ }
580
+ }
581
+ }
582
+
583
+ .Vlt-table__header {
584
+ .Vlt-table__cell {
585
+ @extend %Vlt-table-data-header-cell-teal;
586
+ }
587
+ }
588
+
589
+ &.Vlt-table--data--cols,
590
+ &.Vlt-table--cols {
591
+ thead {
592
+ th + th {
593
+ @extend %Vlt-table-data-header-cell-teal-cols;
594
+ }
595
+ }
596
+
597
+ .Vlt-table__header {
598
+ .Vlt-table__cell {
599
+ &:not(:first-child) {
600
+ @extend %Vlt-table-data-header-cell-teal-cols;
601
+ }
602
+ }
603
+ }
604
+ }
605
+
606
+ &.Vlt-table--bordered {
607
+ border-bottom: 1px solid variables.$teal-lighter;
608
+ border-left: 1px solid variables.$teal-lighter;
609
+ border-right: 1px solid variables.$teal-lighter;
610
+ }
611
+ }
612
+
613
+ &.Vlt-table--data--orange {
614
+ table {
615
+ thead {
616
+ th {
617
+ @extend %Vlt-table-data-header-cell-orange;
618
+ }
619
+ }
620
+ }
621
+
622
+ .Vlt-table__header {
623
+ .Vlt-table__cell {
624
+ @extend %Vlt-table-data-header-cell-orange;
625
+ }
626
+ }
627
+
628
+ &.Vlt-table--data--cols,
629
+ &.Vlt-table--cols {
630
+ thead {
631
+ th + th {
632
+ @extend %Vlt-table-data-header-cell-orange-cols;
633
+ }
634
+ }
635
+
636
+ .Vlt-table__header {
637
+ .Vlt-table__cell {
638
+ &:not(:first-child) {
639
+ @extend %Vlt-table-data-header-cell-orange-cols;
640
+ }
641
+ }
642
+ }
643
+ }
644
+
645
+ &.Vlt-table--bordered {
646
+ border-bottom: 1px solid variables.$orange-lighter;
647
+ border-left: 1px solid variables.$orange-lighter;
648
+ border-right: 1px solid variables.$orange-lighter;
649
+ }
650
+ }
651
+ }
652
+
653
+ %Vlt-table-header-cell {
654
+ border-bottom: 1px solid variables.$black;
655
+ color: variables.$black;
656
+ font-size: 1.4rem;
657
+ font-weight: 600;
658
+ padding: 10px variables.$unit2 7px;
659
+ }
660
+
661
+ %Vlt-table-cell {
662
+ background-clip: padding-box; // Needed for Firefox, otherwise the background covers the borders
663
+ border-bottom: 1px solid variables.$grey-light;
664
+ min-height: 3.6rem;
665
+ min-width: min-content;
666
+ padding: 13px variables.$unit2 10px;
667
+ text-align: left;
668
+ vertical-align: middle;
669
+ }
670
+
671
+ %Vlt-table-data-header-cell {
672
+ background-color: variables.$grey-lighter;
673
+ border-bottom: 1px solid variables.$black;
674
+ color: variables.$black;
675
+ font-size: 1.4rem;
676
+ height: 3.6rem;
677
+ padding: 10px variables.$unit2 7px;
678
+ }
679
+
680
+ %Vlt-table-data-header-cell-dark {
681
+ background-color: variables.$grey-light;
682
+ border-bottom-color: variables.$black;
683
+ color: variables.$black;
684
+ }
685
+
686
+ %Vlt-table-data-header-cell-dark-cols {
687
+ border-left-color: variables.$grey;
688
+ }
689
+
690
+ %Vlt-table-data-cell-teal-cols {
691
+ border-left-color: variables.$teal-lighter;
692
+ }
693
+
694
+ %Vlt-table-data-header-cell-teal {
695
+ background-color: variables.$teal-lighter;
696
+ border-bottom-color: variables.$teal;
697
+ color: variables.$teal-text;
698
+ }
699
+
700
+ %Vlt-table-data-header-cell-teal-cols {
701
+ border-left-color: variables.$teal-light;
702
+ }
703
+
704
+ %Vlt-table-data-cell-orange-cols {
705
+ border-left-color: variables.$orange-lighter;
706
+ }
707
+
708
+ %Vlt-table-data-header-cell-orange {
709
+ background-color: variables.$orange-lighter;
710
+ border-bottom-color: variables.$orange;
711
+ color: variables.$orange-text;
712
+ }
713
+
714
+ %Vlt-table-data-header-cell-orange-cols {
715
+ border-left-color: variables.$orange-light;
716
+ }
717
+
718
+ %Vlt-table-data-footer-cell {
719
+ border-bottom: 0;
720
+ font-weight: bold;
721
+ }
722
+
723
+ %Vlt-table-inner {
724
+ /* TEMPORARILY REMOVED DUE TO A BUG IN CHROME FOR LINUX
725
+ background: linear-gradient(90deg, $white 20px, transparent 20px), linear-gradient(90deg, transparent calc(100% - 20px), $white calc(100% - 20px)) 100% 0;*/
726
+ font-size: 1.5rem;
727
+ min-width: min-content;
728
+ width: 100%;
729
+ }
730
+
731
+ %Vlt-table-tall-padding {
732
+ padding-bottom: variables.$unit2;
733
+ padding-top: variables.$unit2;
734
+ }
735
+
736
+ %Vlt-table-short-padding {
737
+ padding-bottom: variables.$unit0;
738
+ padding-top: variables.$unit0;
739
+ }