mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-31 19:30:07 +00:00
experimenting with CSS filters (blur makes things slow, needs more thought)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ee05a7d992
commit
013521716b
@ -1151,6 +1151,23 @@ button:hover {
|
|||||||
.viewer.overlay .overlay-block {
|
.viewer.overlay .overlay-block {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
/* XXX this is experimental... */
|
||||||
|
.viewer.overlay .ribbon-set {
|
||||||
|
/* XXX blur makes things slow with transparency... */
|
||||||
|
|
||||||
|
-webkit-filter: /*blur(2px)*/ grayscale(0.5);
|
||||||
|
filter: /*blur(2px)*/ grayscale(0.5);
|
||||||
|
/*
|
||||||
|
-webkit-animation-name: testAnim;
|
||||||
|
-webkit-animation-duration: .2s;
|
||||||
|
-webkit-animation-iteration-count: 1;
|
||||||
|
-webkit-animation-direction: alternate;
|
||||||
|
-webkit-animation-timing-function: ease-out;
|
||||||
|
-webkit-animation-fill-mode: forwards;
|
||||||
|
-webkit-animation-delay: 0s;
|
||||||
|
*/
|
||||||
|
|
||||||
|
}
|
||||||
.overlay-block .content,
|
.overlay-block .content,
|
||||||
.overlay-block .background {
|
.overlay-block .background {
|
||||||
/* XXX for some magical reason position and top are overwritten
|
/* XXX for some magical reason position and top are overwritten
|
||||||
|
|||||||
@ -1184,6 +1184,23 @@ button:hover {
|
|||||||
.viewer.overlay .overlay-block {
|
.viewer.overlay .overlay-block {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
/* XXX this is experimental... */
|
||||||
|
.viewer.overlay .ribbon-set {
|
||||||
|
|
||||||
|
/* XXX blur makes things slow with transparency... */
|
||||||
|
-webkit-filter: /*blur(2px)*/ grayscale(.5);
|
||||||
|
filter: /*blur(2px)*/ grayscale(.5);
|
||||||
|
|
||||||
|
/*
|
||||||
|
-webkit-animation-name: testAnim;
|
||||||
|
-webkit-animation-duration: .2s;
|
||||||
|
-webkit-animation-iteration-count: 1;
|
||||||
|
-webkit-animation-direction: alternate;
|
||||||
|
-webkit-animation-timing-function: ease-out;
|
||||||
|
-webkit-animation-fill-mode: forwards;
|
||||||
|
-webkit-animation-delay: 0s;
|
||||||
|
*/
|
||||||
|
}
|
||||||
.overlay-block .content,
|
.overlay-block .content,
|
||||||
.overlay-block .background {
|
.overlay-block .background {
|
||||||
/* XXX for some magical reason position and top are overwritten
|
/* XXX for some magical reason position and top are overwritten
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user