From 7f6f5faf1a3ac7109b690d33555c54db05a692fe Mon Sep 17 00:00:00 2001 From: Danielle Madeley Date: Mon, 18 Jun 2012 14:31:14 +1000 Subject: Add Planet GNOME chat theme --- data/themes/Makefile.am | 13 +++ .../Contents/Info.plist | 41 ++++++++ .../Contents/Resources/Images/corners.png | Bin 0 -> 806 bytes .../Contents/Resources/Images/horizontal.png | Bin 0 -> 280 bytes .../Contents/Resources/Images/nipple.png | Bin 0 -> 528 bytes .../Contents/Resources/Images/vertical.png | Bin 0 -> 151 bytes .../Contents/Resources/Incoming/Content.html | 19 ++++ .../Contents/Resources/Incoming/NextContent.html | 4 + .../Contents/Resources/Status.html | 5 + .../Contents/Resources/main.css | 108 +++++++++++++++++++++ 10 files changed, 190 insertions(+) create mode 100644 data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Info.plist create mode 100644 data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/corners.png create mode 100644 data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/horizontal.png create mode 100644 data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/nipple.png create mode 100644 data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/vertical.png create mode 100644 data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html create mode 100644 data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html create mode 100644 data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Status.html create mode 100644 data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/main.css diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am index 44005f1b3..58d0618a0 100644 --- a/data/themes/Makefile.am +++ b/data/themes/Makefile.am @@ -3,6 +3,7 @@ themesdir = $(datadir)/adium/message-styles themes = \ $(boxes_messageStyle) \ $(classic_messageStyle) \ + $(pgo_messageStyle) \ $(NULL) boxes_messageStyle = \ @@ -23,6 +24,18 @@ classic_messageStyle = \ Classic.AdiumMessageStyle/Contents/Info.plist \ $(NULL) +pgo_messageStyle = \ + PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/corners.png \ + PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/horizontal.png \ + PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/nipple.png \ + PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/vertical.png \ + PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html \ + PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html \ + PlanetGNOME.AdiumMessageStyle/Contents/Resources/Status.html \ + PlanetGNOME.AdiumMessageStyle/Contents/Resources/main.css \ + PlanetGNOME.AdiumMessageStyle/Contents/Info.plist \ + $(NULL) + install-themes: $(themes) for f in $^; do \ mkdir -p `dirname $(DESTDIR)$(themesdir)/$$f`; \ diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Info.plist b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Info.plist new file mode 100644 index 000000000..45d5cc20c --- /dev/null +++ b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Info.plist @@ -0,0 +1,41 @@ + + + + + AllowTextColors + + + CFBundleDevelopmentRegion + English + + CFBundleGetInfoString + Planet GNOME Message Style + + CFBundleIdentifier + org.gnome.empathy.pgo.style + CFBundleInfoDictionaryVersion + 1.0 + + CFBundleName + Planet GNOME + + CFBundlePackageType + AdIM + + DefaultBackgroundColor + ffffff + + DefaultFontFamily + Cantarell + + DefaultFontSize + 12 + + MessageViewVersion + 4 + + DisableCombineConsecutive + + + + diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/corners.png b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/corners.png new file mode 100644 index 000000000..05cbcf9d3 Binary files /dev/null and b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/corners.png differ diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/horizontal.png b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/horizontal.png new file mode 100644 index 000000000..4a2c73dd3 Binary files /dev/null and b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/horizontal.png differ diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/nipple.png b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/nipple.png new file mode 100644 index 000000000..26eee3380 Binary files /dev/null and b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/nipple.png differ diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/vertical.png b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/vertical.png new file mode 100644 index 000000000..ae6a672fc Binary files /dev/null and b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/vertical.png differ diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html new file mode 100644 index 000000000..827c6279b --- /dev/null +++ b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html @@ -0,0 +1,19 @@ +
+
+
+ %sender% +
+
+
+

+ %message% +

+
+
+ + + +
+
diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html new file mode 100644 index 000000000..9982230db --- /dev/null +++ b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html @@ -0,0 +1,4 @@ +

+ %message% +

+
diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Status.html b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Status.html new file mode 100644 index 000000000..5f9d29803 --- /dev/null +++ b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Status.html @@ -0,0 +1,5 @@ +
+
+ – %message% +
+
diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/main.css b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/main.css new file mode 100644 index 000000000..03f38a374 --- /dev/null +++ b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/main.css @@ -0,0 +1,108 @@ +* { + word-wrap: break-word; + word-break: break-word; +} + +html { + padding: 0; + margin: 0; +} + +body { + padding: 6px; + margin: 0; +} + +div.entry { + clear: both; + margin-bottom: 0.5em; +} + +div.person-info { + position: relative; + z-index: 1; + float: left; + margin-top: 25px !important; + margin-left: -1em; + padding: 0 2em 0 0.5em; + left: 3px; + width: 6em; + background: url(Images/nipple.png) top right no-repeat; + text-align: center; + color: #777; + font-size: small; +} + +div.person-info img { + border: 0px; + margin-bottom: 1ex; + width: 50px; + height: auto; +} + +div.post { + position: relative; + margin-left: 6em; + padding: 1em; +} + +b.cr { + position: absolute; + background-image: url(Images/corners.png); + width: 50px; + height: 50px; +} +b.tl { top: 0px; left: 0px; background-position: top left; } +b.tr { top: 0px; right: 0px; background-position: top right; } +b.bl { bottom: 0px; left: 0px; background-position: bottom left; } +b.br { bottom: 0px; right: 0px; background-position: bottom right; } + +b.vt { + position: absolute; + background: url(Images/vertical.png) repeat-y; + width: 50px; + height: 100%; +} +b.lt { top: 0px; left: 0px; background-position: top left; } +b.rt { top: 0px; right: 0px; background-position: top right; } + +b.hz { + position: absolute; + background: url(Images/horizontal.png) repeat-x; + width: 100%; + height: 50px; +} +b.to { top: 0px; left: 0px; background-position: top left; } +b.bo { bottom: 0px; left: 0px; background-position: bottom left; } + +.post-contents { + position: relative; + z-index: 1; + line-height: 120%; + padding: 0; + margin: 0; +} + +.post-contents p { + padding: 0; + margin: 0; + padding-top: 0.3em; +} + +.post-contents:after { + display: block; + clear: both; +} + +.post-footer { + margin-top: 0.5em; +} + +.post-footer p { + position: relative; + z-index: 1; + margin: 0; + font-size: small; + text-align: right; + color: #777; +} -- cgit v1.2.3