luci-base: CSS accessibility improvements for modal dialog
authorJo-Philipp Wich <jo@mein.io>
Fri, 23 Nov 2018 06:44:30 +0000 (07:44 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sat, 24 Nov 2018 20:31:28 +0000 (21:31 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css

index f6ea9645ff56c2feed6e460641193d1b5f84ac84..f8133833e8c10d2bd3ee7c206506b18361e9403a 100644 (file)
@@ -211,6 +211,7 @@ hr {
        -webkit-overflow-scrolling: touch;
        transition: opacity .125s ease-in;
        opacity: 0;
+       visibility: hidden;
 }
 
 .modal {
@@ -250,6 +251,7 @@ body.modal-overlay-active #modal_overlay {
        left: 0;
        right: 0;
        opacity: 1;
+       visibility: visible;
 }
 
 .warning {