diff options
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`; \ |