diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2012-06-18 12:31:14 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-07-02 16:03:08 +0800 |
commit | 7f6f5faf1a3ac7109b690d33555c54db05a692fe (patch) | |
tree | c1a8a0f205c46aac770180e532811ceab73b35ee | |
parent | 3a8ab7a8bba633232ea9c335f8698ded5f763c17 (diff) | |
download | gsoc2013-empathy-7f6f5faf1a3ac7109b690d33555c54db05a692fe.tar gsoc2013-empathy-7f6f5faf1a3ac7109b690d33555c54db05a692fe.tar.gz gsoc2013-empathy-7f6f5faf1a3ac7109b690d33555c54db05a692fe.tar.bz2 gsoc2013-empathy-7f6f5faf1a3ac7109b690d33555c54db05a692fe.tar.lz gsoc2013-empathy-7f6f5faf1a3ac7109b690d33555c54db05a692fe.tar.xz gsoc2013-empathy-7f6f5faf1a3ac7109b690d33555c54db05a692fe.tar.zst gsoc2013-empathy-7f6f5faf1a3ac7109b690d33555c54db05a692fe.zip |
Add Planet GNOME chat theme
-rw-r--r-- | data/themes/Makefile.am | 13 | ||||
-rw-r--r-- | data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Info.plist | 41 | ||||
-rw-r--r-- | data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/corners.png | bin | 0 -> 806 bytes | |||
-rw-r--r-- | data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/horizontal.png | bin | 0 -> 280 bytes | |||
-rw-r--r-- | data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/nipple.png | bin | 0 -> 528 bytes | |||
-rw-r--r-- | data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/vertical.png | bin | 0 -> 151 bytes | |||
-rw-r--r-- | data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html | 19 | ||||
-rw-r--r-- | data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html | 4 | ||||
-rw-r--r-- | data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Status.html | 5 | ||||
-rw-r--r-- | data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/main.css | 108 |
10 files changed, 190 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>AllowTextColors</key> + <true/> + + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + + <key>CFBundleGetInfoString</key> + <string>Planet GNOME Message Style</string> + + <key>CFBundleIdentifier</key> + <string>org.gnome.empathy.pgo.style</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>1.0</string> + + <key>CFBundleName</key> + <string>Planet GNOME</string> + + <key>CFBundlePackageType</key> + <string>AdIM</string> + + <key>DefaultBackgroundColor</key> + <string>ffffff</string> + + <key>DefaultFontFamily</key> + <string>Cantarell</string> + + <key>DefaultFontSize</key> + <integer>12</integer> + + <key>MessageViewVersion</key> + <integer>4</integer> + + <key>DisableCombineConsecutive</key> + <false/> + +</dict> +</plist> diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/corners.png b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/corners.png Binary files differnew file mode 100644 index 000000000..05cbcf9d3 --- /dev/null +++ b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/corners.png diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/horizontal.png b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/horizontal.png Binary files differnew file mode 100644 index 000000000..4a2c73dd3 --- /dev/null +++ b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/horizontal.png diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/nipple.png b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/nipple.png Binary files differnew file mode 100644 index 000000000..26eee3380 --- /dev/null +++ b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/nipple.png diff --git a/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/vertical.png b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/vertical.png Binary files differnew file mode 100644 index 000000000..ae6a672fc --- /dev/null +++ b/data/themes/PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/vertical.png 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 @@ +<div class="entry"> + <div class="person-info"> + <img src="%userIconPath%" class="face" title="%sender%" /><br/> + %sender% + </div> + <div class="post"> + <div class="post-contents"> + <p> + %message% + </p> + <div id="insert"></div> + </div> + <div class="post-footer"> + <p>%time%</p> + </div> + <b class="vt lt"></b><b class="vt rt"></b><b class="hz to"></b><b class="hz bo"></b> + <b class="cr tl"></b><b class="cr tr"></b><b class="cr bl"></b><b class="cr br"></b> + </div> <!-- post --> +</div> <!-- entry --> 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 @@ +<p> + %message% +</p> +<div id="insert"></div> 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 @@ +<div class="content"> + <div class="status"> + – %message% + </div> +</div> 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; +} |