From 4066a793795ebf9e10e69e67dd5767adc0681aba Mon Sep 17 00:00:00 2001 From: bill-auger Date: Wed, 6 Dec 2017 05:10:55 -0500 Subject: [iceweasel]: add parabola banner to home page --- libre/iceweasel/libre.patch | 85 +++++++++++++++++++++++++-------------------- 1 file changed, 48 insertions(+), 37 deletions(-) (limited to 'libre/iceweasel/libre.patch') diff --git a/libre/iceweasel/libre.patch b/libre/iceweasel/libre.patch index 41f16dd08..fba866039 100644 --- a/libre/iceweasel/libre.patch +++ b/libre/iceweasel/libre.patch @@ -2,51 +2,55 @@ diff --git a/browser/base/content/abouthome/aboutHome.css b/browser/base/content index c0b02e257..dc726d41a 100644 --- a/browser/base/content/abouthome/aboutHome.css +++ b/browser/base/content/abouthome/aboutHome.css -@@ -310,6 +310,48 @@ body[narrow] #restorePreviousSession::be +@@ -310,6 +310,52 @@ body[narrow] #restorePreviousSession::before { width: 32px; } -+#aboutGNU { -+ display: block; -+ -moz-box-ordinal-group: 0; -+ opacity: .2; ++#topSection { ++ margin-top: 1em; ++} ++ ++#aboutGNU , #aboutDRMfree , #brandLogo { + transition: opacity 150ms; +} + -+#aboutGNU:hover { -+ opacity: .6; ++#aboutGNU , #aboutDRMfree { ++ margin: 1em; ++ opacity: 0.2; +} + -+#aboutGNU::before { -+ content: url("chrome://browser/content/abouthome/gnu_headshadow.png"); -+ display: block; -+ position: absolute; -+ top: 12px; -+ offset-inline-end: 12px; -+ width: 200px; -+ height: 110px; ++#brandLogo { ++ opacity: 0.8; ++} ++ ++#aboutGNU:hover , #aboutDRMfree:hover , #brandLogo:hover { ++ opacity: 1.0; ++} ++ ++#aboutGNU { ++ float: left; +} + +#aboutDRMfree { -+ display: block; -+ -moz-box-ordinal-group: 0; -+ opacity: .5; -+ transition: opacity 150ms; ++ float: right; +} + -+#aboutDRMfree:hover { -+ opacity: 1; ++#aboutGNU::before { ++ content: url("chrome://browser/content/abouthome/gnu_headshadow.png"); +} + +#aboutDRMfree::before { + content: url("chrome://browser/content/abouthome/drm-free.png"); -+ display: block; -+ position: absolute; -+ top: 12px; -+ left: 12px; -+ width: 120px; -+ height: 120px; +} ++ ++#brandLogo::before { ++ content: url("about-logo.png"); ++} ++ ++#brandLogo::after { ++ content: url("parabola-banner.png"); ++} ++ + /* [HiDPI] * At resolutions above 1dppx, prefer downscaling the 2x Retina graphics @@ -79,7 +83,21 @@ diff --git a/browser/base/content/abouthome/aboutHome.xhtml b/browser/base/conte index c288e732e..6d14ee773 100644 --- a/browser/base/content/abouthome/aboutHome.xhtml +++ b/browser/base/content/abouthome/aboutHome.xhtml -@@ -49,10 +49,6 @@ +@@ -36,8 +36,12 @@ + + +
++
++ ++ ++
+
+- ++

+ +
+
+@@ -49,10 +53,6 @@
@@ -90,24 +108,17 @@ index c288e732e..6d14ee773 100644
-@@ -73,5 +69,7 @@ -
- -
-+ -+ - - diff --git a/browser/base/jar.mn b/browser/base/jar.mn index 4dcd47c95..219019b20 100644 --- a/browser/base/jar.mn +++ b/browser/base/jar.mn -@@ -27,6 +27,8 @@ browser.jar: +@@ -27,6 +27,9 @@ browser.jar: content/browser/abouthome/settings.png (content/abouthome/settings.png) content/browser/abouthome/restore.png (content/abouthome/restore.png) content/browser/abouthome/restore-large.png (content/abouthome/restore-large.png) + content/browser/abouthome/gnu_headshadow.png (content/abouthome/gnu_headshadow.png) + content/browser/abouthome/drm-free.png (content/abouthome/drm-free.png) ++ content/browser/abouthome/parabola-banner.png (content/abouthome/parabola-banner.png) content/browser/abouthome/snippet1@2x.png (content/abouthome/snippet1@2x.png) content/browser/abouthome/snippet2@2x.png (content/abouthome/snippet2@2x.png) content/browser/abouthome/downloads@2x.png (content/abouthome/downloads@2x.png) -- cgit v1.2.3