@igo2/core 1.8.2 → 1.9.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.
- package/__ivy_ngcc__/locale/en.common.json +43 -43
- package/__ivy_ngcc__/locale/en.core.json +23 -23
- package/__ivy_ngcc__/locale/en.geo.json +15 -3
- package/__ivy_ngcc__/locale/en.integration.json +31 -3
- package/__ivy_ngcc__/locale/en.json +45 -5
- package/__ivy_ngcc__/locale/fr.common.json +43 -43
- package/__ivy_ngcc__/locale/fr.core.json +23 -23
- package/__ivy_ngcc__/locale/fr.geo.json +16 -4
- package/__ivy_ngcc__/locale/fr.integration.json +33 -4
- package/__ivy_ngcc__/locale/fr.json +46 -6
- package/bundles/igo2-core.umd.js +1492 -1441
- package/bundles/igo2-core.umd.js.map +1 -1
- package/esm2015/igo2-core.js +5 -5
- package/esm2015/lib/activity/activity.interceptor.js +30 -31
- package/esm2015/lib/activity/activity.module.js +30 -29
- package/esm2015/lib/activity/activity.service.js +33 -33
- package/esm2015/lib/activity/index.js +3 -3
- package/esm2015/lib/analytics/index.js +2 -2
- package/esm2015/lib/analytics/shared/analytics.interface.js +2 -1
- package/esm2015/lib/analytics/shared/analytics.service.js +74 -75
- package/esm2015/lib/analytics/shared/index.js +3 -3
- package/esm2015/lib/config/config.interface.js +2 -1
- package/esm2015/lib/config/config.module.js +23 -22
- package/esm2015/lib/config/config.provider.js +21 -21
- package/esm2015/lib/config/config.service.js +52 -52
- package/esm2015/lib/config/index.js +4 -4
- package/esm2015/lib/config/version.js +5 -5
- package/esm2015/lib/core.module.js +71 -72
- package/esm2015/lib/gesture/gesture.module.js +30 -29
- package/esm2015/lib/gesture/gesture.provider.js +16 -17
- package/esm2015/lib/language/index.js +2 -2
- package/esm2015/lib/language/language.module.js +41 -40
- package/esm2015/lib/language/shared/index.js +5 -5
- package/esm2015/lib/language/shared/language.interface.js +2 -1
- package/esm2015/lib/language/shared/language.loader.js +28 -28
- package/esm2015/lib/language/shared/language.provider.js +22 -22
- package/esm2015/lib/language/shared/language.service.js +28 -29
- package/esm2015/lib/language/shared/missing-translation.guard.js +16 -16
- package/esm2015/lib/media/index.js +3 -3
- package/esm2015/lib/media/media.enum.js +12 -12
- package/esm2015/lib/media/media.service.js +76 -76
- package/esm2015/lib/message/index.js +3 -3
- package/esm2015/lib/message/message-center/index.js +2 -2
- package/esm2015/lib/message/message-center/message-center.component.js +43 -43
- package/esm2015/lib/message/message.module.js +27 -26
- package/esm2015/lib/message/shared/index.js +4 -4
- package/esm2015/lib/message/shared/message.enum.js +8 -8
- package/esm2015/lib/message/shared/message.interface.js +2 -1
- package/esm2015/lib/message/shared/message.service.js +130 -132
- package/esm2015/lib/network/index.js +3 -3
- package/esm2015/lib/network/network.interfaces.js +2 -1
- package/esm2015/lib/network/network.service.js +59 -60
- package/esm2015/lib/request/error.interceptor.js +62 -63
- package/esm2015/lib/request/error.module.js +39 -38
- package/esm2015/lib/request/index.js +3 -3
- package/esm2015/lib/request/logging.interceptor.js +29 -29
- package/esm2015/lib/request/logging.module.js +30 -29
- package/esm2015/lib/route/route.interface.js +2 -1
- package/esm2015/lib/route/route.service.js +55 -56
- package/esm2015/lib/storage/index.js +3 -3
- package/esm2015/lib/storage/storage.interface.js +13 -13
- package/esm2015/lib/storage/storage.service.js +79 -80
- package/esm2015/public_api.js +26 -26
- package/fesm2015/igo2-core.js +1029 -1016
- package/fesm2015/igo2-core.js.map +1 -1
- package/igo2-core.d.ts +5 -5
- package/lib/activity/activity.interceptor.d.ts +11 -11
- package/lib/activity/activity.module.d.ts +8 -7
- package/lib/activity/activity.service.d.ts +11 -11
- package/lib/activity/index.d.ts +2 -2
- package/lib/analytics/index.d.ts +1 -1
- package/lib/analytics/shared/analytics.interface.d.ts +6 -6
- package/lib/analytics/shared/analytics.service.d.ts +19 -19
- package/lib/analytics/shared/index.d.ts +2 -2
- package/lib/config/config.interface.d.ts +6 -6
- package/lib/config/config.module.d.ts +8 -7
- package/lib/config/config.provider.d.ts +15 -15
- package/lib/config/config.service.d.ts +18 -18
- package/lib/config/index.d.ts +3 -3
- package/lib/config/version.d.ts +5 -5
- package/lib/core.module.d.ts +18 -17
- package/lib/gesture/gesture.module.d.ts +9 -8
- package/lib/gesture/gesture.provider.d.ts +7 -7
- package/lib/language/index.d.ts +1 -1
- package/lib/language/language.module.d.ts +9 -8
- package/lib/language/shared/index.d.ts +4 -4
- package/lib/language/shared/language.interface.d.ts +3 -3
- package/lib/language/shared/language.loader.d.ts +11 -11
- package/lib/language/shared/language.provider.d.ts +15 -15
- package/lib/language/shared/language.service.d.ts +11 -11
- package/lib/language/shared/missing-translation.guard.d.ts +4 -4
- package/lib/media/index.d.ts +2 -2
- package/lib/media/media.enum.d.ts +9 -9
- package/lib/media/media.service.d.ts +16 -16
- package/lib/message/index.d.ts +2 -2
- package/lib/message/message-center/index.d.ts +1 -1
- package/lib/message/message-center/message-center.component.d.ts +19 -19
- package/lib/message/message.module.d.ts +11 -10
- package/lib/message/shared/index.d.ts +4 -4
- package/lib/message/shared/message.enum.d.ts +6 -6
- package/lib/message/shared/message.interface.d.ts +18 -18
- package/lib/message/shared/message.service.d.ts +25 -25
- package/lib/network/index.d.ts +2 -2
- package/lib/network/network.interfaces.d.ts +3 -3
- package/lib/network/network.service.d.ts +20 -20
- package/lib/request/error.interceptor.d.ts +16 -16
- package/lib/request/error.module.d.ts +9 -8
- package/lib/request/index.d.ts +2 -2
- package/lib/request/logging.interceptor.d.ts +8 -8
- package/lib/request/logging.module.d.ts +8 -7
- package/lib/route/route.interface.d.ts +22 -22
- package/lib/route/route.service.d.ts +18 -18
- package/lib/storage/index.d.ts +2 -2
- package/lib/storage/storage.interface.d.ts +20 -20
- package/lib/storage/storage.service.d.ts +19 -19
- package/locale/en.common.json +43 -43
- package/locale/en.core.json +23 -23
- package/locale/en.geo.json +15 -3
- package/locale/en.integration.json +31 -3
- package/locale/en.json +45 -5
- package/locale/fr.common.json +43 -43
- package/locale/fr.core.json +23 -23
- package/locale/fr.geo.json +16 -4
- package/locale/fr.integration.json +33 -4
- package/locale/fr.json +46 -6
- package/package.json +8 -8
- package/public_api.d.ts +22 -22
- package/style/all.theming.scss +0 -7655
- package/style/core.theming.scss +0 -43
- package/style/foreground.scss +1 -1
- package/style/index.theming.scss +1006 -0
- package/style/material.font.scss +9 -9
- package/style/partial/core.variables.scss +3 -3
- package/style/partial/media.scss +80 -80
- package/style/setup.scss +1 -0
- package/style/themes/blue.theme.scss +16 -11
- package/style/themes/bluedq.theme.scss +49 -43
- package/style/themes/bluegrey.theme.scss +15 -8
- package/style/themes/dark.theme.scss +15 -8
- package/style/themes/deeppurple.theme.scss +15 -8
- package/style/themes/indigo.theme.scss +15 -8
- package/style/themes/orange.theme.scss +15 -8
- package/style/themes/teal.theme.scss +15 -8
- package/style/theming.scss +2 -7180
- package/style/typography.scss +14 -14
- package/bundles/igo2-core.umd.min.js +0 -17
- package/bundles/igo2-core.umd.min.js.map +0 -1
|
@@ -0,0 +1,1006 @@
|
|
|
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
|
+
}
|
|
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
|
+
}
|
|
61
|
+
|
|
62
|
+
@mixin igo-core-theming($theme, $typography) {
|
|
63
|
+
@include igo-message-theming($theme);
|
|
64
|
+
|
|
65
|
+
button.mat-icon-button.mat-button-base[disabled="true"] {
|
|
66
|
+
color: rgba(0,0,0,.26);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@mixin igo-message-theming($theme) {
|
|
71
|
+
$primary: map-get($theme, primary);
|
|
72
|
+
$accent: map-get($theme, accent);
|
|
73
|
+
$warn: map-get($theme, warn);
|
|
74
|
+
|
|
75
|
+
div.simple-notification {
|
|
76
|
+
&.info {
|
|
77
|
+
color: mat.get-color-from-palette($primary, default-contrast);
|
|
78
|
+
background-color: mat.get-color-from-palette($primary);
|
|
79
|
+
.sn-progress-loader span {
|
|
80
|
+
background-color: mat.get-color-from-palette($primary, darker);
|
|
81
|
+
}
|
|
82
|
+
svg {
|
|
83
|
+
fill: mat.get-color-from-palette($primary, default-contrast);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.alert {
|
|
88
|
+
color: mat.get-color-from-palette($accent, default-contrast);
|
|
89
|
+
background-color: mat.get-color-from-palette($accent);
|
|
90
|
+
.sn-progress-loader span {
|
|
91
|
+
background-color: mat.get-color-from-palette($accent, darker);
|
|
92
|
+
}
|
|
93
|
+
svg {
|
|
94
|
+
fill: mat.get-color-from-palette($accent, default-contrast);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.error {
|
|
99
|
+
color: mat.get-color-from-palette($warn, default-contrast);
|
|
100
|
+
background-color: mat.get-color-from-palette($warn);
|
|
101
|
+
.sn-progress-loader span {
|
|
102
|
+
background-color: mat.get-color-from-palette($warn, darker);
|
|
103
|
+
}
|
|
104
|
+
svg {
|
|
105
|
+
fill: mat.get-color-from-palette($warn, default-contrast);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.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}
|
|
113
|
+
.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}
|
|
114
|
+
.shepherd-cancel-icon{background:transparent;border:none;color:hsla(0,0%,50.2%,.75);font-size:2em;cursor:pointer;font-weight:400;margin:0;padding:0;transition:color .5s ease}.shepherd-cancel-icon:hover{color:rgba(0,0,0,.75)}.shepherd-has-title .shepherd-content .shepherd-cancel-icon{color:hsla(0,0%,50.2%,.75)}.shepherd-has-title .shepherd-content .shepherd-cancel-icon:hover{color:rgba(0,0,0,.75)}
|
|
115
|
+
.shepherd-title{color:rgba(0,0,0,.75);display:flex;font-size:1rem;font-weight:400;flex:1 0 auto;margin:0;padding:0}
|
|
116
|
+
.shepherd-header{align-items:center;border-top-left-radius:5px;border-top-right-radius:5px;display:flex;justify-content:flex-end;line-height:2em;padding:.75rem .75rem 0}.shepherd-has-title .shepherd-content .shepherd-header{background:#e6e6e6;padding:1em}
|
|
117
|
+
.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}
|
|
118
|
+
.shepherd-content{border-radius:5px;outline:none;padding:0}
|
|
119
|
+
.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}
|
|
120
|
+
.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}
|
|
121
|
+
|
|
122
|
+
@mixin igo-common-theming($theme, $typography) {
|
|
123
|
+
@include igo-action-theming($theme);
|
|
124
|
+
@include igo-collapsible-theming($theme);
|
|
125
|
+
@include igo-entity-theming($theme);
|
|
126
|
+
@include igo-list-theming($theme);
|
|
127
|
+
@include igo-panel-theming($theme);
|
|
128
|
+
@include igo-tool-theming($theme);
|
|
129
|
+
@include igo-tour-theming($theme);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
@mixin igo-action-theming($theme) {
|
|
133
|
+
@include igo-actionbar-theming($theme);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@mixin igo-actionbar-theming($theme) {
|
|
137
|
+
.igo-actionbar-overlay {
|
|
138
|
+
min-width: inherit !important;
|
|
139
|
+
padding-top: 0;
|
|
140
|
+
padding-bottom: 0;
|
|
141
|
+
|
|
142
|
+
.mat-list {
|
|
143
|
+
padding-top: 0
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.mat-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text {
|
|
147
|
+
padding-right: 16px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.mat-menu-content:not(:empty) {
|
|
151
|
+
padding-top: 0;
|
|
152
|
+
padding-bottom: 0;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@mixin igo-collapsible-theming($theme) {
|
|
158
|
+
mat-icon[mat-list-avatar][igocollapse] {
|
|
159
|
+
&:hover {
|
|
160
|
+
cursor: pointer;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&.igo-chevron {
|
|
164
|
+
width: auto !important;
|
|
165
|
+
transform: rotateZ(0deg);
|
|
166
|
+
transition: 300ms ease-in-out;
|
|
167
|
+
|
|
168
|
+
&.collapsed {
|
|
169
|
+
transform: rotateZ(180deg);
|
|
170
|
+
transition: 300ms ease-in-out;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
div.igo-collapsed {
|
|
176
|
+
display: none !important;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
@mixin igo-entity-theming($theme) {
|
|
182
|
+
@include igo-entity-table-theming($theme);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
@mixin igo-entity-table-theming($theme) {
|
|
186
|
+
$primary: map-get($theme, primary);
|
|
187
|
+
$accent: map-get($theme, accent);
|
|
188
|
+
|
|
189
|
+
igo-entity-table table.igo-entity-table-with-selection tr.igo-entity-table-row-highlighted {
|
|
190
|
+
background-color: mat.get-color-from-palette($primary, A100);
|
|
191
|
+
color: mat.get-color-from-palette($primary, default-contrast);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@mixin igo-list-theming($theme) {
|
|
196
|
+
$primary: map-get($theme, primary);
|
|
197
|
+
$accent: map-get($theme, accent);
|
|
198
|
+
|
|
199
|
+
igo-list [igolistitem][color="primary"].igo-list-item-selected > mat-list-item {
|
|
200
|
+
background-color: mat.get-color-from-palette($primary);
|
|
201
|
+
color: mat.get-color-from-palette($primary, default-contrast);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
igo-list [igolistitem][color="accent"].igo-list-item-selected > mat-list-item {
|
|
205
|
+
background-color: mat.get-color-from-palette($accent);
|
|
206
|
+
color: mat.get-color-from-palette($accent, default-contrast);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
igo-list [igolistitem].igo-list-item-disabled > mat-list-item {
|
|
210
|
+
color: rgba(0, 0, 0, 0.38);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
igo-list [igolistitem][color="primary"]:not(.igo-list-item-disabled):hover > mat-list-item,
|
|
214
|
+
igo-list [igolistitem][color="primary"].igo-list-item-focused > mat-list-item {
|
|
215
|
+
background-color: mat.get-color-from-palette($primary, lighter);
|
|
216
|
+
color: mat.get-color-from-palette($primary, default-contrast);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
igo-list [igolistitem][color="accent"]:not(.igo-list-item-disabled):hover > mat-list-item,
|
|
220
|
+
igo-list [igolistitem][color="accent"].igo-list-item-focused > mat-list-item {
|
|
221
|
+
background-color: mat.get-color-from-palette($accent, lighter);
|
|
222
|
+
color: mat.get-color-from-palette($accent, default-contrast);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
@mixin igo-panel-theming($theme) {
|
|
227
|
+
$primary: map-get($theme, primary);
|
|
228
|
+
|
|
229
|
+
igo-panel > div.igo-panel-header {
|
|
230
|
+
background-color: mat.get-color-from-palette($primary);
|
|
231
|
+
color: mat.get-color-from-palette($primary, default-contrast);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
@mixin igo-tool-theming($theme) {
|
|
237
|
+
@include igo-toolbox-theming($theme);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
@mixin igo-toolbox-theming($theme) {
|
|
241
|
+
$primary: map-get($theme, primary);
|
|
242
|
+
$accent: map-get($theme, accent);
|
|
243
|
+
$foreground: map-get($theme, foreground);
|
|
244
|
+
|
|
245
|
+
igo-toolbox > igo-actionbar mat-list.mat-list-base igo-actionbar-item mat-list-item {
|
|
246
|
+
&:hover {
|
|
247
|
+
background-color: mat.get-color-from-palette($accent, lighter);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
&.tool-activated,
|
|
251
|
+
&.children-tool-activated {
|
|
252
|
+
background-color: mat.get-color-from-palette($accent);
|
|
253
|
+
cursor: default;
|
|
254
|
+
button {
|
|
255
|
+
cursor: default;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
igo-toolbox > igo-actionbar:not(.with-title) > mat-list {
|
|
261
|
+
& > #lowChevron,
|
|
262
|
+
& > #topChevron {
|
|
263
|
+
&:hover {
|
|
264
|
+
background-color: mat.get-color-from-palette($accent, lighter);
|
|
265
|
+
color: black;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
igo-toolbox.color-primary > igo-actionbar:not(.with-title) {
|
|
271
|
+
box-shadow: unset;
|
|
272
|
+
background-color: mat.get-color-from-palette($primary);
|
|
273
|
+
#lowChevron,
|
|
274
|
+
#topChevron {
|
|
275
|
+
background-color: mat.get-color-from-palette($primary);
|
|
276
|
+
color: white;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
igo-toolbox.color-grey > igo-actionbar:not(.with-title) {
|
|
281
|
+
box-shadow: unset;
|
|
282
|
+
background-color: #737475;
|
|
283
|
+
#lowChevron,
|
|
284
|
+
#topChevron {
|
|
285
|
+
background-color: #737475;
|
|
286
|
+
color: white;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
igo-toolbox.color-primary,
|
|
291
|
+
igo-toolbox.color-grey {
|
|
292
|
+
& > igo-actionbar:not(.with-title) mat-list.mat-list-base {
|
|
293
|
+
.mat-list-item.mat-list-item-with-avatar {
|
|
294
|
+
color: white;
|
|
295
|
+
&:hover {
|
|
296
|
+
color: black;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
&.tool-activated,
|
|
300
|
+
&.children-tool-activated {
|
|
301
|
+
background-color: white;
|
|
302
|
+
color: black;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
@mixin igo-tour-theming($theme) {
|
|
311
|
+
$primary: map-get($theme, primary);
|
|
312
|
+
$accent: map-get($theme, accent);
|
|
313
|
+
$warn: map-get($theme, warn);
|
|
314
|
+
|
|
315
|
+
igo-interactive-tour > button.mat-raised-button.tour-button-tool-icon {
|
|
316
|
+
box-shadow: none;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
igo-interactive-tour > button.tour-button-tool-icon {
|
|
320
|
+
background-color: mat.get-color-from-palette($primary);
|
|
321
|
+
color: mat.get-color-from-palette($primary, default-contrast);
|
|
322
|
+
|
|
323
|
+
box-shadow: none;
|
|
324
|
+
border:none;
|
|
325
|
+
border-radius: 50%;
|
|
326
|
+
padding: 0;
|
|
327
|
+
min-width: 0;
|
|
328
|
+
width: 40px;
|
|
329
|
+
height: 40px;
|
|
330
|
+
flex-shrink: 0;
|
|
331
|
+
line-height: 40px;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
igo-interactive-tour > button.tour-button-tool-icon span.interactive-tour-button-title {
|
|
335
|
+
display: none;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
igo-interactive-tour > button.tour-button-tool {
|
|
339
|
+
background-color: mat.get-color-from-palette($primary);
|
|
340
|
+
color: mat.get-color-from-palette($primary, default-contrast);
|
|
341
|
+
border: none;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
igo-interactive-tour > button.tour-button-tool-icon:hover {
|
|
345
|
+
background-color: mat.get-color-from-palette($primary, default-contrast);
|
|
346
|
+
color: mat.get-color-from-palette($primary);
|
|
347
|
+
cursor: pointer;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.ol-box {
|
|
352
|
+
box-sizing: border-box;
|
|
353
|
+
border-radius: 2px;
|
|
354
|
+
border: 2px solid blue;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.ol-mouse-position {
|
|
358
|
+
top: 8px;
|
|
359
|
+
right: 8px;
|
|
360
|
+
position: absolute;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.ol-scale-line {
|
|
364
|
+
background: rgba(0,60,136,0.3);
|
|
365
|
+
border-radius: 4px;
|
|
366
|
+
bottom: 8px;
|
|
367
|
+
left: 8px;
|
|
368
|
+
padding: 2px;
|
|
369
|
+
position: absolute;
|
|
370
|
+
}
|
|
371
|
+
.ol-scale-line-inner {
|
|
372
|
+
border: 1px solid #eee;
|
|
373
|
+
border-top: none;
|
|
374
|
+
color: #eee;
|
|
375
|
+
font-size: 10px;
|
|
376
|
+
text-align: center;
|
|
377
|
+
margin: 1px;
|
|
378
|
+
will-change: contents, width;
|
|
379
|
+
transition: all 0.25s;
|
|
380
|
+
}
|
|
381
|
+
.ol-scale-bar {
|
|
382
|
+
position: absolute;
|
|
383
|
+
bottom: 8px;
|
|
384
|
+
left: 8px;
|
|
385
|
+
}
|
|
386
|
+
.ol-scale-step-marker {
|
|
387
|
+
width: 1px;
|
|
388
|
+
height: 15px;
|
|
389
|
+
background-color: #000000;
|
|
390
|
+
float: right;
|
|
391
|
+
z-Index: 10;
|
|
392
|
+
}
|
|
393
|
+
.ol-scale-step-text {
|
|
394
|
+
position: absolute;
|
|
395
|
+
bottom: -5px;
|
|
396
|
+
font-size: 12px;
|
|
397
|
+
z-Index: 11;
|
|
398
|
+
color: #000000;
|
|
399
|
+
text-shadow: -2px 0 #FFFFFF, 0 2px #FFFFFF, 2px 0 #FFFFFF, 0 -2px #FFFFFF;
|
|
400
|
+
}
|
|
401
|
+
.ol-scale-text {
|
|
402
|
+
position: absolute;
|
|
403
|
+
font-size: 14px;
|
|
404
|
+
text-align: center;
|
|
405
|
+
bottom: 25px;
|
|
406
|
+
color: #000000;
|
|
407
|
+
text-shadow: -2px 0 #FFFFFF, 0 2px #FFFFFF, 2px 0 #FFFFFF, 0 -2px #FFFFFF;
|
|
408
|
+
}
|
|
409
|
+
.ol-scale-singlebar {
|
|
410
|
+
position: relative;
|
|
411
|
+
height: 10px;
|
|
412
|
+
z-Index: 9;
|
|
413
|
+
box-sizing: border-box;
|
|
414
|
+
border: 1px solid black;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.ol-unsupported {
|
|
418
|
+
display: none;
|
|
419
|
+
}
|
|
420
|
+
.ol-viewport, .ol-unselectable {
|
|
421
|
+
-webkit-touch-callout: none;
|
|
422
|
+
-webkit-user-select: none;
|
|
423
|
+
-moz-user-select: none;
|
|
424
|
+
-ms-user-select: none;
|
|
425
|
+
user-select: none;
|
|
426
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
427
|
+
}
|
|
428
|
+
.ol-selectable {
|
|
429
|
+
-webkit-touch-callout: default;
|
|
430
|
+
-webkit-user-select: text;
|
|
431
|
+
-moz-user-select: text;
|
|
432
|
+
-ms-user-select: text;
|
|
433
|
+
user-select: text;
|
|
434
|
+
}
|
|
435
|
+
.ol-grabbing {
|
|
436
|
+
cursor: -webkit-grabbing;
|
|
437
|
+
cursor: -moz-grabbing;
|
|
438
|
+
cursor: grabbing;
|
|
439
|
+
}
|
|
440
|
+
.ol-grab {
|
|
441
|
+
cursor: move;
|
|
442
|
+
cursor: -webkit-grab;
|
|
443
|
+
cursor: -moz-grab;
|
|
444
|
+
cursor: grab;
|
|
445
|
+
}
|
|
446
|
+
.ol-control {
|
|
447
|
+
position: absolute;
|
|
448
|
+
background-color: rgba(255,255,255,0.4);
|
|
449
|
+
border-radius: 4px;
|
|
450
|
+
padding: 2px;
|
|
451
|
+
}
|
|
452
|
+
.ol-control:hover {
|
|
453
|
+
background-color: rgba(255,255,255,0.6);
|
|
454
|
+
}
|
|
455
|
+
.ol-zoom {
|
|
456
|
+
top: .5em;
|
|
457
|
+
left: .5em;
|
|
458
|
+
}
|
|
459
|
+
.ol-rotate {
|
|
460
|
+
top: .5em;
|
|
461
|
+
right: .5em;
|
|
462
|
+
transition: opacity .25s linear, visibility 0s linear;
|
|
463
|
+
}
|
|
464
|
+
.ol-rotate.ol-hidden {
|
|
465
|
+
opacity: 0;
|
|
466
|
+
visibility: hidden;
|
|
467
|
+
transition: opacity .25s linear, visibility 0s linear .25s;
|
|
468
|
+
}
|
|
469
|
+
.ol-zoom-extent {
|
|
470
|
+
top: 4.643em;
|
|
471
|
+
left: .5em;
|
|
472
|
+
}
|
|
473
|
+
.ol-full-screen {
|
|
474
|
+
right: .5em;
|
|
475
|
+
top: .5em;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.ol-control button {
|
|
479
|
+
display: block;
|
|
480
|
+
margin: 1px;
|
|
481
|
+
padding: 0;
|
|
482
|
+
color: white;
|
|
483
|
+
font-size: 1.14em;
|
|
484
|
+
font-weight: bold;
|
|
485
|
+
text-decoration: none;
|
|
486
|
+
text-align: center;
|
|
487
|
+
height: 1.375em;
|
|
488
|
+
width: 1.375em;
|
|
489
|
+
line-height: .4em;
|
|
490
|
+
background-color: rgba(0,60,136,0.5);
|
|
491
|
+
border: none;
|
|
492
|
+
border-radius: 2px;
|
|
493
|
+
}
|
|
494
|
+
.ol-control button::-moz-focus-inner {
|
|
495
|
+
border: none;
|
|
496
|
+
padding: 0;
|
|
497
|
+
}
|
|
498
|
+
.ol-zoom-extent button {
|
|
499
|
+
line-height: 1.4em;
|
|
500
|
+
}
|
|
501
|
+
.ol-compass {
|
|
502
|
+
display: block;
|
|
503
|
+
font-weight: normal;
|
|
504
|
+
font-size: 1.2em;
|
|
505
|
+
will-change: transform;
|
|
506
|
+
}
|
|
507
|
+
.ol-touch .ol-control button {
|
|
508
|
+
font-size: 1.5em;
|
|
509
|
+
}
|
|
510
|
+
.ol-touch .ol-zoom-extent {
|
|
511
|
+
top: 5.5em;
|
|
512
|
+
}
|
|
513
|
+
.ol-control button:hover,
|
|
514
|
+
.ol-control button:focus {
|
|
515
|
+
text-decoration: none;
|
|
516
|
+
background-color: rgba(0,60,136,0.7);
|
|
517
|
+
}
|
|
518
|
+
.ol-zoom .ol-zoom-in {
|
|
519
|
+
border-radius: 2px 2px 0 0;
|
|
520
|
+
}
|
|
521
|
+
.ol-zoom .ol-zoom-out {
|
|
522
|
+
border-radius: 0 0 2px 2px;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
.ol-attribution {
|
|
527
|
+
text-align: right;
|
|
528
|
+
bottom: .5em;
|
|
529
|
+
right: .5em;
|
|
530
|
+
max-width: calc(100% - 1.3em);
|
|
531
|
+
display: flex;
|
|
532
|
+
flex-flow: row-reverse;
|
|
533
|
+
align-items: flex-end;
|
|
534
|
+
}
|
|
535
|
+
.ol-attribution ul {
|
|
536
|
+
margin: 0;
|
|
537
|
+
padding: 1px .5em;
|
|
538
|
+
color: #000;
|
|
539
|
+
text-shadow: 0 0 2px #fff;
|
|
540
|
+
}
|
|
541
|
+
.ol-attribution li {
|
|
542
|
+
display: inline;
|
|
543
|
+
list-style: none;
|
|
544
|
+
}
|
|
545
|
+
.ol-attribution li:not(:last-child):after {
|
|
546
|
+
content: " ";
|
|
547
|
+
}
|
|
548
|
+
.ol-attribution img {
|
|
549
|
+
max-height: 2em;
|
|
550
|
+
max-width: inherit;
|
|
551
|
+
vertical-align: middle;
|
|
552
|
+
}
|
|
553
|
+
.ol-attribution button {
|
|
554
|
+
flex-shrink: 0;
|
|
555
|
+
}
|
|
556
|
+
.ol-attribution.ol-collapsed ul {
|
|
557
|
+
display: none;
|
|
558
|
+
}
|
|
559
|
+
.ol-attribution:not(.ol-collapsed) {
|
|
560
|
+
background: rgba(255,255,255,0.8);
|
|
561
|
+
}
|
|
562
|
+
.ol-attribution.ol-uncollapsible {
|
|
563
|
+
bottom: 0;
|
|
564
|
+
right: 0;
|
|
565
|
+
border-radius: 4px 0 0;
|
|
566
|
+
}
|
|
567
|
+
.ol-attribution.ol-uncollapsible img {
|
|
568
|
+
margin-top: -.2em;
|
|
569
|
+
max-height: 1.6em;
|
|
570
|
+
}
|
|
571
|
+
.ol-attribution.ol-uncollapsible button {
|
|
572
|
+
display: none;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.ol-zoomslider {
|
|
576
|
+
top: 4.5em;
|
|
577
|
+
left: .5em;
|
|
578
|
+
height: 200px;
|
|
579
|
+
}
|
|
580
|
+
.ol-zoomslider button {
|
|
581
|
+
position: relative;
|
|
582
|
+
height: 10px;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.ol-touch .ol-zoomslider {
|
|
586
|
+
top: 5.5em;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.ol-overviewmap {
|
|
590
|
+
left: 0.5em;
|
|
591
|
+
bottom: 0.5em;
|
|
592
|
+
}
|
|
593
|
+
.ol-overviewmap.ol-uncollapsible {
|
|
594
|
+
bottom: 0;
|
|
595
|
+
left: 0;
|
|
596
|
+
border-radius: 0 4px 0 0;
|
|
597
|
+
}
|
|
598
|
+
.ol-overviewmap .ol-overviewmap-map,
|
|
599
|
+
.ol-overviewmap button {
|
|
600
|
+
display: block;
|
|
601
|
+
}
|
|
602
|
+
.ol-overviewmap .ol-overviewmap-map {
|
|
603
|
+
border: 1px solid #7b98bc;
|
|
604
|
+
height: 150px;
|
|
605
|
+
margin: 2px;
|
|
606
|
+
width: 150px;
|
|
607
|
+
}
|
|
608
|
+
.ol-overviewmap:not(.ol-collapsed) button {
|
|
609
|
+
bottom: 2px;
|
|
610
|
+
left: 2px;
|
|
611
|
+
position: absolute;
|
|
612
|
+
}
|
|
613
|
+
.ol-overviewmap.ol-collapsed .ol-overviewmap-map,
|
|
614
|
+
.ol-overviewmap.ol-uncollapsible button {
|
|
615
|
+
display: none;
|
|
616
|
+
}
|
|
617
|
+
.ol-overviewmap:not(.ol-collapsed) {
|
|
618
|
+
background: rgba(255,255,255,0.8);
|
|
619
|
+
}
|
|
620
|
+
.ol-overviewmap-box {
|
|
621
|
+
border: 2px dotted rgba(0,60,136,0.7);
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.ol-overviewmap .ol-overviewmap-box:hover {
|
|
625
|
+
cursor: move;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
@mixin igo-geo-theming($theme, $typography) {
|
|
630
|
+
@include igo-drawingTool-theming($theme, $typography);
|
|
631
|
+
@include igo-feature-theming($theme);
|
|
632
|
+
@include igo-filter-theming($theme, $typography);
|
|
633
|
+
@include igo-layer-theming($theme);
|
|
634
|
+
@include igo-map-theming($theme, $typography);
|
|
635
|
+
@include igo-measure-theming($theme, $typography);
|
|
636
|
+
@include igo-directions-theming($theme);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
@mixin igo-directions-theming($theme) {
|
|
640
|
+
@include igo-directions-form-theming($theme);
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
@mixin igo-directions-form-theming($theme) {
|
|
644
|
+
$accent: map-get($theme, accent);
|
|
645
|
+
|
|
646
|
+
igo-directions-form mat-list-item.igo-steps:hover {
|
|
647
|
+
background-color: mat.get-color-from-palette($accent, lighter);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
@mixin igo-drawingTool-theming($theme, $typography) {
|
|
652
|
+
@include igo-draw-theming($theme, $typography);
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
@mixin igo-draw-theming($theme, $typography) {
|
|
656
|
+
$foreground: map-get($theme, foreground);
|
|
657
|
+
|
|
658
|
+
.igo-map-tooltip {
|
|
659
|
+
position: relative;
|
|
660
|
+
border-radius: 4px;
|
|
661
|
+
padding: 4px 8px;
|
|
662
|
+
white-space: nowrap;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.igo-map-tooltip-draw {
|
|
666
|
+
color: mat.get-color-from-palette($foreground, text);
|
|
667
|
+
font-weight: bold;
|
|
668
|
+
font-size: mat.font-size($typography, subheading-2);
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
igo-draw-popup-component {
|
|
672
|
+
h1 {
|
|
673
|
+
font-size: mat.font-size($typography, display-1);
|
|
674
|
+
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
@mixin igo-feature-theming($theme) {
|
|
680
|
+
@include igo-feature-details-theming($theme);
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
@mixin igo-feature-details-theming($theme) {
|
|
684
|
+
$is-dark: map-get($theme, is-dark);
|
|
685
|
+
$foreground: map-get($theme, foreground);
|
|
686
|
+
$background: map-get($theme, background);
|
|
687
|
+
|
|
688
|
+
igo-feature-details > table.igo-striped tbody tr:nth-child(odd) {
|
|
689
|
+
background-color: mat.get-color-from-palette($background, if($is-dark, app-bar, status-bar));
|
|
690
|
+
color: black;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
@mixin igo-filter-theming($theme, $typography) {
|
|
696
|
+
@include igo-time-filter-form-theming($theme);
|
|
697
|
+
@include igo-ogc-filter-time-slider-theming($theme);
|
|
698
|
+
@include igo-ogc-filter-selection-theming($theme);
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
@mixin igo-ogc-filter-selection-theming($theme) {
|
|
702
|
+
$primary: map-get($theme, primary);
|
|
703
|
+
$accent: map-get($theme, accent);
|
|
704
|
+
$dark: mat.define-palette(mat.$grey-palette, 800, 700, 900);
|
|
705
|
+
|
|
706
|
+
mat-button-toggle.mat-button-toggle-checked {
|
|
707
|
+
background-color: mat.get-color-from-palette($accent);
|
|
708
|
+
color: mat.get-color-from-palette($dark);
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
mat-button-toggle {
|
|
712
|
+
color: black !important;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
@mixin igo-ogc-filter-time-slider-theming($theme) {
|
|
717
|
+
$primary: map-get($theme, primary);
|
|
718
|
+
$color: mat.define-palette(mat.$yellow-palette);
|
|
719
|
+
|
|
720
|
+
.mat-slider-thumb-label {
|
|
721
|
+
transform: rotate(45deg) !important;
|
|
722
|
+
border-radius: 50% 50% 0 !important;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
@mixin igo-time-filter-form-theming($theme) {
|
|
727
|
+
$primary: map-get($theme, primary);
|
|
728
|
+
|
|
729
|
+
mat-datetimepicker-calendar > div.mat-datetimepicker-calendar-header {
|
|
730
|
+
color: mat.get-color-from-palette($primary);
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
mat-datetimepicker-calendar > div.mat-datetimepicker-calendar-content .mat-datetimepicker-calendar-body-active {
|
|
734
|
+
background-color: mat.get-color-from-palette($primary, lighter);
|
|
735
|
+
border-radius: 100%;
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
@mixin igo-layer-theming($theme) {
|
|
740
|
+
$primary: map-get($theme, primary);
|
|
741
|
+
$accent: map-get($theme, accent);
|
|
742
|
+
|
|
743
|
+
@include igo-layer-legend-theming($theme);
|
|
744
|
+
|
|
745
|
+
igo-layer-item.igo-layer-item-focused > mat-list-item {
|
|
746
|
+
background-color: mat.get-color-from-palette($accent, lighter);
|
|
747
|
+
color: mat.get-color-from-palette($primary, default-contrast);
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.mat-menu-opacity-slider{
|
|
751
|
+
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)
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
@mixin igo-layer-legend-theming($theme) {
|
|
756
|
+
$primary: map-get($theme, primary);
|
|
757
|
+
|
|
758
|
+
igo-layer-legend img:after {
|
|
759
|
+
border-top-color: mat.get-color-from-palette($primary);
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
@mixin igo-map-theming($theme, $typography) {
|
|
764
|
+
@include igo-map-browser-theming($theme, $typography);
|
|
765
|
+
@include igo-zoom-button-theming($theme);
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
@mixin igo-map-browser-theming($theme, $typography) {
|
|
769
|
+
$primary: map-get($theme, primary);
|
|
770
|
+
$is-dark: map-get($theme, is-dark);
|
|
771
|
+
|
|
772
|
+
igo-map-browser div.ol-attribution > button {
|
|
773
|
+
color: mat.get-color-from-palette($primary, if($is-dark, default-contrast, default));
|
|
774
|
+
background-color: mat.get-color-from-palette(
|
|
775
|
+
$primary,
|
|
776
|
+
if($is-dark, default, default-contrast)
|
|
777
|
+
);
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
igo-map-browser div.ol-attribution > ul {
|
|
781
|
+
font-size: mat.font-size($typography, body-1);
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
@mixin igo-zoom-button-theming($theme) {
|
|
786
|
+
$primary: map-get($theme, primary);
|
|
787
|
+
$accent: map-get($theme, accent);
|
|
788
|
+
$is-dark: map-get($theme, is-dark);
|
|
789
|
+
|
|
790
|
+
igo-zoom-button > div.igo-zoom-button-container > button {
|
|
791
|
+
&.mat-primary {
|
|
792
|
+
color: mat.get-color-from-palette($primary, if($is-dark, default-contrast, default));
|
|
793
|
+
background-color: mat.get-color-from-palette($primary, if($is-dark, default, default-contrast));
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
&.mat-accent {
|
|
797
|
+
color: mat.get-color-from-palette($accent, if($is-dark, default-contrast, default));
|
|
798
|
+
background-color: mat.get-color-from-palette($accent, if($is-dark, default, default-contrast));
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
@mixin igo-measure-theming($theme, $typography) {
|
|
805
|
+
@include igo-measurer-theming($theme, $typography);
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
@mixin igo-measurer-theming($theme, $typography) {
|
|
809
|
+
$foreground: map-get($theme, foreground);
|
|
810
|
+
|
|
811
|
+
.igo-map-tooltip {
|
|
812
|
+
position: relative;
|
|
813
|
+
border-radius: 4px;
|
|
814
|
+
padding: 4px 8px;
|
|
815
|
+
white-space: nowrap;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
.igo-map-tooltip-measure {
|
|
819
|
+
background-color: rgba(255, 204, 51, 0.7);
|
|
820
|
+
border: 1px solid rgb(255, 205, 51);
|
|
821
|
+
color: black;
|
|
822
|
+
font-weight: bold;
|
|
823
|
+
font-size: mat.font-size($typography, subheading-2);
|
|
824
|
+
}
|
|
825
|
+
.igo-map-tooltip-hidden {
|
|
826
|
+
display: none;
|
|
827
|
+
}
|
|
828
|
+
.igo-map-tooltip-measure-by-display{
|
|
829
|
+
display: none;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.blue-theme {
|
|
834
|
+
$primary: mat.define-palette(mat.$blue-palette, 700, 400, 900);
|
|
835
|
+
$accent: mat.define-palette(mat.$blue-palette, 200);
|
|
836
|
+
$warn: mat.define-palette(mat.$red-palette);
|
|
837
|
+
|
|
838
|
+
$temp-theme: mat.define-light-theme((
|
|
839
|
+
color: (
|
|
840
|
+
primary: $primary,
|
|
841
|
+
accent: $accent,
|
|
842
|
+
warn: $warn
|
|
843
|
+
)
|
|
844
|
+
));
|
|
845
|
+
|
|
846
|
+
$foreground: theme-foreground(mat.define-palette(mat.$grey-palette, 900));
|
|
847
|
+
$theme: map-merge($temp-theme, (foreground: $foreground));
|
|
848
|
+
|
|
849
|
+
@include igo-all-theming($theme);
|
|
850
|
+
@include mat.all-component-colors($theme);
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
.bluedq-theme {
|
|
854
|
+
$dq-palette: (
|
|
855
|
+
50 : #e3eaec,
|
|
856
|
+
100 : #b9cad0,
|
|
857
|
+
200 : #8ba7b1,
|
|
858
|
+
300 : #5c8391,
|
|
859
|
+
400 : #39697a,
|
|
860
|
+
500 : #164e62,
|
|
861
|
+
600 : #13475a,
|
|
862
|
+
700 : #103d50,
|
|
863
|
+
800 : #0c3546,
|
|
864
|
+
900 : #062534,
|
|
865
|
+
A100 : #6dc6ff,
|
|
866
|
+
A200 : #3ab2ff,
|
|
867
|
+
A400 : #079eff,
|
|
868
|
+
A700 : #0090ec,
|
|
869
|
+
contrast: (
|
|
870
|
+
50 : #000000,
|
|
871
|
+
100 : #000000,
|
|
872
|
+
200 : #000000,
|
|
873
|
+
300 : #ffffff,
|
|
874
|
+
400 : #ffffff,
|
|
875
|
+
500 : #ffffff,
|
|
876
|
+
600 : #ffffff,
|
|
877
|
+
700 : #ffffff,
|
|
878
|
+
800 : #ffffff,
|
|
879
|
+
900 : #ffffff,
|
|
880
|
+
A100 : #000000,
|
|
881
|
+
A200 : #000000,
|
|
882
|
+
A400 : #ffffff,
|
|
883
|
+
A700 : #ffffff,
|
|
884
|
+
)
|
|
885
|
+
);
|
|
886
|
+
|
|
887
|
+
$primary: mat.define-palette($dq-palette, 500);
|
|
888
|
+
$accent: mat.define-palette($dq-palette, 200);
|
|
889
|
+
$warn: mat.define-palette(mat.$red-palette);
|
|
890
|
+
|
|
891
|
+
$temp-theme: mat.define-light-theme((
|
|
892
|
+
color: (
|
|
893
|
+
primary: $primary,
|
|
894
|
+
accent: $accent,
|
|
895
|
+
warn: $warn
|
|
896
|
+
)
|
|
897
|
+
));
|
|
898
|
+
|
|
899
|
+
$foreground: theme-foreground(mat.define-palette(mat.$grey-palette, 900));
|
|
900
|
+
$theme: map-merge($temp-theme, (foreground: $foreground));
|
|
901
|
+
|
|
902
|
+
@include igo-all-theming($theme);
|
|
903
|
+
@include mat.all-component-colors($theme);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
.bluegrey-theme {
|
|
907
|
+
$primary: mat.define-palette(mat.$blue-grey-palette);
|
|
908
|
+
$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
|
|
909
|
+
$warn: mat.define-palette(mat.$deep-orange-palette);
|
|
910
|
+
|
|
911
|
+
$theme: mat.define-light-theme((
|
|
912
|
+
color: (
|
|
913
|
+
primary: $primary,
|
|
914
|
+
accent: $accent,
|
|
915
|
+
warn: $warn
|
|
916
|
+
)
|
|
917
|
+
));
|
|
918
|
+
|
|
919
|
+
@include igo-all-theming($theme);
|
|
920
|
+
@include mat.all-component-colors($theme);
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
.deeppurple-theme {
|
|
924
|
+
$primary: mat.define-palette(mat.$deep-purple-palette);
|
|
925
|
+
$accent: mat.define-palette(mat.$amber-palette, A200, A100, A400);
|
|
926
|
+
$warn: mat.define-palette(mat.$red-palette);
|
|
927
|
+
|
|
928
|
+
$theme: mat.define-light-theme((
|
|
929
|
+
color: (
|
|
930
|
+
primary: $primary,
|
|
931
|
+
accent: $accent,
|
|
932
|
+
warn: $warn
|
|
933
|
+
)
|
|
934
|
+
));
|
|
935
|
+
|
|
936
|
+
@include igo-all-theming($theme);
|
|
937
|
+
@include mat.all-component-colors($theme);
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.indigo-theme {
|
|
941
|
+
$primary: mat.define-palette(mat.$indigo-palette);
|
|
942
|
+
$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
|
|
943
|
+
$warn: mat.define-palette(mat.$red-palette);
|
|
944
|
+
|
|
945
|
+
$theme: mat.define-light-theme((
|
|
946
|
+
color: (
|
|
947
|
+
primary: $primary,
|
|
948
|
+
accent: $accent,
|
|
949
|
+
warn: $warn
|
|
950
|
+
)
|
|
951
|
+
));
|
|
952
|
+
|
|
953
|
+
@include igo-all-theming($theme);
|
|
954
|
+
@include mat.all-component-colors($theme);
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
.orange-theme {
|
|
958
|
+
$primary: mat.define-palette(mat.$orange-palette, 800);
|
|
959
|
+
$accent: mat.define-palette(mat.$light-blue-palette, 600, 100, 800);
|
|
960
|
+
$warn: mat.define-palette(mat.$red-palette, 600);
|
|
961
|
+
|
|
962
|
+
$theme: mat.define-light-theme((
|
|
963
|
+
color: (
|
|
964
|
+
primary: $primary,
|
|
965
|
+
accent: $accent,
|
|
966
|
+
warn: $warn
|
|
967
|
+
)
|
|
968
|
+
));
|
|
969
|
+
|
|
970
|
+
@include igo-all-theming($theme);
|
|
971
|
+
@include mat.all-component-colors($theme);
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
.dark-theme {
|
|
975
|
+
$primary: mat.define-palette(mat.$blue-grey-palette);
|
|
976
|
+
$accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
|
|
977
|
+
$warn: mat.define-palette(mat.$deep-orange-palette);
|
|
978
|
+
|
|
979
|
+
$theme: mat.define-dark-theme((
|
|
980
|
+
color: (
|
|
981
|
+
primary: $primary,
|
|
982
|
+
accent: $accent,
|
|
983
|
+
warn: $warn
|
|
984
|
+
)
|
|
985
|
+
));
|
|
986
|
+
|
|
987
|
+
@include igo-all-theming($theme);
|
|
988
|
+
@include mat.all-component-colors($theme);
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
.teal-theme {
|
|
992
|
+
$primary: mat.define-palette(mat.$teal-palette, 600, 400, 900);
|
|
993
|
+
$accent: mat.define-palette(mat.$teal-palette, 400);
|
|
994
|
+
$warn: mat.define-palette(mat.$red-palette);
|
|
995
|
+
|
|
996
|
+
$theme: mat.define-light-theme((
|
|
997
|
+
color: (
|
|
998
|
+
primary: $primary,
|
|
999
|
+
accent: $accent,
|
|
1000
|
+
warn: $warn
|
|
1001
|
+
)
|
|
1002
|
+
));
|
|
1003
|
+
|
|
1004
|
+
@include igo-all-theming($theme);
|
|
1005
|
+
@include mat.all-component-colors($theme);
|
|
1006
|
+
}
|