.attachments { margin-bottom: 40px; .drop-target { position: relative; width: 100%; text-align: center; margin-top: 20px; &:first-child { margin-top: 0px; } .upload-button { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 150px; background: var(--background-disabled-color); } } .attachment { border-bottom: 1px solid var(--border-color); padding: 16px 0px 16px 40px; cursor: pointer; background: #fff; transition: padding-left 50ms ease-in-out, background 150ms ease-in-out; .attachment-info { transition: all 50ms ease-in-out; } &.drop-placeholder { font-size: 0.875rem; margin-top: -1px; border-top: 1px solid var(--border-color); background: var(--background-disabled-color); text-align: center; color: var(--text-light-color); padding: 24px 0px; } &.uploading, &.placeholder { padding-left: 56px; background: var(--background-disabled-color); .attachment-info { opacity: 0.5; } .actions { display: none; } } &:last-child { margin-bottom: 0px; } .actions { float: right; display: flex; gap: 0.25rem; } h3 { margin: 0px 0px 12px 0px; .icon { display: block; float: left; margin-left: -40px; font-size: 24px; } } p { &:last-child { margin-bottom: 0px; } } } } .attachment-editor { width: 60vw; min-height: 450px; @media (--mobile) { width: 100%; height: 100%; } form { width: 100%; .buttons { margin-top: 24px; } .embed-code { input[type="text"] { width: 50%; max-width: 100px; margin-right: 8px; } } textarea, input[type="text"] { max-width: 100%; &.description { height: 100px; } } } }