Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions commonjs/lib/ui/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,14 @@ function loadUserInterface(document) {
});
}

// fix SRF slideshow: center page number, align slider, and fix button shape
var slideshowStyle = document.createElement('style');
slideshowStyle.innerHTML =
'.srf-slideshow .slideshow-nav-readout { left: 0; }' +
'.srf-slideshow .slideshow-nav.ui-slider { margin-top: 0; margin-bottom: 0; }' +
'.srf-slideshow .slideshow-nav-wrapper .ui-button-icon-only { border-radius: 4px; }';
document.body.appendChild(slideshowStyle);

//gallerybox
var tt, it, isrc = null, ttmove = 0, ttshow = 0;
var boxes = document.getElementsByClassName('galleryboxview');
Expand Down
Loading