add jump-to-slide to help overlay, style tweaks
This commit is contained in:
parent
d146c1ddc1
commit
79e9fdf13f
@ -1805,8 +1805,7 @@ $notesWidthPercent: 25%;
|
||||
top: 15px;
|
||||
left: 15px;
|
||||
z-index: 30;
|
||||
transition: all 400ms ease;
|
||||
font-size: 18px;
|
||||
font-size: 32px;
|
||||
-webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
|
||||
}
|
||||
|
||||
@ -1815,7 +1814,13 @@ $notesWidthPercent: 25%;
|
||||
padding: 8px;
|
||||
font-size: inherit;
|
||||
color: currentColor;
|
||||
border: 1px solid currentColor;
|
||||
border: 0;
|
||||
}
|
||||
.reveal.has-dark-background .jump-to-slide-input {
|
||||
color: #fff;
|
||||
}
|
||||
.reveal.has-light-background .jump-to-slide-input {
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.reveal .jump-to-slide-input:focus {
|
||||
|
2
dist/reveal.css
vendored
2
dist/reveal.css
vendored
File diff suppressed because one or more lines are too long
2
dist/reveal.esm.js
vendored
2
dist/reveal.esm.js
vendored
File diff suppressed because one or more lines are too long
2
dist/reveal.esm.js.map
vendored
2
dist/reveal.esm.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/reveal.js
vendored
2
dist/reveal.js
vendored
File diff suppressed because one or more lines are too long
2
dist/reveal.js.map
vendored
2
dist/reveal.js.map
vendored
File diff suppressed because one or more lines are too long
@ -55,6 +55,9 @@ export default class JumpToSlide {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Parses the current input and jumps to the given slide.
|
||||
*/
|
||||
jump() {
|
||||
|
||||
const value = this.jumpInput.value.trim( '' );
|
||||
|
@ -43,6 +43,7 @@ export default class Keyboard {
|
||||
this.shortcuts['Shift + ←/↑/→/↓'] = 'Jump to first/last slide';
|
||||
this.shortcuts['B , .'] = 'Pause';
|
||||
this.shortcuts['F'] = 'Fullscreen';
|
||||
this.shortcuts['G'] = 'Jump to slide';
|
||||
this.shortcuts['ESC, O'] = 'Slide overview';
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user