# HG changeset patch # User Sebastien Jodogne # Date 1606319504 -3600 # Node ID 59fc37c10cfa1a13ef41414d427e631031fb45e3 # Parent 7896aac14587bcfe99a1404cc349d5137e362408 nicer info message at startup diff -r 7896aac14587 -r 59fc37c10cfa Applications/StoneWebViewer/WebApplication/app-fixes.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Applications/StoneWebViewer/WebApplication/app-fixes.css Wed Nov 25 16:51:44 2020 +0100 @@ -0,0 +1,45 @@ +/* https://stackoverflow.com/a/16863182/881731 */ +.tooltip { + position: fixed; +} + + +/* The following fixes the layout if Bootstrap CSS is not used */ + +/** + *, + *::before, + *::after { +box-sizing: border-box; +} +**/ + +.wvInfoScreen { + width: 100%; + height: 100%; + background-color: black; + position: fixed; + top: 0; + left: 0; + z-index: 9999; + + display: flex; + align-items: center; + justify-content: center; +} + +.wvInfoPopup { + background-color: black; + border: white; + border-style: solid; + border-radius: 5px; + border-width: 2px; + padding: 20px; +} + +.wvInfoPopupCloseButton { + background-color: gray; + border: none; + border-radius: 5px; + padding: 7px; +} diff -r 7896aac14587 -r 59fc37c10cfa Applications/StoneWebViewer/WebApplication/index.html --- a/Applications/StoneWebViewer/WebApplication/index.html Wed Nov 25 12:16:53 2020 +0100 +++ b/Applications/StoneWebViewer/WebApplication/index.html Wed Nov 25 16:51:44 2020 +0100 @@ -13,26 +13,54 @@ - - - - - - + +
-
+ + + + -
+