1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

Provide per section attachments

Upload and delete attachments on a per section basis.
This commit is contained in:
Harvey Kandola 2019-04-18 13:31:48 +01:00
parent 166aeba09b
commit 61d0086337
13 changed files with 248 additions and 116 deletions

View file

@ -4,10 +4,6 @@
box-shadow: 0 0 0 0.75pt map-get($gray-shades, 200),0 0 3pt 0.75pt map-get($gray-shades, 200);
border: 1px solid map-get($gray-shades, 200);
}
> .attachments {
}
}
.content-linker-modal-container {

View file

@ -4,10 +4,6 @@
}
}
.dz-preview, .dz-processing {
display: none !important;
}
.document-sidebar-attachment {
> .files {
margin: 0;
@ -44,3 +40,40 @@
}
}
}
.dz-preview, .dz-processing {
display: none !important;
}
.section-attachments {
margin: 1.5rem 0 0 0;
padding: 0;
> .file {
list-style-type: none;
margin: 0;
padding: 0;
width: 100%;
font-size: 1rem;
position: relative;
> a {
display: inline-block;
font-size: 1rem;
vertical-align: text-top;
margin-right: 10px;
width: 90%;
@extend .text-truncate;
color: map-get($green-shades, 800);
&:hover {
color: map-get($green-shades, 900);
}
}
> .menu {
position: absolute;
right: -10px;
top: 0;
}
}
}