summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rwxr-xr-xstatic/css/dump.css194
-rw-r--r--static/css/index.css4
-rw-r--r--static/img/thumbs/stripes.gifbin602 -> 1654 bytes
-rw-r--r--static/js/invalid_domains.js1
-rw-r--r--static/js/pichat.js99
5 files changed, 198 insertions, 100 deletions
diff --git a/static/css/dump.css b/static/css/dump.css
index 83754a9..13bcf68 100755
--- a/static/css/dump.css
+++ b/static/css/dump.css
@@ -1,6 +1,8 @@
/* reset.css
From http://meyerweb.com/eric/tools/css/reset/
v1.0 | 20080212 */
+
+
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
@@ -572,24 +574,55 @@ a.youtube {
cursor:pointer;
width:100;
}
+
.msvDiv {
cursor: pointer;
+ display:inline-block;background-color:#fff;
}
-div.msgDiv:hover {
+.msg-hover.content img {
cursor: pointer;
-background-image:url("/static/img/thumbs/stripes.gif");
-background-position:center;
-background-attachment:fixed;
+ background-position:center;
+ opacity:0.9;
+ z-index:2;
+ display: inline-block;
}
-.msgDiv.favorite{
+.msg-hover.content {
cursor: pointer;
-background-image:url("/static/img/thumbs/stripes.gif");
-background-position:center;
-background-attachment:fixed;
+ background-image:url("/static/img/thumbs/stripes.gif");
+ opacity:1.0;
+ color:#000;
+ background-color:#fff;
+ background-position:bottom right;
+ z-index:3;
+ background-attachment:fixed;
+}
+
+.msg-hover.content .img-wrapper {
+ cursor: pointer;
+ background-image:url("/static/img/thumbs/stripes.gif");
+ opacity:1.0;
+ color:#000;
+ background-color:#fff;
+ background-position:bottom right;
+ background-attachment:fixed;
+ display: inline-block;
+}
+
+
+.msg-hover{
+ background-color:#fff;
+}
+
+.msgDiv.favorite{
+ background-image:url("/static/img/thumbs/stripes.gif");
+ background-position:top right;
+ background-position:bottom right;
+ background-attachment:fixed;
}
-.content{background-color:white;}
+
+div.content img:hover{background-color:white;}
.nick{background-color:white;margin-right:3px;}
.msgDiv dump{background-color:white;}
/*searchstuff*/
@@ -1877,3 +1910,146 @@ margin-left:-5px;
font-size:12px;
}
+/* DASH STUFF */
+#dashadminmute{
+position:absolute;
+top:0px;
+background-color:red;
+padding:5px;
+right:0px;
+ border-bottom-left-radius:5px;
+ -webkit-border-bottom-left-radius:5px;
+ -moz-border-radius-bottomleft:5px;
+}
+#dashadminmute a{color:white;}
+#edit-toggle{
+position:absolute;
+width:80px;
+top:-10px;
+left:-5px;
+}
+
+#dashrapper{
+border:1px dotted #0c8fff;
+top:80px;
+padding:20px;
+margin-left:100px;
+ border-bottom-left-radius:5px;
+ -webkit-border-bottom-left-radius:5px;
+ -moz-border-radius-bottomleft:5px;
+margin-right:50%;
+background-color:white;
+width:800px;
+min-height:435px;
+position:absolute;
+}
+#dashuserlist{
+background-color:white;
+padding:15px;
+border:1px solid black;
+ text-overflow:ellipsis-word;
+width:180px;
+min-height:400px;
+ border-radius:5px;
+ -webkit-border-radius:5px;
+ -moz-border-radius:5px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+#dashuserlist img{
+height:50px;
+
+}
+
+#dashuserlist h2{
+font-size:25px;
+text-transform:capitalize;
+}
+#dashuserlist h3{
+font-size:18px;
+padding-bottom:15px;
+padding-top:1px;
+text-transform:capitalize;
+}
+#middash{
+top:60px;
+position:absolute;
+margin-left:230px;
+}
+#middash h2{
+font-family: 'HelveticaNeue-Light','Helvetica Neue Light','Helvetica Neue',Arial,Helvetica,sans-serif;
+font-size:50px;
+letter-spacing:-2px;
+margin-bottom:10px;
+
+}
+#middash h3{
+font-family: 'HelveticaNeue-Light','Helvetica Neue Light','Helvetica Neue',Arial,Helvetica,sans-serif;
+font-size:35px;
+letter-spacing:-2px;
+line-height:20px;
+}
+#middash h2{
+font-family: 'HelveticaNeue-Light','Helvetica Neue Light','Helvetica Neue',Arial,Helvetica,sans-serif;
+font-size:50px;
+letter-spacing:-2px;
+
+}
+#middash a{
+font-size:100%;
+}
+#middash a:hover{
+color:#f9f9f9;background-color:white;
+font-size:100%;
+text-shadow: -2px 2px 10px #000;
+}
+#dashinfo{
+margin-top:10px;
+background-color:white;
+
+}
+#dashavatar{
+
+}
+
+#dashpix{
+top:0px;
+float:right;
+
+padding:15px;
+margin-top:-150px;
+width:550px;
+
+}
+#dashpix img{
+ width: expression(this.width > 50 ? 50: true);
+ max-height:100px;
+ height: expression(this.width > 50 ? 50: true);
+ max-width:150px;
+}
+
+
+#favstxt{
+margin-top:-55px;
+margin-left:-10;
+font-family: 'HelveticaNeue-Light','Helvetica Neue Light','Helvetica Neue',Arial,Helvetica,sans-serif;
+font-size:11px;
+background-color:white;
+padding:7px;
+color:#000;
+position:absolute;
+text-transform:uppercase;
+border:1px solid black;
+ border-radius: 5px;
+ box-shadow:5px 5px 5px #d8dbde;
+ -webkit-box-shadow:5px 5px 5px #d8dbde;
+ -moz-box-shadow:5px 5px 5px #d8dbde;
+ border-radius:5px;
+ -webkit-border-radius:5px;
+ -moz-border-radius:5px;
+}
+
+#dashavatar img{
+
+} \ No newline at end of file
diff --git a/static/css/index.css b/static/css/index.css
index 2e20351..5ab6076 100644
--- a/static/css/index.css
+++ b/static/css/index.css
@@ -1,6 +1,10 @@
/* reset.css
From http://meyerweb.com/eric/tools/css/reset/
v1.0 | 20080212 */
+* {
+ padding:0;
+ margin:0;
+}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
diff --git a/static/img/thumbs/stripes.gif b/static/img/thumbs/stripes.gif
index cb2edbf..d1be3bd 100644
--- a/static/img/thumbs/stripes.gif
+++ b/static/img/thumbs/stripes.gif
Binary files differ
diff --git a/static/js/invalid_domains.js b/static/js/invalid_domains.js
index 7f9dd45..a7d207c 100644
--- a/static/js/invalid_domains.js
+++ b/static/js/invalid_domains.js
@@ -67,6 +67,7 @@ var InvalidDomains = [
"http://img.waffleimages.com",
"http://www.worldofstock.com",
"http://aphrodite.cooltext.com",
+ "http://www.iconarchive.com",
"http://www.onemetal.com",
"http://static.funnyjunk.com",
"http://www.whimsical-wits.com",
diff --git a/static/js/pichat.js b/static/js/pichat.js
index 1105ef3..2ea4b3b 100644
--- a/static/js/pichat.js
+++ b/static/js/pichat.js
@@ -2,90 +2,6 @@ var cache = {}
var PendingMessages = {}
var MessageContentCache = {}
var RawFavs = {}
-
-var InvalidDomains = [
- "http://13gb.com",
- "http://69.42.73.10",
- "http://amitkulkarni.info",
- "http://catcatcat.com",
- "http://celebskin.com",
- "http://current.com",
- "http://files.shroomery.org",
- "http://guides.macrumors.com",
- "http://henshin.250x.com",
- "http://i.pbase.com",
- "http://images.nintendolife.com",
- "http://img.bettersoft.de",
- "http://izismile.com",
- "http://izismile.com",
- "http://izismile.com/img",
- "http://mytextgraphics.com",
- "http://nexus404.com",
- "http://nintendolife.com",
- "http://nofatclips.com",
- "http://portfolio.deeperstudy.com",
- "http://ru.fishki.net",
- "http://ski.far.ru",
- "http://tripod.com",
- "http://uallknow.com",
- "http://victoryaworld.com",
- "http://images.4chan.org",
- "http://www.4chan.org",
- "http://www.angelfire.com",
- "http://www.animation-central.com",
- "http://www.arrested.com",
- "http://www.b3tards.com",
- "http://www.bloody-disgusting.com",
- "http://www.commenthaven.com",
- "http://www.coolnotions.com",
- "http://www.creepygif.com",
- "http://www.dailymakeover.com",
- "http://www.fortunecity.com",
- "http://www.gifbin.com",
- "http://www.goatse.fr",
- "http://www.hail-to-the-thief.org",
- "http://www.knowledgebase-script.com",
- "http://www.markagame.ru",
- "http://www.masternewmedia.org",
- "http://www.mortalkombatonline.com",
- "http://www.mymodernmagic.com",
- "http://www.mystkittsdivebuddy.com",
- "http://www.nudecelebritieshentai.com",
- "http://www.oldtimestrongman.com",
- "http://www.popularpages.net",
- "http://www.retrojunk.com",
- "http://www.schm032.com",
- "http://www.sevenoaksart.co.uk",
- "http://www.suicidekiss.com",
- "http://www.thecinemasource.com",
- "http://www.veryboy.fr",
- "http://www.vintagecomputing.com",
- "http://www.virtuallandmedia.com",
- "http://www.whudat.com",
- "http://www.willrich.supanet.com",
- "http://www.ysmarko.com",
- "http://www.3d-onthelevel.com",
- "http://www.heathersanimations.com",
- "http://fortunecity.com",
- "http://geneology2.com",
- "http://www.geneology2.com",
- "http://img.waffleimages.com",
- "http://www.worldofstock.com",
- "http://aphrodite.cooltext.com",
- "http://www.onemetal.com",
- "http://static.funnyjunk.com",
- "http://www.whimsical-wits.com",
- "http://madsenworld.dk",
- "http://www.oafe.net",
- "http://www.mrbalihai.com",
- "http://www.digyourowngrave.com",
- "http://tripod.com",
- "http://www.kaitaia.com",
- "http://carsdriveingallery.com",
- "http://xxxspacegirls.us",
- "http://www.newlog.com.ar"
-];
-
var MaxImagePosts = 30
// todo: preload these. also, look into image sprites (no go on animating their sizes tho)
@@ -184,7 +100,7 @@ function linkReplace(url) {
switch(getUriType(uri)) {
case 'image':
LastMsgContainsImage = true;
- return "<a target='_blank' href='" + linkUrl + "'><img src='" + linkUrl + "'></a>"; break;
+ return "<a href='" + linkUrl + "' class='img-wrapper' onclick='return false'><img src='" + linkUrl + "'></a>"; break;
case 'youtube':
Youtube.startAnimation();
return "<a target='_blank' class='youtube' href='" + linkUrl + "'>" +
@@ -1116,22 +1032,23 @@ $(function() {
OrigTitle = $('title').text();
});
-$('.msgDiv').live('mouseover', function(e) {
+$('.msgDiv .content').live('mouseover', function(e) {
$(this).addClass('msg-hover');
});
-$('.msgDiv').live('mouseout', function(e) {
+$('.msgDiv .content').live('mouseout', function(e) {
$(this).removeClass('msg-hover');
});
-$('.msgDiv').live('click', function(e) {
+$('.content').live('click', function(e) {
var tagName = e.target.tagName;
- if (tagName == 'A' || tagName == 'IMG') {
+ if (tagName == 'A') {
return;
}
- var wasFavorited = $(this).hasClass("favorite");
- var button = $(this).find('.chat-thumb');
+ var msg = $(this).parent('.msgDiv');
+ var wasFavorited = msg.hasClass("favorite");
+ var button = msg.find('.chat-thumb');
if (wasFavorited) {
$(button).attr("src", Imgs.chatThumbOff);
} else {