pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Make the optional "Download" icon and JPEG timestamp less intrusive



Module Name:	pkgsrc-wip
Committed By:	Adrian Steinmann <ast%NetBSD.org@localhost>
Pushed By:	ast
Date:		Wed Oct 28 14:29:40 2015 +0100
Changeset:	84087349a5ae93afcd5709fdbcf3157cad18b1bb

Added Files:
	fgallery/patches/patch-ag
	fgallery/patches/patch-ah

Log Message:
Make the optional "Download" icon and JPEG timestamp less intrusive

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=84087349a5ae93afcd5709fdbcf3157cad18b1bb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 fgallery/patches/patch-ag | 22 ++++++++++++++++++++++
 fgallery/patches/patch-ah | 12 ++++++++++++
 2 files changed, 34 insertions(+)

diffs:
diff --git a/fgallery/patches/patch-ag b/fgallery/patches/patch-ag
new file mode 100644
index 0000000..bc272db
--- /dev/null
+++ b/fgallery/patches/patch-ag
@@ -0,0 +1,22 @@
+$NetBSD: patch-ae,v 1.1.1.1 2015/10/11 19:04:20 ast Exp $
+Make the (optional) download/date area slightly less intrusive
+--- view/index.js.orig	2015-10-28 14:10:55.000000000 +0100
++++ view/index.js	2015-10-28 14:14:47.000000000 +0100
+@@ -5,7 +5,7 @@
+ var padding = 22;
+ var duration = 500;
+ var thrdelay = 1500;
+-var hidedelay = 3000;
++var hidedelay = 2000;
+ var prefetch = 1;
+ var minupscale = 640 * 480;
+ var thumbrt = 16/9 - 5/3;
+@@ -286,7 +286,7 @@
+   if(imgs.download)
+     dsc.push("<a title=\"Download album\" href=\"" + encodeURI(imgs.download) + "\"><img src=\"download.png\"/></a>");
+   if(imgs.data[eidx].date)
+-    dsc.push("<b>Date</b>: " + imgs.data[eidx].date);
++    dsc.push(imgs.data[eidx].date);
+   ehdr.set('html', dsc.join(' '));
+   ehdr.setStyle('display', (dsc.length? 'block': 'none'));
+ 
diff --git a/fgallery/patches/patch-ah b/fgallery/patches/patch-ah
new file mode 100644
index 0000000..78205be
--- /dev/null
+++ b/fgallery/patches/patch-ah
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1.1.1 2015/10/11 19:04:20 ast Exp $
+Make the (optional) download/date text slightly less conspicuous
+--- view/index.css.orig	2015-10-28 14:11:00.000000000 +0100
++++ view/index.css	2015-10-28 14:11:35.000000000 +0100
+@@ -105,6 +105,7 @@
+   background: #111; /* IE<9 */
+   background: rgba(0, 0, 0, 0.7);
+   font-family: sans-serif;
++  font-size: 60%;
+   padding: 0.5em;
+ }
+ 


Home | Main Index | Thread Index | Old Index