diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2012-06-18 09:07:41 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-07-02 16:03:08 +0800 |
commit | 3a8ab7a8bba633232ea9c335f8698ded5f763c17 (patch) | |
tree | a8ec7feb47f3de1246addfe4e753f9658ee81a25 /data | |
parent | 7aaacb249dd73f815c028ce0b5a3ec5ca783f69b (diff) | |
download | gsoc2013-empathy-3a8ab7a8bba633232ea9c335f8698ded5f763c17.tar gsoc2013-empathy-3a8ab7a8bba633232ea9c335f8698ded5f763c17.tar.gz gsoc2013-empathy-3a8ab7a8bba633232ea9c335f8698ded5f763c17.tar.bz2 gsoc2013-empathy-3a8ab7a8bba633232ea9c335f8698ded5f763c17.tar.lz gsoc2013-empathy-3a8ab7a8bba633232ea9c335f8698ded5f763c17.tar.xz gsoc2013-empathy-3a8ab7a8bba633232ea9c335f8698ded5f763c17.tar.zst gsoc2013-empathy-3a8ab7a8bba633232ea9c335f8698ded5f763c17.zip |
Add 'Classic' theme
Currently called 'Classic WK' until the old theme is removed.
Diffstat (limited to 'data')
5 files changed, 91 insertions, 1 deletions
diff --git a/data/themes/Classic.AdiumMessageStyle/Contents/Info.plist b/data/themes/Classic.AdiumMessageStyle/Contents/Info.plist new file mode 100644 index 000000000..781954ea3 --- /dev/null +++ b/data/themes/Classic.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>Classic Message Style</string> + + <key>CFBundleIdentifier</key> + <string>org.gnome.empathy.classic.style</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>1.0</string> + + <key>CFBundleName</key> + <string>Classic WK</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/Classic.AdiumMessageStyle/Contents/Resources/Content.html b/data/themes/Classic.AdiumMessageStyle/Contents/Resources/Content.html new file mode 100644 index 000000000..3a1a3d9c9 --- /dev/null +++ b/data/themes/Classic.AdiumMessageStyle/Contents/Resources/Content.html @@ -0,0 +1,5 @@ +<div class="%messageClasses%"> + <span class="sender">%sender%:</span> + <span class="message">%message%</span> +</div> +<div id="insert"></div> diff --git a/data/themes/Classic.AdiumMessageStyle/Contents/Resources/Status.html b/data/themes/Classic.AdiumMessageStyle/Contents/Resources/Status.html new file mode 100644 index 000000000..5f9d29803 --- /dev/null +++ b/data/themes/Classic.AdiumMessageStyle/Contents/Resources/Status.html @@ -0,0 +1,5 @@ +<div class="content"> + <div class="status"> + – %message% + </div> +</div> diff --git a/data/themes/Classic.AdiumMessageStyle/Contents/Resources/main.css b/data/themes/Classic.AdiumMessageStyle/Contents/Resources/main.css new file mode 100644 index 000000000..b3326f39b --- /dev/null +++ b/data/themes/Classic.AdiumMessageStyle/Contents/Resources/main.css @@ -0,0 +1,31 @@ +* { + word-wrap: break-word; + word-break: break-word; +} + +html { + padding: 0; + margin: 0; +} + +body { + padding: 6px; + margin: 0; +} + +.incoming .sender { + color: blue; +} + +.outgoing .sender { + color: green; +} + +.mention .sender { + color: red; + font-weight: bold; +} + +.status { + color: #939373; +} diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am index dd82e2481..44005f1b3 100644 --- a/data/themes/Makefile.am +++ b/data/themes/Makefile.am @@ -1,7 +1,8 @@ themesdir = $(datadir)/adium/message-styles themes = \ - $(boxes_messageStyle) + $(boxes_messageStyle) \ + $(classic_messageStyle) \ $(NULL) boxes_messageStyle = \ @@ -15,6 +16,13 @@ boxes_messageStyle = \ Boxes.AdiumMessageStyle/Contents/Info.plist \ $(NULL) +classic_messageStyle = \ + Classic.AdiumMessageStyle/Contents/Resources/Content.html \ + Classic.AdiumMessageStyle/Contents/Resources/main.css \ + Classic.AdiumMessageStyle/Contents/Resources/Status.html \ + Classic.AdiumMessageStyle/Contents/Info.plist \ + $(NULL) + install-themes: $(themes) for f in $^; do \ mkdir -p `dirname $(DESTDIR)$(themesdir)/$$f`; \ |