2023-02-20 01:02:02 +02:00
|
|
|
.slide {
|
|
|
|
|
/* swipebox slide background gradient of black to blue, so that back SVG images are visible */
|
|
|
|
|
background: rgb(2,0,36);
|
2023-06-30 12:35:45 +02:00
|
|
|
background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 14%, rgba(0,212,255,1) 100%);
|
2023-02-20 01:02:02 +02:00
|
|
|
}
|
2022-07-16 09:32:49 +02:00
|
|
|
.attachment-upload {
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
.attachment-gallery {
|
2022-05-17 12:36:10 +03:00
|
|
|
display: flex;
|
2023-07-06 20:29:36 +02:00
|
|
|
flex-direction: column;
|
2022-05-17 12:36:10 +03:00
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
.attachment-item {
|
2022-05-17 12:36:10 +03:00
|
|
|
display: flex;
|
2023-07-06 20:29:36 +02:00
|
|
|
flex-direction: row;
|
2022-05-17 12:36:10 +03:00
|
|
|
align-items: center;
|
2023-07-06 20:29:36 +02:00
|
|
|
margin-top: 16px;
|
2022-05-17 12:36:10 +03:00
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
.attachment-item:hover {
|
|
|
|
|
background: #e0e0e0;
|
|
|
|
|
}
|
|
|
|
|
.attachment-thumbnail-container {
|
2022-05-17 12:36:10 +03:00
|
|
|
display: block;
|
2023-07-06 20:29:36 +02:00
|
|
|
width: 150px;
|
|
|
|
|
min-width: 150px;
|
|
|
|
|
max-height: 150px;
|
|
|
|
|
padding-right: 16px;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
.attachment-thumbnail {
|
|
|
|
|
max-width: 150px;
|
|
|
|
|
max-height: 150px;
|
|
|
|
|
min-height: 2em;
|
|
|
|
|
cursor: pointer;
|
2022-05-17 12:36:10 +03:00
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
.attachment-thumbnail-text {
|
|
|
|
|
min-height: 2em;
|
2022-05-17 12:36:10 +03:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2023-07-06 20:29:36 +02:00
|
|
|
font-size: 2em;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
|
border-radius: 5px;
|
2022-05-17 12:36:10 +03:00
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
.attachment-details-container {
|
|
|
|
|
display: block;
|
|
|
|
|
flex-grow: 1;
|
2022-05-17 12:36:10 +03:00
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
.attachment-details {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
margin-right: 25px; /* Make sure the icons are not to far to the right */
|
2022-05-17 12:36:10 +03:00
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
.attachment-actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
2022-05-17 12:36:10 +03:00
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
.add-attachment {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
border: 1px dashed #555;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
margin-top: 16px;
|
2022-05-17 12:36:10 +03:00
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
.icon {
|
|
|
|
|
font-size: 1.5em;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
margin-left: 10px;
|
2022-05-17 12:36:10 +03:00
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
.icon:hover {
|
|
|
|
|
color: #666;
|
2022-05-17 12:36:10 +03:00
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
#viewer-overlay {
|
2023-06-30 12:35:45 +02:00
|
|
|
width: 100%;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 48px; /* height of the navbar */
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 9999 !important;
|
|
|
|
|
background: rgba(13,13,13,0.9);
|
|
|
|
|
}
|
|
|
|
|
#viewer-container {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
#viewer-close {
|
|
|
|
|
color:white;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 4em;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 16px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
padding: 20 20;
|
|
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
#viewer-container {
|
2023-06-30 12:35:45 +02:00
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
#pdf-viewer {
|
2023-07-06 20:29:36 +02:00
|
|
|
width: 40vw;
|
2023-06-30 12:35:45 +02:00
|
|
|
height: 100vh;
|
|
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
.pdf-preview-error {
|
2023-06-30 12:35:45 +02:00
|
|
|
margin-top: 20vh;
|
|
|
|
|
display: block;
|
|
|
|
|
font-size: 2em;
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
|
|
|
|
|
@media screen and (max-width: 1600px) {
|
|
|
|
|
#pdf-viewer {
|
|
|
|
|
width: 60vw;
|
2022-05-17 12:36:10 +03:00
|
|
|
}
|
|
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
|
|
|
|
|
@media screen and (max-width: 800px) {
|
2023-07-01 00:30:05 +03:00
|
|
|
#pdf-viewer {
|
2023-07-06 20:29:36 +02:00
|
|
|
width: 100vh;
|
|
|
|
|
}
|
|
|
|
|
.attachment-thumbnail-container {
|
|
|
|
|
width: 100px;
|
|
|
|
|
min-width: 100px;
|
|
|
|
|
}
|
|
|
|
|
.attachment-thumbnail {
|
|
|
|
|
max-width: 100px;
|
2023-07-01 00:30:05 +03:00
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
.attachment-details {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
margin-right: 0px;
|
2022-05-17 12:36:10 +03:00
|
|
|
}
|
2023-07-06 20:29:36 +02:00
|
|
|
.attachment-actions {
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
margin-top: 10px;
|
2022-05-17 12:36:10 +03:00
|
|
|
}
|
|
|
|
|
}
|