Rift.IO OSM R1 Initial Submission
[osm/UI.git] / skyquake / plugins / composer / src / src / styles / CatalogPanelTray.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 .CatalogPanelTray {
26         position: absolute;
27         overflow: hidden;
28         bottom: 0px;
29         width: 100%;
30         min-width: 300px;
31         height: $tray-head-height + $tray-body-height;
32         color: #aeaeae;
33         background-color: $panel-bg-color;
34         z-index: 0;
35         transition: transform 300ms cubic-bezier(0.230, 1.000, 0.320, 1.000);
36         &.-close {
37                 transform: translate3d(0, $tray-body-height, 0);
38         }
39         h1 {
40                 border-bottom: 1px solid rgba(143, 143, 143, 0.05);
41                 cursor: pointer;
42                 color: #666;
43         font-size: 12px;
44         font-style: normal;
45         line-height: 16px;
46                 height: 25px;
47         margin: 0;
48         padding-left: 0;
49         padding-right: 0;
50         text-align: center;
51         text-transform: uppercase;
52                 background-color: $panel-bg-color-contrast;
53         }
54         .tray-body {
55                 height: $tray-body-height;
56                 overflow: auto;
57                 z-index: 0;
58                 background-color: $panel-bg-color;
59         }
60         &.-is-dragging {
61                 .tray-body {
62                         overflow: hidden;
63                 }
64         }
65 }