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;
|
top: 15px;
|
||||||
left: 15px;
|
left: 15px;
|
||||||
z-index: 30;
|
z-index: 30;
|
||||||
transition: all 400ms ease;
|
font-size: 32px;
|
||||||
font-size: 18px;
|
|
||||||
-webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
|
-webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1815,7 +1814,13 @@ $notesWidthPercent: 25%;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
color: currentColor;
|
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 {
|
.reveal .jump-to-slide-input:focus {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
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() {
|
jump() {
|
||||||
|
|
||||||
const value = this.jumpInput.value.trim( '' );
|
const value = this.jumpInput.value.trim( '' );
|
||||||
|
|
|
@ -43,6 +43,7 @@ export default class Keyboard {
|
||||||
this.shortcuts['Shift + ←/↑/→/↓'] = 'Jump to first/last slide';
|
this.shortcuts['Shift + ←/↑/→/↓'] = 'Jump to first/last slide';
|
||||||
this.shortcuts['B , .'] = 'Pause';
|
this.shortcuts['B , .'] = 'Pause';
|
||||||
this.shortcuts['F'] = 'Fullscreen';
|
this.shortcuts['F'] = 'Fullscreen';
|
||||||
|
this.shortcuts['G'] = 'Jump to slide';
|
||||||
this.shortcuts['ESC, O'] = 'Slide overview';
|
this.shortcuts['ESC, O'] = 'Slide overview';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue