• R/O
  • HTTP
  • SSH
  • HTTPS

nucleus-jp-ancient: Commit

Nucleus CMS日本語版SVNをgit-svnしたもの。リポジトリの変換作業用


Commit MetaInfo

Revision07f36a4bd182dbfc988710a753bb8c139362c5e9 (tree)
Zeit2009-03-09 19:22:29
Autorshizuki <shizuki@1ca2...>
Commitershizuki

Log Message

ブックマークレットのCSS調整(Win Fx3.0.6/IE6/IE7/Opera9.63/Safari3.2.1/Chrome1.0.154.48 on XP Pro.SP3にて確認)

git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/nucleus-jp/trunk/utf8@968 1ca29b6e-896d-4ea0-84a5-967f57386b96

Ändern Zusammenfassung

Diff

--- a/nucleus/libs/include/bookmarklet-add.template
+++ b/nucleus/libs/include/bookmarklet-add.template
@@ -34,15 +34,14 @@
3434 google.load("jqueryui", "1");
3535 google.setOnLoadCallback(function() {
3636 $(function(){
37- $("#tabs").tabs();
37+ updAllPreviews();
3838 $("table tr td:first-child").css("width", "14%");
39- var contentBlock = $("textarea").parents(".contentblock");
40- $("textarea").resizable({alsoResize: contentBlock});
41- function preautoSaveDraft() {
39+ $("textarea").resizable({ containment: 'parent' });
40+ $("#tabs").tabs();
41+ $("input[name=autosavenow]").click(function() {
4242 $(".autosavestatus").text('(' + lastsavedtext + ' ' + formattedDate() + ')');
4343 autoSaveDraft();
44- }
45- updAllPreviews();
44+ });
4645 });
4746 });
4847 //]]>
@@ -144,7 +143,7 @@
144143 </div>
145144 <div class="submitbuttons">
146145 <input type="submit" value="<%text(_BMLET_EDIT)%>" onclick="return checkSubmit();" />
147- <%ifautosave()%><input tabindex="80" type="button" name="autosavenow" value="<%text(_AUTOSAVEDRAFT_NOW)%>" onclick="preautoSaveDraft();" /><%endif%>
146+ <%ifautosave()%><input tabindex="80" type="button" name="autosavenow" value="<%text(_AUTOSAVEDRAFT_NOW)%>" /><%endif%>
148147 <input type="button" value="<%text(_BMLET_CANCEL)%>" onclick="window.close();" />
149148 <%ifautosave()%><span class="autosavestatus">(<%text(_AUTOSAVEDRAFT)%>&nbsp;:&nbsp;<span class="lastsavedtime"><%text(_AUTOSAVEDRAFT_NOTYETSAVED)%>)</span></span><%endif%>
150149 </div>
--- a/nucleus/libs/include/bookmarklet-edit.template
+++ b/nucleus/libs/include/bookmarklet-edit.template
@@ -34,15 +34,14 @@
3434 google.load("jqueryui", "1");
3535 google.setOnLoadCallback(function() {
3636 $(function(){
37- $("#tabs").tabs();
37+ updAllPreviews();
3838 $("table tr td:first-child").css("width", "14%");
39- var contentBlock = $("textarea").parents(".contentblock");
40- $("textarea").resizable({alsoResize: contentBlock});
41- function preautoSaveDraft() {
39+ $("textarea").resizable({ containment: 'parent' });
40+ $("#tabs").tabs();
41+ $("input[name=autosavenow]").click(function() {
4242 $(".autosavestatus").text('(' + lastsavedtext + ' ' + formattedDate() + ')');
4343 autoSaveDraft();
44- }
45- updAllPreviews();
44+ });
4645 });
4746 });
4847 //]]>
@@ -144,7 +143,7 @@
144143 </div>
145144 <div class="submitbuttons">
146145 <input type="submit" value="<%text(_BMLET_EDIT)%>" onclick="return checkSubmit();" />
147- <%ifautosave()%><input tabindex="80" type="button" name="autosavenow" value="<%text(_AUTOSAVEDRAFT_NOW)%>" onclick="preautoSaveDraft();" /><%endif%>
146+ <%ifautosave()%><input tabindex="80" type="button" name="autosavenow" value="<%text(_AUTOSAVEDRAFT_NOW)%>" /><%endif%>
148147 <input type="button" value="<%text(_BMLET_CANCEL)%>" onclick="window.close();" />
149148 <%ifautosave()%><span class="autosavestatus">(<%text(_AUTOSAVEDRAFT)%>&nbsp;:&nbsp;<span class="lastsavedtime"><%text(_AUTOSAVEDRAFT_NOTYETSAVED)%>)</span></span><%endif%>
150149 </div>
--- a/nucleus/styles/bookmarklet.css
+++ b/nucleus/styles/bookmarklet.css
@@ -14,9 +14,9 @@ body {
1414 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;
1515 }
1616
17-textarea {
18-/* font-family: "Hiragino Kaku Gothic Pro W3", "MS P Gothic", "Osaka", sans-serif;*/
19-}
17+/*textarea {
18+ font-family: "Hiragino Kaku Gothic Pro W3", "MS P Gothic", "Osaka", sans-serif;
19+}*/
2020
2121 h1 {
2222 border-bottom: 1px dotted gray;
@@ -54,10 +54,12 @@ h1 {
5454 font-weight: bold;
5555 }
5656 */
57+
5758 .contentblock {
5859 /*background: #ddd;*/
5960 /* height: 500px;*/
60- height: 370px;
61+/* height: 370px;*/
62+ height: 410px;/*mod 090309*/
6163 overflow: auto; /* temporary removed, to make the select box work in Mozilla */
6264 padding: 1px !important;
6365 margin: 0px;
@@ -65,7 +67,14 @@ h1 {
6567 }
6668
6769 *:first-child+html .contentblock {
68- height: 330px;
70+/* height: 330px;*/
71+ height: 380px; /*mod 090309*/
72+}
73+*html body .contentblock { /*add 090309*/
74+ height: 380px;
75+}
76+body:last-child .contentblock { /*add 090309*/
77+ height: 390px;
6978 }
7079
7180 .shortcuts {
@@ -118,10 +127,20 @@ table {
118127 margin: 10px auto;
119128 /* margin-bottom: 10px;
120129 margin-top: 10px;*/
130+ height: 95%; /* add 090309*/
121131 }
122132
123-*:first-child+html .table {
133+*:first-child+html table {
134+ width: 93%;
135+ height: 90%; /* add 090309*/
136+}
137+*html body table { /* add 090309*/
138+ width: 93%;
139+ height: 90%;
140+}
141+body:last-child table { /* add 090309*/
124142 width: 93%;
143+ height: 93%;
125144 }
126145
127146 th {
@@ -141,6 +160,7 @@ td {
141160 font-size: small;
142161 vertical-align: top;
143162 text-align: left;
163+ white-space: nowrap; /*add 090309*/
144164 }
145165
146166 td a:link, td a:visited {
@@ -167,7 +187,6 @@ ul.nobullets {
167187 margin: 0;
168188 }
169189
170-
171190 .jsbuttonbar,
172191 #body input[type=text],
173192 #body textarea,
@@ -177,16 +196,35 @@ ul.nobullets {
177196 #more select {
178197 margin: auto;
179198 display: block;
180- width: 90%;
199+/* width: 90%;*/
200+ width: 98% /*mod 090309*/
181201 }
182202
183203 *:first-child+html #body input[type=text],
184204 *:first-child+html #body textarea,
185205 *:first-child+html #body select,
186206 *:first-child+html #more input[type=text],
187-*:first-child+html #more textarea,
188-*:first-child+html #more select {
207+*:first-child+html #more select,
208+*html body #body input[type=text], /*add 090309*/
209+*html body #body textarea,
210+*html body #body select,
211+*html body #more input[type=text],
212+*html body #more select {
189213 display: inline;
214+ width: 98%; /*add 090309*/
215+}
216+
217+*:first-child+html #more textarea { /*add 090309*/
218+ display: block;
219+ width: 95%;
220+}
221+*html body #more textarea { /*add 090309*/
222+ display: block;
223+ width: 95%;
224+}
225+body:last-child #more textarea { /*add 090309*/
226+ display: block;
227+ width: 95%;
190228 }
191229
192230 textarea {
Show on old repository browser