Skip to content

fix(popover-edit): blending in with background in high contrast mode #16604

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/material-experimental/popover-edit/_popover-edit.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import '../../cdk/a11y/a11y';
@import '../../material/core/style/variables';
@import '../../material/core/style/elevation';
@import '../../material/core/theming/palette';
Expand Down Expand Up @@ -80,6 +81,13 @@
color: mat-color($foreground, text);
display: block;
padding: 16px 24px;

@include cdk-high-contrast {
// Note that normally we use 1px for high contrast outline, however here we use 3,
// because the popover is rendered on top of a table which already has some borders
// and doesn't have a backdrop. The thicker outline makes it easier to differentiate.
outline: solid 3px;
}
}

.mat-edit-lens {
Expand Down