diff options
author | TrueKuehli <rctcoaster2000@hotmail.de> | 2018-09-30 16:04:18 +0200 |
---|---|---|
committer | TrueKuehli <rctcoaster2000@hotmail.de> | 2018-09-30 16:04:18 +0200 |
commit | c0a4272fcc15da322b3b63fb0a3e211e786504e0 (patch) | |
tree | 8c2445b34d0a69e59b36e2b71e01820f0316669f /WebInterface/NodeJSServer/src/style/partials/modal/_base.scss | |
parent | f97f25ea54a0f888d2195d6868346854a2a005e0 (diff) |
Split up SASS into multiple files
This will make adding pages much more easy, as some elements can be reused.
Diffstat (limited to 'WebInterface/NodeJSServer/src/style/partials/modal/_base.scss')
-rw-r--r-- | WebInterface/NodeJSServer/src/style/partials/modal/_base.scss | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/WebInterface/NodeJSServer/src/style/partials/modal/_base.scss b/WebInterface/NodeJSServer/src/style/partials/modal/_base.scss new file mode 100644 index 0000000..c8705e4 --- /dev/null +++ b/WebInterface/NodeJSServer/src/style/partials/modal/_base.scss @@ -0,0 +1,31 @@ +.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; + } +} |