Merge "Assets tab hidden by default" into v1.1
[osm/UI.git] / skyquake / plugins / composer / src / src / styles / ModalOverlay.scss
1 /*
2  * 
3  *   Copyright 2016 RIFT.IO Inc
4  *
5  *   Licensed under the Apache License, Version 2.0 (the "License");
6  *   you may not use this file except in compliance with the License.
7  *   You may obtain a copy of the License at
8  *
9  *       http://www.apache.org/licenses/LICENSE-2.0
10  *
11  *   Unless required by applicable law or agreed to in writing, software
12  *   distributed under the License is distributed on an "AS IS" BASIS,
13  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  *   See the License for the specific language governing permissions and
15  *   limitations under the License.
16  *
17  */
18 @import 'main';
19 .ModalOverlay {
20         display: none;
21         position: absolute;
22         top: 0;
23         left: 0;
24         right: 0;
25         bottom: 0;
26         background-color: transparent;
27         .panel-body {
28                 position: static;
29                 padding: 1.25em;
30         }
31         &.-is-visible {
32                 display: block;
33                 z-index: 100;
34                 position: absolute;
35                 top: 0;
36                 left: 0;
37                 right: 0;
38                 bottom: 0;
39         }
40         .background {
41                 position: absolute;
42                 top: 0;
43                 left: 0;
44                 right: 0;
45                 bottom: 0;
46                 background-color: #323232;
47                 opacity: 0.8;
48                 z-index: 0;
49         }
50         .foreground {
51                 position: absolute;
52                 top: 0;
53                 left: 0;
54                 right: 0;
55                 bottom: 0;
56                 z-index: 1;
57                 .ui {
58                         position: fixed;
59                         top: 50%;
60                         left: 50%;
61                         transform: translate(-50%, -50%);
62                         display: inline-block;
63                         font-size: 1.5em;
64                         border-radius: 8px;
65                         h1 {
66                                 background-color: white;
67                         }
68                         .actions {
69                                 position: fixed;
70                                 top: 50%;
71                                 left: 50%;
72                                 transform: translate(-50%, -50%);
73                                 display: inline-block;
74                                 font-size: 1em;
75                                 border-radius: 8px;
76                                 .action {
77                                         white-space: nowrap;
78                                         cursor: pointer;
79                                         margin: 12px;
80                                 }
81                                 h1 {
82                                         background-color: white;
83                                 }
84                         }
85                 }
86         }
87 }