share-extras / media-viewers

Enhanced document previews for a range of different document and media types, plus a dashlet allowing any content item to be displayed on a site dashboard.
Apache License 2.0
29 stars 23 forks source link

4.2.d Filmstrip view - css changes for positioning #21

Closed loftux closed 10 years ago

loftux commented 11 years ago

By adding this to viewer-common.css the toolbar is not hidden behind filmstrip overlay.

/* Overrides for filmstrip view */
.alf-filmstrip .web-preview .previewer.Embed, .alf-filmstrip .web-preview .previewer.PdfJs
{
   margin-top: 47px;
}
.alf-filmstrip-content-only .web-preview .previewer.Embed, .alf-filmstrip-content-only .web-preview .previewer.PdfJs
{
    margin-top: 1px;
}

The above only includes PdfJS and Embed, we might need to add for other viewers as well.