不使用ファイルの削除
@@ -1,343 +0,0 @@ | ||
1 | -/* 2010/01/14 このファイルはp2では使っていないようだ */ | |
2 | - | |
3 | -body{ | |
4 | -margin:0; | |
5 | -font-family:Helvetica; | |
6 | -background:#FFF; | |
7 | -color:#000; | |
8 | -overflow-x:hidden; | |
9 | -/* -webkit-user-select:none; */ | |
10 | --webkit-text-size-adjust:none; | |
11 | -} | |
12 | - | |
13 | -body>*:not(.toolbar){ | |
14 | -display:none; | |
15 | -position:absolute; | |
16 | -margin:0; | |
17 | -padding:0; | |
18 | -left:0; | |
19 | -top:45px; | |
20 | -width:100%; | |
21 | -min-height:372px; | |
22 | -} | |
23 | - | |
24 | -body[orient="landscape"]>*:not(.toolbar){ | |
25 | -min-height:268px; | |
26 | -} | |
27 | - | |
28 | -body>*[selected="true"]{ | |
29 | -display:block; | |
30 | -} | |
31 | - | |
32 | -a[selected],a:active{ | |
33 | -background-color:#194fdb!important; | |
34 | -background-image:url(listArrowSel.png),url(selection.png)!important; | |
35 | -background-repeat:no-repeat,repeat-x; | |
36 | -background-position:right center,left top; | |
37 | -color:#FFF!important; | |
38 | -} | |
39 | - | |
40 | -a[selected="progress"]{ | |
41 | -background-image:url(loading.gif),url(selection.png)!important; | |
42 | -} | |
43 | - | |
44 | -body>.toolbar{ | |
45 | -box-sizing:border-box; | |
46 | --moz-box-sizing:border-box; | |
47 | --webkit-box-sizing:border-box; | |
48 | -border-bottom:1px solid #2d3642; | |
49 | -border-top:1px solid #6d84a2; | |
50 | -padding:10px; | |
51 | -height:45px; | |
52 | -background:url(toolbar.png) #6d84a2 repeat-x; | |
53 | -} | |
54 | - | |
55 | -.toolbar>h1{ | |
56 | -position:absolute; | |
57 | -overflow:hidden; | |
58 | -left:50%; | |
59 | -margin:1px 0 0 -75px; | |
60 | -height:45px; | |
61 | -font-size:20px; | |
62 | -width:150px; | |
63 | -font-weight:bold; | |
64 | -text-shadow:rgba(0,0,0,0.4) 0 -1px 0; | |
65 | -text-align:center; | |
66 | -text-overflow:ellipsis; | |
67 | -white-space:nowrap; | |
68 | -color:#FFF; | |
69 | -} | |
70 | - | |
71 | -body[orient="landscape"]>.toolbar>h1{ | |
72 | -margin-left:-125px; | |
73 | -width:250px; | |
74 | -} | |
75 | - | |
76 | -.button{ | |
77 | -position:absolute; | |
78 | -overflow:hidden; | |
79 | -top:8px; | |
80 | -right:6px; | |
81 | -margin:0; | |
82 | -border-width:0 5px; | |
83 | -padding:0 3px; | |
84 | -width:auto; | |
85 | -height:30px; | |
86 | -line-height:30px; | |
87 | -font-family:inherit; | |
88 | -font-size:12px; | |
89 | -font-weight:bold; | |
90 | -color:#FFF; | |
91 | -text-shadow:rgba(0,0,0,0.6) 0 -1px 0; | |
92 | -text-overflow:ellipsis; | |
93 | -text-decoration:none; | |
94 | -white-space:nowrap; | |
95 | -background:none; | |
96 | --webkit-border-image:url(toolButton.png) 0 5 0 5; | |
97 | -} | |
98 | - | |
99 | -.blueButton{ | |
100 | --webkit-border-image:url(blueButton.png) 0 5 0 5; | |
101 | -border-width:0 5px; | |
102 | -} | |
103 | - | |
104 | -.leftButton{ | |
105 | -left:6px; | |
106 | -right:auto; | |
107 | -} | |
108 | -#backButton{ | |
109 | -display:none; | |
110 | -left:6px; | |
111 | -right:auto; | |
112 | -padding:0; | |
113 | -max-width:55px; | |
114 | -border-width:0 8px 0 14px; | |
115 | --webkit-border-image:url(backButton.png) 0 8 0 14; | |
116 | -} | |
117 | - | |
118 | -.whiteButton,.grayButton{ | |
119 | -display:block; | |
120 | -border-width:0 12px; | |
121 | -padding:10px; | |
122 | -text-align:center; | |
123 | -font-size:20px; | |
124 | -font-weight:bold; | |
125 | -text-decoration:inherit; | |
126 | -color:inherit; | |
127 | -} | |
128 | - | |
129 | -.whiteButton{ | |
130 | --webkit-border-image:url(whiteButton.png) 0 12 0 12; | |
131 | -text-shadow:rgba(255,255,255,0.7) 0 1px 0; | |
132 | -} | |
133 | - | |
134 | -.grayButton{ | |
135 | --webkit-border-image:url(grayButton.png) 0 12 0 12; | |
136 | -color:#FFF; | |
137 | -} | |
138 | - | |
139 | -body>ul>li{ | |
140 | -position:relative; | |
141 | -margin:0; | |
142 | -border-bottom:1px solid #E0E0E0; | |
143 | -padding:8px 0 8px 10px; | |
144 | -font-size:20px; | |
145 | -font-weight:bold; | |
146 | -list-style:none; | |
147 | -} | |
148 | - | |
149 | -body>ul>li.group{ | |
150 | -position:relative; | |
151 | -top:-1px; | |
152 | -margin-bottom:-2px; | |
153 | -border-top:1px solid #7d7d7d; | |
154 | -border-bottom:1px solid #999; | |
155 | -padding:1px 10px; | |
156 | -background:url(listGroup.png) repeat-x; | |
157 | -font-size:17px; | |
158 | -font-weight:bold; | |
159 | -text-shadow:rgba(0,0,0,0.4) 0 1px 0; | |
160 | -color:#FFF; | |
161 | -} | |
162 | - | |
163 | -body>ul>li.group:first-child{ | |
164 | -top:0; | |
165 | -border-top:none; | |
166 | -} | |
167 | -body>ul>li>a{ | |
168 | -display:block; | |
169 | -margin:-8px 0 -8px -10px; | |
170 | -padding:8px 32px 8px 10px; | |
171 | -text-decoration:none; | |
172 | -color:inherit; | |
173 | -background:url(listArrow.png) no-repeat right center; | |
174 | -} | |
175 | - | |
176 | -a[target="_replace"]{ | |
177 | -box-sizing:border-box; | |
178 | --webkit-box-sizing:border-box; | |
179 | -padding-top:25px; | |
180 | -padding-bottom:25px; | |
181 | -font-size:18px; | |
182 | -color:cornflowerblue; | |
183 | -background-color:#FFF; | |
184 | -background-image:none; | |
185 | -} | |
186 | - | |
187 | -body>.dialog{ | |
188 | -top:0; | |
189 | -width:100%; | |
190 | -min-height:417px; | |
191 | -z-index:2; | |
192 | -background:rgba(0,0,0,0.8); | |
193 | -padding:0; | |
194 | -text-align:right; | |
195 | -} | |
196 | - | |
197 | -.dialog>fieldset{ | |
198 | -box-sizing:border-box; | |
199 | --webkit-box-sizing:border-box; | |
200 | -width:100%; | |
201 | -margin:0; | |
202 | -border:none; | |
203 | -border-top:1px solid #6d84a2; | |
204 | -padding:10px 6px; | |
205 | -background:url(toolbar.png) #7388a5 repeat-x; | |
206 | -} | |
207 | - | |
208 | -.dialog>fieldset>h1{ | |
209 | -margin:0 10px 0 10px; | |
210 | -padding:0; | |
211 | -font-size:20px; | |
212 | -font-weight:bold; | |
213 | -color:#FFF; | |
214 | -text-shadow:rgba(0,0,0,0.4) 0 -1px 0; | |
215 | -text-align:center; | |
216 | -} | |
217 | - | |
218 | -.dialog>fieldset>label{ | |
219 | -position:absolute; | |
220 | -margin:16px 0 0 6px; | |
221 | -font-size:14px; | |
222 | -color:#999; | |
223 | -} | |
224 | - | |
225 | -input{ | |
226 | -box-sizing:border-box; | |
227 | --webkit-box-sizing:border-box; | |
228 | -width:100%; | |
229 | -margin:8px 0 0 0; | |
230 | -padding:6px 6px 6px 44px; | |
231 | -font-size:16px; | |
232 | -font-weight:normal; | |
233 | -} | |
234 | - | |
235 | -body>.panel{ | |
236 | -box-sizing:border-box; | |
237 | --webkit-box-sizing:border-box; | |
238 | -padding:10px; | |
239 | -background:#c8c8c8 url(pinstripes.png); | |
240 | -} | |
241 | -.panel>fieldset{ | |
242 | -position:relative; | |
243 | -margin:0 0 20px 0; | |
244 | -padding:0; | |
245 | -background:#FFF; | |
246 | -border-radius:10px; | |
247 | -border:1px solid #999; | |
248 | -text-align:right; | |
249 | -font-size:16px; | |
250 | -} | |
251 | -.row{ | |
252 | -position:relative; | |
253 | -min-height:42px; | |
254 | -border-bottom:1px solid #999; | |
255 | -border-radius:0; | |
256 | -text-align:right; | |
257 | -} | |
258 | -fieldset>.row:last-child{ | |
259 | -border-bottom:none!important; | |
260 | -} | |
261 | -.row>input{ | |
262 | -box-sizing:border-box; | |
263 | --webkit-box-sizing:border-box; | |
264 | -margin:0; | |
265 | -border:none; | |
266 | -padding:12px 10px 0 110px; | |
267 | -height:42px; | |
268 | -background:none; | |
269 | -} | |
270 | -.row>label{ | |
271 | -position:absolute; | |
272 | -margin:0 0 0 14px; | |
273 | -line-height:42px; | |
274 | -font-weight:bold; | |
275 | -} | |
276 | -.row>.toggle{ | |
277 | -position:absolute; | |
278 | -top:6px; | |
279 | -right:6px; | |
280 | -width:100px; | |
281 | -height:28px; | |
282 | -} | |
283 | -.toggle{ | |
284 | -border:1px solid #888; | |
285 | -border-radius:6px; | |
286 | -background:#FFF url(toggle.png) repeat-x; | |
287 | -font-size:19px; | |
288 | -font-weight:bold; | |
289 | -line-height:30px; | |
290 | -} | |
291 | -.toggle[toggled="true"]{ | |
292 | -border:1px solid #143fae; | |
293 | -background:#194fdb url(toggleOn.png) repeat-x; | |
294 | -} | |
295 | -.toggleOn{ | |
296 | -display:none; | |
297 | -position:absolute; | |
298 | -width:60px; | |
299 | -text-align:center; | |
300 | -left:0; | |
301 | -top:0; | |
302 | -color:#FFF; | |
303 | -text-shadow:rgba(0,0,0,0.4) 0 -1px 0; | |
304 | -} | |
305 | -.toggleOff{ | |
306 | -position:absolute; | |
307 | -width:60px; | |
308 | -text-align:center; | |
309 | -right:0; | |
310 | -top:0; | |
311 | -color:#666; | |
312 | -} | |
313 | -.toggle[toggled="true"]>.toggleOn{ | |
314 | -display:block; | |
315 | -} | |
316 | -.toggle[toggled="true"]>.toggleOff{ | |
317 | -display:none; | |
318 | -} | |
319 | -.thumb{ | |
320 | -position:absolute; | |
321 | -top:-1px; | |
322 | -left:-1px; | |
323 | -width:40px; | |
324 | -height:28px; | |
325 | -border:1px solid #888; | |
326 | -border-radius:6px; | |
327 | -background:#fff url(thumb.png) repeat-x; | |
328 | -} | |
329 | -.toggle[toggled="true"]>.thumb{ | |
330 | -left:auto; | |
331 | -right:-1px; | |
332 | -} | |
333 | -.panel>h2{ | |
334 | -margin:0 0 8px 14px; | |
335 | -font-size:inherit; | |
336 | -font-weight:bold; | |
337 | -color:#4d4d70; | |
338 | -text-shadow:rgba(255,255,255,0.75) 2px 2px 0; | |
339 | -} | |
340 | -#preloader{ | |
341 | -display:none; | |
342 | -background-image:url(loading.gif),url(selection.png),url(blueButton.png),url(listArrowSel.png),url(listGroup.png); | |
343 | -} |
@@ -1,2 +0,0 @@ | ||
1 | -// このファイルはp2では使っていないようだ | |
2 | -(function(){var _1=20;var _2=0;var _3=null;var _4=null;var _5=0;var _6=location.hash;var _7="#_";var _8=[];var _9=0;var _a;window.iui={showPage:function(_b,_c){if(_b){if(_4){_4.removeAttribute("selected");_4=null;}if(hasClass(_b,"dialog")){showDialog(_b);}else{var _d=_3;_3=_b;if(_d){setTimeout(slidePages,0,_d,_b,_c);}else{updatePage(_b,_d);}}}},showPageById:function(_e){var _f=$(_e);if(_f){var _10=_8.indexOf(_e);var _11=_10!=-1;if(_11){_8.splice(_10,_8.length);}iui.showPage(_f,_11);}},showPageByHref:function(_12,_13,_14,_15,cb){var req=new XMLHttpRequest();req.onerror=function(){if(cb){cb(false);}};req.onreadystatechange=function(){if(req.readyState==4){if(_15){replaceElementWithSource(_15,req.responseText);}else{var _18=document.createElement("div");_18.innerHTML=req.responseText;iui.insertPages(_18.childNodes);}if(cb){setTimeout(cb,1000,true);}}};if(_13){req.open(_14||"GET",_12,true);req.setRequestHeader("Content-Type","application/x-www-form-urlencoded");req.setRequestHeader("Content-Length",_13.length);req.send(_13.join("&"));}else{req.open(_14||"GET",_12,true);req.send(null);}},insertPages:function(_19){var _1a;for(var i=0;i<_19.length;++i){var _1c=_19[i];if(_1c.nodeType==1){if(!_1c.id){_1c.id="__"+(++_9)+"__";}var _1d=$(_1c.id);if(_1d){_1d.parentNode.replaceChild(_1c,_1d);}else{document.body.appendChild(_1c);}if(_1c.getAttribute("selected")=="true"||!_1a){_1a=_1c;}--i;}}if(_1a){iui.showPage(_1a);}},getSelectedPage:function(){for(var _1e=document.body.firstChild;_1e;_1e=_1e.nextSibling){if(_1e.nodeType==1&&_1e.getAttribute("selected")=="true"){return _1e;}}}};addEventListener("load",function(_1f){var _20=iui.getSelectedPage();if(_20){iui.showPage(_20);}setTimeout(preloadImages,0);setTimeout(checkOrientAndLocation,0);_a=setInterval(checkOrientAndLocation,300);},false);addEventListener("click",function(_21){var _22=findParent(_21.target,"a");if(_22){function unselect(){_22.removeAttribute("selected");}if(_22.href&&_22.hash&&_22.hash!="#"){_22.setAttribute("selected","true");iui.showPage($(_22.hash.substr(1)));setTimeout(unselect,500);}else{if(_22==$("backButton")){history.back();}else{if(_22.getAttribute("type")=="submit"){submitForm(findParent(_22,"form"));}else{if(_22.getAttribute("type")=="cancel"){cancelDialog(findParent(_22,"form"));}else{if(_22.target=="_replace"){_22.setAttribute("selected","progress");iui.showPageByHref(_22.href,null,null,_22,unselect);}else{if(!_22.target){_22.setAttribute("selected","progress");iui.showPageByHref(_22.href,null,null,null,unselect);}else{return;}}}}}}_21.preventDefault();}},true);addEventListener("click",function(_23){var div=findParent(_23.target,"div");if(div&&hasClass(div,"toggle")){div.setAttribute("toggled",div.getAttribute("toggled")!="true");_23.preventDefault();}},true);function checkOrientAndLocation(){if(window.innerWidth!=_5){_5=window.innerWidth;var _25=_5==320?"profile":"landscape";document.body.setAttribute("orient",_25);setTimeout(scrollTo,100,0,1);}if(location.hash!=_6){var _26=location.hash.substr(_7.length);iui.showPageById(_26);}}function showDialog(_27){_4=_27;_27.setAttribute("selected","true");if(hasClass(_27,"dialog")&&!_27.target){showForm(_27);}}function showForm(_28){_28.onsubmit=function(_29){_29.preventDefault();submitForm(_28);};_28.onclick=function(_2a){if(_2a.target==_28&&hasClass(_28,"dialog")){cancelDialog(_28);}};}function cancelDialog(_2b){_2b.removeAttribute("selected");}function updatePage(_2c,_2d){if(!_2c.id){_2c.id="__"+(++_9)+"__";}location.href=_6=_7+_2c.id;_8.push(_2c.id);var _2e=$("pageTitle");if(_2c.title){_2e.innerHTML=_2c.title;}if(_2c.localName.toLowerCase()=="form"&&!_2c.target){showForm(_2c);}var _2f=$("backButton");if(_2f){var _30=$(_8[_8.length-2]);if(_30&&!_2c.getAttribute("hideBackButton")){_2f.style.display="inline";_2f.innerHTML=_30.title?_30.title:"Back";}else{_2f.style.display="none";}}}function slidePages(_31,_32,_33){var _34=(_33?_31:_32).getAttribute("axis");if(_34=="y"){(_33?_31:_32).style.top="100%";}else{_32.style.left="100%";}_32.setAttribute("selected","true");scrollTo(0,1);clearInterval(_a);var _35=100;slide();var _36=setInterval(slide,_2);function slide(){_35-=_1;if(_35<=0){_35=0;if(!hasClass(_32,"dialog")){_31.removeAttribute("selected");}clearInterval(_36);_a=setInterval(checkOrientAndLocation,300);setTimeout(updatePage,0,_32,_31);}if(_34=="y"){_33?_31.style.top=(100-_35)+"%":_32.style.top=_35+"%";}else{_31.style.left=(_33?(100-_35):(_35-100))+"%";_32.style.left=(_33?-_35:_35)+"%";}}}function preloadImages(){var _37=document.createElement("div");_37.id="preloader";document.body.appendChild(_37);}function submitForm(_38){iui.showPageByHref(_38.action||"POST",encodeForm(_38),_38.method);}function encodeForm(_39){function encode(_3a){for(var i=0;i<_3a.length;++i){if(_3a[i].name){args.push(_3a[i].name+"="+escape(_3a[i].value));}}}var _3c=[];encode(_39.getElementsByTagName("input"));encode(_39.getElementsByTagName("select"));return _3c;}function findParent(_3d,_3e){while(_3d&&(_3d.nodeType!=1||_3d.localName.toLowerCase()!=_3e)){_3d=_3d.parentNode;}return _3d;}function hasClass(_3f,_40){var re=new RegExp("(^|\\s)"+_40+"($|\\s)");return re.exec(_3f.getAttribute("class"))!=null;}function replaceElementWithSource(_42,_43){var _44=_42.parentNode;var _45=_42;while(_44.parentNode!=document.body){_44=_44.parentNode;_45=_45.parentNode;}var _46=document.createElement(_45.localName);_46.innerHTML=_43;_44.removeChild(_45);while(_46.firstChild){_44.appendChild(_46.firstChild);}}function $(id){return document.getElementById(id);}function ddd(){console.log.apply(console,arguments);}})(); | |
\ No newline at end of file |