Nucleus CMS日本語版SVNをgit-svnしたもの。リポジトリの変換作業用
Revision | 07f36a4bd182dbfc988710a753bb8c139362c5e9 (tree) |
---|---|
Zeit | 2009-03-09 19:22:29 |
Autor | shizuki <shizuki@1ca2...> |
Commiter | shizuki |
ブックマークレットの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
@@ -34,15 +34,14 @@ | ||
34 | 34 | google.load("jqueryui", "1"); |
35 | 35 | google.setOnLoadCallback(function() { |
36 | 36 | $(function(){ |
37 | - $("#tabs").tabs(); | |
37 | + updAllPreviews(); | |
38 | 38 | $("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() { | |
42 | 42 | $(".autosavestatus").text('(' + lastsavedtext + ' ' + formattedDate() + ')'); |
43 | 43 | autoSaveDraft(); |
44 | - } | |
45 | - updAllPreviews(); | |
44 | + }); | |
46 | 45 | }); |
47 | 46 | }); |
48 | 47 | //]]> |
@@ -144,7 +143,7 @@ | ||
144 | 143 | </div> |
145 | 144 | <div class="submitbuttons"> |
146 | 145 | <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%> | |
148 | 147 | <input type="button" value="<%text(_BMLET_CANCEL)%>" onclick="window.close();" /> |
149 | 148 | <%ifautosave()%><span class="autosavestatus">(<%text(_AUTOSAVEDRAFT)%> : <span class="lastsavedtime"><%text(_AUTOSAVEDRAFT_NOTYETSAVED)%>)</span></span><%endif%> |
150 | 149 | </div> |
@@ -34,15 +34,14 @@ | ||
34 | 34 | google.load("jqueryui", "1"); |
35 | 35 | google.setOnLoadCallback(function() { |
36 | 36 | $(function(){ |
37 | - $("#tabs").tabs(); | |
37 | + updAllPreviews(); | |
38 | 38 | $("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() { | |
42 | 42 | $(".autosavestatus").text('(' + lastsavedtext + ' ' + formattedDate() + ')'); |
43 | 43 | autoSaveDraft(); |
44 | - } | |
45 | - updAllPreviews(); | |
44 | + }); | |
46 | 45 | }); |
47 | 46 | }); |
48 | 47 | //]]> |
@@ -144,7 +143,7 @@ | ||
144 | 143 | </div> |
145 | 144 | <div class="submitbuttons"> |
146 | 145 | <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%> | |
148 | 147 | <input type="button" value="<%text(_BMLET_CANCEL)%>" onclick="window.close();" /> |
149 | 148 | <%ifautosave()%><span class="autosavestatus">(<%text(_AUTOSAVEDRAFT)%> : <span class="lastsavedtime"><%text(_AUTOSAVEDRAFT_NOTYETSAVED)%>)</span></span><%endif%> |
150 | 149 | </div> |
@@ -14,9 +14,9 @@ body { | ||
14 | 14 | 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; |
15 | 15 | } |
16 | 16 | |
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 | +}*/ | |
20 | 20 | |
21 | 21 | h1 { |
22 | 22 | border-bottom: 1px dotted gray; |
@@ -54,10 +54,12 @@ h1 { | ||
54 | 54 | font-weight: bold; |
55 | 55 | } |
56 | 56 | */ |
57 | + | |
57 | 58 | .contentblock { |
58 | 59 | /*background: #ddd;*/ |
59 | 60 | /* height: 500px;*/ |
60 | - height: 370px; | |
61 | +/* height: 370px;*/ | |
62 | + height: 410px;/*mod 090309*/ | |
61 | 63 | overflow: auto; /* temporary removed, to make the select box work in Mozilla */ |
62 | 64 | padding: 1px !important; |
63 | 65 | margin: 0px; |
@@ -65,7 +67,14 @@ h1 { | ||
65 | 67 | } |
66 | 68 | |
67 | 69 | *: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; | |
69 | 78 | } |
70 | 79 | |
71 | 80 | .shortcuts { |
@@ -118,10 +127,20 @@ table { | ||
118 | 127 | margin: 10px auto; |
119 | 128 | /* margin-bottom: 10px; |
120 | 129 | margin-top: 10px;*/ |
130 | + height: 95%; /* add 090309*/ | |
121 | 131 | } |
122 | 132 | |
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*/ | |
124 | 142 | width: 93%; |
143 | + height: 93%; | |
125 | 144 | } |
126 | 145 | |
127 | 146 | th { |
@@ -141,6 +160,7 @@ td { | ||
141 | 160 | font-size: small; |
142 | 161 | vertical-align: top; |
143 | 162 | text-align: left; |
163 | + white-space: nowrap; /*add 090309*/ | |
144 | 164 | } |
145 | 165 | |
146 | 166 | td a:link, td a:visited { |
@@ -167,7 +187,6 @@ ul.nobullets { | ||
167 | 187 | margin: 0; |
168 | 188 | } |
169 | 189 | |
170 | - | |
171 | 190 | .jsbuttonbar, |
172 | 191 | #body input[type=text], |
173 | 192 | #body textarea, |
@@ -177,16 +196,35 @@ ul.nobullets { | ||
177 | 196 | #more select { |
178 | 197 | margin: auto; |
179 | 198 | display: block; |
180 | - width: 90%; | |
199 | +/* width: 90%;*/ | |
200 | + width: 98% /*mod 090309*/ | |
181 | 201 | } |
182 | 202 | |
183 | 203 | *:first-child+html #body input[type=text], |
184 | 204 | *:first-child+html #body textarea, |
185 | 205 | *:first-child+html #body select, |
186 | 206 | *: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 { | |
189 | 213 | 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%; | |
190 | 228 | } |
191 | 229 | |
192 | 230 | textarea { |