diff Applications/StoneWebViewer/WebApplication/app-fixes.css @ 1686:59fc37c10cfa

nicer info message at startup
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 25 Nov 2020 16:51:44 +0100
parents
children b180233143ae
line wrap: on
line diff
--- /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;
+}