forked from indymedia/epicyon
Gallery icon
parent
843bc9691a
commit
c9fdd23ac2
|
@ -762,24 +762,31 @@ input[type=checkbox]
|
|||
transform: translateY(-10%);
|
||||
}
|
||||
|
||||
.galleryIcon {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 30px;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
.galleryContainer {
|
||||
background-color: var(--main-bg-color);
|
||||
}
|
||||
|
||||
div.gallery {
|
||||
margin: 5px;
|
||||
border: 1px solid var(--gallery-border);
|
||||
float: left;
|
||||
width: 32%;
|
||||
margin: 5px;
|
||||
border: 1px solid var(--gallery-border);
|
||||
float: left;
|
||||
width: 32%;
|
||||
}
|
||||
|
||||
div.gallery:hover {
|
||||
border: 1px solid var(--gallery-hover);
|
||||
border: 1px solid var(--gallery-hover);
|
||||
}
|
||||
|
||||
div.gallery img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
div.imagedesc {
|
||||
|
@ -787,16 +794,6 @@ div.imagedesc {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
hr {
|
||||
display: block;
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
border-style: inset;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 400px) {
|
||||
body, html {
|
||||
font-size: 22px;
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.3 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
|
@ -139,5 +139,6 @@
|
|||
"Page up": "Tudalen i fyny",
|
||||
"Vote": "Bleidleisio",
|
||||
"Replies": "Atebion",
|
||||
"Media": "Media"
|
||||
"Media": "Media",
|
||||
"Show original post": "Show original post"
|
||||
}
|
||||
|
|
|
@ -139,5 +139,6 @@
|
|||
"Page up": "Bild auf",
|
||||
"Vote": "Abstimmung",
|
||||
"Replies": "Antworten",
|
||||
"Media": "Media"
|
||||
"Media": "Media",
|
||||
"Show original post": "Show original post"
|
||||
}
|
||||
|
|
|
@ -139,5 +139,6 @@
|
|||
"Page up": "Page up",
|
||||
"Vote": "Vote",
|
||||
"Replies": "Replies",
|
||||
"Media": "Media"
|
||||
"Media": "Media",
|
||||
"Show original post": "Show original post"
|
||||
}
|
||||
|
|
|
@ -139,5 +139,6 @@
|
|||
"Page up": "Página arriba",
|
||||
"Vote": "Votar",
|
||||
"Replies": "Resp",
|
||||
"Media": "Media"
|
||||
"Media": "Media",
|
||||
"Show original post": "Show original post"
|
||||
}
|
||||
|
|
|
@ -139,5 +139,6 @@
|
|||
"Page up": "Haut de page",
|
||||
"Vote": "Vote",
|
||||
"Replies": "Réponses",
|
||||
"Media": "Media"
|
||||
"Media": "Media",
|
||||
"Show original post": "Show original post"
|
||||
}
|
||||
|
|
|
@ -139,5 +139,6 @@
|
|||
"Page up": "Leathanach suas",
|
||||
"Vote": "Vóta",
|
||||
"Replies": "Freagraí",
|
||||
"Media": "Media"
|
||||
"Media": "Media",
|
||||
"Show original post": "Show original post"
|
||||
}
|
||||
|
|
|
@ -139,5 +139,6 @@
|
|||
"Page up": "Pagina su",
|
||||
"Vote": "Voto",
|
||||
"Replies": "Risposte",
|
||||
"Media": "Media"
|
||||
"Media": "Media",
|
||||
"Show original post": "Show original post"
|
||||
}
|
||||
|
|
|
@ -1881,6 +1881,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
|||
'<div class="gallery">\n' \
|
||||
' <a target="_blank" href="'+attach['url']+'">\n' \
|
||||
' <img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" width="600" height="400">\n' \
|
||||
' <a href="'+messageId+'"><img class="galleryicon" src="icons/gallery.png" alt="'+translate['Show original post']+'" title="'+translate['Show original post']+'"></a>\n' \
|
||||
' </a>\n'
|
||||
#if postJsonObject['object'].get('content'):
|
||||
# galleryStr+= \
|
||||
|
@ -2228,7 +2229,7 @@ def htmlTimeline(translate: {},pageNumber: int, \
|
|||
showIndividualPostIcons, \
|
||||
manuallyApproveFollowers,False)
|
||||
if boxName=='tlmedia':
|
||||
tlStr+='</div><hr>\n'
|
||||
tlStr+='</div>\n'
|
||||
|
||||
# page down arrow
|
||||
if itemCtr>=itemsPerPage:
|
||||
|
|
Loading…
Reference in New Issue