Permalink
Browse files

Poison

  • Loading branch information...
1 parent 34a5ae4 commit f7bd4521f34efe1cd3bc54f87d8f22916c9aeea3 @devinus committed Apr 13, 2012
Showing with 88 additions and 111 deletions.
  1. +1 −2 .gitignore
  2. +21 −0 LICENSE
  3. +10 −7 README.md
  4. BIN bg.png
  5. +0 −7 copyright.txt
  6. +48 −48 design.css
  7. +0 −18 jquery-1.6.2.min.js
  8. +0 −5 my_script.js
  9. +8 −24 scripts.js
View
@@ -1,2 +1 @@
-etc/
-test/
+.DS_Store
View
21 LICENSE
@@ -0,0 +1,21 @@
+Copyright (c) 2011 Agostino Carandente
+Copyright (c) 2012 Devin Torres
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -1,11 +1,14 @@
-# Poised - theme for Textual IRC
+# Poison - A [Textual](https://github.com/Codeux/Textual) Theme
-I was not satisfied with existing themes for my IRC client of choice, [Textual][1], so I made one for myself.
-If you happen to like it too, that's great!
+A theme based on the beautiful
+[Poised theme](https://github.com/Agos/Poised-theme) by Agostino Carandente
+for Textual 2.1.
-This is what it looks like in action:
-![Poised theme screenshot](http://f.cl.ly/items/1O1J0X1x2n111k181U2n/Schermata%2009-2455816%20alle%2013.48.53.png)
+I've only dropped the dependency on jQuery and optimized the background image.
+I know I have problems--no need to tell me.
-Licensing and boring stuff is in copyright.txt.
+## Install
-[1]: https://github.com/Codeux/Textual "Textual IRC"
+```sh-session
+$ git clone git://github.com/devinus/poison-textual-theme ~/Library/Containers/com.codeux.irc.textual/Data/Library/Application\ Support/Textual\ IRC/Styles/Poison
+```
View
BIN bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -1,7 +0,0 @@
-Copyright © 2011 Agostino Carandente
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
96 design.css 100755 → 100644
@@ -141,193 +141,193 @@ div.event p
font-weight: 700;
}
-body div[type*=privmsg] .sender[type*=myself] {
+body div[type*=privmsg] .sender[type*=myself] {
color: #ea0d68;
text-shadow: 0px 1px #FFDEEC;
}
-.sender[type*=normal][colornumber='0'],
+.sender[type*=normal][colornumber='0'],
.inline_nickname[colornumber='0'] {
color: #0080ff;
text-shadow: 0px 1px #CDE8FF;
}
-.sender[type*=normal][colornumber='1'],
+.sender[type*=normal][colornumber='1'],
.inline_nickname[colornumber='1'] {
color: #059005;
text-shadow: 0px 1px #CFFFD0;
}
-.sender[type*=normal][colornumber='2'],
+.sender[type*=normal][colornumber='2'],
.inline_nickname[colornumber='2'] {
color: #a80054;
text-shadow: 0px 1px #FFDFEF;
}
-.sender[type*=normal][colornumber='3'],
+.sender[type*=normal][colornumber='3'],
.inline_nickname[colornumber='3'] {
- color: #9b0db1;
+ color: #9b0db1;
text-shadow: 0px 1px #F9CFFF;
}
-.sender[type*=normal][colornumber='4'],
+.sender[type*=normal][colornumber='4'],
.inline_nickname[colornumber='4'] {
color: #108860;
text-shadow: 0px 1px #CEFFEF;
}
-.sender[type*=normal][colornumber='5'],
+.sender[type*=normal][colornumber='5'],
.inline_nickname[colornumber='5'] {
color: #7F4FFF;
text-shadow: 0px 1px #DAD0FF;
}
-.sender[type*=normal][colornumber='6'],
+.sender[type*=normal][colornumber='6'],
.inline_nickname[colornumber='6'] {
color: #58701a;
text-shadow: 0px 1px #F3FFCF;
}
-.sender[type*=normal][colornumber='7'],
+.sender[type*=normal][colornumber='7'],
.inline_nickname[colornumber='7'] {
color: #620a8e;
text-shadow: 0px 1px #EED0FF;
}
-.sender[type*=normal][colornumber='8'],
+.sender[type*=normal][colornumber='8'],
.inline_nickname[colornumber='8'] {
color: #BB0008;
text-shadow: 0px 1px #FFCFD1;
}
-.sender[type*=normal][colornumber='9'],
+.sender[type*=normal][colornumber='9'],
.inline_nickname[colornumber='9'] {
color: #44345f;
text-shadow: 0px 1px #DFD0FF;
}
-.sender[type*=normal][colornumber='10'],
+.sender[type*=normal][colornumber='10'],
.inline_nickname[colornumber='10'] {
color: #2f5353;
text-shadow: 0px 1px #CDFFFF;
}
-.sender[type*=normal][colornumber='11'],
+.sender[type*=normal][colornumber='11'],
.inline_nickname[colornumber='11'] {
color: #904000;
text-shadow: 0px 1px #FFE4CF;
}
-.sender[type*=normal][colornumber='12'],
+.sender[type*=normal][colornumber='12'],
.inline_nickname[colornumber='12'] {
color: #808000;
text-shadow: 0px 1px #FFFFCF;
}
-.sender[type*=normal][colornumber='13'],
+.sender[type*=normal][colornumber='13'],
.inline_nickname[colornumber='13'] {
color: #57797e;
text-shadow: 0px 1px #CDF9FF;
}
-.sender[type*=normal][colornumber='14'],
+.sender[type*=normal][colornumber='14'],
.inline_nickname[colornumber='14'] {
color: #3333dd;
text-shadow: 0px 1px #CDD0FF;
}
-.sender[type*=normal][colornumber='15'],
+.sender[type*=normal][colornumber='15'],
.inline_nickname[colornumber='15'] {
color: #5f4d22;
text-shadow: 0px 1px #FFF0CF;
}
-.sender[type*=normal][colornumber='16'],
-.inline_nickname[colornumber='16'] {
+.sender[type*=normal][colornumber='16'],
+.inline_nickname[colornumber='16'] {
color: #706616;
text-shadow: 0px 1px #FFF9CF;
}
-.sender[type*=normal][colornumber='17'],
-.inline_nickname[colornumber='17'] {
+.sender[type*=normal][colornumber='17'],
+.inline_nickname[colornumber='17'] {
color: #46799c;
text-shadow: 0px 1px #CDEDFF;
}
-.sender[type*=normal][colornumber='18'],
-.inline_nickname[colornumber='18'] {
+.sender[type*=normal][colornumber='18'],
+.inline_nickname[colornumber='18'] {
color: #80372e;
text-shadow: 0px 1px #FFD4CF;
}
-.sender[type*=normal][colornumber='19'],
-.inline_nickname[colornumber='19'] {
+.sender[type*=normal][colornumber='19'],
+.inline_nickname[colornumber='19'] {
color: #8F478E;
text-shadow: 0px 1px #FFCFFE;
}
-.sender[type*=normal][colornumber='20'],
-.inline_nickname[colornumber='20'] {
+.sender[type*=normal][colornumber='20'],
+.inline_nickname[colornumber='20'] {
color: #5b9e4c;
text-shadow: 0px 1px #D8FFD0;
}
-.sender[type*=normal][colornumber='21'],
-.inline_nickname[colornumber='21'] {
+.sender[type*=normal][colornumber='21'],
+.inline_nickname[colornumber='21'] {
color: #13826c;
text-shadow: 0px 1px #CDFFF6;
}
-.sender[type*=normal][colornumber='22'],
-.inline_nickname[colornumber='22'] {
+.sender[type*=normal][colornumber='22'],
+.inline_nickname[colornumber='22'] {
color: #b13637;
text-shadow: 0px 1px #FFCFD0;
}
-.sender[type*=normal][colornumber='23'],
-.inline_nickname[colornumber='23'] {
+.sender[type*=normal][colornumber='23'],
+.inline_nickname[colornumber='23'] {
color: #e45d59;
text-shadow: 0px 1px #FFD0CF;
}
-.sender[type*=normal][colornumber='24'],
-.inline_nickname[colornumber='24'] {
+.sender[type*=normal][colornumber='24'],
+.inline_nickname[colornumber='24'] {
color: #1b51ae;
text-shadow: 0px 1px #CDE2FF;
}
-.sender[type*=normal][colornumber='25'],
-.inline_nickname[colornumber='25'] {
+.sender[type*=normal][colornumber='25'],
+.inline_nickname[colornumber='25'] {
color: #4855ac;
text-shadow: 0px 1px #CDD7FF;
}
-.sender[type*=normal][colornumber='26'],
-.inline_nickname[colornumber='26'] {
+.sender[type*=normal][colornumber='26'],
+.inline_nickname[colornumber='26'] {
color: #7f1d86;
text-shadow: 0px 1px #FCCFFF;
}
-.sender[type*=normal][colornumber='27'],
-.inline_nickname[colornumber='27'] {
+.sender[type*=normal][colornumber='27'],
+.inline_nickname[colornumber='27'] {
color: #73643f;
text-shadow: 0px 1px #FFF1CF;
}
-.sender[type*=normal][colornumber='28'],
-.inline_nickname[colornumber='28'] {
+.sender[type*=normal][colornumber='28'],
+.inline_nickname[colornumber='28'] {
color: #0b9578;
text-shadow: 0px 1px #CDFFF5;
}
-.sender[type*=normal][colornumber='29'],
-.inline_nickname[colornumber='29'] {
+.sender[type*=normal][colornumber='29'],
+.inline_nickname[colornumber='29'] {
color: #569c96;
text-shadow: 0px 1px #CDFFFB;
}
-.sender[type*=normal][colornumber='30'],
-.inline_nickname[colornumber='30'] {
+.sender[type*=normal][colornumber='30'],
+.inline_nickname[colornumber='30'] {
color: #08465f;
text-shadow: 0px 1px #CDF2FF;
}
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,5 +0,0 @@
-$(document).ready(function() {
- topic_bar = $("#topic_bar");
- topic_bar.remove();
- topic_bar.prependTo("body");
-});
View
@@ -1,24 +1,8 @@
-// Mechanism to pull in additional CSS or JavaScript files
-
-// Textual.include_css("more_theme.css");
-
-Textual.include_js("jquery-1.6.2.min.js");
-Textual.include_js("my_script.js");
-
-// Function called when new message from IRC has been posted to display
-
-// Textual.newMessagePostedToDisplay = function(lineNumber)
-// {
-// var newLine = document.getElementById("line" + lineNumber);
-// }
-
-
-// Functions called for contextual menus used within WebView
-// DO NOT change without knowledge of what to do.
-// Safe to remove from source code if not needed.
-
-// Textual.on_url = function() { app.setUrl(event.target.innerHTML); }
-// Textual.on_addr = function() { app.setAddr(event.target.innerHTML); }
-// Textual.on_chname = function() { app.setChan(event.target.innerHTML); }
-// Textual.on_ct_nick: function() { app.setNick(event.target.innerHTML); }
-// Textual.on_nick = function() { app.setNick(event.target.parentNode.parentNode.getAttribute('nick')); }
+(function(doc) {
+ doc.addEventListener('DOMContentLoaded', function() {
+ var body = doc.body;
+ var topicBar = doc.getElementById('topic_bar');
+ body.removeChild(topicBar);
+ body.insertBefore(topicBar, body.firstChild);
+ });
+})(document);

0 comments on commit f7bd452

Please sign in to comment.