1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

#57 added block-based content editor

This commit is contained in:
Fedor Katurov 2021-03-26 15:50:26 +07:00
parent 4b542e0291
commit d8c379de6a
17 changed files with 302 additions and 13 deletions

View file

@ -0,0 +1,33 @@
@import "src/styles/variables";
.wrap {
background-color: red;
}
.preview {
padding-top: 56.25%;
position: relative;
border-radius: $radius;
background: 50% 50% no-repeat;
background-size: cover;
}
.input_wrap {
display: flex;
align-items: center;
justify-content: center;
}
.input {
flex: 1 0 50%;
padding: $gap;
background: lighten($content_bg, 4%);
border-radius: $radius $radius 0 0;
input {
text-align: center;
}
&:global(.active) {
background: $red;
}
}