# HG changeset patch # User Benjamin Golinvaux # Date 1606320188 -3600 # Node ID c14dd6e11ddd90fbdfa92ca9d688ecf949bac5ef # Parent cc5a2e076746124b3219c2fd0159d168bd4c5bbf# Parent 59fc37c10cfa1a13ef41414d427e631031fb45e3 merge diff -r cc5a2e076746 -r c14dd6e11ddd 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 17:03:08 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 cc5a2e076746 -r c14dd6e11ddd Applications/StoneWebViewer/WebApplication/index.html --- a/Applications/StoneWebViewer/WebApplication/index.html Wed Nov 25 17:02:43 2020 +0100 +++ b/Applications/StoneWebViewer/WebApplication/index.html Wed Nov 25 17:03:08 2020 +0100 @@ -13,26 +13,54 @@ - - - - - - + +
-
+ + + + -
+