Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

45 lines
1013 B

@import '_mixins';
@import '_vars';
.editor {
background: $color-dark-foreground;
border: 1px solid $color-input;
height: 30rem;
}
.editor-container {
position: relative;
.drop-area {
& {
@include absolute(115px, 30px, 66px, 30px);
@include border-radius;
z-index: 1;
align-content: center;
align-items: center;
display: none;
border: 2px dashed $color-border;
font-size: 1.2rem;
font-weight: normal;
justify-content: center;
color: darken($color-border, 30%);
}
&.dragging {
@include flex-box;
}
&.drag,
&.dnd-drag-over,
&.dnd-drag-enter {
border-color: darken($color-border, 10%);
cursor: copy;
color: darken($color-border, 40%);
text-decoration: none;
}
}
.drop-text {
background: $color-dark-foreground;
}
}