diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-02-28 11:33:20 -0500 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-02-28 11:33:20 -0500 |
| commit | 6dd02a0fd44288c3d946713696a379f5eb5ed726 (patch) | |
| tree | e6990d79bc37d9b728aac2bc6040b5aa8f7cbefe | |
| parent | be94a0719507c2e9cf58a110013dfe24f978deab (diff) | |
Commit PROD changes
| -rwxr-xr-x | static/browser.css | 7 | ||||
| -rwxr-xr-x | static/js/pichat.js | 3 | ||||
| -rw-r--r-- | static/leftarrow.png | bin | 0 -> 3614 bytes | |||
| -rw-r--r-- | static/log.css | 71 | ||||
| -rwxr-xr-x | static/profile.css | 53 | ||||
| -rwxr-xr-x | static/search/browser.html | 5 |
6 files changed, 106 insertions, 33 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 d9f0016..985715d 100755 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -19,10 +19,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 Binary files differnew file mode 100644 index 0000000..e432ded --- /dev/null +++ b/static/leftarrow.png 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{ |
