From f599bc4a463091ece32e8dafeda47a63e8f6e48e Mon Sep 17 00:00:00 2001 From: Thaum Date: Fri, 20 Feb 2015 10:40:00 +0000 Subject: [PATCH] Fixed screen dimming No longer hangs the UI when a detail is closed without a matching hero to return to. --- rpg-docs/client/views/GeneralCSS/globalDetail.css | 8 ++++++-- rpg-docs/client/views/layout/layout.html | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/rpg-docs/client/views/GeneralCSS/globalDetail.css b/rpg-docs/client/views/GeneralCSS/globalDetail.css index 4e453b5d..0a93d6ed 100644 --- a/rpg-docs/client/views/GeneralCSS/globalDetail.css +++ b/rpg-docs/client/views/GeneralCSS/globalDetail.css @@ -17,8 +17,12 @@ bottom: 0; left: 0; right: 0; - background-color: black; - opacity: 0.0; + background-color: grey; + background-color: rgba(0,0,0,0.35); +} + +#fadeDummy { + pointer-events: none; } .detailContent { diff --git a/rpg-docs/client/views/layout/layout.html b/rpg-docs/client/views/layout/layout.html index 35aa32ce..4d82e2e3 100644 --- a/rpg-docs/client/views/layout/layout.html +++ b/rpg-docs/client/views/layout/layout.html @@ -17,6 +17,9 @@ {{> yield}} +
+
+