Further improve slide nr and arrows
Change-Id: I7cc7d30542d3b2c08c5898dc33d05f9ecd4e3543
diff --git a/inst/reveal.js-4.6.1/css/theme/source/ids.scss b/inst/reveal.js-4.6.1/css/theme/source/ids.scss
index 8cb1b83..e836f25 100644
--- a/inst/reveal.js-4.6.1/css/theme/source/ids.scss
+++ b/inst/reveal.js-4.6.1/css/theme/source/ids.scss
@@ -155,21 +155,6 @@
transition: opacity 800ms ease-in-out;
}
-.reveal .slide-number {
- position: absolute;
- display: block;
- right: 44px;
- bottom: 23px;
- z-index: 31;
- font-family: Fira Sans, sans-serif;
- font-size: 18px;
- line-height: 1;
- background-color: white;
- color: #666;
- padding: 0;
- text-align: right;
-}
-
.reveal .title-frame .slide-number {
display: none !important;
}
@@ -362,3 +347,50 @@
height: 800px !important;
}
+
+/*********************************************
+ * ARROWS and SLIDE NUMBERS
+ *********************************************/
+
+ .reveal .controls .controls-arrow:after, .reveal .controls .controls-arrow:before {
+ width: 13px !important; /* size */
+ height: 4px; /* line width */
+}
+
+.reveal .controls {
+ display: none;
+ position: absolute;
+ top: auto;
+ bottom: -8px;
+ right: 16px;
+ left: auto;
+ z-index: 11;
+ /* color: #000;*/
+ pointer-events: none;
+ font-size: 8px;
+}
+
+.reveal .controls .controls-arrow {
+ position: relative;
+ height: 3.6em;
+ width: 1.2em; /* distance betwee arrows */
+ bottom: 0;
+ right: 0;
+}
+
+.reveal div.slide-number {
+ text-align: center;
+ width: 2em;
+ position: absolute;
+ display: block;
+ right: 29px;
+ bottom: 22px;
+ z-index: 31;
+ font-family: "Fira Sans Condensed", sans-serif;
+ font-size: 18px;
+ line-height: 1;
+ background-color: white;
+ color: #666;
+ padding: 0;
+}
+
diff --git a/inst/reveal.js-4.6.1/dist/theme/ids.css b/inst/reveal.js-4.6.1/dist/theme/ids.css
index f86f7e2..c1adfba 100644
--- a/inst/reveal.js-4.6.1/dist/theme/ids.css
+++ b/inst/reveal.js-4.6.1/dist/theme/ids.css
@@ -452,21 +452,6 @@
transition: opacity 800ms ease-in-out;
}
-.reveal .slide-number {
- position: absolute;
- display: block;
- right: 44px;
- bottom: 23px;
- z-index: 31;
- font-family: Fira Sans, sans-serif;
- font-size: 18px;
- line-height: 1;
- background-color: white;
- color: #666;
- padding: 0;
- text-align: right;
-}
-
.reveal .title-frame .slide-number {
display: none !important;
}
@@ -652,4 +637,52 @@
.reveal code.sourceCode:last-child + pre {
height: 800px !important;
+}
+
+/*********************************************
+ * ARROWS and SLIDE NUMBERS
+ *********************************************/
+.reveal .controls .controls-arrow:after, .reveal .controls .controls-arrow:before {
+ width: 13px !important;
+ /* size */
+ height: 4px;
+ /* line width */
+}
+
+.reveal .controls {
+ display: none;
+ position: absolute;
+ top: auto;
+ bottom: -8px;
+ right: 16px;
+ left: auto;
+ z-index: 11;
+ /* color: #000;*/
+ pointer-events: none;
+ font-size: 8px;
+}
+
+.reveal .controls .controls-arrow {
+ position: relative;
+ height: 3.6em;
+ width: 1.2em;
+ /* distance betwee arrows */
+ bottom: 0;
+ right: 0;
+}
+
+.reveal div.slide-number {
+ text-align: center;
+ width: 2em;
+ position: absolute;
+ display: block;
+ right: 29px;
+ bottom: 22px;
+ z-index: 31;
+ font-family: "Fira Sans Condensed", sans-serif;
+ font-size: 18px;
+ line-height: 1;
+ background-color: white;
+ color: #666;
+ padding: 0;
}
\ No newline at end of file