schlechtenburg/src/components/internal/Block.scss

37 lines
526 B
SCSS
Raw Normal View History

2020-05-20 14:21:08 +00:00
.sb-block {
2020-05-28 20:16:35 +00:00
$block: &;
2020-05-20 14:21:08 +00:00
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-28 20:16:35 +00:00
&__edit-cover {
}
> .sb-block-ordering {
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
2020-05-28 20:16:35 +00:00
> .sb-block-ordering {
opacity: 1;
pointer-events: all;
}
2020-05-27 18:59:20 +00:00
}
2020-05-20 14:21:08 +00:00
}