webpack-bootstrap-ui-kit/src/scss/ui/flyout.scss

35 lines
687 B
SCSS
Raw Normal View History

2021-08-09 18:04:09 +02:00
$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 {
2021-08-18 20:38:12 +02:00
background: $flyout-bg;
color: $flyout-color;
padding: $flyout-padding;
position: absolute;
right: -100%;
top: 50%;
transform: translateY(-50%);
transition: $flyout-transition;
z-index: 99;
2021-08-09 18:04:09 +02:00
2021-08-18 20:38:12 +02:00
&__active {
display: block;
right: 0;
}
2021-08-09 18:04:09 +02:00
2021-08-18 20:38:12 +02:00
&__title {
color: $flyout-title-color;
}
2021-08-09 18:04:09 +02:00
2021-08-18 20:38:12 +02:00
&__close {
position: absolute;
right: $flyout-width-padding;
top: $flyout-height-padding;
}
2021-08-09 18:04:09 +02:00
}