blob: 13538fec3f1923adf7b1e059a05171ca3b5d8e0c [file] [log] [blame]
Matteo Scandolo9d7940c2017-01-19 18:28:43 -08001@import './../../style/vars.scss';
2
3$side-panel-width: 400px;
4
5xos-side-panel {
6 .xos-side-panel {
7 width: $side-panel-width;
8 height: 100%;
9 position: fixed;
Matteo Scandolo9d7940c2017-01-19 18:28:43 -080010 z-index: 9999;
Matteo Scandolo520a8a12017-03-10 17:31:37 -080011 top: 0;
Matteo Scandolo9d7940c2017-01-19 18:28:43 -080012 right: -$side-panel-width;
Matteo Scandolo520a8a12017-03-10 17:31:37 -080013 background: $background-dark-color;
Matteo Scandolo9d7940c2017-01-19 18:28:43 -080014 padding: $padding;
15 transition: all .5s cubic-bezier(0.215, 0.610, 0.355, 1.000);
Matteo Scandolo520a8a12017-03-10 17:31:37 -080016 overflow-y: scroll;
Matteo Scandolo9d7940c2017-01-19 18:28:43 -080017
18 &.open {
19 right: 0;
20 }
21 }
22}