diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2012-06-18 11:07:41 +1000 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-07-02 10:03:08 +0200 |
commit | 3a8ab7a8bba633232ea9c335f8698ded5f763c17 (patch) | |
tree | a8ec7feb47f3de1246addfe4e753f9658ee81a25 /data | |
parent | 7aaacb249dd73f815c028ce0b5a3ec5ca783f69b (diff) |
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 00000000..781954ea --- /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 00000000..3a1a3d9c --- /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 00000000..5f9d2980 --- /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 00000000..b3326f39 --- /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 dd82e248..44005f1b 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`; \ |