From 4e783d4b42907f8b3da08feeaeec102d0ff16248 Mon Sep 17 00:00:00 2001 From: dumpfmprod Date: Sun, 20 Jun 2010 04:48:52 -0400 Subject: sostler prod commit --- static/css/dump.css | 194 +++++++++++++++++++++++++++++++++++-- static/css/index.css | 4 + static/img/thumbs/stripes.gif | Bin 602 -> 1654 bytes static/js/invalid_domains.js | 1 + static/js/pichat.js | 99 ++----------------- template/banner.st | 2 +- template/chat.st | 1 + template/nigga.st | 219 ++++++++++++++++++++++++++++++++++-------- template/profile.st | 137 ++++++++++++-------------- 9 files changed, 441 insertions(+), 216 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 Binary files a/static/img/thumbs/stripes.gif and b/static/img/thumbs/stripes.gif 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 ""; break; + return ""; break; case 'youtube': Youtube.startAnimation(); return "" + @@ -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 { diff --git a/template/banner.st b/template/banner.st index 02759c5..791ef74 100644 --- a/template/banner.st +++ b/template/banner.st @@ -65,7 +65,7 @@ $endif$ - news - gossip - art - gif - design - fashion - - VIP PIMP DEN (NO GIRLS ALLOWED) + - VIP PIMP DEN (GIRLS BOYS ARE COOL) $endif$ $if(user_nick)$ diff --git a/template/chat.st b/template/chat.st index 9d0ae6c..77e5e86 100644 --- a/template/chat.st +++ b/template/chat.st @@ -21,6 +21,7 @@ $head()$ + $if(user_nick)$ diff --git a/template/nigga.st b/template/nigga.st index 76bb18c..68c85eb 100644 --- a/template/nigga.st +++ b/template/nigga.st @@ -14,51 +14,175 @@ + + + + + + + + + + + + + +#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 solid black; +border:1px dotted #0c8fff; top:80px; -padding:50px; -height:800px; +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; -margin-left:10%; } #dashuserlist{ +padding:15px; border:1px solid black; -width:200px; -height:400px; +width:180px; +min-height:400px; + border-radius:5px; + -webkit-border-radius:5px; + -moz-border-radius:5px; +} + +#dashuserlist h2{ +font-size:25px; +padding-top: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:50px; + +} +#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; } +
$banner()$ -
+
-

$if(is_home)$
$endif$ - + + +
$if(avatar)$ -
+
- $else$

+ $else$
+
$endif$ -
-

- $nick$ - -
- $if(score_ent)$ - - fav score: $score$ - $score_ent$ - $endif$ - $if(isadmin)$

-
- Mute $nick$!
+ + + + $if(isadmin)$ + $endif$ @@ -72,42 +196,61 @@ height:400px;
$endif$ - +
+

+ $nick$$if(score_ent)$$score_ent$$endif$

+

contact info

$if(contact)$ -
$contact$
+
$contact$
$else$


$endif$ - -

bio

+
+

bio

$if(bio)$ -
$bio$
+
$bio$
$else$


$endif$ - +
$if(is_home)$ -
-

- $endif$ - -
- $nick$'s
Favorite Pix
-

+
+ $endif$ +
+
+ - +

$dump_cnt$ dumps ➡

+
+ + + +

$dumps_user_faved_cnt$ dumps Faved ➡

+
+

$if(score_ent)$ $score$ $else$ 0 $endif$ of $if(is_home)$ your $else$ $nick$'s$endif$ dumps Faved

+
+
+
$nick$'s most recent favs
+ + + + +
+ +
$footer()$ +
diff --git a/template/profile.st b/template/profile.st index 547772e..1abee8e 100644 --- a/template/profile.st +++ b/template/profile.st @@ -8,38 +8,37 @@ - + $if(avatar)$ +
+ $else$ +
+ $endif$ + $banner()$ -
-
-
-
-
-

$if(is_home)$
$endif$ -

+
+
$if(avatar)$ - - $else$

+
+
+ $else$ + $endif$ - - $nick$


- $if(score_ent)$ - - fav score: $score$ - $score_ent$ - $endif$ - $if(isadmin)$

-
- Mute $nick$!
+ + + + $if(isadmin)$ + $endif$ -
dumps posted: $dump_cnt$
-
dumps $nick$ faved: $dumps_user_faved_cnt$
+ + + $if(is_home)$ $endif$ - +
+

+ $nick$$if(score_ent)$$score_ent$$endif$

+

contact info

$if(contact)$ -
$contact$
+
$contact$
+ $else$ -


+ + $endif$ - -

bio

+
+

bio

$if(bio)$ -
$bio$
+
$bio$
$else$ -


+ + $endif$ - +
$if(is_home)$ -
-

- $endif$ - -
- $nick$'s
Favorite Pix
- -
-
-
+ + $endif$ +
-
-
- - $if(dumps)$ - $dumps:{ d | $profile_dump(dump=d)$ }$ - - - - - - - - $else$ - no dumps - $endif$ -
+
+ +

$dump_cnt$ dumps ➡

+
+ - -
-
- - $if(prev)$ - - $else$ - - $endif$ - - $if(next)$ - - $else$ - - $endif$ - - -
+ + +

$dumps_user_faved_cnt$ dumps Faved ➡

+
+

$if(score_ent)$ $score$ $else$ 0 $endif$ of $if(is_home)$ your $else$ $nick$'s$endif$ dumps Faved

+
+ +
+
$footer()$ -
- - + + -- cgit v1.2.3-70-g09d2