From 626fcdc9bc7da451d7d85ce4f8725d8fb1bbf5d9 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Tue, 8 Jul 2014 15:10:13 +0200 Subject: [PATCH] Updated style of controls, show page number. --- src/styles/components/_presentation.scss | 21 +++++++++++++++++++++ static/partials/presentation.html | 5 +++-- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/styles/components/_presentation.scss b/src/styles/components/_presentation.scss index 15c77d5d..2ba7582d 100644 --- a/src/styles/components/_presentation.scss +++ b/src/styles/components/_presentation.scss @@ -51,4 +51,25 @@ bottom: 0; left: 0; right: 0; + text-align: center; +} + +.presentation .overlaybar a.btn { + position: absolute; + font-size: 20px; + padding: 4px 6px; + top: 0px; + line-height: 28px; +} + +.presentation .overlaybar a.btn-prev { + left: 40px; +} + +.presentation .overlaybar a.btn-next { + right: 0px; +} + +.presentation .overlaybar span { + line-height: 30px; } diff --git a/static/partials/presentation.html b/static/partials/presentation.html index 68d922e5..a0ad4dc1 100644 --- a/static/partials/presentation.html +++ b/static/partials/presentation.html @@ -5,8 +5,9 @@
- - + + {{ currentPageNumber }} / {{ maxPageNumber }} +