From 330c49947c82d3d66f65f03abcad75d57d3dc121 Mon Sep 17 00:00:00 2001 From: TrueKuehli Date: Sat, 29 Sep 2018 21:52:43 +0200 Subject: Started work on Modals Started work on the modals, that will be used as dialog boxes to create a new server, or to log into an existing one with the required password. Currently just calls the creation method at start, and with not much content, which will be added later. --- WebInterface/NodeJSServer/src/style/index.scss | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'WebInterface/NodeJSServer/src/style/index.scss') diff --git a/WebInterface/NodeJSServer/src/style/index.scss b/WebInterface/NodeJSServer/src/style/index.scss index 83f9f0a..b5ca607 100644 --- a/WebInterface/NodeJSServer/src/style/index.scss +++ b/WebInterface/NodeJSServer/src/style/index.scss @@ -391,3 +391,35 @@ body { text-align: center; } } + +.modal-container { + position:absolute; + top: 0; + width: 100vw; + height: 100vh; + background-color: #000000AA; + display: flex; + opacity: 1; + transition: opacity 200ms ease; + + &.hidden { + opacity: 0; + } + + .modal { + background-color: #546e7a; + margin: auto; + padding: 1rem; + border-style: none; + border-radius: 8px; + box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22); + } + + .modal-title { + margin: 1rem; + } + + .modal-body { + margin: 0.25rem; + } +} -- cgit v1.2.3-54-g00ecf