mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
split off transitions into a seporate css file, this will enable trivial on/off...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
6c6d614f1e
commit
a105db3161
@ -111,7 +111,8 @@ Priority work
|
||||
| leave doing a different vertical layout for later versions...
|
||||
[_] basic wrapper
|
||||
| hook-in os-specific API
|
||||
[_] 12% Preview II (optional features)
|
||||
[_] 11% Preview II (optional features)
|
||||
[_] flip ribbons relative to current -- reverse order
|
||||
[_] slideshow...
|
||||
[_] serialization/deserialization
|
||||
[_] actual file loading (Target-specific)
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
<head>
|
||||
<link rel="stylesheet" href="gallery.css">
|
||||
<link rel="stylesheet" href="single-image-mode.css">
|
||||
<link rel="stylesheet" href="transitions.css">
|
||||
|
||||
<link rel="stylesheet" href="markers.css">
|
||||
|
||||
|
||||
@ -733,5 +733,18 @@ function shiftImageUp(){
|
||||
|
||||
|
||||
|
||||
function flipRibbons(){
|
||||
var ribbons = $('.ribbon')
|
||||
// index of current ribbon, needed to adjust placement of everything...
|
||||
var cur = ribbon.index($('.current.ribbon'))
|
||||
|
||||
// XXX would have been nice if we could do detach reverse attach or just reverse...
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*********************************************************************/
|
||||
// vim:set ts=4 sw=4 nowrap :
|
||||
|
||||
@ -1,19 +1,3 @@
|
||||
.animated {
|
||||
-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;
|
||||
}
|
||||
|
||||
.unanimated {
|
||||
-webkit-transition: none;
|
||||
-moz-transition: none;
|
||||
-o-transition: all 0 ease;
|
||||
-ms-transition: none;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.loading {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
@ -46,12 +30,6 @@
|
||||
|
||||
opacity: 0.3;
|
||||
|
||||
-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;
|
||||
|
||||
cursor: hand;
|
||||
}
|
||||
|
||||
@ -66,12 +44,6 @@
|
||||
border: groove 2px;
|
||||
|
||||
opacity: 0.2;
|
||||
|
||||
-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;
|
||||
}
|
||||
|
||||
|
||||
@ -86,13 +58,6 @@
|
||||
height: 500px;
|
||||
|
||||
background: white;
|
||||
|
||||
/* mostly to animate the background... */
|
||||
-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;
|
||||
}
|
||||
|
||||
|
||||
@ -109,12 +74,6 @@
|
||||
*/
|
||||
z-index: 5000;
|
||||
|
||||
-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;
|
||||
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
@ -192,16 +151,6 @@
|
||||
float: left;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
/*
|
||||
width: 800px;
|
||||
height: 500px;
|
||||
*/
|
||||
|
||||
-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;
|
||||
}
|
||||
|
||||
|
||||
@ -211,12 +160,6 @@
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
margin-top: 0px;
|
||||
|
||||
-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;
|
||||
}
|
||||
|
||||
|
||||
@ -228,24 +171,11 @@
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
opacity: 0.5;
|
||||
|
||||
-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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.new-ribbon {
|
||||
height: 0px;
|
||||
|
||||
-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;
|
||||
}
|
||||
|
||||
|
||||
@ -256,12 +186,6 @@
|
||||
|
||||
.current.ribbon {
|
||||
opacity: 1.0;
|
||||
|
||||
-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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
|
||||
<link rel="stylesheet" href="gallery.css">
|
||||
<link rel="stylesheet" href="single-image-mode.css">
|
||||
<link rel="stylesheet" href="transitions.css">
|
||||
|
||||
<link rel="stylesheet" href="markers.css">
|
||||
|
||||
|
||||
90
ui/transitions.css
Executable file
90
ui/transitions.css
Executable file
@ -0,0 +1,90 @@
|
||||
.animated {
|
||||
-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;
|
||||
}
|
||||
|
||||
.unanimated {
|
||||
-webkit-transition: none;
|
||||
-moz-transition: none;
|
||||
-o-transition: all 0 ease;
|
||||
-ms-transition: none;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.image {
|
||||
-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;
|
||||
}
|
||||
|
||||
.demo-buttons {
|
||||
-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;
|
||||
}
|
||||
|
||||
.viewer {
|
||||
/* mostly to animate the background... */
|
||||
-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;
|
||||
}
|
||||
|
||||
|
||||
.controller, .controller-mini {
|
||||
-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;
|
||||
}
|
||||
|
||||
.container {
|
||||
-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;
|
||||
}
|
||||
|
||||
|
||||
.field {
|
||||
-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;
|
||||
}
|
||||
|
||||
.ribbon {
|
||||
-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;
|
||||
}
|
||||
|
||||
.new-ribbon {
|
||||
-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;
|
||||
}
|
||||
|
||||
.current.ribbon {
|
||||
-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;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user