schlechtenburg/src/components/internal/Block.scss

43 lines
628 B
SCSS
Raw Normal View History

2020-05-20 14:21:08 +00:00
.sb-block {
position: relative;
display: flex;
align-items: stretch;
justify-items: stretch;
2020-05-27 18:36:46 +00:00
height: auto;
2020-05-20 14:21:08 +00:00
2020-05-27 13:57:57 +00:00
> * > .sb-toolbar {
2020-05-20 14:21:08 +00:00
opacity: 0;
pointer-events: none;
}
2020-05-24 20:39:14 +00:00
&_active {
2020-05-20 14:21:08 +00:00
outline: 1px solid var(--grey-2);
2020-05-27 13:57:57 +00:00
> * > .sb-toolbar {
2020-05-20 14:21:08 +00:00
opacity: 1;
pointer-events: all;
2020-05-27 18:36:46 +00:00
outline: 1px solid var(--grey-2);
2020-05-20 14:21:08 +00:00
}
}
2020-05-27 18:59:20 +00:00
&__edit-cover {
}
&__remove {
position: absolute;
left: 100%;
top: 0;
max-height: 100%;
height: auto;
width: auto;
}
&__sliders {
position: absolute;
right: 100%;
width: auto;
max-width: 100%;
height: auto;
}
2020-05-20 14:21:08 +00:00
}