1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

Updated attachments to work with new dropzone

- Fixes existing broken attachment edit tabs.
- Redesigns area to move away from old tabbed interface.
- Integrates new dropzone system, for both addition and edit.
This commit is contained in:
Dan Brown
2023-04-26 16:41:34 +01:00
parent 722c38d576
commit e36cdaad0d
13 changed files with 131 additions and 84 deletions

View File

@@ -228,6 +228,15 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
animation: dzAnimIn 240ms ease-in-out;
}
.dropzone-landing-area {
background-color: var(--color-primary-light);
padding: $-m $-l;
width: 100%;
border: 1px dashed var(--color-primary);
color: var(--color-primary);
border-radius: 4px;
}
@keyframes dzAnimIn {
0% {
opacity: 0;
@@ -319,7 +328,7 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
.dropzone-file-item-label,
.dropzone-file-item-status {
align-items: center;
font-size: .9rem;
font-size: .8rem;
font-weight: 700;
}
.dropzone-file-item-status[data-status] {

View File

@@ -253,6 +253,15 @@ body.flexbox {
position: relative;
}
.fixed {
position: fixed;
z-index: 20;
&.top-right {
top: 0;
right: 0;
}
}
.hidden {
display: none !important;
}