@igo2/common 16.1.1 → 16.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/esm2022/lib/action/actionbar/actionbar-item.component.mjs +3 -3
  2. package/esm2022/lib/action/actionbar/actionbar.component.mjs +3 -3
  3. package/esm2022/lib/action/shared/action.interfaces.mjs +1 -1
  4. package/esm2022/lib/action/shared/store.mjs +1 -1
  5. package/esm2022/lib/backdrop/backdrop.component.mjs +3 -3
  6. package/esm2022/lib/clickout/clickout.directive.mjs +1 -1
  7. package/esm2022/lib/collapsible/collapsible.component.mjs +3 -3
  8. package/esm2022/lib/collapsible/index.mjs +1 -1
  9. package/esm2022/lib/color-picker-form-field/color-picker-form-field.component.mjs +3 -3
  10. package/esm2022/lib/color-picker-form-field/index.mjs +1 -1
  11. package/esm2022/lib/confirm-dialog/confirm-dialog.component.mjs +3 -3
  12. package/esm2022/lib/confirm-dialog/confirm-dialog.interface.mjs +1 -1
  13. package/esm2022/lib/confirm-dialog/index.mjs +1 -1
  14. package/esm2022/lib/context-menu/index.mjs +1 -1
  15. package/esm2022/lib/custom-html/custom-html.component.mjs +1 -1
  16. package/esm2022/lib/custom-html/index.mjs +1 -1
  17. package/esm2022/lib/dom/dom.service.mjs +1 -1
  18. package/esm2022/lib/dynamic-component/shared/dynamic-component.mjs +1 -1
  19. package/esm2022/lib/dynamic-component/shared/dynamic-component.service.mjs +1 -1
  20. package/esm2022/lib/entity/entity-selector/entity-selector.component.mjs +3 -3
  21. package/esm2022/lib/entity/entity-table/entity-table.component.mjs +3 -3
  22. package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.component.mjs +3 -3
  23. package/esm2022/lib/entity/entity-table-paginator/entity-table-paginator.interface.mjs +1 -1
  24. package/esm2022/lib/entity/index.mjs +1 -1
  25. package/esm2022/lib/entity/shared/entity.interfaces.mjs +1 -1
  26. package/esm2022/lib/entity/shared/entity.utils.mjs +1 -1
  27. package/esm2022/lib/entity/shared/index.mjs +1 -2
  28. package/esm2022/lib/entity/shared/state.mjs +1 -1
  29. package/esm2022/lib/entity/shared/store.mjs +67 -1
  30. package/esm2022/lib/entity/shared/strategies/filter-custom-function.mjs +1 -1
  31. package/esm2022/lib/entity/shared/strategies/filter-selection.mjs +1 -1
  32. package/esm2022/lib/entity/shared/strategies/strategy.mjs +1 -1
  33. package/esm2022/lib/entity/shared/transaction.mjs +1 -1
  34. package/esm2022/lib/entity/shared/view.mjs +1 -1
  35. package/esm2022/lib/entity/shared/watcher.mjs +1 -1
  36. package/esm2022/lib/environment/environment.interface.mjs +1 -1
  37. package/esm2022/lib/environment/index.mjs +1 -1
  38. package/esm2022/lib/flexible/flexible.component.mjs +3 -3
  39. package/esm2022/lib/form/form/form.component.mjs +3 -3
  40. package/esm2022/lib/form/form-field/form-field-select.component.mjs +3 -3
  41. package/esm2022/lib/form/form-field/form-field-text.component.mjs +3 -3
  42. package/esm2022/lib/form/form-field/form-field-textarea.component.mjs +3 -3
  43. package/esm2022/lib/form/form-field/form-field.component.mjs +3 -3
  44. package/esm2022/lib/form/form-field/index.mjs +1 -1
  45. package/esm2022/lib/form/form-group/form-group.component.mjs +3 -3
  46. package/esm2022/lib/form/index.mjs +1 -1
  47. package/esm2022/lib/form/shared/form-field.service.mjs +1 -1
  48. package/esm2022/lib/form/shared/form.interfaces.mjs +1 -1
  49. package/esm2022/lib/form/shared/form.service.mjs +1 -1
  50. package/esm2022/lib/form/shared/form.utils.mjs +1 -1
  51. package/esm2022/lib/form-dialog/form-dialog.component.mjs +3 -3
  52. package/esm2022/lib/form-dialog/form-dialog.interface.mjs +1 -1
  53. package/esm2022/lib/form-dialog/form-dialog.service.mjs +1 -1
  54. package/esm2022/lib/form-dialog/index.mjs +1 -1
  55. package/esm2022/lib/home-button/home-button.component.mjs +3 -3
  56. package/esm2022/lib/image/index.mjs +1 -1
  57. package/esm2022/lib/interactive-tour/interactive-tour.component.mjs +3 -3
  58. package/esm2022/lib/interactive-tour/interactive-tour.interface.mjs +1 -1
  59. package/esm2022/lib/interactive-tour/interactive-tour.loader.mjs +1 -1
  60. package/esm2022/lib/json-dialog/json-dialog.component.mjs +3 -3
  61. package/esm2022/lib/json-dialog/json-dialog.service.mjs +1 -1
  62. package/esm2022/lib/keyvalue/keyvalue.pipe.mjs +1 -1
  63. package/esm2022/lib/list/index.mjs +1 -1
  64. package/esm2022/lib/list/list.component.mjs +3 -3
  65. package/esm2022/lib/panel/panel.component.mjs +3 -3
  66. package/esm2022/lib/select-value-dialog/index.mjs +1 -1
  67. package/esm2022/lib/select-value-dialog/select-value-check-radio-dialog.component.mjs +3 -3
  68. package/esm2022/lib/select-value-dialog/select-value-dialog.enums.mjs +1 -1
  69. package/esm2022/lib/select-value-dialog/select-value-dialog.interface.mjs +1 -1
  70. package/esm2022/lib/select-value-dialog/select-value-dialog.service.mjs +1 -1
  71. package/esm2022/lib/spinner/index.mjs +1 -1
  72. package/esm2022/lib/spinner/spinner.component.mjs +3 -3
  73. package/esm2022/lib/stop-propagation/index.mjs +1 -1
  74. package/esm2022/lib/stop-propagation/stop-drop-propagation.directive.mjs +1 -1
  75. package/esm2022/lib/stop-propagation/stop-propagation.directive.mjs +1 -1
  76. package/esm2022/lib/table/table-datasource.mjs +1 -1
  77. package/esm2022/lib/table/table-model.interface.mjs +1 -1
  78. package/esm2022/lib/table/table.component.mjs +3 -3
  79. package/esm2022/lib/tool/shared/tool-component.mjs +1 -1
  80. package/esm2022/lib/tool/shared/toolbox.mjs +1 -1
  81. package/esm2022/lib/tool/toolbox/toolbox.animation.mjs +1 -1
  82. package/esm2022/lib/tool/toolbox/toolbox.component.mjs +3 -3
  83. package/esm2022/lib/widget/shared/widget.service.mjs +1 -1
  84. package/esm2022/lib/widget/widget-outlet/widget-outlet.component.mjs +3 -3
  85. package/esm2022/lib/workspace/index.mjs +1 -1
  86. package/esm2022/lib/workspace/shared/store.mjs +1 -1
  87. package/esm2022/lib/workspace/shared/workspace.interfaces.mjs +1 -1
  88. package/esm2022/lib/workspace/shared/workspace.mjs +1 -1
  89. package/esm2022/lib/workspace/workspace-selector/workspace-selector.component.mjs +3 -3
  90. package/esm2022/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.mjs +3 -3
  91. package/fesm2022/igo2-common.mjs +125 -131
  92. package/fesm2022/igo2-common.mjs.map +1 -1
  93. package/lib/entity/shared/index.d.ts +0 -1
  94. package/lib/entity/shared/store.d.ts +33 -0
  95. package/lib/entity/shared/strategies/strategy.d.ts +1 -1
  96. package/lib/workspace/shared/workspace.d.ts +2 -2
  97. package/locale/en.common.json +59 -59
  98. package/locale/fr.common.json +59 -59
  99. package/package.json +3 -3
  100. package/src/common-theme.scss +19 -19
  101. package/src/lib/action/action.theming.scss +5 -5
  102. package/src/lib/action/actionbar/actionbar-item.theming.scss +32 -32
  103. package/src/lib/action/actionbar/actionbar.theming.scss +22 -22
  104. package/src/lib/collapsible/collapsible.theming.scss +22 -22
  105. package/src/lib/entity/entity-selector/entity-selector.theming.scss +21 -21
  106. package/src/lib/entity/entity-table/entity-table.theming.scss +37 -37
  107. package/src/lib/entity/entity.theming.scss +7 -7
  108. package/src/lib/home-button/home-button.theming.scss +18 -18
  109. package/src/lib/interactive-tour/interactive-tour.theming.scss +32 -32
  110. package/src/lib/list/list.theming.scss +58 -58
  111. package/src/lib/panel/panel.theming.scss +30 -30
  112. package/src/lib/tool/tool.theming.scss +5 -5
  113. package/src/lib/tool/toolbox/toolbox.theming.scss +105 -105
  114. package/src/style/partial/common-utils.scss +9 -9
  115. package/src/style/partial/common.variables.scss +8 -8
  116. package/src/style/style.scss +1 -1
  117. package/esm2022/lib/entity/shared/store-strategy.mjs +0 -73
  118. package/lib/entity/shared/store-strategy.d.ts +0 -38
@@ -1,37 +1,37 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include color($theme);
6
- @include density($theme);
7
- }
8
-
9
- @mixin color($theme) {
10
- $primary: map.get($theme, primary);
11
- $accent: map.get($theme, accent);
12
- $background: map-get($theme, background);
13
- igo-entity-table
14
- table.igo-entity-table-with-selection
15
- tr.igo-entity-table-row-highlighted {
16
- background-color: mat.get-color-from-palette($primary, A100);
17
- color: mat.get-color-from-palette($primary, default-contrast);
18
- }
19
- igo-entity-table .mat-mdc-table thead {
20
- background-color: mat.get-color-from-palette($background, background);
21
- }
22
- }
23
-
24
- @mixin density($theme) {
25
- $density: mat.get-density-config($theme);
26
-
27
- $theme: map.merge(
28
- $theme,
29
- (
30
- density: $density - 1
31
- )
32
- );
33
-
34
- igo-entity-table {
35
- @include mat.table-density($theme);
36
- }
37
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @mixin theme($theme) {
5
+ @include color($theme);
6
+ @include density($theme);
7
+ }
8
+
9
+ @mixin color($theme) {
10
+ $primary: map.get($theme, primary);
11
+ $accent: map.get($theme, accent);
12
+ $background: map-get($theme, background);
13
+ igo-entity-table
14
+ table.igo-entity-table-with-selection
15
+ tr.igo-entity-table-row-highlighted {
16
+ background-color: mat.get-color-from-palette($primary, A100);
17
+ color: mat.get-color-from-palette($primary, default-contrast);
18
+ }
19
+ igo-entity-table .mat-mdc-table thead {
20
+ background-color: mat.get-color-from-palette($background, background);
21
+ }
22
+ }
23
+
24
+ @mixin density($theme) {
25
+ $density: mat.get-density-config($theme);
26
+
27
+ $theme: map.merge(
28
+ $theme,
29
+ (
30
+ density: $density - 1
31
+ )
32
+ );
33
+
34
+ igo-entity-table {
35
+ @include mat.table-density($theme);
36
+ }
37
+ }
@@ -1,7 +1,7 @@
1
- @use './entity-table/entity-table.theming' as entity-table;
2
- @use './entity-selector/entity-selector.theming' as entity-selector;
3
-
4
- @mixin igo-entity-theming($theme) {
5
- @include entity-table.theme($theme);
6
- @include entity-selector.theme($theme);
7
- }
1
+ @use './entity-table/entity-table.theming' as entity-table;
2
+ @use './entity-selector/entity-selector.theming' as entity-selector;
3
+
4
+ @mixin igo-entity-theming($theme) {
5
+ @include entity-table.theme($theme);
6
+ @include entity-selector.theme($theme);
7
+ }
@@ -1,18 +1,18 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- $primary: map.get($theme, primary);
6
- $accent: map.get($theme, accent);
7
- $foreground: map.get($theme, foreground);
8
-
9
- igo-home-button > #homeButton {
10
- background-color: mat.get-color-from-palette($primary);
11
- color: mat.get-color-from-palette($primary, default-contrast);
12
-
13
- &:hover {
14
- background-color: mat.get-color-from-palette($accent, lighter);
15
- color: black;
16
- }
17
- }
18
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @mixin theme($theme) {
5
+ $primary: map.get($theme, primary);
6
+ $accent: map.get($theme, accent);
7
+ $foreground: map.get($theme, foreground);
8
+
9
+ igo-home-button > #homeButton {
10
+ background-color: mat.get-color-from-palette($primary);
11
+ color: mat.get-color-from-palette($primary, default-contrast);
12
+
13
+ &:hover {
14
+ background-color: mat.get-color-from-palette($accent, lighter);
15
+ color: black;
16
+ }
17
+ }
18
+ }
@@ -1,32 +1,32 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include color($theme);
6
- }
7
-
8
- @mixin color($theme) {
9
- $primary: map.get($theme, primary);
10
- $accent: map.get($theme, accent);
11
- $warn: map.get($theme, warn);
12
-
13
- igo-interactive-tour {
14
- button {
15
- &.tour-button-tool-icon {
16
- color: mat.get-color-from-palette($primary, darker-contrast);
17
-
18
- &:hover {
19
- background-color: mat.get-color-from-palette(
20
- $primary,
21
- default-contrast
22
- );
23
- color: mat.get-color-from-palette($primary);
24
- }
25
- }
26
- }
27
-
28
- .mat-primary .mat-mdc-icon-button {
29
- color: white;
30
- }
31
- }
32
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @mixin theme($theme) {
5
+ @include color($theme);
6
+ }
7
+
8
+ @mixin color($theme) {
9
+ $primary: map.get($theme, primary);
10
+ $accent: map.get($theme, accent);
11
+ $warn: map.get($theme, warn);
12
+
13
+ igo-interactive-tour {
14
+ button {
15
+ &.tour-button-tool-icon {
16
+ color: mat.get-color-from-palette($primary, darker-contrast);
17
+
18
+ &:hover {
19
+ background-color: mat.get-color-from-palette(
20
+ $primary,
21
+ default-contrast
22
+ );
23
+ color: mat.get-color-from-palette($primary);
24
+ }
25
+ }
26
+ }
27
+
28
+ .mat-primary .mat-mdc-icon-button {
29
+ color: white;
30
+ }
31
+ }
32
+ }
@@ -1,58 +1,58 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin igo-list-theming($theme) {
5
- $primary: map.get($theme, primary);
6
- $accent: map.get($theme, accent);
7
- @include density($theme);
8
-
9
- igo-list {
10
- [igolistitem] {
11
- &[color='primary'] {
12
- &.igo-list-item-selected > mat-list-item {
13
- background-color: mat.get-color-from-palette($primary);
14
- color: mat.get-color-from-palette($primary, default-contrast);
15
- }
16
- &:not(.igo-list-item-disabled):hover > mat-list-item,
17
- &.igo-list-item-focused > mat-list-item {
18
- background-color: mat.get-color-from-palette($primary, lighter);
19
- color: mat.get-color-from-palette($primary, default-contrast);
20
- }
21
- }
22
-
23
- &[color='accent'] {
24
- &.igo-list-item-selected > mat-list-item {
25
- background-color: mat.get-color-from-palette($accent);
26
- color: mat.get-color-from-palette($accent, default-contrast);
27
- }
28
-
29
- &:not(.igo-list-item-disabled):hover > mat-list-item,
30
- &.igo-list-item-focused > mat-list-item {
31
- background-color: mat.get-color-from-palette($accent, lighter);
32
- color: mat.get-color-from-palette($accent, default-contrast);
33
- }
34
- }
35
-
36
- &.igo-list-item-disabled > mat-list-item {
37
- color: rgba(0, 0, 0, 0.38);
38
- }
39
- }
40
- }
41
- }
42
-
43
- @mixin density($theme) {
44
- $density: mat.get-density-config($theme);
45
-
46
- $theme: map.merge(
47
- $theme,
48
- (
49
- density: $density
50
- )
51
- );
52
-
53
- igo-list {
54
- @include mat.icon-density($theme);
55
- @include mat.icon-button-density($theme);
56
- @include mat.list-density($theme);
57
- }
58
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @mixin igo-list-theming($theme) {
5
+ $primary: map.get($theme, primary);
6
+ $accent: map.get($theme, accent);
7
+ @include density($theme);
8
+
9
+ igo-list {
10
+ [igolistitem] {
11
+ &[color='primary'] {
12
+ &.igo-list-item-selected > mat-list-item {
13
+ background-color: mat.get-color-from-palette($primary);
14
+ color: mat.get-color-from-palette($primary, default-contrast);
15
+ }
16
+ &:not(.igo-list-item-disabled):hover > mat-list-item,
17
+ &.igo-list-item-focused > mat-list-item {
18
+ background-color: mat.get-color-from-palette($primary, lighter);
19
+ color: mat.get-color-from-palette($primary, default-contrast);
20
+ }
21
+ }
22
+
23
+ &[color='accent'] {
24
+ &.igo-list-item-selected > mat-list-item {
25
+ background-color: mat.get-color-from-palette($accent);
26
+ color: mat.get-color-from-palette($accent, default-contrast);
27
+ }
28
+
29
+ &:not(.igo-list-item-disabled):hover > mat-list-item,
30
+ &.igo-list-item-focused > mat-list-item {
31
+ background-color: mat.get-color-from-palette($accent, lighter);
32
+ color: mat.get-color-from-palette($accent, default-contrast);
33
+ }
34
+ }
35
+
36
+ &.igo-list-item-disabled > mat-list-item {
37
+ color: rgba(0, 0, 0, 0.38);
38
+ }
39
+ }
40
+ }
41
+ }
42
+
43
+ @mixin density($theme) {
44
+ $density: mat.get-density-config($theme);
45
+
46
+ $theme: map.merge(
47
+ $theme,
48
+ (
49
+ density: $density
50
+ )
51
+ );
52
+
53
+ igo-list {
54
+ @include mat.icon-density($theme);
55
+ @include mat.icon-button-density($theme);
56
+ @include mat.list-density($theme);
57
+ }
58
+ }
@@ -1,30 +1,30 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin theme($theme) {
5
- @include color($theme);
6
- @include density($theme);
7
- }
8
-
9
- @mixin color($theme) {
10
- $primary: map.get($theme, primary);
11
-
12
- igo-panel > .igo-panel-header {
13
- background-color: mat.get-color-from-palette($primary);
14
- color: mat.get-color-from-palette($primary, default-contrast);
15
- }
16
- }
17
-
18
- @mixin density($theme) {
19
- $density: mat.get-density-config($theme);
20
- $theme: map.merge(
21
- $theme,
22
- (
23
- density: $density - 2
24
- )
25
- );
26
-
27
- igo-panel {
28
- @include mat.icon-button-density($theme);
29
- }
30
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @mixin theme($theme) {
5
+ @include color($theme);
6
+ @include density($theme);
7
+ }
8
+
9
+ @mixin color($theme) {
10
+ $primary: map.get($theme, primary);
11
+
12
+ igo-panel > .igo-panel-header {
13
+ background-color: mat.get-color-from-palette($primary);
14
+ color: mat.get-color-from-palette($primary, default-contrast);
15
+ }
16
+ }
17
+
18
+ @mixin density($theme) {
19
+ $density: mat.get-density-config($theme);
20
+ $theme: map.merge(
21
+ $theme,
22
+ (
23
+ density: $density - 2
24
+ )
25
+ );
26
+
27
+ igo-panel {
28
+ @include mat.icon-button-density($theme);
29
+ }
30
+ }
@@ -1,5 +1,5 @@
1
- @use './toolbox/toolbox.theming.scss' as toolbox-theme;
2
-
3
- @mixin igo-tool-theming($theme) {
4
- @include toolbox-theme.igo-toolbox-theming($theme);
5
- }
1
+ @use './toolbox/toolbox.theming.scss' as toolbox-theme;
2
+
3
+ @mixin igo-tool-theming($theme) {
4
+ @include toolbox-theme.igo-toolbox-theming($theme);
5
+ }
@@ -1,105 +1,105 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
-
4
- @mixin igo-toolbox-theming($theme) {
5
- @include color($theme);
6
- @include density($theme);
7
- }
8
-
9
- @mixin color($theme) {
10
- $primary: map.get($theme, primary);
11
- $accent: map.get($theme, accent);
12
- $foreground: map.get($theme, foreground);
13
- $darker-contrast: mat.get-color-from-palette($primary, darker-contrast);
14
- $lighter-contrast: mat.get-color-from-palette($primary, lighter-contrast);
15
-
16
- igo-toolbox {
17
- &.color-primary > igo-actionbar:not(.with-title) {
18
- box-shadow: unset;
19
- background-color: mat.get-color-from-palette($primary);
20
- #lowChevron,
21
- #topChevron {
22
- background-color: mat.get-color-from-palette($primary);
23
- color: white;
24
- }
25
- }
26
-
27
- &.color-grey > igo-actionbar:not(.with-title) {
28
- box-shadow: unset;
29
- background-color: #737475;
30
- #lowChevron,
31
- #topChevron {
32
- background-color: #737475;
33
- color: white;
34
- }
35
- }
36
-
37
- &.color-primary,
38
- &.color-grey {
39
- & > igo-actionbar:not(.with-title) mat-list.mat-mdc-list-base {
40
- .mat-mdc-list-item.mdc-list-item--with-leading-avatar {
41
- color: white;
42
- &:hover {
43
- color: black;
44
- }
45
-
46
- &.tool-activated,
47
- &.children-tool-activated {
48
- background-color: white;
49
- color: black;
50
- }
51
- }
52
- }
53
- }
54
-
55
- > igo-actionbar {
56
- &:not(.with-title) {
57
- > mat-list {
58
- & > #lowChevron,
59
- & > #topChevron {
60
- &:hover {
61
- background-color: mat.get-color-from-palette($accent, lighter);
62
- color: black;
63
- }
64
- }
65
-
66
- mat-list-item {
67
- color: $lighter-contrast;
68
- }
69
- }
70
- }
71
-
72
- mat-list.mat-mdc-list-base igo-actionbar-item mat-list-item {
73
- &:hover {
74
- background-color: mat.get-color-from-palette($accent, lighter);
75
- }
76
-
77
- &.tool-activated,
78
- &.children-tool-activated {
79
- color: $lighter-contrast;
80
- background-color: $darker-contrast;
81
-
82
- button {
83
- cursor: default;
84
- }
85
- }
86
- }
87
- }
88
- }
89
- }
90
-
91
- @mixin density($theme) {
92
- $density: mat.get-density-config($theme);
93
- $theme: map.merge(
94
- $theme,
95
- (
96
- density: $density - 2
97
- )
98
- );
99
-
100
- igo-toolbox {
101
- igo-actionbar-item {
102
- @include mat.list-density($theme);
103
- }
104
- }
105
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+
4
+ @mixin igo-toolbox-theming($theme) {
5
+ @include color($theme);
6
+ @include density($theme);
7
+ }
8
+
9
+ @mixin color($theme) {
10
+ $primary: map.get($theme, primary);
11
+ $accent: map.get($theme, accent);
12
+ $foreground: map.get($theme, foreground);
13
+ $darker-contrast: mat.get-color-from-palette($primary, darker-contrast);
14
+ $lighter-contrast: mat.get-color-from-palette($primary, lighter-contrast);
15
+
16
+ igo-toolbox {
17
+ &.color-primary > igo-actionbar:not(.with-title) {
18
+ box-shadow: unset;
19
+ background-color: mat.get-color-from-palette($primary);
20
+ #lowChevron,
21
+ #topChevron {
22
+ background-color: mat.get-color-from-palette($primary);
23
+ color: white;
24
+ }
25
+ }
26
+
27
+ &.color-grey > igo-actionbar:not(.with-title) {
28
+ box-shadow: unset;
29
+ background-color: #737475;
30
+ #lowChevron,
31
+ #topChevron {
32
+ background-color: #737475;
33
+ color: white;
34
+ }
35
+ }
36
+
37
+ &.color-primary,
38
+ &.color-grey {
39
+ & > igo-actionbar:not(.with-title) mat-list.mat-mdc-list-base {
40
+ .mat-mdc-list-item.mdc-list-item--with-leading-avatar {
41
+ color: white;
42
+ &:hover {
43
+ color: black;
44
+ }
45
+
46
+ &.tool-activated,
47
+ &.children-tool-activated {
48
+ background-color: white;
49
+ color: black;
50
+ }
51
+ }
52
+ }
53
+ }
54
+
55
+ > igo-actionbar {
56
+ &:not(.with-title) {
57
+ > mat-list {
58
+ & > #lowChevron,
59
+ & > #topChevron {
60
+ &:hover {
61
+ background-color: mat.get-color-from-palette($accent, lighter);
62
+ color: black;
63
+ }
64
+ }
65
+
66
+ mat-list-item {
67
+ color: $lighter-contrast;
68
+ }
69
+ }
70
+ }
71
+
72
+ mat-list.mat-mdc-list-base igo-actionbar-item mat-list-item {
73
+ &:hover {
74
+ background-color: mat.get-color-from-palette($accent, lighter);
75
+ }
76
+
77
+ &.tool-activated,
78
+ &.children-tool-activated {
79
+ color: $lighter-contrast;
80
+ background-color: $darker-contrast;
81
+
82
+ button {
83
+ cursor: default;
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+
91
+ @mixin density($theme) {
92
+ $density: mat.get-density-config($theme);
93
+ $theme: map.merge(
94
+ $theme,
95
+ (
96
+ density: $density - 2
97
+ )
98
+ );
99
+
100
+ igo-toolbox {
101
+ igo-actionbar-item {
102
+ @include mat.list-density($theme);
103
+ }
104
+ }
105
+ }
@@ -1,9 +1,9 @@
1
- @mixin square-button() {
2
- button {
3
- border-radius: 0 !important;
4
- .mat-ripple,
5
- .mdc-icon-button__ripple {
6
- border-radius: 0 !important;
7
- }
8
- }
9
- }
1
+ @mixin square-button() {
2
+ button {
3
+ border-radius: 0 !important;
4
+ .mat-ripple,
5
+ .mdc-icon-button__ripple {
6
+ border-radius: 0 !important;
7
+ }
8
+ }
9
+ }
@@ -1,8 +1,8 @@
1
- /*** List ***/
2
- $igo-list-item-height: 48px;
3
- $igo-list-item-padding: 3px;
4
- $igo-list-item-icon-padding: 8px;
5
-
6
- /*** Panel ***/
7
- $igo-panel-header-height: 48px;
8
- $igo-panel-header-padding: 3px;
1
+ /*** List ***/
2
+ $igo-list-item-height: 48px;
3
+ $igo-list-item-padding: 3px;
4
+ $igo-list-item-icon-padding: 8px;
5
+
6
+ /*** Panel ***/
7
+ $igo-panel-header-height: 48px;
8
+ $igo-panel-header-padding: 3px;
@@ -1 +1 @@
1
- @import 'shepherd.js/dist/css/shepherd';
1
+ @import 'shepherd.js/dist/css/shepherd';