schlechtenburg/src/components/internal/Block.scss

26 lines
382 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;
min-height: 50px;
> .sb-toolbar {
opacity: 0;
pointer-events: none;
}
&:focus,
&:hover {
outline: 1px solid var(--grey-2);
}
&:focus {
> .sb-toolbar {
opacity: 1;
pointer-events: all;
outline: 1px solid var(--grey-2);
}
}
}