| |
| /* |
| * Copyright 2017-present Open Networking Foundation |
| |
| * 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 '../../../../style/sass/lib/_variables.scss'; |
| |
| xos-side-panel{ |
| |
| .xos-side-panel-content{ |
| position: fixed; |
| width: 30%; |
| height: 100%; |
| padding: 25px; |
| background: #fff; |
| overflow: scroll; |
| |
| &.right { |
| border-left: 1px solid $gray; |
| top: 0; |
| //right: -35%; |
| right: 0; |
| visibility: hidden; |
| box-shadow: -10px 0px 20px -8px rgba(0,0,0,0.75); |
| } |
| |
| &.right.out { |
| animation: 0.5s slideOutRight ease-in-out; |
| visibility: visible; |
| } |
| |
| &.right.in { |
| animation: 0.5s slideInRight ease-in-out; |
| visibility: visible; |
| } |
| } |
| } |
| |
| @keyframes slideInRight { |
| from { |
| transform: translate3d(100%, 0, 0); |
| visibility: visible; |
| } |
| |
| to { |
| transform: translate3d(0, 0, 0); |
| } |
| } |
| |
| @keyframes slideOutRight { |
| from { |
| transform: translate3d(0, 0, 0); |
| } |
| |
| to { |
| visibility: hidden; |
| transform: translate3d(100%, 0, 0); |
| } |
| } |