-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Maps] Improving design and a11y for attribution layer settings (#38)
* Design and a11y improvements * Buttons aria labels * Addressing PR review
- Loading branch information
1 parent
98fda85
commit 3e3f2ab
Showing
6 changed files
with
123 additions
and
55 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
x-pack/plugins/maps/public/connected_components/layer_panel/_index.scss
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 'layer_panel'; | ||
@import 'layer_settings/attribution_popover'; | ||
@import 'layer_settings/index'; | ||
@import 'filter_editor/filter_editor'; | ||
@import 'join_editor/resources/join'; | ||
@import 'style_settings/style_settings'; |
27 changes: 27 additions & 0 deletions
27
...ns/maps/public/connected_components/layer_panel/layer_settings/_attribution_form_row.scss
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,27 @@ | ||
.mapAttributionFormRow { | ||
display: flex; | ||
margin: $euiSizeS 0; | ||
} | ||
|
||
.mapAttributionFormRow__legend { | ||
@include euiFormLabel; | ||
display: inline-flex; | ||
width: calc(33% - #{$euiSizeS}); | ||
height: $euiSizeXL; | ||
align-items: center; | ||
margin-right: $euiSizeS; | ||
} | ||
|
||
.mapAttributionFormRow__field { | ||
width: 67%; | ||
} | ||
|
||
.mapAttributionFormRow__addButton { | ||
margin-top: $euiSizeXS; | ||
} | ||
|
||
.mapAttributionFormRow__buttons { | ||
display: flex; | ||
justify-content: flex-end; | ||
margin-top: $euiSizeXS; | ||
} |
2 changes: 1 addition & 1 deletion
2
...ins/maps/public/connected_components/layer_panel/layer_settings/_attribution_popover.scss
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,3 +1,3 @@ | ||
.mapAttributionPopover { | ||
width: $euiSizeXXL * 12; | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
x-pack/plugins/maps/public/connected_components/layer_panel/layer_settings/_index.scss
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,2 @@ | ||
@import 'attribution_form_row'; | ||
@import 'attribution_popover'; |
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