From 52c8d049af6c0963b63dd1e70f66128527a7cba5 Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Wed, 7 Nov 2012 16:36:17 +0700 Subject: JS local time auto-expand comments --- web/scripts3.js | 6 +++--- web/style3.css | 33 ++++++++++----------------------- 2 files changed, 13 insertions(+), 26 deletions(-) (limited to 'web') diff --git a/web/scripts3.js b/web/scripts3.js index c0de7757..1a5ffd66 100644 --- a/web/scripts3.js +++ b/web/scripts3.js @@ -1,8 +1,8 @@ function inlinevideo(mid) { var flashvars={ - file:'//i.juick.com/video/'+mid+'.mp4', - image:'//i.juick.com/thumbs/'+mid+'.jpg', - skin:'//static.juick.com/glow.zip', + file:'http://i.juick.com/video/'+mid+'.mp4', + image:'http://i.juick.com/thumbs/'+mid+'.jpg', + skin:'http://static.juick.com/glow.zip', autostart:'true' }; var params={ diff --git a/web/style3.css b/web/style3.css index 9612d0fa..2649de77 100644 --- a/web/style3.css +++ b/web/style3.css @@ -14,26 +14,15 @@ img { border: none; } #logo { float: left; margin: 3px 0 0 30px; } #header a { text-decoration: none; font-size: 18px; } -#search { float: left; margin: 10px 0 0 33px; } +#search { float: left; margin: 10px 0 0 51px; } #search .text { width: 285px; padding: 4px; border-radius: 2px; } #nav-right { float: right; } #nav-right li { float: left; } - -#header ul a { display: block; line-height: 48px; padding: 0 20px 0 20px; } -#nav-right img { vertical-align: middle; margin: 0 4px 0 0; } -#nav-menu { display: none; position: absolute; z-index: 1; } -#nav-menu li { float: none; } - -/********/ - -#title { display: none; clear: both; width: 100%; } -#title>h1 { margin: 20px auto; font-size: 28px; } -#title-av { width: 100px; height: 100px; margin-left: 20px; float: left; } -#title-av img { vertical-align: top; padding: 2px; } -#title-stats { width: 200px; float: right; border-left: 1px solid; } -#title-stats ul { margin: 10px 0 10px 20px; } -#title-username { margin: 0 220px 0 140px; } +#nav-right a { display: block; line-height: 48px; padding: 0 15px; } +#nav-right .wide { padding: 0 20px; } +#nav-right img { max-width: 32px; max-height: 32px; vertical-align: middle; margin: 0 4px 0 0; } +#nav-right .ico24 { width: 24px; height: 24px; background: url(//static.juick.com/icons24.png) no-repeat; padding: 12px 0; } /********/ @@ -55,11 +44,10 @@ img { border: none; } #content .msgthread { margin-bottom: 0; } #content .msg-avatar { float: left; } #content .msg-avatar img { width: 48px; height: 48px; vertical-align: top; } -#content .msg-ts { float: right; } -#content .msg-ts>a { font-size: small; vertical-align: top; } +#content .msg-ts { float: right; font-size: small; vertical-align: top; } #content .msg-header { margin-left: 58px; overflow: hidden; } #content .msg-place { font-size: small; margin: 8px 0 8px 58px; } -#content .msg-txt { margin: 8px 0 8px 58px; } +#content .msg-txt { margin: 8px 0 8px 58px; overflow: hidden; } #content .msg-media { text-align: center; margin: 8px 0 0px 58px; } #content .msg-links { font-size: small; margin: 8px 0 0 68px; } #content .msg-comments { margin: 10px 0 0 58px; padding: 5px 0 0 10px; overflow: hidden; font-size: small; border-top: 1px solid; } @@ -117,10 +105,9 @@ table.users img { width: 32px; height: 32px; vertical-align: middle; margin-righ html { background: #EEEEE5; color: #000; } a { color: #069; } #hwrapper { background: #333; } -#header a { color: #AAA; } -#header li a:hover { background: #444; } +#nav-right a { color: #AAA; } +#nav-right a:hover { background: #444; } #title { background: #F0F0F0; } -#nav-menu { background: #DDD; } #title-stats { border-color: #CCC; } #search .text { border: none; background-color: #EEE; } @@ -130,7 +117,7 @@ a { color: #069; } #content .msgthread { border-bottom-color: #CCC; } #content .msg-place { color: #999; } #content .msg-comments { color: #AAA; border-color: #DDD; } -#content .msg-ts>a { color: #999; } +#content .msg-ts, .msg-ts>a { color: #999; } #content .msg-links { color: #999; } #content .msg-comment textarea { border-color: #DDD; } #content .msg-comment input { border-color: #CCC; background-color: #EEE; color: #999; } -- cgit v1.2.3