blob: 5a16247d68e85a6ca9c6bc5515ba467043a8deca [file] [log] [blame]
Matteo Scandolod2044a42017-08-07 16:08:28 -07001
2/*
3 * Copyright 2017-present Open Networking Foundation
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
Matteo Scandoloe6393f02016-05-23 14:27:52 -070019xos-side-panel .xos-side-panel-content {
20 position: fixed;
21 width: 30%;
22 height: 100%;
23 padding: 25px;
24 background: #fff;
25 overflow: scroll; }
26 xos-side-panel .xos-side-panel-content.right {
27 border-left: 1px solid #555555;
28 top: 0;
29 right: 0;
30 visibility: hidden;
31 box-shadow: -10px 0px 20px -8px rgba(0, 0, 0, 0.75); }
32 xos-side-panel .xos-side-panel-content.right.out {
33 animation: 0.5s slideOutRight ease-in-out;
34 visibility: visible; }
35 xos-side-panel .xos-side-panel-content.right.in {
36 animation: 0.5s slideInRight ease-in-out;
37 visibility: visible; }
38
39@keyframes slideInRight {
40 from {
41 transform: translate3d(100%, 0, 0);
42 visibility: visible; }
43 to {
44 transform: translate3d(0, 0, 0); } }
45
46@keyframes slideOutRight {
47 from {
48 transform: translate3d(0, 0, 0); }
49 to {
50 visibility: hidden;
51 transform: translate3d(100%, 0, 0); } }