[Gpg4win-commits] [git] Gpg4win - branch, website-3-dev, updated. gpg4win-2.1.0-289-g989db85
by Bernhard Reiter
cvs at cvs.gnupg.org
Tue Sep 5 09:40:57 CEST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG for Windows".
The branch, website-3-dev has been updated
via 989db858f1fef347be248a9b1e9d19a4c27901e9 (commit)
from 53779fedc876e79ff261a82f8f00419e57d21a42 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 989db858f1fef347be248a9b1e9d19a4c27901e9
Author: Bernhard Reiter <bernhard at intevation.de>
Date: Tue Sep 5 09:40:38 2017 +0200
menubar: adds button for what's new.
* Adds "what's new" button by using two <li> tags, because this seems
the simplest method without Javascript. (Just using the z-index with
position:relative leaves a gap in the menubar.) This now uses a
text within the button with a link to new subpage (still missing).
diff --git a/web/gpg4win.css b/web/gpg4win.css
index 721c991..d8b6a68 100644
--- a/web/gpg4win.css
+++ b/web/gpg4win.css
@@ -487,7 +487,7 @@ input[type='range']::-moz-range-thumb {
#menu .mlogo a {
display:block;
- width: 307px;
+ width: 161px;
height: 58px;
position: relative;
top: -13px;
@@ -499,6 +499,45 @@ input[type='range']::-moz-range-thumb {
background-position: 0px -58px;
}
+#menu .mwhatsnew {
+ border:0px;
+ line-height: 2em;
+}
+
+#menu .mwhatsnew a {
+ display:block;
+ width: 110px;
+ height: 77px;
+ position: relative;
+ top: -9px;
+ background: url('img/whatsnew.png');
+ line-height: 34px;
+}
+
+#menu .mwhatsnew a:hover {
+ background: url('img/whatsnew.png');
+ background-position: 0px -77px;
+}
+
+#menu .mbetween {
+ border:0px;
+}
+
+#menu .mbetween a {
+ display:block;
+ width: 36px;
+ height: 58px;
+ position: relative;
+ top: -13px;
+ background: url('img/inmenulogo.png');
+ background-position: -100px 0px;
+}
+
+#menu .mbetween a:hover {
+ background: url('img/inmenulogo.png');
+ background-position: -100px -58px;
+}
+
#menu .last {
width:40px;
height: 45px;
diff --git a/web/img/whatsnew.png b/web/img/whatsnew.png
new file mode 100644
index 0000000..e91ee89
Binary files /dev/null and b/web/img/whatsnew.png differ
diff --git a/web/template_header.m4 b/web/template_header.m4
index bb26fef..863177a 100644
--- a/web/template_header.m4
+++ b/web/template_header.m4
@@ -37,6 +37,12 @@ m4_define(`LINK',
<li class="mlogo">
m4_ifelse(LANG_DE, `1', `<a href="index-de.html" title="Startseite"></a>', `<a href="index.html" title="Home"></a>')
</li>
+ <li class="mwhatsnew">
+ m4_ifelse(LANG_DE, `1', `<a href="version3-de.html" title="Was ist in Version 3 neu">Neu in Version 3</a>', `<a href="version3.html" title="What is new in version 3">What is new Version 3</a>')
+ </li>
+ <li class="mbetween">
+ m4_ifelse(LANG_DE, `1', `<a href="index-de.html" title="Startseite"></a>', `<a href="index.html" title="Home"></a>')
+ </li>
MENU(`about', `Über Gpg4win', `About Gpg4win', `about', MAIN, LANG_DE)
<ul>
MENU(`about', `Über Gpg4win', `About Gpg4win', `about', SUB, LANG_DE)
-----------------------------------------------------------------------
Summary of changes:
web/gpg4win.css | 41 ++++++++++++++++++++++++++++++++++++++++-
web/img/whatsnew.png | Bin 0 -> 10740 bytes
web/template_header.m4 | 6 ++++++
3 files changed, 46 insertions(+), 1 deletion(-)
create mode 100644 web/img/whatsnew.png
hooks/post-receive
--
GnuPG for Windows
http://git.gnupg.org
More information about the Gpg4win-commits
mailing list