From 00604b51fb1390245d34cff51c222d40fcd43890 Mon Sep 17 00:00:00 2001 From: Margox Date: Wed, 10 Sep 2014 22:54:41 +0800 Subject: [PATCH 1/4] Update lightbox.css Download button added. --- css/lightbox.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/css/lightbox.css b/css/lightbox.css index 60cf695d..1eb866d5 100644 --- a/css/lightbox.css +++ b/css/lightbox.css @@ -208,3 +208,21 @@ body:after { filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100); opacity: 1; } + +.lb-download{ + border-radius: 5px; + display: block; + height: 40px; + width: 40px; + background: url(../img/arrow-down.png) 50% 50% no-repeat; + background-color: rgba(0,0,0,.5); + transition: .2s; + opacity: .3; + position: absolute; + bottom: 15px; + right: 15px; + z-index: 11; +} +.lb-download:hover{ + opacity: 1; +} From 29250ff78767b7381cfbb9c3b70ff270a7088443 Mon Sep 17 00:00:00 2001 From: Margox Date: Wed, 10 Sep 2014 23:24:09 +0800 Subject: [PATCH 2/4] Added download button icon --- img/arrow-down.png | Bin 0 -> 177 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 img/arrow-down.png diff --git a/img/arrow-down.png b/img/arrow-down.png new file mode 100644 index 0000000000000000000000000000000000000000..d530112ae088ba825394320a9f1781c270455ca0 GIT binary patch literal 177 zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+1|-AI^@Rhe3Qrfu5DWjemv8enDDbcb?3P?? z(B+pjxwH44$rjF6*2UngC<3Ke7M- literal 0 HcmV?d00001 From 1d28fbcd78f176556996a219fd9e2b73fc692da1 Mon Sep 17 00:00:00 2001 From: Margox Date: Wed, 10 Sep 2014 23:29:36 +0800 Subject: [PATCH 3/4] Revert "Added download button icon" This reverts commit 29250ff78767b7381cfbb9c3b70ff270a7088443. --- img/arrow-down.png | Bin 177 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 img/arrow-down.png diff --git a/img/arrow-down.png b/img/arrow-down.png deleted file mode 100644 index d530112ae088ba825394320a9f1781c270455ca0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 177 zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+1|-AI^@Rhe3Qrfu5DWjemv8enDDbcb?3P?? z(B+pjxwH44$rjF6*2UngC<3Ke7M- From 8b334f9f647ae352c075a9fdd8e276372944c1a8 Mon Sep 17 00:00:00 2001 From: Margox Date: Wed, 10 Sep 2014 23:31:05 +0800 Subject: [PATCH 4/4] Download button Image --- img/arrow-down.png | Bin 0 -> 177 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 img/arrow-down.png diff --git a/img/arrow-down.png b/img/arrow-down.png new file mode 100644 index 0000000000000000000000000000000000000000..d530112ae088ba825394320a9f1781c270455ca0 GIT binary patch literal 177 zcmeAS@N?(olHy`uVBq!ia0vp^LLkh+1|-AI^@Rhe3Qrfu5DWjemv8enDDbcb?3P?? z(B+pjxwH44$rjF6*2UngC<3Ke7M- literal 0 HcmV?d00001