schlechtenburg/packages/core/lib/components/internal/Block.scss
2020-12-27 22:32:43 +01:00

37 lines
526 B
SCSS

.sb-block {
$block: &;
display: flex;
align-items: stretch;
justify-items: stretch;
height: auto;
> * > .sb-toolbar {
opacity: 0;
pointer-events: none;
}
&__edit-cover {
}
> .sb-block-ordering {
opacity: 0;
pointer-events: none;
}
&_active {
outline: 1px solid var(--grey-2);
> * > .sb-toolbar {
opacity: 1;
pointer-events: all;
outline: 1px solid var(--grey-2);
}
> .sb-block-ordering {
opacity: 1;
pointer-events: all;
}
}
}