From 07f36a4bd182dbfc988710a753bb8c139362c5e9 Mon Sep 17 00:00:00 2001 From: shizuki Date: Mon, 9 Mar 2009 10:22:29 +0000 Subject: [PATCH] =?utf8?q?=E3=83=96=E3=83=83=E3=82=AF=E3=83=9E=E3=83=BC?= =?utf8?q?=E3=82=AF=E3=83=AC=E3=83=83=E3=83=88=E3=81=AECSS=E8=AA=BF?= =?utf8?q?=E6=95=B4(Win=20Fx3.0.6/IE6/IE7/Opera9.63/Safari3.2.1/Chrome1.0.?= =?utf8?q?154.48=20on=20XP=20Pro.SP3=E3=81=AB=E3=81=A6=E7=A2=BA=E8=AA=8D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk/utf8@968 1ca29b6e-896d-4ea0-84a5-967f57386b96 --- nucleus/libs/include/bookmarklet-add.template | 13 +++--- nucleus/libs/include/bookmarklet-edit.template | 13 +++--- nucleus/styles/bookmarklet.css | 58 +++++++++++++++++++++----- 3 files changed, 60 insertions(+), 24 deletions(-) diff --git a/nucleus/libs/include/bookmarklet-add.template b/nucleus/libs/include/bookmarklet-add.template index 9e8708e..adcea2c 100755 --- a/nucleus/libs/include/bookmarklet-add.template +++ b/nucleus/libs/include/bookmarklet-add.template @@ -34,15 +34,14 @@ google.load("jqueryui", "1"); google.setOnLoadCallback(function() { $(function(){ - $("#tabs").tabs(); + updAllPreviews(); $("table tr td:first-child").css("width", "14%"); - var contentBlock = $("textarea").parents(".contentblock"); - $("textarea").resizable({alsoResize: contentBlock}); - function preautoSaveDraft() { + $("textarea").resizable({ containment: 'parent' }); + $("#tabs").tabs(); + $("input[name=autosavenow]").click(function() { $(".autosavestatus").text('(' + lastsavedtext + ' ' + formattedDate() + ')'); autoSaveDraft(); - } - updAllPreviews(); + }); }); }); //]]> @@ -144,7 +143,7 @@
- <%ifautosave()%><%endif%> + <%ifautosave()%><%endif%> <%ifautosave()%>(<%text(_AUTOSAVEDRAFT)%> : <%text(_AUTOSAVEDRAFT_NOTYETSAVED)%>)<%endif%>
diff --git a/nucleus/libs/include/bookmarklet-edit.template b/nucleus/libs/include/bookmarklet-edit.template index 765f195..6405125 100755 --- a/nucleus/libs/include/bookmarklet-edit.template +++ b/nucleus/libs/include/bookmarklet-edit.template @@ -34,15 +34,14 @@ google.load("jqueryui", "1"); google.setOnLoadCallback(function() { $(function(){ - $("#tabs").tabs(); + updAllPreviews(); $("table tr td:first-child").css("width", "14%"); - var contentBlock = $("textarea").parents(".contentblock"); - $("textarea").resizable({alsoResize: contentBlock}); - function preautoSaveDraft() { + $("textarea").resizable({ containment: 'parent' }); + $("#tabs").tabs(); + $("input[name=autosavenow]").click(function() { $(".autosavestatus").text('(' + lastsavedtext + ' ' + formattedDate() + ')'); autoSaveDraft(); - } - updAllPreviews(); + }); }); }); //]]> @@ -144,7 +143,7 @@
- <%ifautosave()%><%endif%> + <%ifautosave()%><%endif%> <%ifautosave()%>(<%text(_AUTOSAVEDRAFT)%> : <%text(_AUTOSAVEDRAFT_NOTYETSAVED)%>)<%endif%>
diff --git a/nucleus/styles/bookmarklet.css b/nucleus/styles/bookmarklet.css index 728b9ce..950afb1 100755 --- a/nucleus/styles/bookmarklet.css +++ b/nucleus/styles/bookmarklet.css @@ -14,9 +14,9 @@ body { font-family: "メイリオ", "Meiryo", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "MS Pゴシック", "MS PGothic", "IPA UIGothic", "IPA mona UIGothic", "VL PGothic", "Sazanami Gothic", "DynaLab-dfghsgothic w5-jisx0208.1990-0", "DynaLab-dfggothic w5-iso8859-1", "Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif !important; } -textarea { -/* font-family: "Hiragino Kaku Gothic Pro W3", "MS P Gothic", "Osaka", sans-serif;*/ -} +/*textarea { + font-family: "Hiragino Kaku Gothic Pro W3", "MS P Gothic", "Osaka", sans-serif; +}*/ h1 { border-bottom: 1px dotted gray; @@ -54,10 +54,12 @@ h1 { font-weight: bold; } */ + .contentblock { /*background: #ddd;*/ /* height: 500px;*/ - height: 370px; +/* height: 370px;*/ + height: 410px;/*mod 090309*/ overflow: auto; /* temporary removed, to make the select box work in Mozilla */ padding: 1px !important; margin: 0px; @@ -65,7 +67,14 @@ h1 { } *:first-child+html .contentblock { - height: 330px; +/* height: 330px;*/ + height: 380px; /*mod 090309*/ +} +*html body .contentblock { /*add 090309*/ + height: 380px; +} +body:last-child .contentblock { /*add 090309*/ + height: 390px; } .shortcuts { @@ -118,10 +127,20 @@ table { margin: 10px auto; /* margin-bottom: 10px; margin-top: 10px;*/ + height: 95%; /* add 090309*/ } -*:first-child+html .table { +*:first-child+html table { + width: 93%; + height: 90%; /* add 090309*/ +} +*html body table { /* add 090309*/ + width: 93%; + height: 90%; +} +body:last-child table { /* add 090309*/ width: 93%; + height: 93%; } th { @@ -141,6 +160,7 @@ td { font-size: small; vertical-align: top; text-align: left; + white-space: nowrap; /*add 090309*/ } td a:link, td a:visited { @@ -167,7 +187,6 @@ ul.nobullets { margin: 0; } - .jsbuttonbar, #body input[type=text], #body textarea, @@ -177,16 +196,35 @@ ul.nobullets { #more select { margin: auto; display: block; - width: 90%; +/* width: 90%;*/ + width: 98% /*mod 090309*/ } *:first-child+html #body input[type=text], *:first-child+html #body textarea, *:first-child+html #body select, *:first-child+html #more input[type=text], -*:first-child+html #more textarea, -*:first-child+html #more select { +*:first-child+html #more select, +*html body #body input[type=text], /*add 090309*/ +*html body #body textarea, +*html body #body select, +*html body #more input[type=text], +*html body #more select { display: inline; + width: 98%; /*add 090309*/ +} + +*:first-child+html #more textarea { /*add 090309*/ + display: block; + width: 95%; +} +*html body #more textarea { /*add 090309*/ + display: block; + width: 95%; +} +body:last-child #more textarea { /*add 090309*/ + display: block; + width: 95%; } textarea { -- 2.11.0