diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/scripts3.js | 14 | ||||
-rw-r--r-- | web/style3.css | 7 |
2 files changed, 10 insertions, 11 deletions
diff --git a/web/scripts3.js b/web/scripts3.js index f4a21da34..e1cc59526 100644 --- a/web/scripts3.js +++ b/web/scripts3.js @@ -108,17 +108,15 @@ function checkUsername() { /******************************************************************************/ jQuery.fn.selectText = function(){ - var doc = document; - var element = this[0]; - console.log(this, element); - if (doc.body.createTextRange) { - var range = document.body.createTextRange(); - range.moveToElementText(element); + var d = document; + if (d.body.createTextRange) { + var range = d.body.createTextRange(); + range.moveToElementText(this[0]); range.select(); } else if (window.getSelection) { var selection = window.getSelection(); - var range = document.createRange(); - range.selectNodeContents(element); + var range = d.createRange(); + range.selectNodeContents(this[0]); selection.removeAllRanges(); selection.addRange(range); } diff --git a/web/style3.css b/web/style3.css index 4a79e4ed6..db4efd7f2 100644 --- a/web/style3.css +++ b/web/style3.css @@ -23,7 +23,8 @@ pre { white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; #header img { max-width: 32px; max-height: 32px; vertical-align: middle; margin-right: 4px; } #header label { cursor: pointer; } -.head-ico { width: 32px; height: 32px; background: url(//static.juick.com/head-ico-24.png) no-repeat; display: inline-block; vertical-align: middle; margin-bottom: 2px; } +.head-ico { width: 32px; height: 32px; display: inline-block; vertical-align: middle; margin-bottom: 2px; + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAAAgCAMAAAAi0rTUAAAAAXNSR0IArs4c6QAAAj1QTFRFMzMzMzQ0MzQ1MzU1MzU2NTU1MzY3MzY4NjY2Mzc4Mzc5NDg6NDk7NDk8NDo8NDo9NDs+NDs/NDw/NT1BNT5DNT9DNT9ENUBFNUFGNUFHNkJINkNJQUFBNkRKNkRLQkJCNkVMNkVNNkZNNkZOREREN0dPN0hQRUVFN0hRN0lRN0lSN0pTN0pUN0tVOExWSUlJOE1XOE1YOE5ZOE9aOE9bOFBbOFBcTExMOV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t/+1mh/bMlonCLVca/PTK4Pfdbtu9qKeCwWX3QELwPLTq3JdKArmnbt7j+8+tBn2yY5s1tFTr+j5Zo+YmdL1+X2s2Gu6aOI6+KJlrk5/m+S+0yfU/sX6duvvdmCePkAAAAASUVORK5CYII=") no-repeat; } #hi-logo { width: 110px; margin: 0 28px; } #hi-post { background-position: -142px 0; margin: 0 5px 0 -5px; } #hi-settings { background-position: -174px 0; } @@ -45,8 +46,8 @@ pre { white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; .msg-avatar img { width: 48px; height: 48px; vertical-align: top; } .msg-ts { float: right; font-size: small; vertical-align: top; } .msg-ts, .msg-ts>a { color: #999; } -.msg-menu { margin: 0 0 0 6px; padding: 2px 0; } -.msg-menu img { vertical-align: top; } +.msg-menu { width: 16px; height: 16px; display: inline-block; vertical-align: top; margin: 0 0 0 6px; + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAAXNSR0IArs4c6QAAALRQTFRFAAAAldX/ncT/ksj/ltL/nMb/lMn/mcz/l9H/lcr/mZmZmcz/m83/mJiYmZmZmcz/mM7/mpqamsr/l8v/m83/mJiYmM7/l8v/mZmZmcz/mpqamMv/mcz/mM3/ms3/msv/mMv/mMz/mcz/msz/mc3/mMz/mcz/msz/mc3/mcv/mc3/mcv/mcz/mcz/mcz/mcz/mZmZmZmZmcz/mcz/mcz/mcz/mcz/mcz/mcz/mcz/mcz/mZmZiZsGCAAAADx0Uk5TAAwNDhESExQWGC0tLi8yMjQ1NTY4OTk7PDxESktNUVNUd3h5eoGCg4mKmMvMzc7P29zd3uLj7O3u8vT2+A5wCAAAAJFJREFUGBkFwQlCgkAAAMDRxEySkryyzDxSAc+gkvX//2oGAAB42J5COG46AJ+/+SiKxvl1DsyqJyCtZnBXxgDxdxPrHQDZCvvUNIFkalAgtCSXHr1LIqpRt+ifu91zn6hG8YLh7TbEoMAyg8kEsgWaZQzwWDbgvXoG0p83YH7Nx+32a/73AdDZHEIovu4BAMA/t6QMuyHliCkAAAAASUVORK5CYII=") no-repeat; } .msg-header { float: left; margin: 0 0 8px 10px; max-width: 350px; overflow: hidden; } .msg-place { clear: both; font-size: small; margin: 8px 0 8px 58px; } .msg-place>a { color: #999; } |