Skip to content

Commit

Permalink
update gallery z-index (#2066)
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryro authored May 17, 2021
1 parent 8d8556f commit 6844b59
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/systems/ec/design-tokens/tokens/z-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ aliases:
Z_INDEX_NAVIGATION: 10
Z_INDEX_DROPDOWN: 15
Z_INDEX_MODAL: 50
Z_INDEX_OVERLAY: 100
Z_INDEX_MAX: 9999
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
*/
@mixin ecl-gallery-overlay(
$overlay-background: $ecl-color-black-100,
$overlay-z-index: $ecl-z-index-modal,
$overlay-z-index: $ecl-z-index-overlay,
$detail-background: $ecl-color-grey-100,
$detail-color: $ecl-color-white-100
) {
Expand Down
5 changes: 5 additions & 0 deletions src/systems/ec/themes/default/aliases/z-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ props:
comment: Z-index modal
type: number
category: z-index
- name: Z_INDEX_OVERLAY
value: '{!Z_INDEX_OVERLAY}'
comment: Z-index overlay
type: number
category: z-index
- name: Z_INDEX_MAX
value: '{!Z_INDEX_MAX}'
comment: Z-index max
Expand Down
1 change: 1 addition & 0 deletions src/systems/eu/design-tokens/tokens/z-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ aliases:
Z_INDEX_NAVIGATION: 10
Z_INDEX_DROPDOWN: 15
Z_INDEX_MODAL: 50
Z_INDEX_OVERLAY: 100
Z_INDEX_MAX: 9999
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
*/
@mixin ecl-gallery-overlay(
$overlay-background: $ecl-color-black-100,
$overlay-z-index: $ecl-z-index-modal,
$overlay-z-index: $ecl-z-index-overlay,
$detail-background: $ecl-color-grey-100,
$detail-color: $ecl-color-white-100
) {
Expand Down
5 changes: 5 additions & 0 deletions src/systems/eu/themes/default/aliases/z-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ props:
comment: Z-index modal
type: number
category: z-index
- name: Z_INDEX_OVERLAY
value: '{!Z_INDEX_OVERLAY}'
comment: Z-index overlay
type: number
category: z-index
- name: Z_INDEX_MAX
value: '{!Z_INDEX_MAX}'
comment: Z-index max
Expand Down

0 comments on commit 6844b59

Please sign in to comment.