-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from infra-geo-ouverte/master
merge master
- Loading branch information
Showing
43 changed files
with
203 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export * from './tool.interface'; | ||
export * from './tool.service'; | ||
export * from './tool-component'; | ||
export * from './toolbox.enums'; | ||
export * from './toolbox'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export enum ToolboxColor { | ||
White = 'white', | ||
Grey = 'grey', | ||
Primary = 'primary' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
} | ||
|
||
.igo-tool-container-with-toolbar { | ||
left: 51px; | ||
left: 50px; | ||
} | ||
|
||
igo-actionbar { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,50 @@ | ||
@mixin igo-toolbox-theming($theme) { | ||
$primary: map-get($theme, primary); | ||
$accent: map-get($theme, accent); | ||
$foreground: map-get($theme, foreground); | ||
|
||
igo-toolbox > igo-actionbar mat-list.mat-list-base igo-actionbar-item mat-list-item { | ||
&:hover { | ||
background-color: mat-color($accent, lighter); | ||
} | ||
|
||
igo-toolbox > igo-actionbar igo-actionbar-item mat-list-item.tool-activated { | ||
background-color: mat-color($accent); | ||
&.tool-activated, | ||
&.children-tool-activated { | ||
background-color: mat-color($accent); | ||
cursor: default; | ||
button { | ||
cursor: default; | ||
} | ||
} | ||
} | ||
|
||
igo-toolbox > igo-actionbar igo-actionbar-item mat-list-item.children-tool-activated { | ||
background-color: mat-color($accent); | ||
|
||
igo-toolbox.color-primary > igo-actionbar:not(.with-title) { | ||
box-shadow: unset; | ||
background-color: mat-color($primary) | ||
} | ||
|
||
igo-toolbox.color-grey > igo-actionbar:not(.with-title) { | ||
box-shadow: unset; | ||
background-color: #737475; | ||
} | ||
|
||
|
||
igo-toolbox.color-primary, | ||
igo-toolbox.color-grey { | ||
& > igo-actionbar:not(.with-title) mat-list.mat-list-base { | ||
.mat-list-item.mat-list-item-with-avatar { | ||
color: white; | ||
&:hover { | ||
color: mat-color($foreground, text); | ||
} | ||
|
||
&.tool-activated, | ||
&.children-tool-activated { | ||
background-color: white; | ||
color: mat-color($foreground, text); | ||
} | ||
} | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/context/src/lib/context-map-button/user-button/user-button.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
@import './theming'; | ||
@import './typography'; | ||
@import '../../../common/src/style/common.theming'; | ||
@import '../../../geo/src/style/geo.theming'; | ||
|
||
@mixin igo-all-theming($theme) { | ||
@include igo-theming($theme); | ||
@include igo-common-theming($theme); | ||
@include igo-geo-theming($theme); | ||
@mixin igo-all-theming($theme, $typography: $igo-typography) { | ||
@include igo-theming($theme, $typography); | ||
@include igo-common-theming($theme, $typography); | ||
@include igo-geo-theming($theme, $typography); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@import '../lib/message/message.theming'; | ||
|
||
@mixin igo-core-theming($theme) { | ||
@mixin igo-core-theming($theme, $typography) { | ||
@include igo-message-theming($theme); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@function theme-foreground($palette) { | ||
$color: mat-color($palette); | ||
@return ( | ||
base: $color, | ||
divider: rgba($color, 0.12), | ||
dividers: rgba($color, 0.12), | ||
disabled: rgba($color, 0.38), | ||
disabled-button: rgba($color, 0.26), | ||
disabled-text: rgba($color, 0.38), | ||
elevation: $color, | ||
hint-text: rgba($color, 0.38), | ||
secondary-text: rgba($color, 0.54), | ||
icon: rgba($color, 0.54), | ||
icons: rgba($color, 0.54), | ||
text: rgba($color, 0.87), | ||
slider-min: rgba($color, 0.87), | ||
slider-off: rgba($color, 0.26), | ||
slider-off-active: rgba($color, 0.38) | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
@import '../foreground'; | ||
|
||
$primary: mat-palette($mat-blue, 700, 400, 900); | ||
$accent: mat-palette($mat-blue, 200); | ||
$warn: mat-palette($mat-red); | ||
|
||
$theme: mat-light-theme( | ||
$temp-theme: mat-light-theme( | ||
$primary, | ||
$accent, | ||
$warn | ||
); | ||
|
||
$foreground: theme-foreground(mat-palette($mat-grey, 900)); | ||
$theme: map-merge($temp-theme, (foreground: $foreground)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.