mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 11:10:08 +00:00
minor tweeks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
feb465ddca
commit
13b0c3c226
11
index.html
11
index.html
@ -66,13 +66,11 @@
|
|||||||
box-sizing:border-box;
|
box-sizing:border-box;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
|
|
||||||
|
|
||||||
-webkit-transition: all 0.3s ease;
|
-webkit-transition: all 0.3s ease;
|
||||||
-moz-transition: all 0.3s ease;
|
-moz-transition: all 0.3s ease;
|
||||||
-o-transition: all 0.3s ease;
|
-o-transition: all 0.3s ease;
|
||||||
-ms-transition: all 0.3s ease;
|
-ms-transition: all 0.3s ease;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
|
|
||||||
}
|
}
|
||||||
.editor .current-page-indicator {
|
.editor .current-page-indicator {
|
||||||
display: block;
|
display: block;
|
||||||
@ -95,6 +93,9 @@
|
|||||||
|
|
||||||
box-shadow: 2px 2px 7px 0px black;
|
box-shadow: 2px 2px 7px 0px black;
|
||||||
}
|
}
|
||||||
|
.editor .current-page-indicator .button:hover {
|
||||||
|
box-shadow: 2px 2px 9px 1px black;
|
||||||
|
}
|
||||||
.editor.page-fit-to-viewer .current-page-indicator .button {
|
.editor.page-fit-to-viewer .current-page-indicator .button {
|
||||||
width: 50px;
|
width: 50px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
@ -106,11 +107,15 @@
|
|||||||
|
|
||||||
.editor .current-page-indicator .button.remove {
|
.editor .current-page-indicator .button.remove {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
background: red;
|
||||||
|
color: white;
|
||||||
|
font-size: 72px;
|
||||||
margin: -50px;
|
margin: -50px;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
right: 0px;
|
right: 0px;
|
||||||
}
|
}
|
||||||
.editor.page-fit-to-viewer .current-page-indicator .button.remove {
|
.editor.page-fit-to-viewer .current-page-indicator .button.remove {
|
||||||
|
font-size: 36px;
|
||||||
margin: -25px;
|
margin: -25px;
|
||||||
margin: 15px;
|
margin: 15px;
|
||||||
}
|
}
|
||||||
@ -207,7 +212,7 @@ function setupEditor(){
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
$('<button class="button remove">X</button>')
|
$('<button class="button remove">×</button>')
|
||||||
.appendTo(indicator)
|
.appendTo(indicator)
|
||||||
.click(function(){
|
.click(function(){
|
||||||
setTransitionDuration($('.magazine'), 0)
|
setTransitionDuration($('.magazine'), 0)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user