Rift.IO OSM R1 Initial Submission
[osm/UI.git] / skyquake / plugins / composer / src / src / styles / ModalOverlay.scss
diff --git a/skyquake/plugins/composer/src/src/styles/ModalOverlay.scss b/skyquake/plugins/composer/src/src/styles/ModalOverlay.scss
new file mode 100644 (file)
index 0000000..f17992f
--- /dev/null
@@ -0,0 +1,87 @@
+/*
+ * 
+ *   Copyright 2016 RIFT.IO Inc
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+@import 'main';
+.ModalOverlay {
+       display: none;
+       position: absolute;
+       top: 0;
+       left: 0;
+       right: 0;
+       bottom: 0;
+       background-color: transparent;
+       .panel-body {
+               position: static;
+               padding: 1.25em;
+       }
+       &.-is-visible {
+               display: block;
+               z-index: 100;
+               position: absolute;
+               top: 0;
+               left: 0;
+               right: 0;
+               bottom: 0;
+       }
+       .background {
+               position: absolute;
+               top: 0;
+               left: 0;
+               right: 0;
+               bottom: 0;
+               background-color: #323232;
+               opacity: 0.8;
+               z-index: 0;
+       }
+       .foreground {
+               position: absolute;
+               top: 0;
+               left: 0;
+               right: 0;
+               bottom: 0;
+               z-index: 1;
+               .ui {
+                       position: fixed;
+                       top: 50%;
+                       left: 50%;
+                       transform: translate(-50%, -50%);
+                       display: inline-block;
+                       font-size: 1.5em;
+                       border-radius: 8px;
+                       h1 {
+                               background-color: white;
+                       }
+                       .actions {
+                               position: fixed;
+                               top: 50%;
+                               left: 50%;
+                               transform: translate(-50%, -50%);
+                               display: inline-block;
+                               font-size: 1em;
+                               border-radius: 8px;
+                               .action {
+                                       white-space: nowrap;
+                                       cursor: pointer;
+                                       margin: 12px;
+                               }
+                               h1 {
+                                       background-color: white;
+                               }
+                       }
+               }
+       }
+}
\ No newline at end of file