MDL-73465 theme_boost: apply rounded borders to modal dialogs.

This commit is contained in:
Paul Holden 2021-12-29 12:20:56 +00:00
parent 541d999d27
commit 7412121555
3 changed files with 14 additions and 0 deletions

View File

@ -154,6 +154,14 @@ button.close,
}
}
// Modal dialogs border should be rounded too.
.modal-dialog[tabindex="0"] {
&.focus,
&:focus {
@include border-radius($modal-content-border-radius);
}
}
// We don't want to highlight the whole li when it's expanded. Only the first child is highlighted.
[role="treeitem"][aria-expanded="true"] {
outline: 0;

View File

@ -10021,6 +10021,9 @@ button.close:focus:hover,
[role="treeitem"]:not([aria-expanded="true"]):focus:hover {
text-decoration: none; }
.modal-dialog[tabindex="0"].focus, .modal-dialog[tabindex="0"]:focus {
border-radius: 0.6rem; }
[role="treeitem"][aria-expanded="true"] {
outline: 0; }
[role="treeitem"][aria-expanded="true"].focus > *:first-child, [role="treeitem"][aria-expanded="true"]:focus > *:first-child {

View File

@ -10021,6 +10021,9 @@ button.close:focus:hover,
[role="treeitem"]:not([aria-expanded="true"]):focus:hover {
text-decoration: none; }
.modal-dialog[tabindex="0"].focus, .modal-dialog[tabindex="0"]:focus {
border-radius: 0.3rem; }
[role="treeitem"][aria-expanded="true"] {
outline: 0; }
[role="treeitem"][aria-expanded="true"].focus > *:first-child, [role="treeitem"][aria-expanded="true"]:focus > *:first-child {