Rift.IO OSM R1 Initial Submission
[osm/UI.git] / skyquake / plugins / composer / src / src / styles / CanvasPanelTray.scss
1
2 /*
3  * 
4  *   Copyright 2016 RIFT.IO Inc
5  *
6  *   Licensed under the Apache License, Version 2.0 (the "License");
7  *   you may not use this file except in compliance with the License.
8  *   You may obtain a copy of the License at
9  *
10  *       http://www.apache.org/licenses/LICENSE-2.0
11  *
12  *   Unless required by applicable law or agreed to in writing, software
13  *   distributed under the License is distributed on an "AS IS" BASIS,
14  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  *   See the License for the specific language governing permissions and
16  *   limitations under the License.
17  *
18  */
19 @import 'variables';
20 @import 'DataOpenCloseIcon';
21
22 $tray-body-height: 250px;
23 $tray-head-height: 25px;
24
25 .CanvasPanelTray {
26         position: absolute;
27         bottom: 0;
28         left: 0;
29         right: 0;
30         height: 25px;
31         min-width: 300px;
32         background-color: white;
33         &.-with-transitions {
34                 transition: height 300ms cubic-bezier(0.230, 1.000, 0.320, 1.000);
35         }
36         h1 {
37                 border-bottom: 1px solid rgba(143, 143, 143, 0.05);
38                 cursor: pointer;
39                 color: #666;
40                 font-size: 12px;
41                 font-style: normal;
42                 line-height: 16px;
43                 height: 25px;
44                 margin: 0;
45                 padding-left: 0;
46                 padding-right: 0;
47                 text-align: center;
48                 text-transform: uppercase;
49                 background-color: $panel-bg-color-contrast;
50         }
51         > .tray-body {
52                 position: absolute;
53                 top: 25px;
54                 right: 0;
55                 left: 0;
56                 bottom: 0;
57                 overflow: hidden;
58                 &:hover {
59                         overflow: auto;
60                 }
61         }
62
63 }