Merge branch 'MDL-73026-master' of https://github.com/junpataleta/moodle

This commit is contained in:
Andrew Nicols 2021-11-11 10:57:06 +08:00
commit a1d7bfcd50
3 changed files with 23 additions and 0 deletions

View file

@ -15,4 +15,17 @@
}
}
}
// Override Bootstrap .close for better accessibility.
.close {
// Adjust the margins so the focus outline does not look clipped.
margin: -0.8rem -0.8rem -0.8rem auto;
// Inherit the opacity when focus is received for better focus outline contrast.
&:not(:disabled):not(.disabled) {
@include hover-focus() {
opacity: inherit;
}
}
}
}

View file

@ -19953,6 +19953,11 @@ span[data-flexitour="container"][x-placement="right"], span[data-flexitour="cont
left: 50%;
transform: translate(-50%, -50%); }
.modal .close {
margin: -0.8rem -0.8rem -0.8rem auto; }
.modal .close:not(:disabled):not(.disabled):hover, .modal .close:not(:disabled):not(.disabled):focus {
opacity: inherit; }
.layout.fullscreen {
height: 100vh;
position: fixed;

View file

@ -19899,6 +19899,11 @@ span[data-flexitour="container"][x-placement="right"], span[data-flexitour="cont
left: 50%;
transform: translate(-50%, -50%); }
.modal .close {
margin: -0.8rem -0.8rem -0.8rem auto; }
.modal .close:not(:disabled):not(.disabled):hover, .modal .close:not(:disabled):not(.disabled):focus {
opacity: inherit; }
.layout.fullscreen {
height: 100vh;
position: fixed;