Rift.IO OSM R1 Initial Submission
[osm/UI.git] / skyquake / plugins / composer / src / src / styles / CatalogPanelTray.scss
diff --git a/skyquake/plugins/composer/src/src/styles/CatalogPanelTray.scss b/skyquake/plugins/composer/src/src/styles/CatalogPanelTray.scss
new file mode 100644 (file)
index 0000000..c3c16a3
--- /dev/null
@@ -0,0 +1,65 @@
+
+/*
+ * 
+ *   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 'variables';
+@import 'DataOpenCloseIcon';
+
+$tray-body-height: 250px;
+$tray-head-height: 25px;
+
+.CatalogPanelTray {
+       position: absolute;
+       overflow: hidden;
+       bottom: 0px;
+       width: 100%;
+       min-width: 300px;
+       height: $tray-head-height + $tray-body-height;
+       color: #aeaeae;
+       background-color: $panel-bg-color;
+       z-index: 0;
+       transition: transform 300ms cubic-bezier(0.230, 1.000, 0.320, 1.000);
+       &.-close {
+               transform: translate3d(0, $tray-body-height, 0);
+       }
+       h1 {
+               border-bottom: 1px solid rgba(143, 143, 143, 0.05);
+               cursor: pointer;
+               color: #666;
+       font-size: 12px;
+       font-style: normal;
+       line-height: 16px;
+               height: 25px;
+       margin: 0;
+       padding-left: 0;
+       padding-right: 0;
+       text-align: center;
+       text-transform: uppercase;
+               background-color: $panel-bg-color-contrast;
+       }
+       .tray-body {
+               height: $tray-body-height;
+               overflow: auto;
+               z-index: 0;
+               background-color: $panel-bg-color;
+       }
+       &.-is-dragging {
+               .tray-body {
+                       overflow: hidden;
+               }
+       }
+}