aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/shaarli.css
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2015-03-04 23:27:28 +0100
committernodiscc <nodiscc@gmail.com>2015-03-04 23:27:28 +0100
commit0e5400e6178468cd0da0b266123545db2a80f707 (patch)
treef13db75997d25db1cee52da3bd985259863e165b /inc/shaarli.css
parent7572cfbe9620b13569ee47337f7015bcad119332 (diff)
parent34047d23fb5e09b6bc2728f0f8827eaa038f02ea (diff)
downloadShaarli-0e5400e6178468cd0da0b266123545db2a80f707.tar.gz
Shaarli-0e5400e6178468cd0da0b266123545db2a80f707.tar.zst
Shaarli-0e5400e6178468cd0da0b266123545db2a80f707.zip
Merge pull request #132 from ArthurHoaro/picwall
Lazy load images with the light lib bLazy.js instead of jQuery
Diffstat (limited to 'inc/shaarli.css')
-rw-r--r--inc/shaarli.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/inc/shaarli.css b/inc/shaarli.css
index bb564e99..a88143ca 100644
--- a/inc/shaarli.css
+++ b/inc/shaarli.css
@@ -647,9 +647,21 @@ a.qrcode img {
647 float: left; 647 float: left;
648} 648}
649 649
650.b-lazy {
651 -webkit-transition: opacity 500ms ease-in-out;
652 -moz-transition: opacity 500ms ease-in-out;
653 -o-transition: opacity 500ms ease-in-out;
654 transition: opacity 500ms ease-in-out;
655 opacity: 0;
656}
657.b-lazy.b-loaded {
658 opacity: 1;
659}
660
650.picwall_pictureframe img { 661.picwall_pictureframe img {
651 max-width: 100%; 662 max-width: 100%;
652 height: auto; 663 height: auto;
664 color: transparent;
653} /* Adapt the width of the image */ 665} /* Adapt the width of the image */
654 666
655.picwall_pictureframe a { 667.picwall_pictureframe a {