Commits

Thijs Alkemade committed 41b7873

First release of my own message style

Comments (0)

Files changed (8)

Contents/Info.plist

+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleVersion</key>
+	<string>1.5</string>
+	<key>CFBundleGetInfoString</key>
+	<string>1.5</string>
+	<key>XtraBundleVersion</key>
+	<string>1</string>
+	<key>OriginalAuthor</key>
+	<string>Thijs Alkemade</string>
+	<key>CFBundleIdentifier</key>
+	<string>nl.xnyhps.Iridium.style</string>
+	<key>CFBundleName</key>
+	<string>Iridium</string>
+	<key>MessageViewVersion</key>
+	<integer>4</integer>
+	<key>AllowTextColors</key>
+	<true/>
+	<key>DisableCustomBackground</key>
+	<true/>
+	<key>DefaultFontFamily</key>
+	<string>Menlo</string>
+	<key>DefaultFontSize</key>
+	<integer>10</integer>
+	<key>DefaultVariant</key>
+	<string>Black on White</string>
+</dict>
+</plist>

Contents/Resources/Content.html

+<div class="x-line %messageClasses%">
+%time% <span class="x-sender" style="color: %senderColor%">%senderPrefix%%sender%</span> <span class="x-message">%message%</span>
+</div>
+
+<div id="insert" class="">
+</div>

Contents/Resources/Footer.html

+

Contents/Resources/Main.css

+#Chat {
+	padding-bottom: 5px;
+}
+
+.event > .x-message {
+	color: #6666FF;
+}
+
+a {
+	text-decoration: none;
+}
+
+a:hover{
+	text-decoration: underline;
+}
+
+#topic {
+	position: fixed;
+	top: 0;
+	left: 0;
+	width: 100%;
+	padding-left: 4px;
+	padding-top: 4px;
+}
+
+.message:not(.action) > .x-sender:before {
+	content: "<";
+}
+
+.message:not(.action) > .x-sender:after {
+	content: ">";
+}
+
+.action > .x-sender:before {
+	content: "* ";
+}
+
+.actionMessageBody:before { content:""; }
+.actionMessageBody:after { content:""; }

Contents/Resources/Status.html

+<div class="x-line %messageClasses%">
+%time% <span class="x-message">-!- %message%</span>
+</div>
+
+<div id="insert" class="">
+</div>

Contents/Resources/Topic.html

+<div id="topic">
+		%topic%
+</div>

Contents/Resources/Variants/Black on White.css

+body {
+	background-color: white;
+	color: black;
+}
+
+.mention > .x-sender {
+	color: #CCCC00;
+}
+
+.message > .x-sender:before, .message > .x-sender:after, .event > .x-sender:before, #topic {
+	color: black;
+}
+
+a {
+	color: #9999FF;
+}
+
+#topic {
+	background-color: white;
+}

Contents/Resources/Variants/White on Black.css

+body {
+	background-color: black;
+	color: white;
+}
+
+.mention > .x-sender {
+	color: #FFFF66;
+}
+
+.message > .x-sender:before, .message > .x-sender:after, .event > .x-sender:before, #topic {
+	color: white;
+}
+
+a {
+	color: #9999FF;
+}
+
+#topic {
+	background-color: black;
+}