mirror of
https://github.com/a2nt/webpack-bootstrap-ui-kit.git
synced 2024-10-22 11:05:45 +02:00
35 lines
741 B
SCSS
35 lines
741 B
SCSS
|
$flyout-height-padding: 1rem;
|
||
|
$flyout-width-padding: 2rem;
|
||
|
$flyout-padding: $flyout-height-padding $flyout-width-padding;
|
||
|
$flyout-bg: #000 !default;
|
||
|
$flyout-color: #fff !default;
|
||
|
$flyout-title-color: #fff !default;
|
||
|
$flyout-transition: right 2s;
|
||
|
|
||
|
.flyout-FlyoutUI {
|
||
|
position: absolute;
|
||
|
z-index: 99;
|
||
|
transform: translateY(-50%);
|
||
|
transition: $flyout-transition;
|
||
|
right: -100%;
|
||
|
top: 50%;
|
||
|
background: $flyout-bg;
|
||
|
color: $flyout-color;
|
||
|
padding: $flyout-padding;
|
||
|
|
||
|
&__active {
|
||
|
display: block;
|
||
|
right: 0;
|
||
|
}
|
||
|
|
||
|
&__title {
|
||
|
color: $flyout-title-color;
|
||
|
}
|
||
|
|
||
|
&__close {
|
||
|
position: absolute;
|
||
|
top: $flyout-height-padding;
|
||
|
right: $flyout-width-padding;
|
||
|
}
|
||
|
}
|