@natec/mef-dev-ui-kit 0.0.2 → 0.0.5

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 (110) hide show
  1. package/esm2020/lib/markup-kit/card/card/card.component.mjs +3 -4
  2. package/esm2020/lib/markup-kit/card/card-long/card-long.component.mjs +2 -2
  3. package/esm2020/lib/markup-kit/card/card-simple/card-simple.component.mjs +2 -2
  4. package/esm2020/lib/markup-kit/card/card.module.mjs +2 -6
  5. package/esm2020/lib/markup-kit/card/index.mjs +2 -1
  6. package/esm2020/lib/markup-kit/collapse/collapse/collapse.component.mjs +3 -3
  7. package/esm2020/lib/markup-kit/modals/markup-kit.module.mjs +1 -5
  8. package/esm2020/lib/markup-kit/page-layouts/manage-page/manage-page.component.mjs +2 -2
  9. package/esm2020/lib/markup-kit/page-layouts/page-layouts.module.mjs +1 -5
  10. package/esm2020/lib/markup-kit/page-layouts/profile/profile.component.mjs +2 -2
  11. package/esm2020/lib/markup-kit/utils/help-block/help-block.component.mjs +9 -6
  12. package/esm2020/lib/markup-kit/utils/help-block/hepl-block.module.mjs +4 -8
  13. package/esm2020/lib/pg-components/card/card.components.mjs +3 -4
  14. package/esm2020/lib/pg-components/card/card.module.mjs +4 -5
  15. package/fesm2015/natec-mef-dev-ui-kit.mjs +31 -41
  16. package/fesm2015/natec-mef-dev-ui-kit.mjs.map +1 -1
  17. package/fesm2020/natec-mef-dev-ui-kit.mjs +31 -41
  18. package/fesm2020/natec-mef-dev-ui-kit.mjs.map +1 -1
  19. package/lib/fronts/lato/lato-bold.eot +0 -0
  20. package/lib/fronts/lato/lato-bold.otf +0 -0
  21. package/lib/fronts/lato/lato-bold.svg +78356 -0
  22. package/lib/fronts/lato/lato-bold.ttf +0 -0
  23. package/lib/fronts/lato/lato-bold.woff +0 -0
  24. package/lib/fronts/lato/lato-bold.woff2 +0 -0
  25. package/lib/fronts/lato/lato-regular.eot +0 -0
  26. package/lib/fronts/lato/lato-regular.otf +0 -0
  27. package/lib/fronts/lato/lato-regular.svg +78251 -0
  28. package/lib/fronts/lato/lato-regular.ttf +0 -0
  29. package/lib/fronts/lato/lato-regular.woff +0 -0
  30. package/lib/fronts/lato/lato-regular.woff2 +0 -0
  31. package/lib/fronts/main-img-font/icomoon.eot +0 -0
  32. package/lib/fronts/main-img-font/icomoon.svg +57 -0
  33. package/lib/fronts/main-img-font/icomoon.ttf +0 -0
  34. package/lib/fronts/main-img-font/icomoon.woff +0 -0
  35. package/lib/fronts/montserrat/Montserrat-Bold.ttf +0 -0
  36. package/lib/fronts/montserrat/Montserrat-Bold.woff +0 -0
  37. package/lib/fronts/montserrat/Montserrat-Bold.woff2 +0 -0
  38. package/lib/fronts/montserrat/Montserrat-Light.woff +0 -0
  39. package/lib/fronts/montserrat/Montserrat-Light.woff2 +0 -0
  40. package/lib/fronts/montserrat/Montserrat-Medium.woff +0 -0
  41. package/lib/fronts/montserrat/Montserrat-Medium.woff2 +0 -0
  42. package/lib/fronts/montserrat/Montserrat-Regular.ttf +0 -0
  43. package/lib/fronts/montserrat/Montserrat-Regular.woff +0 -0
  44. package/lib/fronts/montserrat/Montserrat-Regular.woff2 +0 -0
  45. package/lib/fronts/montserrat/Montserrat-SemiBold.woff +0 -0
  46. package/lib/fronts/montserrat/Montserrat-SemiBold.woff2 +0 -0
  47. package/lib/fronts/montserrat/montserrat-bold-webfont.svg +1462 -0
  48. package/lib/fronts/montserrat/montserrat-regular-webfont.svg +1317 -0
  49. package/lib/fronts/pgicon/Pages-icon.eot +0 -0
  50. package/lib/fronts/pgicon/Pages-icon.svg +112 -0
  51. package/lib/fronts/pgicon/Pages-icon.ttf +0 -0
  52. package/lib/fronts/pgicon/Pages-icon.woff +0 -0
  53. package/lib/img/editor_tray_2x.png +0 -0
  54. package/lib/img/noti-cross-2x.png +0 -0
  55. package/lib/img/progress-circle-lg-master-static.svg +8 -0
  56. package/lib/img/progress-circle-lg-master.svg +13 -0
  57. package/lib/img/progress-circle-lg-white-static.svg +8 -0
  58. package/lib/img/progress-circle-lg-white.svg +13 -0
  59. package/lib/markup-kit/card/card.module.d.ts +1 -2
  60. package/lib/markup-kit/card/index.d.ts +1 -0
  61. package/lib/markup-kit/modals/markup-kit.module.d.ts +3 -4
  62. package/lib/markup-kit/page-layouts/page-layouts.module.d.ts +2 -3
  63. package/lib/markup-kit/utils/help-block/help-block.component.d.ts +2 -1
  64. package/lib/markup-kit/utils/help-block/hepl-block.module.d.ts +1 -2
  65. package/lib/pg-components/card/card.module.d.ts +1 -2
  66. package/package.json +23 -15
  67. package/src/lib/styles/fonts.scss +262 -0
  68. package/src/lib/styles/pg/_color.scss +689 -0
  69. package/src/lib/styles/pg/_dropdown.scss +38 -0
  70. package/src/lib/styles/pg/_mixins.scss +1010 -0
  71. package/src/lib/styles/pg/_responsive.scss +1140 -0
  72. package/src/lib/styles/pg/_var.scss +198 -0
  73. package/src/lib/styles/pg/core.scss +276 -0
  74. package/src/lib/styles/pg/icons.scss +330 -0
  75. package/src/lib/styles/pg/modules/_breadcrumb.scss +66 -0
  76. package/src/lib/styles/pg/modules/_buttons.scss +65 -0
  77. package/src/lib/styles/pg/modules/_cards.scss +417 -0
  78. package/src/lib/styles/pg/modules/_form_elements.scss +1335 -0
  79. package/src/lib/styles/pg/modules/_header.scss +259 -0
  80. package/src/lib/styles/pg/modules/_horizontal-layout.scss +183 -0
  81. package/src/lib/styles/pg/modules/_horizontal_menu.scss +344 -0
  82. package/src/lib/styles/pg/modules/_jqx.scss +11 -0
  83. package/src/lib/styles/pg/modules/_layout.scss +180 -0
  84. package/src/lib/styles/pg/modules/_lock_screen.scss +92 -0
  85. package/src/lib/styles/pg/modules/_login.scss +62 -0
  86. package/src/lib/styles/pg/modules/_misc.scss +703 -0
  87. package/src/lib/styles/pg/modules/_modals.scss +281 -0
  88. package/src/lib/styles/pg/modules/_print.scss +32 -0
  89. package/src/lib/styles/pg/modules/_secondary-sidebar.scss +243 -0
  90. package/src/lib/styles/pg/modules/_select.scss +599 -0
  91. package/src/lib/styles/pg/modules/_sidebar.scss +413 -0
  92. package/src/lib/styles/pg/modules/_switch.scss +144 -0
  93. package/src/lib/styles/pg/modules/_tabs.scss +336 -0
  94. package/src/lib/styles/pg/modules/_tabs_accordian.scss +662 -0
  95. package/src/lib/styles/pg/modules/_timepicker.scss +34 -0
  96. package/src/lib/styles/pg/modules/_typography.scss +743 -0
  97. package/src/lib/styles/pg/modules/_uploader.scss +226 -0
  98. package/src/lib/styles/pg/modules/_view.scss +127 -0
  99. package/src/lib/styles/pg/modules/_z_index.scss +33 -0
  100. package/src/lib/styles/pg/toaster.scss +22 -0
  101. package/src/lib/styles/pg/utils.scss +32 -0
  102. package/src/lib/styles/pg/vendor/ng-datatable.scss +263 -0
  103. package/src/lib/styles/pg/vendor/ngx-google-map.scss +18 -0
  104. package/src/lib/styles/pg/vendor/typehead.scss +29 -0
  105. package/esm2020/mef-dev-ui-kit.mjs +0 -5
  106. package/fesm2015/mef-dev-ui-kit.mjs +0 -3190
  107. package/fesm2015/mef-dev-ui-kit.mjs.map +0 -1
  108. package/fesm2020/mef-dev-ui-kit.mjs +0 -3183
  109. package/fesm2020/mef-dev-ui-kit.mjs.map +0 -1
  110. package/mef-dev-ui-kit.d.ts +0 -5
@@ -0,0 +1,689 @@
1
+ // Import the Compass Plugin
2
+ //--------------------------------
3
+ // Normal
4
+ //--------------------------------
5
+ @function blend-normal($foreground, $background) {
6
+ $opacity: opacity($foreground);
7
+ $background-opacity: opacity($background);
8
+
9
+ // calculate opacity
10
+ $bm-red: red($foreground) * $opacity + red($background) * $background-opacity *
11
+ (1 - $opacity);
12
+ $bm-green: green($foreground) * $opacity + green($background) *
13
+ $background-opacity * (1 - $opacity);
14
+ $bm-blue: blue($foreground) * $opacity + blue($background) *
15
+ $background-opacity * (1 - $opacity);
16
+ @return rgb($bm-red, $bm-green, $bm-blue);
17
+ }
18
+
19
+ //--------------------------------
20
+ // Multiply
21
+ //--------------------------------
22
+ @function blend-multiply($foreground, $background) {
23
+ $bm-red: red($background) * red($foreground) / 255;
24
+ $bm-green: green($background) * green($foreground) / 255;
25
+ $bm-blue: blue($background) * blue($foreground) / 255;
26
+
27
+ @return blend-normal(
28
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
29
+ $background
30
+ );
31
+ }
32
+
33
+ //--------------------------------
34
+ // Lighten
35
+ //--------------------------------
36
+ @function blend-lighten($foreground, $background) {
37
+ $bm-red: blend-lighten-color(red($foreground), red($background));
38
+ $bm-green: blend-lighten-color(green($foreground), green($background));
39
+ $bm-blue: blend-lighten-color(blue($foreground), blue($background));
40
+
41
+ @return blend-normal(
42
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
43
+ $background
44
+ );
45
+ }
46
+ @function blend-lighten-color($foreground, $background) {
47
+ @if $background > $foreground {
48
+ $foreground: $background;
49
+ }
50
+ @return $foreground;
51
+ }
52
+
53
+ //--------------------------------
54
+ // Darken
55
+ //--------------------------------
56
+ @function blend-darken($foreground, $background) {
57
+ $bm-red: blend-darken-color(red($foreground), red($background));
58
+ $bm-green: blend-darken-color(green($foreground), green($background));
59
+ $bm-blue: blend-darken-color(blue($foreground), blue($background));
60
+
61
+ @return blend-normal(
62
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
63
+ $background
64
+ );
65
+ }
66
+ @function blend-darken-color($foreground, $background) {
67
+ @if $background < $foreground {
68
+ $foreground: $background;
69
+ }
70
+ @return $foreground;
71
+ }
72
+
73
+ //--------------------------------
74
+ // Darker Color
75
+ //--------------------------------
76
+ @function blend-darkercolor($foreground, $background) {
77
+ $bm-red: red($foreground);
78
+ $bm-green: green($foreground);
79
+ $bm-blue: blue($foreground);
80
+ $background-red: red($background);
81
+ $background-green: green($background);
82
+ $background-blue: blue($background);
83
+
84
+ @if $background-red *
85
+ 0.3 +
86
+ $background-green *
87
+ 0.59 +
88
+ $background-blue *
89
+ 0.11 <=
90
+ $bm-red *
91
+ 0.3 +
92
+ $bm-green *
93
+ 0.59 +
94
+ $bm-blue *
95
+ 0.11
96
+ {
97
+ $bm-red: $background-red;
98
+ $bm-green: $background-green;
99
+ $bm-blue: $background-blue;
100
+ }
101
+ @return blend-normal(
102
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
103
+ $background
104
+ );
105
+ }
106
+
107
+ //--------------------------------
108
+ // Lighter Color
109
+ //--------------------------------
110
+ @function blend-lightercolor($foreground, $background) {
111
+ $bm-red: red($foreground);
112
+ $bm-green: green($foreground);
113
+ $bm-blue: blue($foreground);
114
+ $background-red: red($background);
115
+ $background-green: green($background);
116
+ $background-blue: blue($background);
117
+
118
+ @if $background-red *
119
+ 0.3 +
120
+ $background-green *
121
+ 0.59 +
122
+ $background-blue *
123
+ 0.11 >
124
+ $bm-red *
125
+ 0.3 +
126
+ $bm-green *
127
+ 0.59 +
128
+ $bm-blue *
129
+ 0.11
130
+ {
131
+ $bm-red: $background-red;
132
+ $bm-green: $background-green;
133
+ $bm-blue: $background-blue;
134
+ }
135
+ @return blend-normal(
136
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
137
+ $background
138
+ );
139
+ }
140
+
141
+ //--------------------------------
142
+ // Linear Dodge
143
+ //--------------------------------
144
+ @function blend-lineardodge($foreground, $background) {
145
+ $bm-red: blend-lineardodge-color(red($foreground), red($background));
146
+ $bm-green: blend-lineardodge-color(green($foreground), green($background));
147
+ $bm-blue: blend-lineardodge-color(blue($foreground), blue($background));
148
+
149
+ @return blend-normal(
150
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
151
+ $background
152
+ );
153
+ }
154
+ @function blend-lineardodge-color($foreground, $background) {
155
+ @if $background + $foreground > 255 {
156
+ $foreground: 255;
157
+ } @else {
158
+ $foreground: $background + $foreground;
159
+ }
160
+ @return $foreground;
161
+ }
162
+
163
+ //--------------------------------
164
+ // Linear Burn
165
+ //--------------------------------
166
+ @function blend-linearburn($foreground, $background) {
167
+ $bm-red: blend-linearburn-color(red($foreground), red($background));
168
+ $bm-green: blend-linearburn-color(green($foreground), green($background));
169
+ $bm-blue: blend-linearburn-color(blue($foreground), blue($background));
170
+
171
+ @return blend-normal(
172
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
173
+ $background
174
+ );
175
+ }
176
+ @function blend-linearburn-color($foreground, $background) {
177
+ @if $background + $foreground < 255 {
178
+ $foreground: 0;
179
+ } @else {
180
+ $foreground: $background + $foreground - 255;
181
+ }
182
+ @return $foreground;
183
+ }
184
+
185
+ //--------------------------------
186
+ // Difference
187
+ //--------------------------------
188
+ @function blend-difference($foreground, $background) {
189
+ $bm-red: abs(red($background) - red($foreground));
190
+ $bm-green: abs(green($background) - green($foreground));
191
+ $bm-blue: abs(blue($background) - blue($foreground));
192
+
193
+ @return blend-normal(
194
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
195
+ $background
196
+ );
197
+ }
198
+
199
+ //--------------------------------
200
+ // Screen
201
+ //--------------------------------
202
+ @function blend-screen($foreground, $background) {
203
+ $bm-red: blend-screen-color(red($foreground), red($background));
204
+ $bm-green: blend-screen-color(green($foreground), green($background));
205
+ $bm-blue: blend-screen-color(blue($foreground), blue($background));
206
+
207
+ @return blend-normal(
208
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
209
+ $background
210
+ );
211
+ }
212
+ @function blend-screen-color($foreground, $background) {
213
+ @return (255 - (((255 - $foreground) * (255 - $background)) / 256));
214
+ }
215
+
216
+ //--------------------------------
217
+ // Exclusion
218
+ //--------------------------------
219
+ @function blend-exclusion($foreground, $background) {
220
+ $bm-red: blend-exclusion-color(red($foreground), red($background));
221
+ $bm-green: blend-exclusion-color(green($foreground), green($background));
222
+ $bm-blue: blend-exclusion-color(blue($foreground), blue($background));
223
+
224
+ @return blend-normal(
225
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
226
+ $background
227
+ );
228
+ }
229
+ @function blend-exclusion-color($foreground, $background) {
230
+ @return $background - ($background * (2 / 255) - 1) * $foreground;
231
+ }
232
+
233
+ //--------------------------------
234
+ // Overlay
235
+ //--------------------------------
236
+ @function blend-overlay($foreground, $background) {
237
+ $bm-red: blend-overlay-color(red($foreground), red($background));
238
+ $bm-green: blend-overlay-color(green($foreground), green($background));
239
+ $bm-blue: blend-overlay-color(blue($foreground), blue($background));
240
+
241
+ @return blend-normal(
242
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
243
+ $background
244
+ );
245
+ }
246
+ @function blend-overlay-color($foreground, $background) {
247
+ @if $background <= 255 / 2 {
248
+ $foreground: (2 * $background * $foreground) / 255;
249
+ } @else {
250
+ $foreground: 255 -
251
+ (255 - 2 * ($background - (255 / 2))) *
252
+ (255 - $foreground) /
253
+ 255;
254
+ }
255
+ @return $foreground;
256
+ }
257
+
258
+ //--------------------------------
259
+ // Soft Light
260
+ //--------------------------------
261
+ @function blend-softlight($foreground, $background) {
262
+ $bm-red: blend-softlight-color(red($foreground), red($background));
263
+ $bm-green: blend-softlight-color(green($foreground), green($background));
264
+ $bm-blue: blend-softlight-color(blue($foreground), blue($background));
265
+
266
+ @return blend-normal(
267
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
268
+ $background
269
+ );
270
+ }
271
+ @function blend-softlight-color($foreground, $background) {
272
+ @if $background < 128 {
273
+ $foreground: (($foreground / 2) + 64) * $background * (2 / 255);
274
+ } @else {
275
+ $foreground: 255 -
276
+ (191 - ($foreground / 2)) *
277
+ (255 - $background) *
278
+ (2 / 255);
279
+ }
280
+ @return $foreground;
281
+ }
282
+
283
+ //--------------------------------
284
+ // Hard Light
285
+ //--------------------------------
286
+ @function blend-hardlight($foreground, $background) {
287
+ $bm-red: blend-hardlight-color(red($foreground), red($background));
288
+ $bm-green: blend-hardlight-color(green($foreground), green($background));
289
+ $bm-blue: blend-hardlight-color(blue($foreground), blue($background));
290
+
291
+ @return blend-normal(
292
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
293
+ $background
294
+ );
295
+ }
296
+ @function blend-hardlight-color($foreground, $background) {
297
+ $tmp-blend: $foreground;
298
+ @if $tmp-blend < 128 {
299
+ $foreground: $background * $tmp-blend * (2 / 255);
300
+ } @else {
301
+ $foreground: 255 - (255-$background) * (255-$tmp-blend) * (2 / 255);
302
+ }
303
+ @return $foreground;
304
+ }
305
+
306
+ //--------------------------------
307
+ // Color Dodge
308
+ //--------------------------------
309
+ @function blend-colordodge($foreground, $background) {
310
+ $bm-red: blend-colordodge-color(red($foreground), red($background));
311
+ $bm-green: blend-colordodge-color(green($foreground), green($background));
312
+ $bm-blue: blend-colordodge-color(blue($foreground), blue($background));
313
+
314
+ @return blend-normal(
315
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
316
+ $background
317
+ );
318
+ }
319
+ @function blend-colordodge-color($foreground, $background) {
320
+ $tmp: $background * 256 / (255 - $foreground);
321
+ @if $tmp > 255 or $foreground == 255 {
322
+ $foreground: 255;
323
+ } @else {
324
+ $foreground: $tmp;
325
+ }
326
+ @return $foreground;
327
+ }
328
+
329
+ //--------------------------------
330
+ // Color Burn
331
+ //--------------------------------
332
+ @function blend-colorburn($foreground, $background) {
333
+ $bm-red: blend-colorburn-color(red($foreground), red($background));
334
+ $bm-green: blend-colorburn-color(green($foreground), green($background));
335
+ $bm-blue: blend-colorburn-color(blue($foreground), blue($background));
336
+
337
+ @return blend-normal(
338
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
339
+ $background
340
+ );
341
+ }
342
+ @function blend-colorburn-color($foreground, $background) {
343
+ $tmp: (255 - ((255 - $background) * 255) / $foreground);
344
+ }
345
+
346
+ //--------------------------------
347
+ // Linear Light
348
+ //--------------------------------
349
+ @function blend-linearlight($foreground, $background) {
350
+ $bm-red: blend-linearlight-color(red($foreground), red($background));
351
+ $bm-green: blend-linearlight-color(green($foreground), green($background));
352
+ $bm-blue: blend-linearlight-color(blue($foreground), blue($background));
353
+
354
+ @return blend-normal(
355
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
356
+ $background
357
+ );
358
+ }
359
+ @function blend-linearlight-color($foreground, $background) {
360
+ @if $foreground < 128 {
361
+ $foreground: blend-linearburn-color($background, 2 * $foreground);
362
+ } @else {
363
+ $foreground: blend-lineardodge-color($background, 2 * ($foreground - 128));
364
+ }
365
+ @return $foreground;
366
+ }
367
+
368
+ //--------------------------------
369
+ // Vivid Light
370
+ //--------------------------------
371
+ @function blend-vividlight($foreground, $background) {
372
+ $bm-red: blend-vividlight-color(red($foreground), red($background));
373
+ $bm-green: blend-vividlight-color(green($foreground), green($background));
374
+ $bm-blue: blend-vividlight-color(blue($foreground), blue($background));
375
+
376
+ @return blend-normal(
377
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
378
+ $background
379
+ );
380
+ }
381
+
382
+ @function blend-vividlight-color($foreground, $background) {
383
+ @if $foreground < 128 {
384
+ $foreground: blend-colorburn-color(2 * $foreground, $background);
385
+ } @else {
386
+ $foreground: blend-colordodge-color(2 * ($foreground - 128), $background);
387
+ }
388
+ @return $foreground;
389
+ }
390
+
391
+ //--------------------------------
392
+ // Pin Light
393
+ //--------------------------------
394
+ @function blend-pinlight($foreground, $background) {
395
+ $bm-red: blend-pinlight-color(red($foreground), red($background));
396
+ $bm-green: blend-pinlight-color(green($foreground), green($background));
397
+ $bm-blue: blend-pinlight-color(blue($foreground), blue($background));
398
+
399
+ @return blend-normal(
400
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
401
+ $background
402
+ );
403
+ }
404
+
405
+ @function blend-pinlight-color($foreground, $background) {
406
+ @if $foreground < 128 {
407
+ $foreground: blend-darken-color($background, 2 * $foreground);
408
+ } @else {
409
+ $foreground: blend-lighten-color($background, 2 * ($foreground - 128));
410
+ }
411
+ @return $foreground;
412
+ }
413
+
414
+ //--------------------------------
415
+ // Hard Mix
416
+ //--------------------------------
417
+ @function blend-hardmix($foreground, $background) {
418
+ $bm-red: blend-hardmix-color(red($foreground), red($background));
419
+ $bm-green: blend-hardmix-color(green($foreground), green($background));
420
+ $bm-blue: blend-hardmix-color(blue($foreground), blue($background));
421
+
422
+ @return blend-normal(
423
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
424
+ $background
425
+ );
426
+ }
427
+
428
+ @function blend-hardmix-color($foreground, $background) {
429
+ $tmp: blend-vividlight-color($foreground, $background);
430
+ @if $tmp < 128 {
431
+ $foreground: 0;
432
+ } @else {
433
+ $foreground: 255;
434
+ }
435
+ @return $foreground;
436
+ }
437
+
438
+ // Unique to Photoshop
439
+
440
+ //--------------------------------
441
+ // Color Blend
442
+ //--------------------------------
443
+ @function blend-colorblend($foreground, $background) {
444
+ $foreground-hsv: color-to-hsv($foreground);
445
+ $background-hsv: color-to-hsv($background);
446
+
447
+ $bm-hsv: nth($foreground-hsv, 1), nth($foreground-hsv, 2),
448
+ nth($background-hsv, 3);
449
+ $bm-color: hsv-to-color($bm-hsv);
450
+
451
+ @return blend-normal(
452
+ rgba(
453
+ red($bm-color),
454
+ green($bm-color),
455
+ blue($bm-color),
456
+ opacity($foreground)
457
+ ),
458
+ $background
459
+ );
460
+ }
461
+
462
+ //--------------------------------
463
+ // Dissolve
464
+ //--------------------------------
465
+ @function blend-dissolve($foreground, $background) {
466
+ // The Dissolve blend mode acts on transparent and partially transparent pixels
467
+ // it treats transparency as a pixel pattern and applies a diffusion dither pattern.
468
+ // @see http://photoblogstop.com/photoshop/photoshop-blend-modes-explained
469
+ @return $foreground;
470
+ }
471
+
472
+ //--------------------------------
473
+ // Divide
474
+ //--------------------------------
475
+ @function blend-divide($foreground, $background) {
476
+ $bm-red: blend-divide-colors(red($foreground), red($background));
477
+ $bm-green: blend-divide-colors(green($foreground), green($background));
478
+ $bm-blue: blend-divide-colors(blue($foreground), blue($background));
479
+
480
+ @return blend-normal(
481
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
482
+ $background
483
+ );
484
+ }
485
+ @function blend-divide-colors($foreground, $background) {
486
+ @return min((($background / 255) / ($foreground / 255)) * 255, 255);
487
+ }
488
+
489
+ //--------------------------------
490
+ // Hue
491
+ //--------------------------------
492
+ @function blend-hue($foreground, $background) {
493
+ $foreground-hsv: color-to-hsv($foreground);
494
+ $background-hsv: color-to-hsv($background);
495
+
496
+ $bm-hsv: nth($foreground-hsv, 1), nth($background-hsv, 2),
497
+ nth($background-hsv, 3);
498
+ $bm-color: hsv-to-color($bm-hsv);
499
+
500
+ @return blend-normal(
501
+ rgba(
502
+ red($bm-color),
503
+ green($bm-color),
504
+ blue($bm-color),
505
+ opacity($foreground)
506
+ ),
507
+ $background
508
+ );
509
+ }
510
+
511
+ //--------------------------------
512
+ // Luminosity
513
+ //--------------------------------
514
+ @function blend-luminosity($foreground, $background) {
515
+ $foreground-hsv: color-to-hsv($foreground);
516
+ $background-hsv: color-to-hsv($background);
517
+
518
+ $bm-hsv: nth($background-hsv, 1), nth($background-hsv, 2),
519
+ nth($foreground-hsv, 3);
520
+ $bm-color: hsv-to-color($bm-hsv);
521
+
522
+ @return blend-normal(
523
+ rgba(
524
+ red($bm-color),
525
+ green($bm-color),
526
+ blue($bm-color),
527
+ opacity($foreground)
528
+ ),
529
+ $background
530
+ );
531
+ }
532
+
533
+ //--------------------------------
534
+ // Saturation
535
+ //--------------------------------
536
+ @function blend-saturation($foreground, $background) {
537
+ $foreground-hsv: color-to-hsv($foreground);
538
+ $background-hsv: color-to-hsv($background);
539
+
540
+ $bm-hsv: nth($background-hsv, 1), nth($foreground-hsv, 2),
541
+ nth($background-hsv, 3);
542
+ $bm-color: hsv-to-color($bm-hsv);
543
+
544
+ @return blend-normal(
545
+ rgba(
546
+ red($bm-color),
547
+ green($bm-color),
548
+ blue($bm-color),
549
+ opacity($foreground)
550
+ ),
551
+ $background
552
+ );
553
+ }
554
+
555
+ //--------------------------------
556
+ // Subtract
557
+ //--------------------------------
558
+ @function blend-subtract($foreground, $background) {
559
+ $bm-red: max(red($background) - red($foreground), 0);
560
+ $bm-green: max(green($background) - green($foreground), 0);
561
+ $bm-blue: max(blue($background) - blue($foreground), 0);
562
+
563
+ @return blend-normal(
564
+ rgba($bm-red, $bm-green, $bm-blue, opacity($foreground)),
565
+ $background
566
+ );
567
+ }
568
+
569
+ //--------------------------------
570
+ // HSL and HSV
571
+ //--------------------------------
572
+ // @see https://gist.github.com/1069204
573
+ @function hsv-to-hsl($h, $s: 0, $v: 0) {
574
+ @if type-of($h) == "list" {
575
+ $v: nth($h, 3);
576
+ $s: nth($h, 2);
577
+ $h: nth($h, 1);
578
+ }
579
+
580
+ @if unit($h) == "deg" {
581
+ $h: 3.1415 * 2 * ($h / 360deg);
582
+ }
583
+ @if unit($s) == "%" {
584
+ $s: 0 + ($s / 100%);
585
+ }
586
+ @if unit($v) == "%" {
587
+ $v: 0 + ($v / 100%);
588
+ }
589
+
590
+ $ss: $s * $v;
591
+ $ll: (2 - $s) * $v;
592
+
593
+ @if $ll <= 1 and $ll != 0 {
594
+ $ss: $ss / $ll;
595
+ } @else if ($ll == 2) {
596
+ $ss: 0;
597
+ } @else {
598
+ $ss: $ss / (2 - $ll);
599
+ }
600
+
601
+ $ll: $ll / 2;
602
+
603
+ @return 360deg * $h / (3.1415 * 2), percentage(max(0, min(1, $ss))),
604
+ percentage(max(0, min(1, $ll)));
605
+ }
606
+
607
+ @function hsl-to-hsv($h, $ss: 0, $ll: 0) {
608
+ @if type-of($h) == "list" {
609
+ $ll: nth($h, 3);
610
+ $ss: nth($h, 2);
611
+ $h: nth($h, 1);
612
+ } @else if type-of($h) == "color" {
613
+ $ll: lightness($h);
614
+ $ss: saturation($h);
615
+ $h: hue($h);
616
+ }
617
+
618
+ @if unit($h) == "deg" {
619
+ $h: 3.1415 * 2 * ($h / 360deg);
620
+ }
621
+ @if unit($ss) == "%" {
622
+ $ss: 0 + ($ss / 100%);
623
+ }
624
+ @if unit($ll) == "%" {
625
+ $ll: 0 + ($ll / 100%);
626
+ }
627
+
628
+ $ll: $ll * 2;
629
+
630
+ @if $ll <= 1 {
631
+ $ss: $ss * $ll;
632
+ } @else {
633
+ $ss: $ss * (2 - $ll);
634
+ }
635
+
636
+ $v: ($ll + $ss) / 2;
637
+ $s: if($ll + $ss == 0, 0, (2 * $ss) / ($ll + $ss));
638
+
639
+ @return 360deg * $h / (3.1415 * 2), percentage(max(0, min(1, $s))),
640
+ percentage(max(0, min(1, $v)));
641
+ }
642
+
643
+ @function color-to-hsv($color) {
644
+ @return hsl-to-hsv($color);
645
+ }
646
+
647
+ @function hsv-to-color($h, $s: 0, $v: 0) {
648
+ $hsl: hsv-to-hsl($h, $s, $v);
649
+ @return hsl(nth($hsl, 1), nth($hsl, 2), nth($hsl, 3));
650
+ }
651
+
652
+ @function fade($color, $opacity) {
653
+ @return fade-in($color, $opacity/100%);
654
+ }
655
+
656
+ div.jqxInGridLink {
657
+ cursor: pointer;
658
+ color: blue;
659
+ margin: 2px;
660
+ text-decoration: underline;
661
+ :hover {
662
+ color: blueviolet;
663
+ }
664
+ }
665
+
666
+ .pink-text {
667
+ color: pink !important;
668
+ }
669
+
670
+ .red-text {
671
+ color: red !important;
672
+ }
673
+
674
+ .turquoise-text {
675
+ color: rgb(3, 167, 150) !important;
676
+ }
677
+
678
+ .blue-text {
679
+ color: blue !important;
680
+ }
681
+ // :visited {
682
+ // color: green;
683
+ // }
684
+ // :hover {
685
+ // background: yellow;
686
+ // }
687
+ // :visited:hover {
688
+ // color: purple;
689
+ // }
@@ -0,0 +1,38 @@
1
+ .dropdown-language {
2
+ /* position: relative; */
3
+ margin-right: 10px;
4
+ display: inline-block;
5
+ height: 32px;
6
+ width: 33px;
7
+ border-radius: 16px;
8
+ border: 1px solid rgba(50, 59, 69, 0.54);
9
+ -moz-user-select: none;
10
+ -ms-user-select: none;
11
+ cursor: pointer;
12
+ font-size: 13px;
13
+ font-weight: 600;
14
+ color: rgba(50, 59, 69, 0.87);
15
+ //: ;
16
+ transition: background-color 0.1s, border-color 0.1s;
17
+ white-space: nowrap;
18
+ max-width: 100px;
19
+ text-align: center;
20
+ }
21
+
22
+ .default-lang {
23
+ text-overflow: ellipsis;
24
+ overflow: hidden;
25
+ padding: 4px 0 4px;
26
+ }
27
+
28
+ .request_item {
29
+ font-weight: 500;
30
+ display: flex;
31
+ padding: 3px;
32
+ font-size: 14px;
33
+ flex-direction: row-reverse;
34
+ margin: 5px;
35
+ background-color: #8a7dbe;
36
+ border-color: #8a7dbe;
37
+ color: #fff;
38
+ }