summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstatic/browser.css7
-rwxr-xr-xstatic/js/pichat.js3
-rw-r--r--static/leftarrow.pngbin0 -> 3614 bytes
-rw-r--r--static/log.css71
-rwxr-xr-xstatic/profile.css53
-rwxr-xr-xstatic/search/browser.html5
-rwxr-xr-xtemplate/chat.st11
-rwxr-xr-xtemplate/logged_dump.st13
8 files changed, 118 insertions, 45 deletions
diff --git a/static/browser.css b/static/browser.css
index 64eab37..a0c2135 100755
--- a/static/browser.css
+++ b/static/browser.css
@@ -1,11 +1,10 @@
/* pichat.css */
body {
- background-color:#ffffee;
- background-image:url(/static/chanbg.png);
+
+ background:#EEF2FF url(/static/fade-blue.png) top center repeat-x;
background-repeat:repeat-x;
- background-position:1 10;
-background-attachment:fixed;
+ background-position:top;
margin: 0;
margin:0;
diff --git a/static/js/pichat.js b/static/js/pichat.js
index 8917e7c..dbc110b 100755
--- a/static/js/pichat.js
+++ b/static/js/pichat.js
@@ -22,10 +22,9 @@ var LastMsgContainsImage = false
function linkReplace(url){
var PicRegex = /\.(jpg|jpeg|png|gif|bmp)$/i;
var urlWithoutParams = url.replace(/\?.*$/i, "");
-
linkUrl = url.indexOf('http://') == 0 ? url : 'http://' + url;
- if (PicRegex.test(url)){
+ if (PicRegex.test(urlWithoutParams)){
LastMsgContainsImage = true
return "<a target='_blank' href='" + linkUrl + "'><img src='" + linkUrl + "'></a>"
} else {
diff --git a/static/leftarrow.png b/static/leftarrow.png
new file mode 100644
index 0000000..e432ded
--- /dev/null
+++ b/static/leftarrow.png
Binary files differ
diff --git a/static/log.css b/static/log.css
index 7dc2483..b5e6eda 100644
--- a/static/log.css
+++ b/static/log.css
@@ -29,18 +29,40 @@ margin-top:-7;
margin-bottom:15;
}
#logavatar{
-margin-left:-90;
+margin-left:-85;
height:25;
-background-image:url(/static/right.giff);
+background-image:url(/static/leftarrow.png);
width:70;
background-repeat:no-repeat;
- background-position:50 2;
-margin-top:-22;
+ background-position:59 4;
+margin-top:-20;
+z-index:5555;
}
#logavatar img{
-
-
+ max-width:50px;
+ width: expression(this.width > 50 ? 50: true);
+ max-height:50px;
+ height: expression(this.width > 50 ? 50: true);
+ max-width:50px;
+ border-top-left-radius:5px;
+ border-top-right-radius:5px;
+ -webkit-border-top-left-radius:5px;
+ -webkit-border-top-right-radius:5px;
+ -moz-border-radius-topleft:5px;
+ -moz-border-radius-topright:5px;
+ border-bottom-left-radius:5px;
+ border-bottom-right-radius:5px;
+ -webkit-border-bottom-left-radius:5px;
+ -webkit-border-bottom-right-radius:5px;
+ -moz-border-radius-bottomleft:5px;
+ -moz-border-radius-bottomright:5px;
+margin-top:0;
+border:1px solid #f0e0d6;
+ box-shadow:2px 2px 5px #d8dbde;
+ -webkit-box-shadow:2px 2px 5px #d8dbde;
+ -moz-box-shadow:2px 2px 5px #d8dbde;
+
}
#lolbanner{
position:absolute;
@@ -48,7 +70,7 @@ top:5;
margin-left:22;
}
#chatrap{
- width:610;
+ width:580;
margin-left:auto;
margin-right: auto ;
@@ -61,7 +83,7 @@ background-image:url(/static/dumpcats2.png);
}
#pnav{position:absolute;
padding-left:270;
-margin-top:0;
+margin-top:15;
background-position:top;
font-weight:bold;
margin-left:0;
@@ -76,7 +98,18 @@ padding:2;
width:105;
letter-spacing:-2;
text-indent:6;
- background-image:url(/static/grad2.png);
+ border-top-left-radius:5px;
+ border-top-right-radius:5px;
+ -webkit-border-top-left-radius:5px;
+ -webkit-border-top-right-radius:5px;
+ -moz-border-radius-topleft:5px;
+ -moz-border-radius-topright:5px;
+ border-bottom-left-radius:5px;
+ border-bottom-right-radius:5px;
+ -webkit-border-bottom-left-radius:5px;
+ -webkit-border-bottom-right-radius:5px;
+ -moz-border-radius-bottomleft:5px;
+ -moz-border-radius-bottomright:5px;
height:32;
text-transform:capitalize;
background-image:url(/static/upload.png);
@@ -94,7 +127,18 @@ height:32;
padding:2;
border:1px;
background-image:url(/static/upload.png);
-
+ border-top-left-radius:5px;
+ border-top-right-radius:5px;
+ -webkit-border-top-left-radius:5px;
+ -webkit-border-top-right-radius:5px;
+ -moz-border-radius-topleft:5px;
+ -moz-border-radius-topright:5px;
+ border-bottom-left-radius:5px;
+ border-bottom-right-radius:5px;
+ -webkit-border-bottom-left-radius:5px;
+ -webkit-border-bottom-right-radius:5px;
+ -moz-border-radius-bottomleft:5px;
+ -moz-border-radius-bottomright:5px;
}
#pnav a {
@@ -179,8 +223,11 @@ color:000;
}
.logged-dump{
-
+ box-shadow:1px 1px 1px #d8dbde;
+ -webkit-box-shadow:1px 1px 1px #d8dbde;
+ -moz-box-shadow:1px 1px 1px #d8dbde;
max-width:500px;
+ width:500px;
text-overflow: ellipsis-word;
padding: 18px;
font-family: Arial, Helvetica, sans-serif;
@@ -188,7 +235,7 @@ text-overflow: ellipsis-word;
text-transform: uppercase;
line-height:15px;
background-color:#fff;
-border:1px solid #eee;
+border:1px solid #f0e0d6;
border-top-left-radius:15px;
border-top-right-radius:15px;
-webkit-border-top-left-radius:15px;
diff --git a/static/profile.css b/static/profile.css
index 143aa79..34608aa 100755
--- a/static/profile.css
+++ b/static/profile.css
@@ -40,7 +40,10 @@ margin-bottom:15;
#logavatar{
margin-left:-49;
height:22;
+background-image:url(/static/leftarrow.png);
+ background-repeat:no-repeat;
+ background-position:22 1;
margin-top:-22;
}
@@ -67,17 +70,7 @@ background-image:url(/static/dumpcats2.png);
}
-#pnav{position:absolute;
-padding-left:270;
-margin-top:0;
-background-position:top;
-font-weight:bold;
-margin-left:0;
-text-align:left;
-
-
-}
#upload{
display:inline-block;
width:181px;
@@ -98,6 +91,18 @@ margin-left:-2;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;*/
border:solid 1px #eee;
+
+}
+#pnav{position:absolute;
+padding-left:270;
+margin-top:15;
+background-position:top;
+font-weight:bold;
+margin-left:0;
+text-align:left;
+
+
+
}
#pnavo{
margin-top:-18;
@@ -105,7 +110,18 @@ padding:2;
width:105;
letter-spacing:-2;
text-indent:6;
- background-image:url(/static/grad2.png);
+ border-top-left-radius:5px;
+ border-top-right-radius:5px;
+ -webkit-border-top-left-radius:5px;
+ -webkit-border-top-right-radius:5px;
+ -moz-border-radius-topleft:5px;
+ -moz-border-radius-topright:5px;
+ border-bottom-left-radius:5px;
+ border-bottom-right-radius:5px;
+ -webkit-border-bottom-left-radius:5px;
+ -webkit-border-bottom-right-radius:5px;
+ -moz-border-radius-bottomleft:5px;
+ -moz-border-radius-bottomright:5px;
height:32;
text-transform:capitalize;
background-image:url(/static/upload.png);
@@ -123,7 +139,18 @@ height:32;
padding:2;
border:1px;
background-image:url(/static/upload.png);
-
+ border-top-left-radius:5px;
+ border-top-right-radius:5px;
+ -webkit-border-top-left-radius:5px;
+ -webkit-border-top-right-radius:5px;
+ -moz-border-radius-topleft:5px;
+ -moz-border-radius-topright:5px;
+ border-bottom-left-radius:5px;
+ border-bottom-right-radius:5px;
+ -webkit-border-bottom-left-radius:5px;
+ -webkit-border-bottom-right-radius:5px;
+ -moz-border-radius-bottomleft:5px;
+ -moz-border-radius-bottomright:5px;
}
#pnav a {
@@ -217,7 +244,7 @@ text-overflow: ellipsis-word;
text-transform: uppercase;
line-height:15px;
background-color:#fff;
-border:1px solid #eee;
+border:1px solid #f0e0d6;
border-top-left-radius:15px;
border-top-right-radius:15px;
-webkit-border-top-left-radius:15px;
diff --git a/static/search/browser.html b/static/search/browser.html
index 11223ca..1bd8ff2 100755
--- a/static/search/browser.html
+++ b/static/search/browser.html
@@ -32,8 +32,9 @@ a:active {
font-size:13;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
margin:50;
-
-
+ background:#EEF2FF url(/static/fade-blue.png) top center repeat-x;
+ background-repeat:repeat-x;
+ background-position:top;
}
#rapper{
diff --git a/template/chat.st b/template/chat.st
index 9122c93..61018c5 100755
--- a/template/chat.st
+++ b/template/chat.st
@@ -17,17 +17,6 @@
</script>
<script type="text/javascript">
</script>
- $if(isadminroom)$
- <style>
- iframe {
- z-index: 50000;
- position: fixed;
- top: 200px;
- right: 25px;
- }
- </style>
- <script src="http://widgets.getclicky.com/tally/?site_id=170656&sitekey=736f7dd41a0612d8d50797c65768e71a&width=175&height=250&title=Visitors" type="text/javascript"></script>
- $endif$
<script src="/static/away.js"></script>
<script src="/static/js/ajaxupload.js"></script>
<script>
diff --git a/template/logged_dump.st b/template/logged_dump.st
index 86465e3..26021a9 100755
--- a/template/logged_dump.st
+++ b/template/logged_dump.st
@@ -32,7 +32,18 @@ img{
</style>
<div class="logged-dump">
<div>$dump.created_on$ -- by <b><a href="/u/$dump.nick$">$dump.nick$</a></b></div>
- <a href="/u/$dump.nick$"><div id="logavatar"><img height="50" width="50" src="$dump.avatar$" /></div></a>
+ <a href="/u/$dump.nick$">
+
+ <div id="logavatar">
+
+ $if(dump.avatar)$<img height="50" width="50" src="$dump.avatar$" />
+
+ $else$
+
+ <img height="50" width="50" src="/static/noinfo.png">
+
+ $endif$
+ </div></a>
<div class="content">$dump.content$</div>
<hr />
</div>