mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 23:42:11 +02:00
MDL-73465 theme_boost: apply rounded borders to modal dialogs.
This commit is contained in:
parent
541d999d27
commit
7412121555
@ -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;
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user