@igo2/core 1.11.0 → 1.12.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 (107) hide show
  1. package/__ivy_ngcc__/locale/en.auth.json +29 -29
  2. package/__ivy_ngcc__/locale/en.common.json +43 -43
  3. package/__ivy_ngcc__/locale/en.context.json +198 -198
  4. package/__ivy_ngcc__/locale/en.core.json +29 -29
  5. package/__ivy_ngcc__/locale/en.geo.json +737 -727
  6. package/__ivy_ngcc__/locale/en.integration.json +123 -105
  7. package/__ivy_ngcc__/locale/en.json +32 -4
  8. package/__ivy_ngcc__/locale/fr.auth.json +32 -32
  9. package/__ivy_ngcc__/locale/fr.common.json +43 -43
  10. package/__ivy_ngcc__/locale/fr.context.json +198 -198
  11. package/__ivy_ngcc__/locale/fr.core.json +29 -29
  12. package/__ivy_ngcc__/locale/fr.geo.json +737 -727
  13. package/__ivy_ngcc__/locale/fr.integration.json +125 -107
  14. package/__ivy_ngcc__/locale/fr.json +34 -6
  15. package/bundles/igo2-core.umd.js +177 -10
  16. package/bundles/igo2-core.umd.js.map +1 -1
  17. package/esm2015/lib/activity/activity.interceptor.js +1 -1
  18. package/esm2015/lib/activity/activity.module.js +1 -1
  19. package/esm2015/lib/activity/activity.service.js +1 -1
  20. package/esm2015/lib/activity/index.js +1 -1
  21. package/esm2015/lib/analytics/index.js +1 -1
  22. package/esm2015/lib/analytics/shared/analytics.interface.js +1 -1
  23. package/esm2015/lib/analytics/shared/analytics.service.js +1 -1
  24. package/esm2015/lib/analytics/shared/index.js +1 -1
  25. package/esm2015/lib/compression/compressedData.interface.js +2 -0
  26. package/esm2015/lib/compression/compression.service.js +140 -0
  27. package/esm2015/lib/compression/index.js +3 -0
  28. package/esm2015/lib/config/config.interface.js +1 -1
  29. package/esm2015/lib/config/config.module.js +1 -1
  30. package/esm2015/lib/config/config.provider.js +1 -1
  31. package/esm2015/lib/config/config.service.js +1 -1
  32. package/esm2015/lib/config/index.js +1 -1
  33. package/esm2015/lib/config/version.js +3 -3
  34. package/esm2015/lib/core.module.js +19 -4
  35. package/esm2015/lib/gesture/gesture.module.js +1 -1
  36. package/esm2015/lib/gesture/gesture.provider.js +1 -1
  37. package/esm2015/lib/language/index.js +1 -1
  38. package/esm2015/lib/language/language.module.js +1 -1
  39. package/esm2015/lib/language/shared/index.js +1 -1
  40. package/esm2015/lib/language/shared/language.interface.js +1 -1
  41. package/esm2015/lib/language/shared/language.loader.js +1 -1
  42. package/esm2015/lib/language/shared/language.provider.js +1 -1
  43. package/esm2015/lib/language/shared/language.service.js +1 -1
  44. package/esm2015/lib/language/shared/missing-translation.guard.js +2 -2
  45. package/esm2015/lib/media/index.js +1 -1
  46. package/esm2015/lib/media/media.enum.js +1 -1
  47. package/esm2015/lib/media/media.service.js +1 -1
  48. package/esm2015/lib/message/index.js +1 -1
  49. package/esm2015/lib/message/message.module.js +1 -1
  50. package/esm2015/lib/message/shared/index.js +1 -1
  51. package/esm2015/lib/message/shared/message.enum.js +1 -1
  52. package/esm2015/lib/message/shared/message.interface.js +1 -1
  53. package/esm2015/lib/message/shared/message.service.js +1 -1
  54. package/esm2015/lib/network/index.js +1 -1
  55. package/esm2015/lib/network/network.interfaces.js +1 -1
  56. package/esm2015/lib/network/network.service.js +1 -1
  57. package/esm2015/lib/request/error.interceptor.js +1 -1
  58. package/esm2015/lib/request/error.module.js +1 -1
  59. package/esm2015/lib/request/index.js +1 -1
  60. package/esm2015/lib/request/logging.interceptor.js +2 -2
  61. package/esm2015/lib/request/logging.module.js +1 -1
  62. package/esm2015/lib/route/route.interface.js +1 -1
  63. package/esm2015/lib/route/route.service.js +1 -1
  64. package/esm2015/lib/storage/index.js +1 -1
  65. package/esm2015/lib/storage/storage.interface.js +1 -1
  66. package/esm2015/lib/storage/storage.service.js +1 -1
  67. package/esm2015/public_api.js +2 -1
  68. package/fesm2015/igo2-core.js +161 -9
  69. package/fesm2015/igo2-core.js.map +1 -1
  70. package/lib/compression/compressedData.interface.d.ts +5 -0
  71. package/lib/compression/compression.service.d.ts +15 -0
  72. package/lib/compression/index.d.ts +2 -0
  73. package/lib/core.module.d.ts +2 -1
  74. package/locale/en.auth.json +29 -29
  75. package/locale/en.common.json +43 -43
  76. package/locale/en.context.json +198 -198
  77. package/locale/en.core.json +29 -29
  78. package/locale/en.geo.json +737 -727
  79. package/locale/en.integration.json +123 -105
  80. package/locale/en.json +32 -4
  81. package/locale/fr.auth.json +32 -32
  82. package/locale/fr.common.json +43 -43
  83. package/locale/fr.context.json +198 -198
  84. package/locale/fr.core.json +29 -29
  85. package/locale/fr.geo.json +737 -727
  86. package/locale/fr.integration.json +125 -107
  87. package/locale/fr.json +34 -6
  88. package/package.json +3 -2
  89. package/public_api.d.ts +1 -0
  90. package/style/all.theming.scss +5 -5
  91. package/style/core.theming.scss +9 -9
  92. package/style/foreground.scss +20 -20
  93. package/style/index.theming.scss +801 -702
  94. package/style/material.font.scss +9 -9
  95. package/style/partial/core.variables.scss +4 -4
  96. package/style/partial/media.scss +80 -80
  97. package/style/themes/blue.theme.scss +19 -19
  98. package/style/themes/bluedq.theme.scss +52 -52
  99. package/style/themes/bluegrey.theme.scss +16 -16
  100. package/style/themes/dark.theme.scss +16 -16
  101. package/style/themes/deeppurple.theme.scss +16 -16
  102. package/style/themes/indigo.theme.scss +16 -16
  103. package/style/themes/orange.theme.scss +16 -16
  104. package/style/themes/qcca.theme.scss +98 -0
  105. package/style/themes/teal.theme.scss +16 -16
  106. package/style/theming.scss +7 -7
  107. package/style/typography.scss +15 -15
@@ -1,63 +1,63 @@
1
1
  @use '~@angular/material/_index.scss' as mat;
2
- @mixin igo-all-theming($theme, $typography: $igo-typography) {
3
- @include igo-theming($theme, $typography);
4
- @include igo-common-theming($theme, $typography);
5
- @include igo-geo-theming($theme, $typography);
6
- }
2
+ @mixin igo-all-theming($theme, $typography: $igo-typography) {
3
+ @include igo-theming($theme, $typography);
4
+ @include igo-common-theming($theme, $typography);
5
+ @include igo-geo-theming($theme, $typography);
6
+ }
7
7
 
8
- $igo-typography: mat.define-typography-config(
9
- $display-4: mat.define-typography-level(110px, 110px, 300),
10
- $display-3: mat.define-typography-level(54px, 54px, 400),
11
- $display-2: mat.define-typography-level(43px, 46px, 400),
12
- $display-1: mat.define-typography-level(32px, 38px, 400),
13
- $headline: mat.define-typography-level(22px, 30px, 400),
14
- $title: mat.define-typography-level(18px, 30px, 500),
15
- $subheading-2: mat.define-typography-level(14px, 26px, 400),
16
- $subheading-1: mat.define-typography-level(13px, 22px, 400),
17
- $body-2: mat.define-typography-level(12px, 22px, 500),
18
- $body-1: mat.define-typography-level(12px, 18px, 400),
19
- $caption: mat.define-typography-level(12px, 18px, 400),
20
- $button: mat.define-typography-level(13px, 13px, 500),
21
- $input: mat.define-typography-level(14px, 1.25, 400)
22
- );
23
-
24
- @function theme-foreground($palette) {
25
- $color: mat.get-color-from-palette($palette, 500);
26
- @return (
27
- base: $color,
28
- divider: rgba($color, 0.12),
29
- dividers: rgba($color, 0.12),
30
- disabled: rgba($color, 0.38),
31
- disabled-button: rgba($color, 0.26),
32
- disabled-text: rgba($color, 0.38),
33
- elevation: $color,
34
- hint-text: rgba($color, 0.38),
35
- secondary-text: rgba($color, 0.54),
36
- icon: rgba($color, 0.54),
37
- icons: rgba($color, 0.54),
38
- text: rgba($color, 0.87),
39
- slider-min: rgba($color, 0.87),
40
- slider-off: rgba($color, 0.26),
41
- slider-off-active: rgba($color, 0.38)
42
- );
43
- };
44
-
45
- button.mat-menu-item {
46
- line-height: 24px !important;
47
- }
48
- a.mat-menu-item > mat-icon {
49
- margin-bottom: 14px;
50
- }
51
- .mat-icon svg {
52
- height: 24px;
53
- width: 24px;
54
- }
55
-
56
- @mixin igo-theming($theme, $typography) {
57
- @include mat.core($typography);
58
-
59
- @include igo-core-theming($theme, $typography);
60
- }
8
+ $igo-typography: mat.define-typography-config(
9
+ $display-4: mat.define-typography-level(110px, 110px, 300),
10
+ $display-3: mat.define-typography-level(54px, 54px, 400),
11
+ $display-2: mat.define-typography-level(43px, 46px, 400),
12
+ $display-1: mat.define-typography-level(32px, 38px, 400),
13
+ $headline: mat.define-typography-level(22px, 30px, 400),
14
+ $title: mat.define-typography-level(18px, 30px, 500),
15
+ $subheading-2: mat.define-typography-level(14px, 26px, 400),
16
+ $subheading-1: mat.define-typography-level(13px, 22px, 400),
17
+ $body-2: mat.define-typography-level(12px, 22px, 500),
18
+ $body-1: mat.define-typography-level(12px, 18px, 400),
19
+ $caption: mat.define-typography-level(12px, 18px, 400),
20
+ $button: mat.define-typography-level(13px, 13px, 500),
21
+ $input: mat.define-typography-level(14px, 1.25, 400)
22
+ );
23
+
24
+ @function theme-foreground($palette) {
25
+ $color: mat.get-color-from-palette($palette, 500);
26
+ @return (
27
+ base: $color,
28
+ divider: rgba($color, 0.12),
29
+ dividers: rgba($color, 0.12),
30
+ disabled: rgba($color, 0.38),
31
+ disabled-button: rgba($color, 0.26),
32
+ disabled-text: rgba($color, 0.38),
33
+ elevation: $color,
34
+ hint-text: rgba($color, 0.38),
35
+ secondary-text: rgba($color, 0.54),
36
+ icon: rgba($color, 0.54),
37
+ icons: rgba($color, 0.54),
38
+ text: rgba($color, 0.87),
39
+ slider-min: rgba($color, 0.87),
40
+ slider-off: rgba($color, 0.26),
41
+ slider-off-active: rgba($color, 0.38)
42
+ );
43
+ };
44
+
45
+ button.mat-menu-item {
46
+ line-height: 24px !important;
47
+ }
48
+ a.mat-menu-item > mat-icon {
49
+ margin-bottom: 14px;
50
+ }
51
+ .mat-icon svg {
52
+ height: 24px;
53
+ width: 24px;
54
+ }
55
+
56
+ @mixin igo-theming($theme, $typography) {
57
+ @include mat.core($typography);
58
+
59
+ @include igo-core-theming($theme, $typography);
60
+ }
61
61
 
62
62
  /* based on angular-toastr css https://github.com/Foxandxss/angular-toastr/blob/cb508fe6801d6b288d3afc525bb40fee1b101650/dist/angular-toastr.css */
63
63
 
@@ -251,39 +251,39 @@ button.toast-close-button {
251
251
  width: 25em;
252
252
  }
253
253
  }
254
-
255
-
256
- @mixin igo-core-theming($theme, $typography) {
257
- @include igo-message-theming($theme, $typography);
258
-
259
- button.mat-icon-button.mat-button-base[disabled="true"] {
260
- color: rgba(0,0,0,.26);
261
- }
262
- }
263
254
 
264
- @mixin igo-message-theming($theme, $typography) {
265
- $primary: map-get($theme, primary);
266
- $accent: map-get($theme, accent);
267
- $warn: map-get($theme, warn);
268
-
269
- .toast-error {
270
- background-color: mat.get-color-from-palette($warn);
271
- }
272
- .toast-info {
273
- background-color: mat.get-color-from-palette($primary);
274
- }
275
- .toast-title {
276
- line-height: 23px;
277
- font-size: 15px;
278
- font-weight: bold;
279
- font-family: Roboto, "Helvetica Neue", sans-serif;
280
- }
281
- .toast-message {
282
- line-height: 18px;
283
- font-size: mat.font-size($typography, subheading-2);
284
- font-family: Roboto, "Helvetica Neue", sans-serif;
285
- }
286
- }
255
+
256
+ @mixin igo-core-theming($theme, $typography) {
257
+ @include igo-message-theming($theme, $typography);
258
+
259
+ button.mat-icon-button.mat-button-base[disabled="true"] {
260
+ color: rgba(0,0,0,.26);
261
+ }
262
+ }
263
+
264
+ @mixin igo-message-theming($theme, $typography) {
265
+ $primary: map-get($theme, primary);
266
+ $accent: map-get($theme, accent);
267
+ $warn: map-get($theme, warn);
268
+
269
+ .toast-error {
270
+ background-color: mat.get-color-from-palette($warn);
271
+ }
272
+ .toast-info {
273
+ background-color: mat.get-color-from-palette($primary);
274
+ }
275
+ .toast-title {
276
+ line-height: 23px;
277
+ font-size: 15px;
278
+ font-weight: bold;
279
+ font-family: Roboto, "Helvetica Neue", sans-serif;
280
+ }
281
+ .toast-message {
282
+ line-height: 18px;
283
+ font-size: mat.font-size($typography, subheading-2);
284
+ font-family: Roboto, "Helvetica Neue", sans-serif;
285
+ }
286
+ }
287
287
 
288
288
  .shepherd-button{background:#3288e6;border:0;border-radius:3px;color:hsla(0,0%,100%,.75);cursor:pointer;margin-right:.5rem;padding:.5rem 1.5rem;transition:all .5s ease}.shepherd-button:not(:disabled):hover{background:#196fcc;color:hsla(0,0%,100%,.75)}.shepherd-button.shepherd-button-secondary{background:#f1f2f3;color:rgba(0,0,0,.75)}.shepherd-button.shepherd-button-secondary:not(:disabled):hover{background:#d6d9db;color:rgba(0,0,0,.75)}.shepherd-button:disabled{cursor:not-allowed}
289
289
  .shepherd-footer{border-bottom-left-radius:5px;border-bottom-right-radius:5px;display:flex;justify-content:flex-end;padding:0 .75rem .75rem}.shepherd-footer .shepherd-button:last-child{margin-right:0}
@@ -293,254 +293,254 @@ button.toast-close-button {
293
293
  .shepherd-text{color:rgba(0,0,0,.75);font-size:1rem;line-height:1.3em;padding:.75em}.shepherd-text p{margin-top:0}.shepherd-text p:last-child{margin-bottom:0}
294
294
  .shepherd-content{border-radius:5px;outline:none;padding:0}
295
295
  .shepherd-element{background:#fff;border-radius:5px;box-shadow:0 1px 4px rgba(0,0,0,.2);max-width:400px;opacity:0;outline:none;transition:opacity .3s,visibility .3s;visibility:hidden;width:100%;z-index:9999}.shepherd-enabled.shepherd-element{opacity:1;visibility:visible}.shepherd-element[data-popper-reference-hidden]:not(.shepherd-centered){opacity:0;pointer-events:none;visibility:hidden}.shepherd-element,.shepherd-element *,.shepherd-element :after,.shepherd-element :before{box-sizing:border-box}.shepherd-arrow,.shepherd-arrow:before{position:absolute;width:16px;height:16px;z-index:-1}.shepherd-arrow:before{content:"";transform:rotate(45deg);background:#fff}.shepherd-element[data-popper-placement^=top]>.shepherd-arrow{bottom:-8px}.shepherd-element[data-popper-placement^=bottom]>.shepherd-arrow{top:-8px}.shepherd-element[data-popper-placement^=left]>.shepherd-arrow{right:-8px}.shepherd-element[data-popper-placement^=right]>.shepherd-arrow{left:-8px}.shepherd-element.shepherd-centered>.shepherd-arrow{opacity:0}.shepherd-element.shepherd-has-title[data-popper-placement^=bottom]>.shepherd-arrow:before{background-color:#e6e6e6}.shepherd-target-click-disabled.shepherd-enabled.shepherd-target,.shepherd-target-click-disabled.shepherd-enabled.shepherd-target *{pointer-events:none}
296
- .shepherd-modal-overlay-container{height:0;left:0;opacity:0;overflow:hidden;pointer-events:none;position:fixed;top:0;transition:all .3s ease-out,height 0ms .3s,opacity .3s 0ms;width:100vw;z-index:9997}.shepherd-modal-overlay-container.shepherd-modal-is-visible{height:100vh;opacity:.5;transition:all .3s ease-out,height 0s 0s,opacity .3s 0s}.shepherd-modal-overlay-container.shepherd-modal-is-visible path{pointer-events:all}
297
-
298
- @mixin igo-common-theming($theme, $typography) {
299
- @include igo-action-theming($theme);
300
- @include igo-collapsible-theming($theme);
301
- @include igo-entity-theming($theme);
302
- @include igo-list-theming($theme);
303
- @include igo-panel-theming($theme);
304
- @include igo-tool-theming($theme);
305
- @include igo-tour-theming($theme);
306
- @include igo-home-button-theming($theme);
307
- }
296
+ .shepherd-modal-overlay-container{height:0;left:0;opacity:0;overflow:hidden;pointer-events:none;position:fixed;top:0;transition:all .3s ease-out,height 0ms .3s,opacity .3s 0ms;width:100vw;z-index:9997}.shepherd-modal-overlay-container.shepherd-modal-is-visible{height:100vh;opacity:.5;transition:all .3s ease-out,height 0s 0s,opacity .3s 0s}.shepherd-modal-overlay-container.shepherd-modal-is-visible path{pointer-events:all}
308
297
 
309
- @mixin igo-action-theming($theme) {
310
- @include igo-actionbar-theming($theme);
311
- }
298
+ @mixin igo-common-theming($theme, $typography) {
299
+ @include igo-action-theming($theme);
300
+ @include igo-collapsible-theming($theme);
301
+ @include igo-entity-theming($theme);
302
+ @include igo-list-theming($theme);
303
+ @include igo-panel-theming($theme);
304
+ @include igo-tool-theming($theme);
305
+ @include igo-tour-theming($theme);
306
+ @include igo-home-button-theming($theme);
307
+ }
312
308
 
313
- @mixin igo-actionbar-theming($theme) {
314
- .igo-actionbar-overlay {
315
- min-width: inherit !important;
316
- padding-top: 0;
317
- padding-bottom: 0;
318
-
319
- .mat-list {
320
- padding-top: 0
321
- }
322
-
323
- .mat-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text {
324
- padding-right: 16px;
325
- }
326
-
327
- .mat-menu-content:not(:empty) {
328
- padding-top: 0;
329
- padding-bottom: 0;
330
- }
331
- }
332
- }
309
+ @mixin igo-action-theming($theme) {
310
+ @include igo-actionbar-theming($theme);
311
+ }
333
312
 
334
- @mixin igo-collapsible-theming($theme) {
335
- mat-icon[mat-list-avatar][igocollapse] {
336
- &:hover {
337
- cursor: pointer;
338
- }
339
-
340
- &.igo-chevron {
341
- width: auto !important;
342
- transform: rotateZ(0deg);
343
- transition: 300ms ease-in-out;
344
-
345
- &.collapsed {
346
- transform: rotateZ(180deg);
347
- transition: 300ms ease-in-out;
348
- }
349
- }
350
- }
351
-
352
- div.igo-collapsed {
353
- display: none !important;
354
- }
355
-
356
- }
313
+ @mixin igo-actionbar-theming($theme) {
314
+ .igo-actionbar-overlay {
315
+ min-width: inherit !important;
316
+ padding-top: 0;
317
+ padding-bottom: 0;
318
+
319
+ .mat-list {
320
+ padding-top: 0
321
+ }
322
+
323
+ .mat-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text {
324
+ padding-right: 16px;
325
+ }
326
+
327
+ .mat-menu-content:not(:empty) {
328
+ padding-top: 0;
329
+ padding-bottom: 0;
330
+ }
331
+ }
332
+ }
357
333
 
358
- @mixin igo-entity-theming($theme) {
359
- @include igo-entity-table-theming($theme);
360
- }
334
+ @mixin igo-collapsible-theming($theme) {
335
+ mat-icon[mat-list-avatar][igocollapse] {
336
+ &:hover {
337
+ cursor: pointer;
338
+ }
361
339
 
362
- @mixin igo-entity-table-theming($theme) {
363
- $primary: map-get($theme, primary);
364
- $accent: map-get($theme, accent);
365
-
366
- igo-entity-table table.igo-entity-table-with-selection tr.igo-entity-table-row-highlighted {
367
- background-color: mat.get-color-from-palette($primary, A100);
368
- color: mat.get-color-from-palette($primary, default-contrast);
369
- }
370
- }
340
+ &.igo-chevron {
341
+ width: auto !important;
342
+ transform: rotateZ(0deg);
343
+ transition: 300ms ease-in-out;
371
344
 
372
- @mixin igo-home-button-theming($theme) {
373
- $primary: map-get($theme, primary);
374
- $accent: map-get($theme, accent);
375
- $foreground: map-get($theme, foreground);
376
-
377
- igo-home-button > #homeButton {
378
- background-color: mat.get-color-from-palette($primary);
379
- color: mat.get-color-from-palette($primary, default-contrast);
380
-
381
- &:hover {
382
- background-color: mat.get-color-from-palette($accent, lighter);
383
- color: black;
384
- }
385
- }
386
- }
387
-
345
+ &.collapsed {
346
+ transform: rotateZ(180deg);
347
+ transition: 300ms ease-in-out;
348
+ }
349
+ }
350
+ }
388
351
 
389
- @mixin igo-list-theming($theme) {
390
- $primary: map-get($theme, primary);
391
- $accent: map-get($theme, accent);
392
-
393
- igo-list [igolistitem][color="primary"].igo-list-item-selected > mat-list-item {
394
- background-color: mat.get-color-from-palette($primary);
395
- color: mat.get-color-from-palette($primary, default-contrast);
396
- }
397
-
398
- igo-list [igolistitem][color="accent"].igo-list-item-selected > mat-list-item {
399
- background-color: mat.get-color-from-palette($accent);
400
- color: mat.get-color-from-palette($accent, default-contrast);
401
- }
402
-
403
- igo-list [igolistitem].igo-list-item-disabled > mat-list-item {
404
- color: rgba(0, 0, 0, 0.38);
405
- }
406
-
407
- igo-list [igolistitem][color="primary"]:not(.igo-list-item-disabled):hover > mat-list-item,
408
- igo-list [igolistitem][color="primary"].igo-list-item-focused > mat-list-item {
409
- background-color: mat.get-color-from-palette($primary, lighter);
410
- color: mat.get-color-from-palette($primary, default-contrast);
411
- }
412
-
413
- igo-list [igolistitem][color="accent"]:not(.igo-list-item-disabled):hover > mat-list-item,
414
- igo-list [igolistitem][color="accent"].igo-list-item-focused > mat-list-item {
415
- background-color: mat.get-color-from-palette($accent, lighter);
416
- color: mat.get-color-from-palette($accent, default-contrast);
417
- }
418
- }
352
+ div.igo-collapsed {
353
+ display: none !important;
354
+ }
419
355
 
420
- @mixin igo-panel-theming($theme) {
421
- $primary: map-get($theme, primary);
422
-
423
- igo-panel > div.igo-panel-header {
424
- background-color: mat.get-color-from-palette($primary);
425
- color: mat.get-color-from-palette($primary, default-contrast);
426
- }
427
-
428
- }
356
+ }
429
357
 
430
- @mixin igo-tool-theming($theme) {
431
- @include igo-toolbox-theming($theme);
432
- }
358
+ @mixin igo-entity-theming($theme) {
359
+ @include igo-entity-table-theming($theme);
360
+ }
433
361
 
434
- @mixin igo-toolbox-theming($theme) {
435
- $primary: map-get($theme, primary);
436
- $accent: map-get($theme, accent);
437
- $foreground: map-get($theme, foreground);
438
-
439
- igo-toolbox > igo-actionbar mat-list.mat-list-base igo-actionbar-item mat-list-item {
440
- &:hover {
441
- background-color: mat.get-color-from-palette($accent, lighter);
442
- }
443
-
444
- &.tool-activated,
445
- &.children-tool-activated {
446
- background-color: mat.get-color-from-palette($accent);
447
- cursor: default;
448
- button {
449
- cursor: default;
450
- }
451
- }
452
- }
453
-
454
- igo-toolbox > igo-actionbar:not(.with-title) > mat-list {
455
- & > #lowChevron,
456
- & > #topChevron {
457
- &:hover {
458
- background-color: mat.get-color-from-palette($accent, lighter);
459
- color: black;
460
- }
461
- }
462
- }
463
-
464
- igo-toolbox.color-primary > igo-actionbar:not(.with-title) {
465
- box-shadow: unset;
466
- background-color: mat.get-color-from-palette($primary);
467
- #lowChevron,
468
- #topChevron {
469
- background-color: mat.get-color-from-palette($primary);
470
- color: white;
471
- }
472
- }
473
-
474
- igo-toolbox.color-grey > igo-actionbar:not(.with-title) {
475
- box-shadow: unset;
476
- background-color: #737475;
477
- #lowChevron,
478
- #topChevron {
479
- background-color: #737475;
480
- color: white;
481
- }
482
- }
483
-
484
- igo-toolbox.color-primary,
485
- igo-toolbox.color-grey {
486
- & > igo-actionbar:not(.with-title) mat-list.mat-list-base {
487
- .mat-list-item.mat-list-item-with-avatar {
488
- color: white;
489
- &:hover {
490
- color: black;
491
- }
492
-
493
- &.tool-activated,
494
- &.children-tool-activated {
495
- background-color: white;
496
- color: black;
497
- }
498
- }
499
- }
500
- }
501
-
502
- }
362
+ @mixin igo-entity-table-theming($theme) {
363
+ $primary: map-get($theme, primary);
364
+ $accent: map-get($theme, accent);
503
365
 
504
- @mixin igo-tour-theming($theme) {
505
- $primary: map-get($theme, primary);
506
- $accent: map-get($theme, accent);
507
- $warn: map-get($theme, warn);
508
-
509
- igo-interactive-tour > button.mat-raised-button.tour-button-tool-icon {
510
- box-shadow: none;
511
- }
512
-
513
- igo-interactive-tour > button.tour-button-tool-icon {
514
- background-color: mat.get-color-from-palette($primary);
515
- color: mat.get-color-from-palette($primary, default-contrast);
516
-
517
- box-shadow: none;
518
- border:none;
519
- border-radius: 50%;
520
- padding: 0;
521
- min-width: 0;
522
- width: 40px;
523
- height: 40px;
524
- flex-shrink: 0;
525
- line-height: 40px;
526
- }
527
-
528
- igo-interactive-tour > button.tour-button-tool-icon span.interactive-tour-button-title {
529
- display: none;
530
- }
531
-
532
- igo-interactive-tour > button.tour-button-tool {
533
- background-color: mat.get-color-from-palette($primary);
534
- color: mat.get-color-from-palette($primary, default-contrast);
535
- border: none;
536
- }
537
-
538
- igo-interactive-tour > button.tour-button-tool-icon:hover {
539
- background-color: mat.get-color-from-palette($primary, default-contrast);
540
- color: mat.get-color-from-palette($primary);
541
- cursor: pointer;
542
- }
543
- }
366
+ igo-entity-table table.igo-entity-table-with-selection tr.igo-entity-table-row-highlighted {
367
+ background-color: mat.get-color-from-palette($primary, A100);
368
+ color: mat.get-color-from-palette($primary, default-contrast);
369
+ }
370
+ }
371
+
372
+ @mixin igo-home-button-theming($theme) {
373
+ $primary: map-get($theme, primary);
374
+ $accent: map-get($theme, accent);
375
+ $foreground: map-get($theme, foreground);
376
+
377
+ igo-home-button > #homeButton {
378
+ background-color: mat.get-color-from-palette($primary);
379
+ color: mat.get-color-from-palette($primary, default-contrast);
380
+
381
+ &:hover {
382
+ background-color: mat.get-color-from-palette($accent, lighter);
383
+ color: black;
384
+ }
385
+ }
386
+ }
387
+
388
+
389
+ @mixin igo-list-theming($theme) {
390
+ $primary: map-get($theme, primary);
391
+ $accent: map-get($theme, accent);
392
+
393
+ igo-list [igolistitem][color="primary"].igo-list-item-selected > mat-list-item {
394
+ background-color: mat.get-color-from-palette($primary);
395
+ color: mat.get-color-from-palette($primary, default-contrast);
396
+ }
397
+
398
+ igo-list [igolistitem][color="accent"].igo-list-item-selected > mat-list-item {
399
+ background-color: mat.get-color-from-palette($accent);
400
+ color: mat.get-color-from-palette($accent, default-contrast);
401
+ }
402
+
403
+ igo-list [igolistitem].igo-list-item-disabled > mat-list-item {
404
+ color: rgba(0, 0, 0, 0.38);
405
+ }
406
+
407
+ igo-list [igolistitem][color="primary"]:not(.igo-list-item-disabled):hover > mat-list-item,
408
+ igo-list [igolistitem][color="primary"].igo-list-item-focused > mat-list-item {
409
+ background-color: mat.get-color-from-palette($primary, lighter);
410
+ color: mat.get-color-from-palette($primary, default-contrast);
411
+ }
412
+
413
+ igo-list [igolistitem][color="accent"]:not(.igo-list-item-disabled):hover > mat-list-item,
414
+ igo-list [igolistitem][color="accent"].igo-list-item-focused > mat-list-item {
415
+ background-color: mat.get-color-from-palette($accent, lighter);
416
+ color: mat.get-color-from-palette($accent, default-contrast);
417
+ }
418
+ }
419
+
420
+ @mixin igo-panel-theming($theme) {
421
+ $primary: map-get($theme, primary);
422
+
423
+ igo-panel > div.igo-panel-header {
424
+ background-color: mat.get-color-from-palette($primary);
425
+ color: mat.get-color-from-palette($primary, default-contrast);
426
+ }
427
+
428
+ }
429
+
430
+ @mixin igo-tool-theming($theme) {
431
+ @include igo-toolbox-theming($theme);
432
+ }
433
+
434
+ @mixin igo-toolbox-theming($theme) {
435
+ $primary: map-get($theme, primary);
436
+ $accent: map-get($theme, accent);
437
+ $foreground: map-get($theme, foreground);
438
+
439
+ igo-toolbox > igo-actionbar mat-list.mat-list-base igo-actionbar-item mat-list-item {
440
+ &:hover {
441
+ background-color: mat.get-color-from-palette($accent, lighter);
442
+ }
443
+
444
+ &.tool-activated,
445
+ &.children-tool-activated {
446
+ background-color: mat.get-color-from-palette($accent);
447
+ cursor: default;
448
+ button {
449
+ cursor: default;
450
+ }
451
+ }
452
+ }
453
+
454
+ igo-toolbox > igo-actionbar:not(.with-title) > mat-list {
455
+ & > #lowChevron,
456
+ & > #topChevron {
457
+ &:hover {
458
+ background-color: mat.get-color-from-palette($accent, lighter);
459
+ color: black;
460
+ }
461
+ }
462
+ }
463
+
464
+ igo-toolbox.color-primary > igo-actionbar:not(.with-title) {
465
+ box-shadow: unset;
466
+ background-color: mat.get-color-from-palette($primary);
467
+ #lowChevron,
468
+ #topChevron {
469
+ background-color: mat.get-color-from-palette($primary);
470
+ color: white;
471
+ }
472
+ }
473
+
474
+ igo-toolbox.color-grey > igo-actionbar:not(.with-title) {
475
+ box-shadow: unset;
476
+ background-color: #737475;
477
+ #lowChevron,
478
+ #topChevron {
479
+ background-color: #737475;
480
+ color: white;
481
+ }
482
+ }
483
+
484
+ igo-toolbox.color-primary,
485
+ igo-toolbox.color-grey {
486
+ & > igo-actionbar:not(.with-title) mat-list.mat-list-base {
487
+ .mat-list-item.mat-list-item-with-avatar {
488
+ color: white;
489
+ &:hover {
490
+ color: black;
491
+ }
492
+
493
+ &.tool-activated,
494
+ &.children-tool-activated {
495
+ background-color: white;
496
+ color: black;
497
+ }
498
+ }
499
+ }
500
+ }
501
+
502
+ }
503
+
504
+ @mixin igo-tour-theming($theme) {
505
+ $primary: map-get($theme, primary);
506
+ $accent: map-get($theme, accent);
507
+ $warn: map-get($theme, warn);
508
+
509
+ igo-interactive-tour > button.mat-raised-button.tour-button-tool-icon {
510
+ box-shadow: none;
511
+ }
512
+
513
+ igo-interactive-tour > button.tour-button-tool-icon {
514
+ background-color: mat.get-color-from-palette($primary);
515
+ color: mat.get-color-from-palette($primary, default-contrast);
516
+
517
+ box-shadow: none;
518
+ border:none;
519
+ border-radius: 50%;
520
+ padding: 0;
521
+ min-width: 0;
522
+ width: 40px;
523
+ height: 40px;
524
+ flex-shrink: 0;
525
+ line-height: 40px;
526
+ }
527
+
528
+ igo-interactive-tour > button.tour-button-tool-icon span.interactive-tour-button-title {
529
+ display: none;
530
+ }
531
+
532
+ igo-interactive-tour > button.tour-button-tool {
533
+ background-color: mat.get-color-from-palette($primary);
534
+ color: mat.get-color-from-palette($primary, default-contrast);
535
+ border: none;
536
+ }
537
+
538
+ igo-interactive-tour > button.tour-button-tool-icon:hover {
539
+ background-color: mat.get-color-from-palette($primary, default-contrast);
540
+ color: mat.get-color-from-palette($primary);
541
+ cursor: pointer;
542
+ }
543
+ }
544
544
 
545
545
  .ol-box {
546
546
  box-sizing: border-box;
@@ -824,419 +824,518 @@ button.toast-close-button {
824
824
  .ol-overviewmap .ol-overviewmap-box:hover {
825
825
  cursor: move;
826
826
  }
827
-
828
-
829
- @mixin igo-geo-theming($theme, $typography) {
830
- @include igo-drawingTool-theming($theme, $typography);
831
- @include igo-feature-theming($theme);
832
- @include igo-filter-theming($theme, $typography);
833
- @include igo-layer-theming($theme);
834
- @include igo-map-theming($theme, $typography);
835
- @include igo-measure-theming($theme, $typography);
836
- @include igo-directions-theming($theme);
837
- @include igo-workspace-theming($theme, $typography);
838
- }
839
827
 
840
- @mixin igo-directions-theming($theme) {
841
- @include igo-directions-results-theming($theme);
842
- }
843
828
 
844
- @mixin igo-directions-results-theming($theme) {
845
- $accent: map-get($theme, accent);
846
-
847
- igo-directions-results mat-list-item.igo-steps:hover {
848
- background-color: mat.get-color-from-palette($accent, lighter);
849
- }
850
- }
829
+ @mixin igo-geo-theming($theme, $typography) {
830
+ @include igo-drawingTool-theming($theme, $typography);
831
+ @include igo-feature-theming($theme);
832
+ @include igo-filter-theming($theme, $typography);
833
+ @include igo-layer-theming($theme);
834
+ @include igo-map-theming($theme, $typography);
835
+ @include igo-measure-theming($theme, $typography);
836
+ @include igo-directions-theming($theme);
837
+ @include igo-workspace-theming($theme, $typography);
838
+ }
851
839
 
852
- @mixin igo-drawingTool-theming($theme, $typography) {
853
- @include igo-draw-theming($theme, $typography);
854
- }
840
+ @mixin igo-directions-theming($theme) {
841
+ @include igo-directions-results-theming($theme);
842
+ }
855
843
 
856
- @mixin igo-draw-theming($theme, $typography) {
857
- $foreground: map-get($theme, foreground);
858
-
859
- .igo-map-tooltip {
860
- position: relative;
861
- border-radius: 4px;
862
- padding: 4px 8px;
863
- white-space: nowrap;
864
- }
865
-
866
- .igo-map-tooltip-draw {
867
- color: mat.get-color-from-palette($foreground, text);
868
- font-weight: bold;
869
- font-size: mat.font-size($typography, subheading-2);
870
- }
871
-
872
- igo-draw-popup-component {
873
- h1 {
874
- font-size: mat.font-size($typography, display-1);
875
- font-family: Roboto, "Helvetica Neue", sans-serif;
876
- }
877
- }
878
- }
879
-
880
- @mixin igo-feature-theming($theme) {
881
- @include igo-feature-details-theming($theme);
882
- }
844
+ @mixin igo-directions-results-theming($theme) {
845
+ $accent: map-get($theme, accent);
883
846
 
884
- @mixin igo-feature-details-theming($theme) {
885
- $is-dark: map-get($theme, is-dark);
886
- $foreground: map-get($theme, foreground);
887
- $background: map-get($theme, background);
888
-
889
- igo-feature-details > table.igo-striped tbody tr:nth-child(odd) {
890
- background-color: mat.get-color-from-palette($background, if($is-dark, app-bar, status-bar));
891
- color: black;
892
- }
893
-
894
- }
847
+ igo-directions-results mat-list-item.igo-steps:hover {
848
+ background-color: mat.get-color-from-palette($accent, lighter);
849
+ }
850
+ }
895
851
 
896
- @mixin igo-filter-theming($theme, $typography) {
897
- @include igo-time-filter-form-theming($theme);
898
- @include igo-ogc-filter-time-slider-theming($theme);
899
- @include igo-ogc-filter-selection-theming($theme);
900
- }
852
+ @mixin igo-drawingTool-theming($theme, $typography) {
853
+ @include igo-draw-theming($theme, $typography);
854
+ }
901
855
 
902
- @mixin igo-ogc-filter-selection-theming($theme) {
903
- $primary: map-get($theme, primary);
904
- $accent: map-get($theme, accent);
905
- $dark: mat.define-palette(mat.$grey-palette, 800, 700, 900);
906
-
907
- mat-button-toggle.mat-button-toggle-checked {
908
- background-color: mat.get-color-from-palette($accent);
909
- color: mat.get-color-from-palette($dark);
910
- }
911
-
912
- mat-button-toggle {
913
- color: black !important;
914
- }
915
- }
856
+ @mixin igo-draw-theming($theme, $typography) {
857
+ $foreground: map-get($theme, foreground);
858
+
859
+ .igo-map-tooltip {
860
+ position: relative;
861
+ border-radius: 4px;
862
+ padding: 4px 8px;
863
+ white-space: nowrap;
864
+ }
865
+
866
+ .igo-map-tooltip-draw {
867
+ color: mat.get-color-from-palette($foreground, text);
868
+ font-weight: bold;
869
+ font-size: mat.font-size($typography, subheading-2);
870
+ }
871
+
872
+ igo-draw-popup-component {
873
+ h1 {
874
+ font-size: mat.font-size($typography, display-1);
875
+ font-family: Roboto, "Helvetica Neue", sans-serif;
876
+ }
877
+ }
878
+ }
916
879
 
917
- @mixin igo-ogc-filter-time-slider-theming($theme) {
918
- $primary: map-get($theme, primary);
919
- $color: mat.define-palette(mat.$yellow-palette);
920
-
921
- .mat-slider-thumb-label {
922
- transform: rotate(45deg) !important;
923
- border-radius: 50% 50% 0 !important;
924
- }
925
- }
926
-
927
- @mixin igo-time-filter-form-theming($theme) {
928
- $primary: map-get($theme, primary);
929
-
930
- mat-datetimepicker-calendar > div.mat-datetimepicker-calendar-header {
931
- color: mat.get-color-from-palette($primary);
932
- }
933
-
934
- mat-datetimepicker-calendar > div.mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-body-active {
935
- background-color: mat.get-color-from-palette($primary, lighter);
936
- border-radius: 100%;
937
- }
938
- }
880
+ @mixin igo-feature-theming($theme) {
881
+ @include igo-feature-details-theming($theme);
882
+ }
939
883
 
940
- @mixin igo-layer-theming($theme) {
941
- $primary: map-get($theme, primary);
942
- $accent: map-get($theme, accent);
943
-
944
- @include igo-layer-legend-theming($theme);
945
-
946
- igo-layer-item.igo-layer-item-focused > mat-list-item {
947
- background-color: mat.get-color-from-palette($accent, lighter);
948
- color: mat.get-color-from-palette($primary, default-contrast);
949
- }
950
-
951
- .mat-menu-opacity-slider{
952
- box-shadow: 0 2px 4px -1px rgba(0,0,0,.5), 0 4px 5px 0 rgba(0,0,0,.15), 0 1px 10px 0 rgba(0,0,0,.4)
953
- }
954
- }
884
+ @mixin igo-feature-details-theming($theme) {
885
+ $is-dark: map-get($theme, is-dark);
886
+ $foreground: map-get($theme, foreground);
887
+ $background: map-get($theme, background);
955
888
 
956
- @mixin igo-layer-legend-theming($theme) {
957
- $primary: map-get($theme, primary);
958
-
959
- igo-layer-legend img:after {
960
- border-top-color: mat.get-color-from-palette($primary);
961
- }
962
- }
889
+ igo-feature-details > table.igo-striped tbody tr:nth-child(odd) {
890
+ background-color: mat.get-color-from-palette($background, if($is-dark, app-bar, status-bar));
891
+ color: black;
892
+ }
963
893
 
964
- @mixin igo-map-theming($theme, $typography) {
965
- @include igo-map-browser-theming($theme, $typography);
966
- @include igo-zoom-button-theming($theme);
967
- @include igo-menu-button-theming($theme);
968
- }
894
+ }
969
895
 
970
- @mixin igo-map-browser-theming($theme, $typography) {
971
- $primary: map-get($theme, primary);
972
- $is-dark: map-get($theme, is-dark);
973
-
974
- igo-map-browser div.ol-attribution > button {
975
- color: mat.get-color-from-palette($primary, if($is-dark, default-contrast, default));
976
- background-color: mat.get-color-from-palette(
977
- $primary,
978
- if($is-dark, default, default-contrast)
979
- );
980
- }
981
-
982
- igo-map-browser div.ol-attribution > ul {
983
- font-size: mat.font-size($typography, body-1);
984
- }
985
- }
896
+ @mixin igo-filter-theming($theme, $typography) {
897
+ @include igo-time-filter-form-theming($theme);
898
+ @include igo-ogc-filter-time-slider-theming($theme);
899
+ @include igo-ogc-filter-selection-theming($theme);
900
+ }
986
901
 
987
- @mixin igo-zoom-button-theming($theme) {
988
- $primary: map-get($theme, primary);
989
- $accent: map-get($theme, accent);
990
- $is-dark: map-get($theme, is-dark);
991
-
992
- igo-zoom-button > div.igo-zoom-button-container > button {
993
- &.mat-primary {
994
- color: mat.get-color-from-palette($primary, if($is-dark, default-contrast, default));
995
- background-color: mat.get-color-from-palette($primary, if($is-dark, default, default-contrast));
996
- }
997
-
998
- &.mat-accent {
999
- color: mat.get-color-from-palette($accent, if($is-dark, default-contrast, default));
1000
- background-color: mat.get-color-from-palette($accent, if($is-dark, default, default-contrast));
1001
- }
1002
- }
1003
-
1004
- }
902
+ @mixin igo-ogc-filter-selection-theming($theme) {
903
+ $primary: map-get($theme, primary);
904
+ $accent: map-get($theme, accent);
905
+ $dark: mat.define-palette(mat.$grey-palette, 800, 700, 900);
1005
906
 
1006
- @mixin igo-menu-button-theming($theme) {
1007
- $primary: map-get($theme, primary);
1008
-
1009
- igo-menu-button > #menu-button {
1010
- color: mat.get-color-from-palette($primary);
1011
- }
1012
-
1013
- igo-menu-button > #menu-button.menu-button-reverse-color-close {
1014
- background-color: mat.get-color-from-palette($primary);
1015
- color: mat.get-color-from-palette($primary, default-contrast);
1016
- }
1017
-
1018
- igo-menu-button > #menu-button.menu-button-reverse-color {
1019
- background-color: mat.get-color-from-palette($primary);
1020
- color: mat.get-color-from-palette($primary, default-contrast);
1021
- }
1022
- }
1023
-
907
+ mat-button-toggle.mat-button-toggle-checked {
908
+ background-color: mat.get-color-from-palette($accent);
909
+ color: mat.get-color-from-palette($dark);
910
+ }
1024
911
 
1025
- @mixin igo-measure-theming($theme, $typography) {
1026
- @include igo-measurer-theming($theme, $typography);
1027
- }
912
+ mat-button-toggle {
913
+ color: black !important;
914
+ }
915
+ }
1028
916
 
1029
- @mixin igo-measurer-theming($theme, $typography) {
1030
- $foreground: map-get($theme, foreground);
1031
-
1032
- .igo-map-tooltip {
1033
- position: relative;
1034
- border-radius: 4px;
1035
- padding: 4px 8px;
1036
- white-space: nowrap;
1037
- }
1038
-
1039
- .igo-map-tooltip-measure {
1040
- background-color: rgba(255, 204, 51, 0.7);
1041
- border: 1px solid rgb(255, 205, 51);
1042
- color: black;
1043
- font-weight: bold;
1044
- font-size: mat.font-size($typography, subheading-2);
1045
- }
1046
- .igo-map-tooltip-hidden {
1047
- display: none;
1048
- }
1049
- .igo-map-tooltip-measure-by-display{
1050
- display: none;
1051
- }
1052
- }
917
+ @mixin igo-ogc-filter-time-slider-theming($theme) {
918
+ $primary: map-get($theme, primary);
919
+ $color: mat.define-palette(mat.$yellow-palette);
1053
920
 
1054
- @mixin igo-workspace-theming($theme, $typography) {
1055
- @include igo-confirmation-popup-theming($theme, $typography);
1056
- }
921
+ .mat-slider-thumb-label {
922
+ transform: rotate(45deg) !important;
923
+ border-radius: 50% 50% 0 !important;
924
+ }
925
+ }
1057
926
 
1058
- @mixin igo-confirmation-popup-theming($theme, $typography) {
1059
- $foreground: map-get($theme, foreground);
1060
-
1061
- igo-confirmation-popup-component {
1062
- h1 {
1063
- font-size: mat.font-size($typography, display-1);
1064
- font-family: Roboto, "Helvetica Neue", sans-serif;
1065
- }
1066
- }
1067
- }
1068
-
1069
- .blue-theme {
1070
- $primary: mat.define-palette(mat.$blue-palette, 700, 400, 900);
1071
- $accent: mat.define-palette(mat.$blue-palette, 200);
1072
- $warn: mat.define-palette(mat.$red-palette);
1073
-
1074
- $temp-theme: mat.define-light-theme((
1075
- color: (
1076
- primary: $primary,
1077
- accent: $accent,
1078
- warn: $warn
1079
- )
1080
- ));
1081
-
1082
- $foreground: theme-foreground(mat.define-palette(mat.$grey-palette, 900));
1083
- $theme: map-merge($temp-theme, (foreground: $foreground));
1084
-
1085
- @include igo-all-theming($theme);
1086
- @include mat.all-component-colors($theme);
1087
- }
927
+ @mixin igo-time-filter-form-theming($theme) {
928
+ $primary: map-get($theme, primary);
929
+
930
+ mat-datetimepicker-calendar > div.mat-datetimepicker-calendar-header {
931
+ color: mat.get-color-from-palette($primary);
932
+ }
933
+
934
+ mat-datetimepicker-calendar > div.mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-body-active {
935
+ background-color: mat.get-color-from-palette($primary, lighter);
936
+ border-radius: 100%;
937
+ }
938
+ }
939
+
940
+ @mixin igo-layer-theming($theme) {
941
+ $primary: map-get($theme, primary);
942
+ $accent: map-get($theme, accent);
943
+
944
+ @include igo-layer-legend-theming($theme);
945
+
946
+ igo-layer-item.igo-layer-item-focused > mat-list-item {
947
+ background-color: mat.get-color-from-palette($accent, lighter);
948
+ color: mat.get-color-from-palette($primary, default-contrast);
949
+ }
950
+
951
+ .mat-menu-opacity-slider{
952
+ box-shadow: 0 2px 4px -1px rgba(0,0,0,.5), 0 4px 5px 0 rgba(0,0,0,.15), 0 1px 10px 0 rgba(0,0,0,.4)
953
+ }
954
+ }
955
+
956
+ @mixin igo-layer-legend-theming($theme) {
957
+ $primary: map-get($theme, primary);
958
+
959
+ igo-layer-legend img:after {
960
+ border-top-color: mat.get-color-from-palette($primary);
961
+ }
962
+ }
963
+
964
+ @mixin igo-map-theming($theme, $typography) {
965
+ @include igo-map-browser-theming($theme, $typography);
966
+ @include igo-zoom-button-theming($theme);
967
+ @include igo-menu-button-theming($theme);
968
+ }
969
+
970
+ @mixin igo-map-browser-theming($theme, $typography) {
971
+ $primary: map-get($theme, primary);
972
+ $is-dark: map-get($theme, is-dark);
973
+
974
+ igo-map-browser div.ol-attribution > button {
975
+ color: mat.get-color-from-palette($primary, if($is-dark, default-contrast, default));
976
+ background-color: mat.get-color-from-palette(
977
+ $primary,
978
+ if($is-dark, default, default-contrast)
979
+ );
980
+ }
981
+
982
+ igo-map-browser div.ol-attribution > ul {
983
+ font-size: mat.font-size($typography, body-1);
984
+ }
985
+ }
986
+
987
+ @mixin igo-zoom-button-theming($theme) {
988
+ $primary: map-get($theme, primary);
989
+ $accent: map-get($theme, accent);
990
+ $is-dark: map-get($theme, is-dark);
991
+
992
+ igo-zoom-button > div.igo-zoom-button-container > button {
993
+ &.mat-primary {
994
+ color: mat.get-color-from-palette($primary, if($is-dark, default-contrast, default));
995
+ background-color: mat.get-color-from-palette($primary, if($is-dark, default, default-contrast));
996
+ }
997
+
998
+ &.mat-accent {
999
+ color: mat.get-color-from-palette($accent, if($is-dark, default-contrast, default));
1000
+ background-color: mat.get-color-from-palette($accent, if($is-dark, default, default-contrast));
1001
+ }
1002
+ }
1003
+
1004
+ }
1005
+
1006
+ @mixin igo-menu-button-theming($theme) {
1007
+ $primary: map-get($theme, primary);
1008
+
1009
+ igo-menu-button > #menu-button {
1010
+ color: mat.get-color-from-palette($primary);
1011
+ }
1012
+
1013
+ igo-menu-button > #menu-button.menu-button-reverse-color-close {
1014
+ background-color: mat.get-color-from-palette($primary);
1015
+ color: mat.get-color-from-palette($primary, default-contrast);
1016
+ }
1017
+
1018
+ igo-menu-button > #menu-button.menu-button-reverse-color {
1019
+ background-color: mat.get-color-from-palette($primary);
1020
+ color: mat.get-color-from-palette($primary, default-contrast);
1021
+ }
1022
+ }
1023
+
1024
+
1025
+ @mixin igo-measure-theming($theme, $typography) {
1026
+ @include igo-measurer-theming($theme, $typography);
1027
+ }
1028
+
1029
+ @mixin igo-measurer-theming($theme, $typography) {
1030
+ $foreground: map-get($theme, foreground);
1031
+
1032
+ .igo-map-tooltip {
1033
+ position: relative;
1034
+ border-radius: 4px;
1035
+ padding: 4px 8px;
1036
+ white-space: nowrap;
1037
+ }
1038
+
1039
+ .igo-map-tooltip-measure {
1040
+ background-color: rgba(255, 204, 51, 0.7);
1041
+ border: 1px solid rgb(255, 205, 51);
1042
+ color: black;
1043
+ font-weight: bold;
1044
+ font-size: mat.font-size($typography, subheading-2);
1045
+ }
1046
+ .igo-map-tooltip-hidden {
1047
+ display: none;
1048
+ }
1049
+ .igo-map-tooltip-measure-by-display{
1050
+ display: none;
1051
+ }
1052
+ }
1053
+
1054
+ @mixin igo-workspace-theming($theme, $typography) {
1055
+ @include igo-confirmation-popup-theming($theme, $typography);
1056
+ }
1057
+
1058
+ @mixin igo-confirmation-popup-theming($theme, $typography) {
1059
+ $foreground: map-get($theme, foreground);
1060
+
1061
+ igo-confirmation-popup-component {
1062
+ h1 {
1063
+ font-size: mat.font-size($typography, display-1);
1064
+ font-family: Roboto, "Helvetica Neue", sans-serif;
1065
+ }
1066
+ }
1067
+ }
1068
+
1069
+ .blue-theme {
1070
+ $primary: mat.define-palette(mat.$blue-palette, 700, 400, 900);
1071
+ $accent: mat.define-palette(mat.$blue-palette, 200);
1072
+ $warn: mat.define-palette(mat.$red-palette);
1073
+
1074
+ $temp-theme: mat.define-light-theme((
1075
+ color: (
1076
+ primary: $primary,
1077
+ accent: $accent,
1078
+ warn: $warn
1079
+ )
1080
+ ));
1081
+
1082
+ $foreground: theme-foreground(mat.define-palette(mat.$grey-palette, 900));
1083
+ $theme: map-merge($temp-theme, (foreground: $foreground));
1084
+
1085
+ @include igo-all-theming($theme);
1086
+ @include mat.all-component-colors($theme);
1087
+ }
1088
+
1089
+ .bluedq-theme {
1090
+ $dq-palette: (
1091
+ 50 : #e3eaec,
1092
+ 100 : #b9cad0,
1093
+ 200 : #8ba7b1,
1094
+ 300 : #5c8391,
1095
+ 400 : #39697a,
1096
+ 500 : #164e62,
1097
+ 600 : #13475a,
1098
+ 700 : #103d50,
1099
+ 800 : #0c3546,
1100
+ 900 : #062534,
1101
+ A100 : #6dc6ff,
1102
+ A200 : #3ab2ff,
1103
+ A400 : #079eff,
1104
+ A700 : #0090ec,
1105
+ contrast: (
1106
+ 50 : #000000,
1107
+ 100 : #000000,
1108
+ 200 : #000000,
1109
+ 300 : #ffffff,
1110
+ 400 : #ffffff,
1111
+ 500 : #ffffff,
1112
+ 600 : #ffffff,
1113
+ 700 : #ffffff,
1114
+ 800 : #ffffff,
1115
+ 900 : #ffffff,
1116
+ A100 : #000000,
1117
+ A200 : #000000,
1118
+ A400 : #ffffff,
1119
+ A700 : #ffffff,
1120
+ )
1121
+ );
1088
1122
 
1089
- .bluedq-theme {
1090
- $dq-palette: (
1091
- 50 : #e3eaec,
1092
- 100 : #b9cad0,
1093
- 200 : #8ba7b1,
1094
- 300 : #5c8391,
1095
- 400 : #39697a,
1096
- 500 : #164e62,
1097
- 600 : #13475a,
1098
- 700 : #103d50,
1099
- 800 : #0c3546,
1100
- 900 : #062534,
1101
- A100 : #6dc6ff,
1102
- A200 : #3ab2ff,
1103
- A400 : #079eff,
1104
- A700 : #0090ec,
1123
+ $primary: mat.define-palette($dq-palette, 500);
1124
+ $accent: mat.define-palette($dq-palette, 200);
1125
+ $warn: mat.define-palette(mat.$red-palette);
1126
+
1127
+ $temp-theme: mat.define-light-theme((
1128
+ color: (
1129
+ primary: $primary,
1130
+ accent: $accent,
1131
+ warn: $warn
1132
+ )
1133
+ ));
1134
+
1135
+ $foreground: theme-foreground(mat.define-palette(mat.$grey-palette, 900));
1136
+ $theme: map-merge($temp-theme, (foreground: $foreground));
1137
+
1138
+ @include igo-all-theming($theme);
1139
+ @include mat.all-component-colors($theme);
1140
+ }
1141
+
1142
+ .bluegrey-theme {
1143
+ $primary: mat.define-palette(mat.$blue-grey-palette);
1144
+ $accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
1145
+ $warn: mat.define-palette(mat.$deep-orange-palette);
1146
+
1147
+ $theme: mat.define-light-theme((
1148
+ color: (
1149
+ primary: $primary,
1150
+ accent: $accent,
1151
+ warn: $warn
1152
+ )
1153
+ ));
1154
+
1155
+ @include igo-all-theming($theme);
1156
+ @include mat.all-component-colors($theme);
1157
+ }
1158
+
1159
+ .deeppurple-theme {
1160
+ $primary: mat.define-palette(mat.$deep-purple-palette);
1161
+ $accent: mat.define-palette(mat.$amber-palette, A200, A100, A400);
1162
+ $warn: mat.define-palette(mat.$red-palette);
1163
+
1164
+ $theme: mat.define-light-theme((
1165
+ color: (
1166
+ primary: $primary,
1167
+ accent: $accent,
1168
+ warn: $warn
1169
+ )
1170
+ ));
1171
+
1172
+ @include igo-all-theming($theme);
1173
+ @include mat.all-component-colors($theme);
1174
+ }
1175
+
1176
+ .indigo-theme {
1177
+ $primary: mat.define-palette(mat.$indigo-palette);
1178
+ $accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
1179
+ $warn: mat.define-palette(mat.$red-palette);
1180
+
1181
+ $theme: mat.define-light-theme((
1182
+ color: (
1183
+ primary: $primary,
1184
+ accent: $accent,
1185
+ warn: $warn
1186
+ )
1187
+ ));
1188
+
1189
+ @include igo-all-theming($theme);
1190
+ @include mat.all-component-colors($theme);
1191
+ }
1192
+
1193
+ .orange-theme {
1194
+ $primary: mat.define-palette(mat.$orange-palette, 800);
1195
+ $accent: mat.define-palette(mat.$light-blue-palette, 600, 100, 800);
1196
+ $warn: mat.define-palette(mat.$red-palette, 600);
1197
+
1198
+ $theme: mat.define-light-theme((
1199
+ color: (
1200
+ primary: $primary,
1201
+ accent: $accent,
1202
+ warn: $warn
1203
+ )
1204
+ ));
1205
+
1206
+ @include igo-all-theming($theme);
1207
+ @include mat.all-component-colors($theme);
1208
+ }
1209
+
1210
+ .dark-theme {
1211
+ $primary: mat.define-palette(mat.$blue-grey-palette);
1212
+ $accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
1213
+ $warn: mat.define-palette(mat.$deep-orange-palette);
1214
+
1215
+ $theme: mat.define-dark-theme((
1216
+ color: (
1217
+ primary: $primary,
1218
+ accent: $accent,
1219
+ warn: $warn
1220
+ )
1221
+ ));
1222
+
1223
+ @include igo-all-theming($theme);
1224
+ @include mat.all-component-colors($theme);
1225
+ }
1226
+
1227
+ .teal-theme {
1228
+ $primary: mat.define-palette(mat.$teal-palette, 600, 400, 900);
1229
+ $accent: mat.define-palette(mat.$teal-palette, 400);
1230
+ $warn: mat.define-palette(mat.$red-palette);
1231
+
1232
+ $theme: mat.define-light-theme((
1233
+ color: (
1234
+ primary: $primary,
1235
+ accent: $accent,
1236
+ warn: $warn
1237
+ )
1238
+ ));
1239
+
1240
+ @include igo-all-theming($theme);
1241
+ @include mat.all-component-colors($theme);
1242
+ }
1243
+
1244
+ .qcca-theme {
1245
+ $qcca-palette: (
1246
+ 50: #f2f1f1,
1247
+ 100: #dae6f0, //lighter ex: list on focus
1248
+ 200: #dae6f0,
1249
+ 300: #509FDF,
1250
+ 400: #0D7DD9,
1251
+ 500: #095797, //default
1252
+ 600: #0A60A6,
1253
+ 700: #223654, // darker
1254
+ 800: #cb381f,
1255
+ 900: #4f813d,
1256
+ A100: #1479cc,
1257
+ A200: #1479cc,
1258
+ A400: #dae6f0,
1259
+ A700: #f2f1f1,
1105
1260
  contrast: (
1106
- 50 : #000000,
1107
- 100 : #000000,
1108
- 200 : #000000,
1109
- 300 : #ffffff,
1110
- 400 : #ffffff,
1111
- 500 : #ffffff,
1112
- 600 : #ffffff,
1113
- 700 : #ffffff,
1114
- 800 : #ffffff,
1115
- 900 : #ffffff,
1116
- A100 : #000000,
1117
- A200 : #000000,
1118
- A400 : #ffffff,
1119
- A700 : #ffffff,
1261
+ 50: #223654,
1262
+ 100: #223654,
1263
+ 200: #223654,
1264
+ 300: #fff,
1265
+ 400: #fff,
1266
+ 500: #fff,
1267
+ 600: #fff,
1268
+ 700: #fff,
1269
+ 800: #fff,
1270
+ 900: #fff,
1271
+ A100: #fff,
1272
+ A200: #fff,
1273
+ A400: #223654,
1274
+ A700: #223654,
1120
1275
  )
1121
- );
1276
+ );
1122
1277
 
1123
- $primary: mat.define-palette($dq-palette, 500);
1124
- $accent: mat.define-palette($dq-palette, 200);
1125
- $warn: mat.define-palette(mat.$red-palette);
1278
+ $primary: mat.define-palette($qcca-palette, 500, 400, 700);
1279
+ $accent: mat.define-palette($qcca-palette, 400, 100, 700);
1280
+ $warn: mat.define-palette($qcca-palette, 800);
1281
+ $success: mat.define-palette($qcca-palette, 900);
1282
+ $background: mat.define-palette($qcca-palette, 100, 100, 100);
1283
+ $foreground: mat.define-palette($qcca-palette, 700, 700, 700);
1126
1284
 
1127
1285
  $temp-theme: mat.define-light-theme((
1128
1286
  color: (
1129
1287
  primary: $primary,
1130
1288
  accent: $accent,
1131
- warn: $warn
1289
+ warn: $warn,
1290
+ success: $success,
1291
+ background: $background
1132
1292
  )
1133
1293
  ));
1134
1294
 
1135
- $foreground: theme-foreground(mat.define-palette(mat.$grey-palette, 900));
1295
+ $theme-foreground: (
1296
+ base: #223654,
1297
+ divider: #f2f1f1,
1298
+ dividers: #f2f1f1,
1299
+ disabled: #f2f1f1,
1300
+ disabled-button: #f2f1f1,
1301
+ disabled-text: #f2f1f1,
1302
+ hint-text: #f2f1f1,
1303
+ secondary-text: #f2f1f1,
1304
+ icon: #f2f1f1,
1305
+ icons: #f2f1f1,
1306
+ text: #223654,
1307
+ slider-min: #f2f1f1,
1308
+ slider-off: #f2f1f1,
1309
+ slider-off-active: #f2f1f1,
1310
+ );
1311
+
1312
+ $foreground: theme-foreground(mat.define-palette($qcca-palette, 500, 100, 700));
1136
1313
  $theme: map-merge($temp-theme, (foreground: $foreground));
1137
1314
 
1315
+ @include mat.core($theme);
1138
1316
  @include igo-all-theming($theme);
1139
1317
  @include mat.all-component-colors($theme);
1318
+ @include mat.strong-focus-indicators-theme($theme);
1140
1319
  }
1141
-
1142
- .bluegrey-theme {
1143
- $primary: mat.define-palette(mat.$blue-grey-palette);
1144
- $accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
1145
- $warn: mat.define-palette(mat.$deep-orange-palette);
1146
1320
 
1147
- $theme: mat.define-light-theme((
1148
- color: (
1149
- primary: $primary,
1150
- accent: $accent,
1151
- warn: $warn
1152
- )
1153
- ));
1321
+ //
1322
+ // Plus imports for other components in your app.
1154
1323
 
1155
- @include igo-all-theming($theme);
1156
- @include mat.all-component-colors($theme);
1157
- }
1158
-
1159
- .deeppurple-theme {
1160
- $primary: mat.define-palette(mat.$deep-purple-palette);
1161
- $accent: mat.define-palette(mat.$amber-palette, A200, A100, A400);
1162
- $warn: mat.define-palette(mat.$red-palette);
1324
+ // Include the common styles for Angular Material. We include this here so that you only
1325
+ // have to load a single css file for Angular Material in your app.
1326
+ // Be sure that you only ever include this mixin once!
1327
+ //@include mat-core();
1163
1328
 
1164
- $theme: mat.define-light-theme((
1165
- color: (
1166
- primary: $primary,
1167
- accent: $accent,
1168
- warn: $warn
1169
- )
1170
- ));
1329
+ // Define the palettes for your theme using the Material Design palettes available in palette.scss
1330
+ // (imported above). For each palette, you can optionally specify a default, lighter, and darker
1331
+ // hue. Available color palettes: https://material.io/design/color/
1171
1332
 
1172
- @include igo-all-theming($theme);
1173
- @include mat.all-component-colors($theme);
1174
- }
1175
-
1176
- .indigo-theme {
1177
- $primary: mat.define-palette(mat.$indigo-palette);
1178
- $accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
1179
- $warn: mat.define-palette(mat.$red-palette);
1180
-
1181
- $theme: mat.define-light-theme((
1182
- color: (
1183
- primary: $primary,
1184
- accent: $accent,
1185
- warn: $warn
1186
- )
1187
- ));
1188
-
1189
- @include igo-all-theming($theme);
1190
- @include mat.all-component-colors($theme);
1191
- }
1192
-
1193
- .orange-theme {
1194
- $primary: mat.define-palette(mat.$orange-palette, 800);
1195
- $accent: mat.define-palette(mat.$light-blue-palette, 600, 100, 800);
1196
- $warn: mat.define-palette(mat.$red-palette, 600);
1197
-
1198
- $theme: mat.define-light-theme((
1199
- color: (
1200
- primary: $primary,
1201
- accent: $accent,
1202
- warn: $warn
1203
- )
1204
- ));
1205
-
1206
- @include igo-all-theming($theme);
1207
- @include mat.all-component-colors($theme);
1208
- }
1209
-
1210
- .dark-theme {
1211
- $primary: mat.define-palette(mat.$blue-grey-palette);
1212
- $accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
1213
- $warn: mat.define-palette(mat.$deep-orange-palette);
1214
-
1215
- $theme: mat.define-dark-theme((
1216
- color: (
1217
- primary: $primary,
1218
- accent: $accent,
1219
- warn: $warn
1220
- )
1221
- ));
1222
-
1223
- @include igo-all-theming($theme);
1224
- @include mat.all-component-colors($theme);
1225
- }
1226
-
1227
- .teal-theme {
1228
- $primary: mat.define-palette(mat.$teal-palette, 600, 400, 900);
1229
- $accent: mat.define-palette(mat.$teal-palette, 400);
1230
- $warn: mat.define-palette(mat.$red-palette);
1333
+ // Include theme styles for core and each component used in your app.
1334
+ // Alternatively, you can import and @include the theme mixins for each component
1335
+ // that you are using.
1336
+ //@include angular-material-theme($theme);
1231
1337
 
1232
- $theme: mat.define-light-theme((
1233
- color: (
1234
- primary: $primary,
1235
- accent: $accent,
1236
- warn: $warn
1237
- )
1238
- ));
1239
-
1240
- @include igo-all-theming($theme);
1241
- @include mat.all-component-colors($theme);
1338
+ /* For the non-Angular Material items */
1339
+ body {
1340
+ color: #223654;
1242
1341
  }