mirror of
https://github.com/flynx/PortableMag.git
synced 2025-12-22 19:41:47 +00:00
minor edits and fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
06dc49b97a
commit
011f4630e9
26
index.html
26
index.html
@ -61,21 +61,17 @@
|
|||||||
|
|
||||||
|
|
||||||
.current-page-indicator {
|
.current-page-indicator {
|
||||||
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
box-sizing:border-box;
|
box-sizing:border-box;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
.editor .current-page-indicator {
|
||||||
|
display: block;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
border: solid blue 10px;
|
border: solid blue 10px;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
-webkit-transition: all 0.2s ease;
|
|
||||||
-moz-transition: all 0.2s ease;
|
|
||||||
-o-transition: all 0.2s ease;
|
|
||||||
-ms-transition: all 0.2s ease;
|
|
||||||
transition: all 0.2s ease;
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
@ -124,16 +120,7 @@ function clearEditor(){
|
|||||||
$('.current-page-indicator').children().remove()
|
$('.current-page-indicator').children().remove()
|
||||||
}
|
}
|
||||||
|
|
||||||
var toggleEditor = createCSSClassToggler(
|
var toggleEditor = createCSSClassToggler('.chrome', 'editor')
|
||||||
'.chrome',
|
|
||||||
'editor',
|
|
||||||
function(action){
|
|
||||||
if(action == 'on'){
|
|
||||||
setupEditor()
|
|
||||||
} else {
|
|
||||||
clearEditor()
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
@ -235,6 +222,9 @@ $(document).ready(function(){
|
|||||||
toggleThemes('dark-viewer')
|
toggleThemes('dark-viewer')
|
||||||
|
|
||||||
|
|
||||||
|
setupEditor()
|
||||||
|
|
||||||
|
|
||||||
// hide the splash...
|
// hide the splash...
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
$('.splash').fadeOut()
|
$('.splash').fadeOut()
|
||||||
|
|||||||
@ -17,9 +17,9 @@ var SPECIAL_KEYS = {
|
|||||||
13: 'Enter', 34: 'PgDown', 46: 'Del',
|
13: 'Enter', 34: 'PgDown', 46: 'Del',
|
||||||
16: 'Shift', 35: 'End', 80: 'Backspace',
|
16: 'Shift', 35: 'End', 80: 'Backspace',
|
||||||
17: 'Ctrl', 36: 'Home', 91: 'Win',
|
17: 'Ctrl', 36: 'Home', 91: 'Win',
|
||||||
18: 'Alt', 37: 'Right', 93: 'Menu',
|
18: 'Alt', 37: 'Left', 93: 'Menu',
|
||||||
20: 'Caps Lock',38: 'Up',
|
20: 'Caps Lock',38: 'Up',
|
||||||
27: 'Esc', 39: 'Left',
|
27: 'Esc', 39: 'Right',
|
||||||
32: 'Space', 40: 'Down',
|
32: 'Space', 40: 'Down',
|
||||||
|
|
||||||
// Function Keys...
|
// Function Keys...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user