summaryrefslogtreecommitdiff
path: root/libre/iceweasel/libre.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/iceweasel/libre.patch')
-rw-r--r--libre/iceweasel/libre.patch85
1 files changed, 48 insertions, 37 deletions
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,52 +2,56 @@ 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
* rather than upscaling the original-size ones (bug 818940).
@@ -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 @@
+
+ <body id="about-home" dir="&locale.dir;">
+ <div class="spacer"/>
++ <div id="home-header">
++ <a id="aboutGNU" href="https://www.gnu.org"></a>
++ <a id="aboutDRMfree" href="https://www.defectivebydesign.org/drm-free"></a>
++ </div>
+ <div id="topSection">
+- <div id="brandLogo"></div>
++ <a id="brandLogo" href="https://www.parabola.nu"><br/></a><br/><br/>
+
+ <div id="searchWrapper">
+ <div id="searchIcon"/>
+@@ -49,10 +53,6 @@
</div>
<div id="snippetContainer">
@@ -90,24 +108,17 @@ index c288e732e..6d14ee773 100644
<span id="rightsSnippet" hidden="true">&abouthome.rightsSnippet;</span>
<div id="snippets"/>
</div>
-@@ -73,5 +69,7 @@
- <div id="restorePreviousSessionSeparator"/>
- <button class="launchButton" id="restorePreviousSession">&historyRestoreLastSession.label;</button>
- </div>
-+ <a id="aboutGNU" href="https://www.gnu.org"></a>
-+ <a id="aboutDRMfree" href="https://www.defectivebydesign.org/drm-free"></a>
- </body>
- </html>
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)