summaryrefslogtreecommitdiff
path: root/branding/content
diff options
context:
space:
mode:
Diffstat (limited to 'branding/content')
-rw-r--r--branding/content/Makefile.in44
-rw-r--r--branding/content/about-base.pngbin0 -> 1227 bytes
-rw-r--r--branding/content/aboutCredits-base.pngbin0 -> 923 bytes
-rw-r--r--branding/content/aboutDialog.css23
l---------branding/content/jar.mn1
-rw-r--r--branding/content/moz.build1
-rw-r--r--branding/content/wordmark.xsl20
7 files changed, 89 insertions, 0 deletions
diff --git a/branding/content/Makefile.in b/branding/content/Makefile.in
new file mode 100644
index 0000000..6c13eac
--- /dev/null
+++ b/branding/content/Makefile.in
@@ -0,0 +1,44 @@
+# Branding Makefile
+# - jars chrome artwork
+
+DEPTH = ../../..
+topsrcdir = @top_srcdir@
+srcdir = @srcdir@
+VPATH = @srcdir@
+
+include $(DEPTH)/config/autoconf.mk
+
+UNOFFICIAL_BRANDING_FILES = \
+ identity-icons-brand.svg \
+ silhouette-40.svg \
+ $(NULL)
+
+libs:: about-logo.png about-logo@2x.png about-wordmark.svg about.png icon16.png icon48.png icon64.png $(UNOFFICIAL_BRANDING_FILES)
+GARBAGE += $(CHROME_DEPS)
+
+include $(topsrcdir)/config/rules.mk
+
+about.png: %.png: ../iceweasel_logo.png %-base.png
+ composite -compose src-over -gravity center -geometry +0-26 $^ - | \
+ convert - -define png:exclude-chunk=time +set date:create +set date:modify $@
+
+about-logo.png: ../iceweasel_icon.svg
+ rsvg-convert -w 210 -h 210 -o $@ $<
+
+about-logo@2x.png: ../iceweasel_icon.svg
+ rsvg-convert -w 420 -h 420 -o $@ $<
+
+about-wordmark.svg: wordmark.xsl ../iceweasel_logo.svg
+ xsltproc -o $@ $^
+
+icon64.png: ../default64.png
+icon48.png: ../default48.png
+icon16.png: ../default16.png
+icon%.png:
+ cp -f $^ $@
+
+../%.png:
+ $(MAKE) -C .. $(notdir $@)
+
+$(UNOFFICIAL_BRANDING_FILES): %: $(topsrcdir)/browser/branding/unofficial/content/%
+ cp -f $^ $@
diff --git a/branding/content/about-base.png b/branding/content/about-base.png
new file mode 100644
index 0000000..6d36987
--- /dev/null
+++ b/branding/content/about-base.png
Binary files differ
diff --git a/branding/content/aboutCredits-base.png b/branding/content/aboutCredits-base.png
new file mode 100644
index 0000000..0e5d937
--- /dev/null
+++ b/branding/content/aboutCredits-base.png
Binary files differ
diff --git a/branding/content/aboutDialog.css b/branding/content/aboutDialog.css
new file mode 100644
index 0000000..5f1672d
--- /dev/null
+++ b/branding/content/aboutDialog.css
@@ -0,0 +1,23 @@
+#clientBox {
+ background-color: #F7F7F7;
+ color: #222222;
+}
+
+#leftBox {
+ background-image: url("chrome://branding/content/about-logo.png");
+ background-repeat: no-repeat;
+ /* min-width and min-height create room for the logo */
+ min-width: 210px;
+ min-height: 210px;
+ margin-top:20px;
+ -moz-margin-start: 30px;
+}
+
+#rightBox {
+ margin-left: 30px;
+ margin-right: 30px;
+}
+
+#updateDeck > hbox > label:not([class="text-link"]) {
+ color: #909090;
+}
diff --git a/branding/content/jar.mn b/branding/content/jar.mn
new file mode 120000
index 0000000..ab5e467
--- /dev/null
+++ b/branding/content/jar.mn
@@ -0,0 +1 @@
+../../../browser/branding/official/content/jar.mn \ No newline at end of file
diff --git a/branding/content/moz.build b/branding/content/moz.build
new file mode 100644
index 0000000..7e10323
--- /dev/null
+++ b/branding/content/moz.build
@@ -0,0 +1 @@
+JAR_MANIFESTS += ['jar.mn']
diff --git a/branding/content/wordmark.xsl b/branding/content/wordmark.xsl
new file mode 100644
index 0000000..d856425
--- /dev/null
+++ b/branding/content/wordmark.xsl
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0"
+xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+xmlns:svg="http://www.w3.org/2000/svg">
+
+<xsl:template match="svg:svg/@height">
+<xsl:attribute name="height"><xsl:value-of select="'39'"/></xsl:attribute>
+</xsl:template>
+
+<xsl:template match="svg:g[@id='g3229']/@transform">
+<xsl:attribute name="transform"><xsl:value-of select="'translate(-112.1549,-60)'"/></xsl:attribute>
+</xsl:template>
+
+<xsl:template match="svg:svg|svg:defs|svg:defs//*|svg:g[@id='g3229' or @id='g17886']|svg:path[@id='path2813' or @id='path2823']|svg:g[@id='g17886']//*|@*">
+<xsl:copy>
+<xsl:apply-templates select="*|@*"/>
+</xsl:copy>
+</xsl:template>
+
+</xsl:stylesheet>