Changeset 20566 for branches/version-2_5-dev/html/user_data/packages
- Timestamp:
- 2011/03/09 14:55:25 (15 years ago)
- Location:
- branches/version-2_5-dev/html/user_data/packages
- Files:
-
- 8 edited
-
admin/css/admin_contents.css (modified) (1 diff)
-
admin/css/thickbox.css (modified) (6 diffs)
-
admin/js/admin.js (modified) (5 diffs)
-
admin/js/file_manager.js (modified) (5 diffs)
-
sphone/css/common.css (modified) (18 diffs)
-
sphone/css/detail.css (modified) (8 diffs)
-
sphone/css/table.css (modified) (19 diffs)
-
sphone/css/wreckage.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/html/user_data/packages/admin/css/admin_contents.css
r20407 r20566 221 221 td.AlignLeft { 222 222 text-align: left; 223 padding-left: 11px;223 padding-left: 11px; 224 224 } 225 225 -
branches/version-2_5-dev/html/user_data/packages/admin/css/thickbox.css
r20290 r20566 3 3 /* ----------------------------------------------------------------------------------------------------------------*/ 4 4 #TB_window { 5 font: 12px Arial, Helvetica, sans-serif;6 color: #333333;5 font: 12px Arial, Helvetica, sans-serif; 6 color: #333333; 7 7 } 8 8 9 9 #TB_secondLine { 10 font: 10px Arial, Helvetica, sans-serif;11 color:#666666;10 font: 10px Arial, Helvetica, sans-serif; 11 color:#666666; 12 12 } 13 13 … … 22 22 /* ----------------------------------------------------------------------------------------------------------------*/ 23 23 #TB_overlay { 24 position: fixed;25 z-index:100;26 top: 0px;27 left: 0px;28 height:100%;29 width:100%;24 position: fixed; 25 z-index:100; 26 top: 0px; 27 left: 0px; 28 height:100%; 29 width:100%; 30 30 } 31 31 32 32 .TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;} 33 33 .TB_overlayBG { 34 background-color:#000;35 filter:alpha(opacity=75);36 -moz-opacity: 0.75;37 opacity: 0.75;34 background-color:#000; 35 filter:alpha(opacity=75); 36 -moz-opacity: 0.75; 37 opacity: 0.75; 38 38 } 39 39 … … 44 44 45 45 #TB_window { 46 position: fixed;47 background: #ffffff;48 z-index: 102;49 color:#000000;50 display:none;51 border: 4px solid #525252;52 text-align:left;53 top:50%;54 left:50%;46 position: fixed; 47 background: #ffffff; 48 z-index: 102; 49 color:#000000; 50 display:none; 51 border: 4px solid #525252; 52 text-align:left; 53 top:50%; 54 left:50%; 55 55 } 56 56 … … 61 61 62 62 #TB_window img#TB_Image { 63 display:block;64 margin: 15px 0 0 15px;65 border-right: 1px solid #ccc;66 border-bottom: 1px solid #ccc;67 border-top: 1px solid #666;68 border-left: 1px solid #666;63 display:block; 64 margin: 15px 0 0 15px; 65 border-right: 1px solid #ccc; 66 border-bottom: 1px solid #ccc; 67 border-top: 1px solid #666; 68 border-left: 1px solid #666; 69 69 } 70 70 71 71 #TB_caption{ 72 height:25px;73 padding:7px 30px 10px 25px;74 float:left;72 height:25px; 73 padding:7px 30px 10px 25px; 74 float:left; 75 75 } 76 76 77 77 #TB_closeWindow{ 78 height:25px;79 padding:11px 25px 10px 0;80 float:right;78 height:25px; 79 padding:11px 25px 10px 0; 80 float:right; 81 81 } 82 82 83 83 #TB_closeAjaxWindow{ 84 padding:7px 10px 5px 0;85 margin-bottom:1px;86 text-align:right;87 float:right;84 padding:7px 10px 5px 0; 85 margin-bottom:1px; 86 text-align:right; 87 float:right; 88 88 } 89 89 90 90 #TB_ajaxWindowTitle{ 91 float:left;92 padding:7px 0 5px 10px;93 margin-bottom:1px;91 float:left; 92 padding:7px 0 5px 10px; 93 margin-bottom:1px; 94 94 } 95 95 96 96 #TB_title{ 97 background-color:#e8e8e8;98 height:27px;97 background-color:#e8e8e8; 98 height:27px; 99 99 } 100 100 101 101 #TB_ajaxContent{ 102 clear:both;103 padding:2px 15px 15px 15px;104 overflow:auto;105 text-align:left;106 line-height:1.4em;102 clear:both; 103 padding:2px 15px 15px 15px; 104 overflow:auto; 105 text-align:left; 106 line-height:1.4em; 107 107 } 108 108 109 109 #TB_ajaxContent.TB_modal{ 110 padding:15px;110 padding:15px; 111 111 } 112 112 113 113 #TB_ajaxContent p{ 114 padding:5px 0px 5px 0px;114 padding:5px 0px 5px 0px; 115 115 } 116 116 117 117 #TB_load{ 118 position: fixed;119 display:none;120 height:13px;121 width:208px;122 z-index:103;123 top: 50%;124 left: 50%;125 margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */118 position: fixed; 119 display:none; 120 height:13px; 121 width:208px; 122 z-index:103; 123 top: 50%; 124 left: 50%; 125 margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */ 126 126 } 127 127 … … 132 132 133 133 #TB_HideSelect{ 134 z-index:99;135 position:fixed;136 top: 0;137 left: 0;138 background-color:#fff;139 border:none;140 filter:alpha(opacity=0);141 -moz-opacity: 0;142 opacity: 0;143 height:100%;144 width:100%;134 z-index:99; 135 position:fixed; 136 top: 0; 137 left: 0; 138 background-color:#fff; 139 border:none; 140 filter:alpha(opacity=0); 141 -moz-opacity: 0; 142 opacity: 0; 143 height:100%; 144 width:100%; 145 145 } 146 146 … … 151 151 152 152 #TB_iframeContent{ 153 clear:both;154 border:none;155 margin-bottom:-1px;156 margin-top:1px;157 _margin-bottom:1px;153 clear:both; 154 border:none; 155 margin-bottom:-1px; 156 margin-top:1px; 157 _margin-bottom:1px; 158 158 } -
branches/version-2_5-dev/html/user_data/packages/admin/js/admin.js
r20116 r20566 22 22 // 管理者メンバーを追加する。 23 23 function fnRegistMember() { 24 // 必須項目の名前、ログインID、パスワード、権限25 var lstitem = new Array();26 lstitem[0] = 'name';27 lstitem[1] = 'login_id';28 lstitem[2] = 'password';29 lstitem[3] = 'authority';30 31 var max = lstitem.length;32 var errflg = false;33 var cnt = 0;34 35 // 必須項目のチェック36 for(cnt = 0; cnt < max; cnt++) {37 if(document.form1[lstitem[cnt]].value == "") {38 errflg = true;39 break;40 }41 }42 43 // 必須項目が入力されていない場合44 if(errflg == true) {45 alert('必須項目を入力して下さい。');46 return false;47 } else {48 if(window.confirm('内容を登録しても宜しいでしょうか')){49 return true;50 } else {51 return false;52 }53 }24 // 必須項目の名前、ログインID、パスワード、権限 25 var lstitem = new Array(); 26 lstitem[0] = 'name'; 27 lstitem[1] = 'login_id'; 28 lstitem[2] = 'password'; 29 lstitem[3] = 'authority'; 30 31 var max = lstitem.length; 32 var errflg = false; 33 var cnt = 0; 34 35 // 必須項目のチェック 36 for(cnt = 0; cnt < max; cnt++) { 37 if(document.form1[lstitem[cnt]].value == "") { 38 errflg = true; 39 break; 40 } 41 } 42 43 // 必須項目が入力されていない場合 44 if(errflg == true) { 45 alert('必須項目を入力して下さい。'); 46 return false; 47 } else { 48 if(window.confirm('内容を登録しても宜しいでしょうか')){ 49 return true; 50 } else { 51 return false; 52 } 53 } 54 54 } 55 55 56 56 //親ウィンドウのページを変更する。 57 57 function fnUpdateParent(url) { 58 // 親ウィンドウの存在確認59 if(fnIsopener()) {60 window.opener.location.href = url;61 } else {62 window.close();63 }58 // 親ウィンドウの存在確認 59 if(fnIsopener()) { 60 window.opener.location.href = url; 61 } else { 62 window.close(); 63 } 64 64 } 65 65 66 66 // 親ウィンドウをポストさせる。 67 67 function fnSubmitParent() { 68 // 親ウィンドウの存在確認69 if(fnIsopener()) {70 window.opener.document.form1.submit();71 } else {72 window.close();73 }68 // 親ウィンドウの存在確認 69 if(fnIsopener()) { 70 window.opener.document.form1.submit(); 71 } else { 72 window.close(); 73 } 74 74 } 75 75 76 76 //指定されたidの削除を行うページを実行する。 77 77 function fnDeleteMember(id, pageno) { 78 url = "./delete.php?id=" + id + "&pageno=" + pageno;79 if(window.confirm('登録内容を削除しても宜しいでしょうか')){80 location.href = url;81 }78 url = "./delete.php?id=" + id + "&pageno=" + pageno; 79 if(window.confirm('登録内容を削除しても宜しいでしょうか')){ 80 location.href = url; 81 } 82 82 } 83 83 … … 87 87 // ラジオボタンのチェック状態を取得する。 88 88 function fnGetRadioChecked() { 89 var max;90 var cnt;91 var names = "";92 var startname = "";93 var ret;94 max = document.form1.elements.length;95 lstsave = Array(max);96 for(cnt = 0; cnt < max; cnt++) {97 if(document.form1.elements[cnt].type == 'radio') {98 name = document.form1.elements[cnt].name;99 /* radioボタンは同じ名前が2回続けて検出されるので、100 最初の名前の検出であるかどうかの判定 */101 // 1回目の検出102 if(startname != name) {103 startname = name;104 ret = document.form1.elements[cnt].checked;105 if(ret == true){106 // 稼働がチェックされている。107 lstsave[name] = 1;108 }109 // 2回目の検出110 } else {111 ret = document.form1.elements[cnt].checked;112 if(ret == true){113 // 非稼働がチェックされている。114 lstsave[name] = 0;115 }116 }117 }118 }89 var max; 90 var cnt; 91 var names = ""; 92 var startname = ""; 93 var ret; 94 max = document.form1.elements.length; 95 lstsave = Array(max); 96 for(cnt = 0; cnt < max; cnt++) { 97 if(document.form1.elements[cnt].type == 'radio') { 98 name = document.form1.elements[cnt].name; 99 /* radioボタンは同じ名前が2回続けて検出されるので、 100 最初の名前の検出であるかどうかの判定 */ 101 // 1回目の検出 102 if(startname != name) { 103 startname = name; 104 ret = document.form1.elements[cnt].checked; 105 if(ret == true){ 106 // 稼働がチェックされている。 107 lstsave[name] = 1; 108 } 109 // 2回目の検出 110 } else { 111 ret = document.form1.elements[cnt].checked; 112 if(ret == true){ 113 // 非稼働がチェックされている。 114 lstsave[name] = 0; 115 } 116 } 117 } 118 } 119 119 } 120 120 121 121 // 管理者メンバーページの切替 122 122 function fnMemberPage(pageno) { 123 location.href = "?pageno=" + pageno;123 location.href = "?pageno=" + pageno; 124 124 } 125 125 126 126 // ページナビで使用する 127 127 function fnNaviSearchPage(pageno, mode) { 128 document.form1['search_pageno'].value = pageno;129 document.form1['mode'].value = mode;130 document.form1.submit();128 document.form1['search_pageno'].value = pageno; 129 document.form1['mode'].value = mode; 130 document.form1.submit(); 131 131 } 132 132 133 133 // ページナビで使用する(mode = search専用) 134 134 function fnNaviSearchOnlyPage(pageno) { 135 document.form1['search_pageno'].value = pageno;136 document.form1['mode'].value = 'search';137 document.form1.submit();135 document.form1['search_pageno'].value = pageno; 136 document.form1['mode'].value = 'search'; 137 document.form1.submit(); 138 138 } 139 139 140 140 // ページナビで使用する(form2) 141 141 function fnNaviSearchPage2(pageno) { 142 document.form2['search_pageno'].value = pageno;143 document.form2['mode'].value = 'search';144 document.form2.submit();142 document.form2['search_pageno'].value = pageno; 143 document.form2['mode'].value = 'search'; 144 document.form2.submit(); 145 145 } 146 146 147 147 // 値を代入して指定ページにsubmit 148 148 function fnSetvalAndSubmit( fname, key, val ) { 149 fm = document[fname];150 fm[key].value = val;151 fm.submit();149 fm = document[fname]; 150 fm[key].value = val; 151 fm.submit(); 152 152 } 153 153 154 154 // 項目に入った値をクリアする。 155 155 function fnClearText(name) { 156 document.form1[name].value = "";156 document.form1[name].value = ""; 157 157 } 158 158 159 159 // カテゴリの追加 160 160 function fnAddCat(cat_id) { 161 if(window.confirm('カテゴリを登録しても宜しいでしょうか')){162 document.form1['mode'].value = 'edit';163 document.form1['cat_id'].value = cat_id;164 }161 if(window.confirm('カテゴリを登録しても宜しいでしょうか')){ 162 document.form1['mode'].value = 'edit'; 163 document.form1['cat_id'].value = cat_id; 164 } 165 165 } 166 166 167 167 // カテゴリの編集 168 168 function fnEditCat(parent_id, cat_id) { 169 document.form1['mode'].value = 'pre_edit';170 document.form1['parent_id'].value = parent_id;171 document.form1['edit_cat_id'].value = cat_id;172 document.form1.submit();169 document.form1['mode'].value = 'pre_edit'; 170 document.form1['parent_id'].value = parent_id; 171 document.form1['edit_cat_id'].value = cat_id; 172 document.form1.submit(); 173 173 } 174 174 175 175 // 選択カテゴリのチェック 176 176 function fnCheckCat(obj) { 177 val = obj[obj.selectedIndex].value;178 if (val == ""){179 alert ("親カテゴリは選択できません");180 obj.selectedIndex = 0;181 }177 val = obj[obj.selectedIndex].value; 178 if (val == ""){ 179 alert ("親カテゴリは選択できません"); 180 obj.selectedIndex = 0; 181 } 182 182 } 183 183 184 184 // 確認ページから登録ページへ戻る 185 185 function fnReturnPage() { 186 document.form1['mode'].value = 'return';187 document.form1.submit();186 document.form1['mode'].value = 'return'; 187 document.form1.submit(); 188 188 } 189 189 190 190 // 規格分類登録へ移動 191 191 function fnClassCatPage(class_id) { 192 location.href = "./classcategory.php?class_id=" + class_id;192 location.href = "./classcategory.php?class_id=" + class_id; 193 193 } 194 194 195 195 function fnSetFormValue(name, val) { 196 document.form1[name].value = val;196 document.form1[name].value = val; 197 197 } 198 198 199 199 function fnListCheck(list) { 200 len = list.length;201 for(cnt = 0; cnt < len; cnt++) {202 document.form1[list[cnt]].checked = true;203 }200 len = list.length; 201 for(cnt = 0; cnt < len; cnt++) { 202 document.form1[list[cnt]].checked = true; 203 } 204 204 } 205 205 … … 214 214 //指定されたidの削除を行うページを実行する。 215 215 function fnDelete(url) { 216 if(window.confirm('登録内容を削除しても宜しいでしょうか')){217 location.href = url;218 return false;219 }216 if(window.confirm('登録内容を削除しても宜しいでしょうか')){ 217 location.href = url; 218 return false; 219 } 220 220 } 221 221 222 222 //配送料金を自動入力 223 223 function fnSetDelivFee(max) { 224 for(cnt = 1; cnt <= max; cnt++) {225 name = "fee" + cnt;226 document.form1[name].value = document.form1['fee_all'].value;227 }224 for(cnt = 1; cnt <= max; cnt++) { 225 name = "fee" + cnt; 226 document.form1[name].value = document.form1['fee_all'].value; 227 } 228 228 } 229 229 230 230 // 在庫数制限判定 231 231 function fnCheckStockLimit(icolor) { 232 if(document.form1['stock_unlimited']) {233 list = new Array(234 'stock'235 );236 if(document.form1['stock_unlimited'].checked) {237 fnChangeDisabled(list, icolor);238 document.form1['stock'].value = "";239 } else {240 fnChangeDisabled(list, '');241 }242 }232 if(document.form1['stock_unlimited']) { 233 list = new Array( 234 'stock' 235 ); 236 if(document.form1['stock_unlimited'].checked) { 237 fnChangeDisabled(list, icolor); 238 document.form1['stock'].value = ""; 239 } else { 240 fnChangeDisabled(list, ''); 241 } 242 } 243 243 } 244 244 245 245 // 在庫数制限判定 246 246 function fnCheckStockNoLimit(no, icolor) { 247 $check_key = "stock_unlimited:"+no;248 $input_key = "stock:"+no;249 250 list = new Array($input_key);251 if(document.form1[$check_key].checked) {252 fnChangeDisabled(list, icolor);253 document.form1[$input_key].value = "";254 } else {255 fnChangeDisabled(list, '');256 }247 $check_key = "stock_unlimited:"+no; 248 $input_key = "stock:"+no; 249 250 list = new Array($input_key ); 251 if(document.form1[$check_key].checked) { 252 fnChangeDisabled(list, icolor); 253 document.form1[$input_key].value = ""; 254 } else { 255 fnChangeDisabled(list, ''); 256 } 257 257 } 258 258 259 259 // 在庫数判定 260 260 function fnCheckAllStockLimit(max, icolor) { 261 for(no = 1; no <= max; no++) {262 $check_key = "stock_unlimited:"+no;263 $input_key = "stock:"+no;264 265 list = new Array($input_key);266 267 if(document.form1[$check_key].checked) {268 fnChangeDisabled(list, icolor);269 document.form1[$input_key].value = "";270 } else {271 fnChangeDisabled(list, '');272 }273 }261 for(no = 1; no <= max; no++) { 262 $check_key = "stock_unlimited:"+no; 263 $input_key = "stock:"+no; 264 265 list = new Array($input_key); 266 267 if(document.form1[$check_key].checked) { 268 fnChangeDisabled(list, icolor); 269 document.form1[$input_key].value = ""; 270 } else { 271 fnChangeDisabled(list, ''); 272 } 273 } 274 274 } 275 275 276 276 // Form指定のSubmit 277 277 function fnFormSubmit(form) { 278 document.forms[form].submit();278 document.forms[form].submit(); 279 279 } 280 280 281 281 // 確認メッセージ 282 282 function fnConfirm() { 283 if(window.confirm('この内容で登録しても宜しいでしょうか')){284 return true;285 }286 return false;283 if(window.confirm('この内容で登録しても宜しいでしょうか')){ 284 return true; 285 } 286 return false; 287 287 } 288 288 289 289 //削除確認メッセージ 290 290 function fnDeleteConfirm() { 291 if(window.confirm('削除しても宜しいでしょうか')){292 return true;293 }294 return false;291 if(window.confirm('削除しても宜しいでしょうか')){ 292 return true; 293 } 294 return false; 295 295 } 296 296 297 297 //メルマガ形式変更確認メッセージ 298 298 function fnmerumagaupdateConfirm() { 299 if(window.confirm("既に登録されているメールアドレスです。\nメルマガの種類が変更されます。宜しいですか?")){300 return true;301 }302 return false;299 if(window.confirm("既に登録されているメールアドレスです。\nメルマガの種類が変更されます。宜しいですか?")){ 300 return true; 301 } 302 return false; 303 303 } 304 304 … … 306 306 function fnInsertValAndSubmit( fm, ele, val, msg ){ 307 307 308 if ( msg ){309 ret = window.confirm(msg);310 } else {311 ret = true;312 }313 if( ret ){314 fm[ele].value = val;315 fm.submit();316 return false;317 }318 return false;308 if ( msg ){ 309 ret = window.confirm(msg); 310 } else { 311 ret = true; 312 } 313 if( ret ){ 314 fm[ele].value = val; 315 fm.submit(); 316 return false; 317 } 318 return false; 319 319 } 320 320 321 321 // 自分以外の要素を有効・無効にする 322 322 function fnSetDisabled ( f_name, e_name, flag ) { 323 fm = document[f_name];324 325 // 必須項目のチェック326 for(cnt = 0; cnt < fm.elements.length; cnt++) {327 if( fm[cnt].name != e_name && fm[cnt].name != 'subm' && fm[cnt].name != 'mode') {328 fm[cnt].disabled = flag;329 if ( flag == true ){330 fm[cnt].style.backgroundColor = "#cccccc";331 } else {332 fm[cnt].style.backgroundColor = "#ffffff";333 }334 }335 }323 fm = document[f_name]; 324 325 // 必須項目のチェック 326 for(cnt = 0; cnt < fm.elements.length; cnt++) { 327 if( fm[cnt].name != e_name && fm[cnt].name != 'subm' && fm[cnt].name != 'mode') { 328 fm[cnt].disabled = flag; 329 if ( flag == true ){ 330 fm[cnt].style.backgroundColor = "#cccccc"; 331 } else { 332 fm[cnt].style.backgroundColor = "#ffffff"; 333 } 334 } 335 } 336 336 } 337 337 … … 339 339 //リストボックス内の項目を移動する 340 340 function fnMoveCat(sel1, sel2, mode_name) { 341 var fm = document.form1;342 for(i = 0; i < fm[sel1].length; i++) {343 if(fm[sel1].options[i].selected) {344 if(fm[sel2].value != "") {345 fm[sel2].value += "-" + fm[sel1].options[i].value;346 } else {347 fm[sel2].value = fm[sel1].options[i].value;348 }349 }350 }351 fm["mode"].value = mode_name;352 fm.submit();341 var fm = document.form1; 342 for(i = 0; i < fm[sel1].length; i++) { 343 if(fm[sel1].options[i].selected) { 344 if(fm[sel2].value != "") { 345 fm[sel2].value += "-" + fm[sel1].options[i].value; 346 } else { 347 fm[sel2].value = fm[sel1].options[i].value; 348 } 349 } 350 } 351 fm["mode"].value = mode_name; 352 fm.submit(); 353 353 } 354 354 355 355 //リストボックス内の項目を削除する 356 356 function fnDelListContents(sel1, sel2, mode_name) { 357 fm = document.form1;358 for(j = 0; j < fm[sel1].length; j++) {359 if(fm[sel1].options[i].selected) {360 fm[sel2].value = fm[sel2].value.replace(fm[sel1].options[i].value, "");361 }362 }363 364 fm["mode"].value = mode_name;365 fm.submit();357 fm = document.form1; 358 for(j = 0; j < fm[sel1].length; j++) { 359 if(fm[sel1].options[i].selected) { 360 fm[sel2].value = fm[sel2].value.replace(fm[sel1].options[i].value, ""); 361 } 362 } 363 364 fm["mode"].value = mode_name; 365 fm.submit(); 366 366 } 367 367 368 368 //一行目の価格を以下の行にコピーする 369 369 function fnCopyValue(length, icolor) { 370 fm = document.form1;371 for(i = 1; i <= length; i++) {372 fm['product_code:' + i].value = fm['product_code:1'].value;373 fm['stock:' + i].value = fm['stock:1'].value;374 fm['price01:' + i].value = fm['price01:1'].value;375 fm['price02:' + i].value = fm['price02:1'].value;376 fm['stock_unlimited:' + i].checked = fm['stock_unlimited:1'].checked;377 fm['stock:' + i].disabled = fm['stock:1'].disabled;378 fm['stock:' + i].style.backgroundColor = fm['stock:1'].style.backgroundColor;379 }370 fm = document.form1; 371 for(i = 1; i <= length; i++) { 372 fm['product_code:' + i].value = fm['product_code:1'].value; 373 fm['stock:' + i].value = fm['stock:1'].value; 374 fm['price01:' + i].value = fm['price01:1'].value; 375 fm['price02:' + i].value = fm['price02:1'].value; 376 fm['stock_unlimited:' + i].checked = fm['stock_unlimited:1'].checked; 377 fm['stock:' + i].disabled = fm['stock:1'].disabled; 378 fm['stock:' + i].style.backgroundColor = fm['stock:1'].style.backgroundColor; 379 } 380 380 } 381 381 382 382 // タグの表示非表示切り替え 383 383 function fnDispChange(disp_id, inner_id, disp_flg){ 384 disp_state = document.getElementById(disp_id).style.display;385 386 if (disp_state == "") {387 document.form1[disp_flg].value="none";388 document.getElementById(disp_id).style.display="none";389 document.getElementById(inner_id).innerHTML = '<FONT Color="#FFFF99"> << 表示 </FONT>';390 }else{391 document.form1[disp_flg].value="";392 document.getElementById(disp_id).style.display="";393 document.getElementById(inner_id).innerHTML = ' <FONT Color="#FFFF99"> >> 非表示 </FONT>';394 }384 disp_state = document.getElementById(disp_id).style.display; 385 386 if (disp_state == "") { 387 document.form1[disp_flg].value="none"; 388 document.getElementById(disp_id).style.display="none"; 389 document.getElementById(inner_id).innerHTML = '<FONT Color="#FFFF99"> << 表示 </FONT>'; 390 }else{ 391 document.form1[disp_flg].value=""; 392 document.getElementById(disp_id).style.display=""; 393 document.getElementById(inner_id).innerHTML = ' <FONT Color="#FFFF99"> >> 非表示 </FONT>'; 394 } 395 395 } 396 396 -
branches/version-2_5-dev/html/user_data/packages/admin/js/file_manager.js
r20116 r20566 21 21 */ 22 22 23 var tree = ""; // 生成HTML格納24 var count = 0; // ループカウンタ25 var arrTreeStatus = new Array(); // ツリー状態保持26 var old_select_id = ''; // 前回選択していたファイル27 var selectFileHidden = ""; // 選択したファイルのhidden名28 var treeStatusHidden = ""; // ツリー状態保存用のhidden名29 var modeHidden = ""; // modeセットhidden名23 var tree = ""; // 生成HTML格納 24 var count = 0; // ループカウンタ 25 var arrTreeStatus = new Array(); // ツリー状態保持 26 var old_select_id = ''; // 前回選択していたファイル 27 var selectFileHidden = ""; // 選択したファイルのhidden名 28 var treeStatusHidden = ""; // ツリー状態保存用のhidden名 29 var modeHidden = ""; // modeセットhidden名 30 30 31 31 // ツリー表示 32 32 function fnTreeView(view_id, arrTree, openFolder, selectHidden, treeHidden, mode) { 33 selectFileHidden = selectHidden;34 treeStatusHidden = treeHidden;35 modeHidden = mode;36 37 for(i = 0; i < arrTree.length; i++) {38 39 id = arrTree[i][0];40 level = arrTree[i][3];41 42 if(i == 0) {43 old_id = "0";44 old_level = 0;45 } else {46 old_id = arrTree[i-1][0];47 old_level = arrTree[i-1][3];48 }49 50 // 階層上へ戻る51 if(level <= (old_level - 1)) {52 tmp_level = old_level - level;53 for(up_roop = 0; up_roop <= tmp_level; up_roop++) {54 tree += '</div>';55 }56 }57 58 // 同一階層で次のフォルダへ59 if(id != old_id && level == old_level) tree += '</div>';60 61 // 階層の分だけスペースを入れる62 for(space_cnt = 0; space_cnt < arrTree[i][3]; space_cnt++) {63 tree += " ";64 }65 66 // 階層画像の表示・非表示処理67 if(arrTree[i][4]) {68 if(arrTree[i][1] == '_parent') {69 rank_img = IMG_MINUS;70 } else {71 rank_img = IMG_NORMAL;72 }73 // 開き状態を保持74 arrTreeStatus.push(arrTree[i][2]);75 display = 'block';76 } else {77 if(arrTree[i][1] == '_parent') {78 rank_img = IMG_PLUS;79 } else {80 rank_img = IMG_NORMAL;81 }82 display = 'none';83 }84 85 arrFileSplit = arrTree[i][2].split("/");86 file_name = arrFileSplit[arrFileSplit.length-1];87 88 // フォルダの画像を選択89 if(arrTree[i][2] == openFolder) {90 folder_img = IMG_FOLDER_OPEN;91 file_name = "<b>" + file_name + "</b>";92 } else {93 folder_img = IMG_FOLDER_CLOSE;94 }95 96 // 階層画像に子供がいたらオンクリック処理をつける97 if(rank_img != IMG_NORMAL) {98 tree += '<a href="javascript:fnTreeMenu(\'tree'+ i +'\',\'rank_img'+ i +'\',\''+ arrTree[i][2] +'\')"><img src="'+ rank_img +'" border="0" name="rank_img'+ i +'" id="rank_img'+ i +'">';99 } else {100 tree += '<img src="'+ rank_img +'" border="0" name="rank_img'+ i +'" id="rank_img'+ i +'">';101 }102 tree += '<a href="javascript:fnFolderOpen(\''+ arrTree[i][2] +'\')"><img src="'+ folder_img +'" border="0" name="tree_img'+ i +'" id="tree_img'+ i +'"> '+ file_name +'</a><br/>';103 tree += '<div id="tree'+ i +'" style="display:'+ display +'">';104 105 }106 fnDrow(view_id, tree);107 //document.tree_form.tree_test2.focus();33 selectFileHidden = selectHidden; 34 treeStatusHidden = treeHidden; 35 modeHidden = mode; 36 37 for(i = 0; i < arrTree.length; i++) { 38 39 id = arrTree[i][0]; 40 level = arrTree[i][3]; 41 42 if(i == 0) { 43 old_id = "0"; 44 old_level = 0; 45 } else { 46 old_id = arrTree[i-1][0]; 47 old_level = arrTree[i-1][3]; 48 } 49 50 // 階層上へ戻る 51 if(level <= (old_level - 1)) { 52 tmp_level = old_level - level; 53 for(up_roop = 0; up_roop <= tmp_level; up_roop++) { 54 tree += '</div>'; 55 } 56 } 57 58 // 同一階層で次のフォルダへ 59 if(id != old_id && level == old_level) tree += '</div>'; 60 61 // 階層の分だけスペースを入れる 62 for(space_cnt = 0; space_cnt < arrTree[i][3]; space_cnt++) { 63 tree += " "; 64 } 65 66 // 階層画像の表示・非表示処理 67 if(arrTree[i][4]) { 68 if(arrTree[i][1] == '_parent') { 69 rank_img = IMG_MINUS; 70 } else { 71 rank_img = IMG_NORMAL; 72 } 73 // 開き状態を保持 74 arrTreeStatus.push(arrTree[i][2]); 75 display = 'block'; 76 } else { 77 if(arrTree[i][1] == '_parent') { 78 rank_img = IMG_PLUS; 79 } else { 80 rank_img = IMG_NORMAL; 81 } 82 display = 'none'; 83 } 84 85 arrFileSplit = arrTree[i][2].split("/"); 86 file_name = arrFileSplit[arrFileSplit.length-1]; 87 88 // フォルダの画像を選択 89 if(arrTree[i][2] == openFolder) { 90 folder_img = IMG_FOLDER_OPEN; 91 file_name = "<b>" + file_name + "</b>"; 92 } else { 93 folder_img = IMG_FOLDER_CLOSE; 94 } 95 96 // 階層画像に子供がいたらオンクリック処理をつける 97 if(rank_img != IMG_NORMAL) { 98 tree += '<a href="javascript:fnTreeMenu(\'tree'+ i +'\',\'rank_img'+ i +'\',\''+ arrTree[i][2] +'\')"><img src="'+ rank_img +'" border="0" name="rank_img'+ i +'" id="rank_img'+ i +'">'; 99 } else { 100 tree += '<img src="'+ rank_img +'" border="0" name="rank_img'+ i +'" id="rank_img'+ i +'">'; 101 } 102 tree += '<a href="javascript:fnFolderOpen(\''+ arrTree[i][2] +'\')"><img src="'+ folder_img +'" border="0" name="tree_img'+ i +'" id="tree_img'+ i +'"> '+ file_name +'</a><br/>'; 103 tree += '<div id="tree'+ i +'" style="display:'+ display +'">'; 104 105 } 106 fnDrow(view_id, tree); 107 //document.tree_form.tree_test2.focus(); 108 108 } 109 109 110 110 // Tree状態をhiddenにセット 111 111 function setTreeStatus(name) { 112 var tree_status = "";113 for(i=0; i < arrTreeStatus.length ;i++) {114 if(i != 0) tree_status += '|';115 tree_status += arrTreeStatus[i];116 }117 document.form1[name].value = tree_status;112 var tree_status = ""; 113 for(i=0; i < arrTreeStatus.length ;i++) { 114 if(i != 0) tree_status += '|'; 115 tree_status += arrTreeStatus[i]; 116 } 117 document.form1[name].value = tree_status; 118 118 } 119 119 120 120 // Tree状態を削除する(閉じる状態へ) 121 121 function fnDelTreeStatus(path) { 122 for(i=0; i < arrTreeStatus.length ;i++) {123 if(arrTreeStatus[i] == path) {124 arrTreeStatus[i] = "";125 }126 }122 for(i=0; i < arrTreeStatus.length ;i++) { 123 if(arrTreeStatus[i] == path) { 124 arrTreeStatus[i] = ""; 125 } 126 } 127 127 } 128 128 // ツリー描画 129 129 function fnDrow(id, tree) { 130 // ブラウザ取得131 MyBR = fnGetMyBrowser();132 // ブラウザ事に処理を切り分け133 switch(myBR) {134 // IE4の時の表示135 case 'I4':136 document.all(id).innerHTML = tree;137 break;138 // NN4の時の表示139 case 'N4':140 document.layers[id].document.open();141 document.layers[id].document.write("<div>");142 document.layers[id].document.write(tree);143 document.layers[id].document.write("</div>");144 document.layers[id].document.close();145 break;146 default:147 document.getElementById(id).innerHTML=tree;148 break;149 }130 // ブラウザ取得 131 MyBR = fnGetMyBrowser(); 132 // ブラウザ事に処理を切り分け 133 switch(myBR) { 134 // IE4の時の表示 135 case 'I4': 136 document.all(id).innerHTML = tree; 137 break; 138 // NN4の時の表示 139 case 'N4': 140 document.layers[id].document.open(); 141 document.layers[id].document.write("<div>"); 142 document.layers[id].document.write(tree); 143 document.layers[id].document.write("</div>"); 144 document.layers[id].document.close(); 145 break; 146 default: 147 document.getElementById(id).innerHTML=tree; 148 break; 149 } 150 150 } 151 151 … … 153 153 function fnTreeMenu(tName, imgName, path) { 154 154 155 tMenu = $("#" + tName);156 157 if(tMenu.css("display") == 'none') {158 fnChgImg(IMG_MINUS, imgName);159 tMenu.show();160 // 階層の開いた状態を保持161 arrTreeStatus.push(path);162 163 } else {164 fnChgImg(IMG_PLUS, imgName);165 tMenu.hide();166 // 閉じ状態を保持167 fnDelTreeStatus(path);168 }155 tMenu = $("#" + tName); 156 157 if(tMenu.css("display") == 'none') { 158 fnChgImg(IMG_MINUS, imgName); 159 tMenu.show(); 160 // 階層の開いた状態を保持 161 arrTreeStatus.push(path); 162 163 } else { 164 fnChgImg(IMG_PLUS, imgName); 165 tMenu.hide(); 166 // 閉じ状態を保持 167 fnDelTreeStatus(path); 168 } 169 169 } 170 170 … … 172 172 function fnDbClick(arrTree, path, is_dir, now_dir, is_parent) { 173 173 174 if(is_dir) {175 if(!is_parent) {176 for(cnt = 0; cnt < arrTree.length; cnt++) {177 if(now_dir == arrTree[cnt][2]) {178 open_flag = false;179 for(status_cnt = 0; status_cnt < arrTreeStatus.length; status_cnt++) {180 if(arrTreeStatus[status_cnt] == arrTree[cnt][2]) open_flag = true;181 }182 if(!open_flag) fnTreeMenu('tree'+cnt, 'rank_img'+cnt, arrTree[cnt][2]);183 }184 }185 }186 fnFolderOpen(path);187 } else {188 // Download189 fnModeSubmit('download','','');190 }174 if(is_dir) { 175 if(!is_parent) { 176 for(cnt = 0; cnt < arrTree.length; cnt++) { 177 if(now_dir == arrTree[cnt][2]) { 178 open_flag = false; 179 for(status_cnt = 0; status_cnt < arrTreeStatus.length; status_cnt++) { 180 if(arrTreeStatus[status_cnt] == arrTree[cnt][2]) open_flag = true; 181 } 182 if(!open_flag) fnTreeMenu('tree'+cnt, 'rank_img'+cnt, arrTree[cnt][2]); 183 } 184 } 185 } 186 fnFolderOpen(path); 187 } else { 188 // Download 189 fnModeSubmit('download','',''); 190 } 191 191 } 192 192 … … 194 194 function fnFolderOpen(path) { 195 195 196 // クリックしたフォルダ情報を保持197 document.form1[selectFileHidden].value = path;198 // treeの状態をセット199 setTreeStatus(treeStatusHidden);200 // submit201 fnModeSubmit(modeHidden,'','');196 // クリックしたフォルダ情報を保持 197 document.form1[selectFileHidden].value = path; 198 // treeの状態をセット 199 setTreeStatus(treeStatusHidden); 200 // submit 201 fnModeSubmit(modeHidden,'',''); 202 202 } 203 203 … … 205 205 // 閲覧ブラウザ取得 206 206 function fnGetMyBrowser() { 207 myOP = window.opera; // OP208 myN6 = document.getElementById; // N6209 myIE = document.all; // IE210 myN4 = document.layers; // N4211 if (myOP) myBR="O6"; // OP6以上212 else if (myIE) myBR="I4"; // IE4以上213 else if (myN6) myBR="N6"; // NS6以上214 else if (myN4) myBR="N4"; // NN4215 else myBR=""; // その他216 217 return myBR;207 myOP = window.opera; // OP 208 myN6 = document.getElementById; // N6 209 myIE = document.all; // IE 210 myN4 = document.layers; // N4 211 if (myOP) myBR="O6"; // OP6以上 212 else if (myIE) myBR="I4"; // IE4以上 213 else if (myN6) myBR="N6"; // NS6以上 214 else if (myN4) myBR="N4"; // NN4 215 else myBR=""; // その他 216 217 return myBR; 218 218 } 219 219 220 220 // imgタグの画像変更 221 221 function fnChgImg(fileName,imgName){ 222 $("#" + imgName).attr("src", fileName);222 $("#" + imgName).attr("src", fileName); 223 223 } 224 224 225 225 // ファイル選択 226 226 function fnSelectFile(id, val) { 227 old_select_id = id;228 } 227 old_select_id = id; 228 } -
branches/version-2_5-dev/html/user_data/packages/sphone/css/common.css
r20116 r20566 4 4 ----------------------------------------------- */ 5 5 body { 6 background: rgb(197,204,211) url(../img/common/stripes.png);7 background-position: 50% 0% fixed;8 font-family: helvetica, Osaka;9 font-size:small;10 margin: 0px 3.13% 10px;11 padding: 0px;12 -webkit-user-select: none;13 -webkit-text-size-adjust: none;14 -webkit-tap-highlight-color: rgba(51,102,204,0.70);15 max-width: 100%;6 background: rgb(197,204,211) url(../img/common/stripes.png); 7 background-position: 50% 0% fixed; 8 font-family: helvetica, Osaka; 9 font-size:small; 10 margin: 0px 3.13% 10px; 11 padding: 0px; 12 -webkit-user-select: none; 13 -webkit-text-size-adjust: none; 14 -webkit-tap-highlight-color: rgba(51,102,204,0.70); 15 max-width: 100%; 16 16 } 17 17 … … 19 19 ----------------------------------------------- */ 20 20 a { 21 color: #5B87A4;22 text-decoration: none;21 color: #5B87A4; 22 text-decoration: none; 23 23 } 24 24 form { 25 margin: 0;26 padding: 0;25 margin: 0; 26 padding: 0; 27 27 } 28 28 table,img,p { 29 border: 0;29 border: 0; 30 30 } 31 31 em { 32 font-weight: bold;33 font-style: normal;34 color: #C00;32 font-weight: bold; 33 font-style: normal; 34 color: #C00; 35 35 } 36 36 hr { 37 display: none;37 display: none; 38 38 } 39 39 p { 40 margin: 0 0 1em;41 padding: 0;40 margin: 0 0 1em; 41 padding: 0; 42 42 } 43 43 li { 44 list-style-type: none;44 list-style-type: none; 45 45 } 46 46 img { 47 vertical-align: bottom;47 vertical-align: bottom; 48 48 } 49 49 .hidden { 50 display: none;50 display: none; 51 51 } 52 52 br.clear { 53 clear: both;54 display: none;55 font-size: 0px;56 line-height: 0%;57 height: 0px53 clear: both; 54 display: none; 55 font-size: 0px; 56 line-height: 0%; 57 height: 0px 58 58 } 59 59 … … 65 65 .recomendblock > div 66 66 .whoboughtblock > div { 67 content: "";68 display: block;69 height: 0;70 clear: both;71 visibility: hidden;67 content: ""; 68 display: block; 69 height: 0; 70 clear: both; 71 visibility: hidden; 72 72 } 73 73 … … 75 75 ----------------------------------------------- */ 76 76 h1,h2,h3,h4,h5 { 77 font-size: 100%;78 line-height: 150%;77 font-size: 100%; 78 line-height: 150%; 79 79 } 80 80 .price { color: #ff0000; font-weight: bold; } … … 85 85 ----------------------------------------------- */ 86 86 div#wrapper { 87 margin: 0 auto;88 padding: 0;89 text-align: left;90 background: #FFFFFF;91 overflow: hidden;87 margin: 0 auto; 88 padding: 0; 89 text-align: left; 90 background: #FFFFFF; 91 overflow: hidden; 92 92 } 93 93 … … 95 95 ----------------------------------------------- */ 96 96 h2 { 97 color:#4D576B;98 font: bold 22px helvetica;99 background-color: transparent;100 text-shadow: 0px 1px 1px #ffffff;101 margin: 10px 0px;97 color:#4D576B; 98 font: bold 22px helvetica; 99 background-color: transparent; 100 text-shadow: 0px 1px 1px #ffffff; 101 margin: 10px 0px; 102 102 } 103 103 … … 105 105 ----------------------------------------------- */ 106 106 #mycontentsarea h3 { 107 color:#4D576B;108 font: bold 19px helvetica;109 text-shadow: 0px 1px 1px #ffffff;107 color:#4D576B; 108 font: bold 19px helvetica; 109 text-shadow: 0px 1px 1px #ffffff; 110 110 } 111 111 … … 120 120 #windowarea h2, 121 121 #pan + h2 { 122 display: inline-block;123 width: 106.8%;124 margin: 0 0 1em -3.4%;125 color: #ffffff;126 text-shadow: 0px -1px 1px rgba(0,0,0,0.5);127 font: bold 17px helvetica;128 padding: 0.45em 0;129 background-color: #333332;130 background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255,255,255,0.25)), to(rgba(0,0,0,0.2)), color-stop(0.5, rgba(255,255,255,0.05)), color-stop(0.51, rgba(0,0,0,0.05)));131 border-top: 1px solid rgba(255,255,255,0.3);132 border-bottom: 1px solid rgba(0,0,0,1);133 text-align:center;134 vertical-align: middle;135 white-space: nowrap;136 overflow: hidden;137 text-overflow: ellipsis;122 display: inline-block; 123 width: 106.8%; 124 margin: 0 0 1em -3.4%; 125 color: #ffffff; 126 text-shadow: 0px -1px 1px rgba(0,0,0,0.5); 127 font: bold 17px helvetica; 128 padding: 0.45em 0; 129 background-color: #333332; 130 background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255,255,255,0.25)), to(rgba(0,0,0,0.2)), color-stop(0.5, rgba(255,255,255,0.05)), color-stop(0.51, rgba(0,0,0,0.05))); 131 border-top: 1px solid rgba(255,255,255,0.3); 132 border-bottom: 1px solid rgba(0,0,0,1); 133 text-align:center; 134 vertical-align: middle; 135 white-space: nowrap; 136 overflow: hidden; 137 text-overflow: ellipsis; 138 138 } 139 139 … … 141 141 ----------------------------------------------- */ 142 142 #navigation_bar > h2{ 143 font: bold 17px helvetica;144 color: #ffffff;145 vertical-align: middle;146 text-shadow: 0px -1px 1px rgba(0,0,0,0.5);147 margin: 0;148 display: inline-block;149 max-width: 65%;150 white-space: nowrap;151 overflow: hidden;152 text-overflow: ellipsis;153 -webkit-text-overflow: ellipsis;143 font: bold 17px helvetica; 144 color: #ffffff; 145 vertical-align: middle; 146 text-shadow: 0px -1px 1px rgba(0,0,0,0.5); 147 margin: 0; 148 display: inline-block; 149 max-width: 65%; 150 white-space: nowrap; 151 overflow: hidden; 152 text-overflow: ellipsis; 153 -webkit-text-overflow: ellipsis; 154 154 } 155 155 … … 168 168 ----------------------------------------------- */ 169 169 #pagetop { 170 width: 100%;171 margin: 25px 0 0;172 text-align: right;170 width: 100%; 171 margin: 25px 0 0; 172 text-align: right; 173 173 } 174 174 #pagetop a{ 175 color:#4D576B;176 font: bold 13px helvetica;177 text-shadow: 0px 1px 1px #ffffff;178 text-decoration: underline;175 color:#4D576B; 176 font: bold 13px helvetica; 177 text-shadow: 0px 1px 1px #ffffff; 178 text-decoration: underline; 179 179 } 180 180 div#footer { 181 margin: 0;182 padding: 0;183 text-align: center;181 margin: 0; 182 padding: 0; 183 text-align: center; 184 184 } 185 185 … … 187 187 ----------------------------------------------- */ 188 188 #footer-menu { 189 text-align: left;190 font: bold 15px helvetica;189 text-align: left; 190 font: bold 15px helvetica; 191 191 } 192 192 #footer-menu li{ 193 background: #ffffff url(../img/common/chevron.png) no-repeat right center;193 background: #ffffff url(../img/common/chevron.png) no-repeat right center; 194 194 } 195 195 #footer-navi { 196 float:left;197 list-style:none outside none;198 margin: 0 auto 4px;199 padding: 0 0 0 5px;200 text-align:center;201 width: 100%;202 border: none;203 background-color: transparent;196 float:left; 197 list-style:none outside none; 198 margin: 0 auto 4px; 199 padding: 0 0 0 5px; 200 text-align:center; 201 width: 100%; 202 border: none; 203 background-color: transparent; 204 204 } 205 205 #footer-navi > li{ 206 display: inline;207 color:#4D576B;208 font: bold 12px helvetica;209 background-color: transparent;210 text-shadow: 0px 1px 1px #ffffff;211 border: none;212 border-right: 1px dotted #999999;213 -webkit-border-radius: 0;214 line-height: 1em;215 margin: 0;216 padding: 0;206 display: inline; 207 color:#4D576B; 208 font: bold 12px helvetica; 209 background-color: transparent; 210 text-shadow: 0px 1px 1px #ffffff; 211 border: none; 212 border-right: 1px dotted #999999; 213 -webkit-border-radius: 0; 214 line-height: 1em; 215 margin: 0; 216 padding: 0; 217 217 } 218 218 #footer-navi > li:last-child{ 219 border-right: none;219 border-right: none; 220 220 } 221 221 #footer-navi > li > a { 222 margin: 0;223 padding: 0;224 display: inline;225 color:#4D576B;222 margin: 0; 223 padding: 0; 224 display: inline; 225 color:#4D576B; 226 226 } 227 227 #copyright { 228 margin: 7px 0px;229 color: #4D576B;230 font: bold 17px helvetica;231 text-shadow: 0px 1px 1px #ffffff;232 text-align: center;228 margin: 7px 0px; 229 color: #4D576B; 230 font: bold 17px helvetica; 231 text-shadow: 0px 1px 1px #ffffff; 232 text-align: center; 233 233 } 234 234 #copyright a{ 235 color: #4D576B;236 text-decoration: under-line;235 color: #4D576B; 236 text-decoration: under-line; 237 237 } 238 238 … … 245 245 ----------------------------------------------- */ 246 246 div#pan { 247 display: none;247 display: none; 248 248 } 249 249 … … 252 252 253 253 div .error { 254 text-align:center;254 text-align:center; 255 255 padding: 30px 0; 256 256 } … … 260 260 ----------------------------------------------- */ 261 261 input[size="40"] { 262 width: 50%;262 width: 50%; 263 263 } 264 264 input[type="password"] { 265 width: 50%;265 width: 50%; 266 266 } 267 267 input[type="tel"] { 268 width: 3em;268 width: 3em; 269 269 } 270 270 input, tr, th, td { 271 max-width: 93.8%;271 max-width: 93.8%; 272 272 } 273 273 input { 274 font-size: small;274 font-size: small; 275 275 } 276 276 textarea{ 277 font-size: small;278 width: 95%;277 font-size: small; 278 width: 95%; 279 279 } 280 280 form dl{ 281 font: bold small helvetica;282 margin: 10px 0;281 font: bold small helvetica; 282 margin: 10px 0; 283 283 } 284 284 form dt{ 285 margin: 5px 0;286 color:#4D576B;287 font: bold small helvetica;288 background-color: transparent;289 text-shadow: 0px 1px 1px #ffffff;290 border: none;285 margin: 5px 0; 286 color:#4D576B; 287 font: bold small helvetica; 288 background-color: transparent; 289 text-shadow: 0px 1px 1px #ffffff; 290 border: none; 291 291 } 292 292 form dd{ 293 margin:0;294 background-color: rgba(255,255,255,0.3);295 color: #999999;296 border: 2px dotted #B4B4B4;297 list-style-type: none;298 padding: 10px 7px;299 -webkit-border-radius: 8px;293 margin:0; 294 background-color: rgba(255,255,255,0.3); 295 color: #999999; 296 border: 2px dotted #B4B4B4; 297 list-style-type: none; 298 padding: 10px 7px; 299 -webkit-border-radius: 8px; 300 300 } 301 301 302 302 body, p, 303 303 table, thead, tbody, th, td { 304 word-break: break-all;304 word-break: break-all; 305 305 } 306 306 table, thead, tbody { 307 white-space: normal;308 overflow: hidden;307 white-space: normal; 308 overflow: hidden; 309 309 } 310 310 … … 312 312 ----------------------------------------------- */ 313 313 ol { 314 padding-start:0;315 -o-padding-start:0;316 -moz-padding-start:0;317 -webkit-padding-start:0;318 margin: 1em 3.13%;314 padding-start:0; 315 -o-padding-start:0; 316 -moz-padding-start:0; 317 -webkit-padding-start:0; 318 margin: 1em 3.13%; 319 319 } 320 320 ol > li.privacy_ol{ 321 margin: 1em;321 margin: 1em; 322 322 } 323 323 ol > li.privacy_ol > strong{ 324 color:#4D576B;325 font: bold 17px helvetica;326 text-shadow: 0px 1px 1px #ffffff;327 line-height: 2em;324 color:#4D576B; 325 font: bold 17px helvetica; 326 text-shadow: 0px 1px 1px #ffffff; 327 line-height: 2em; 328 328 } 329 329 … … 331 331 ----------------------------------------------- */ 332 332 #undercolumn_order dl{ 333 margin: 0;333 margin: 0; 334 334 } 335 335 #undercolumn_order dt{ 336 color:#4D576B;337 font: bold 17px helvetica;338 text-shadow: 0px 1px 1px #ffffff;339 line-height: 2em;336 color:#4D576B; 337 font: bold 17px helvetica; 338 text-shadow: 0px 1px 1px #ffffff; 339 line-height: 2em; 340 340 } 341 341 #undercolumn_order dd, 342 342 #undercolumn_order ul { 343 padding-start:0;344 -o-padding-start:0;345 -moz-padding-start:0;346 -webkit-padding-start:0;347 margin: 0 3.13%;343 padding-start:0; 344 -o-padding-start:0; 345 -moz-padding-start:0; 346 -webkit-padding-start:0; 347 margin: 0 3.13%; 348 348 } 349 349 … … 351 351 ----------------------------------------------- */ 352 352 #welcome-message { 353 color: #4D576B;354 text-shadow: 0px 1px 1px #ffffff;353 color: #4D576B; 354 text-shadow: 0px 1px 1px #ffffff; 355 355 } 356 356 .your-point { 357 display: inline-block;358 padding: 0.1em;359 text-align: right;360 color: #ffffff;361 width: 100%;362 background-color: rgba(0,0,0,0.3);363 margin-bottom: 5px;357 display: inline-block; 358 padding: 0.1em; 359 text-align: right; 360 color: #ffffff; 361 width: 100%; 362 background-color: rgba(0,0,0,0.3); 363 margin-bottom: 5px; 364 364 } 365 365 .your-point em { 366 text-shadow: 0 0 2px #ffffff;366 text-shadow: 0 0 2px #ffffff; 367 367 } 368 368 #btn-mypagetop { 369 width: 100%;370 text-align: left;371 -webkit-border-radius: 8px;372 background: #ffffff url(../img/common/chevron.png) no-repeat right center;373 border: solid 1px #cccccc;374 margin: 10px 0;369 width: 100%; 370 text-align: left; 371 -webkit-border-radius: 8px; 372 background: #ffffff url(../img/common/chevron.png) no-repeat right center; 373 border: solid 1px #cccccc; 374 margin: 10px 0; 375 375 } 376 376 #btn-mypagetop a { 377 display: inline-block;378 margin: 7px 3.3%;379 width: 93%;380 color: black;381 text-decoration: none;382 font: bold 15px helvetica;377 display: inline-block; 378 margin: 7px 3.3%; 379 width: 93%; 380 color: black; 381 text-decoration: none; 382 font: bold 15px helvetica; 383 383 } 384 384 … … 386 386 ----------------------------------------------- */ 387 387 table[summary="購入履歴"] td:first-child { 388 width: 20%;389 text-align: center;388 width: 20%; 389 text-align: center; 390 390 } 391 391 table[summary="購入履歴"] tr[onclick] td:last-child { 392 background: #ffffff url(../img/common/chevron.png) no-repeat right center;392 background: #ffffff url(../img/common/chevron.png) no-repeat right center; 393 393 } 394 394 table[summary="お届け先の指定"] td:nth-child(2), 395 395 table[summary="購入履歴"] tr[onclick] td:last-child { 396 text-align: left;396 text-align: left; 397 397 } 398 398 -
branches/version-2_5-dev/html/user_data/packages/sphone/css/detail.css
r20116 r20566 1 1 /*商品情報(テキストなど)*/ 2 2 div#detailrightblock table td { 3 text-align: left;4 vertical-align: middle;3 text-align: left; 4 vertical-align: middle; 5 5 } 6 6 … … 8 8 ----------------------------------------------- */ 9 9 #detailphotoblock { 10 margin-top: -1em;11 margin-left: -3.4%;12 width: 106.8%;13 overflow: hidden;14 background-color: #ffffff;15 text-align:center;16 border-bottom: 1px solid #ffffff;10 margin-top: -1em; 11 margin-left: -3.4%; 12 width: 106.8%; 13 overflow: hidden; 14 background-color: #ffffff; 15 text-align:center; 16 border-bottom: 1px solid #ffffff; 17 17 } 18 18 #detailphotoblock img:first-of-type { … … 42 42 /*商品情報(テーブル部分)*/ 43 43 div#detailrightblock table span.nomal-price { 44 font-size: 80%;44 font-size: 80%; 45 45 } 46 46 div#detailrightblock table span.sale-price { 47 font-weight: bold;48 color: #CC0000;47 font-weight: bold; 48 color: #CC0000; 49 49 } 50 50 div#detailrightblock table span.member-point { 51 font-weight: bold;52 color: #CC0000;51 font-weight: bold; 52 color: #CC0000; 53 53 } 54 54 … … 79 79 ----------------------------------------------- */ 80 80 #btn_form { 81 width: 70%;82 margin-left: auto;83 margin-right: auto;81 width: 70%; 82 margin-left: auto; 83 margin-right: auto; 84 84 } 85 85 … … 87 87 ----------------------------------------------- */ 88 88 input[type="submit"]#cart { 89 display:block;90 width: 100%;91 height: 1.8em;92 margin-top: 20px;93 margin-bottom: 10px;94 font: bold large Helvetica, "Lucida Grande", sans-serif;95 //font-size: large bold;96 //font-family: Helvetica, "Lucida Grande", sans-serif;97 color:#4D576B;98 background-color: #c9c9c9;99 background-image: -webkit-gradient(linear, left top, left bottom, from(#c9c9c9), to(#848484), color-stop(0.6, #a1a1a1));100 vertical-align: middle;101 text-align: center;102 text-decoration: none;103 text-shadow: 1px 1px 0px #cccccc;104 -webkit-border-radius: 4px;105 -webkit-box-shadow: 0 0 3px #000000;89 display:block; 90 width: 100%; 91 height: 1.8em; 92 margin-top: 20px; 93 margin-bottom: 10px; 94 font: bold large Helvetica, "Lucida Grande", sans-serif; 95 //font-size: large bold; 96 //font-family: Helvetica, "Lucida Grande", sans-serif; 97 color:#4D576B; 98 background-color: #c9c9c9; 99 background-image: -webkit-gradient(linear, left top, left bottom, from(#c9c9c9), to(#848484), color-stop(0.6, #a1a1a1)); 100 vertical-align: middle; 101 text-align: center; 102 text-decoration: none; 103 text-shadow: 1px 1px 0px #cccccc; 104 -webkit-border-radius: 4px; 105 -webkit-box-shadow: 0 0 3px #000000; 106 106 } 107 107 … … 109 109 ----------------------------------------------- */ 110 110 #detailrightblock table{ 111 margin: 15px 0px;112 width: 100%;113 background-color: #ffffff;114 -webkit-border-radius: 8px;115 -webkit-box-shadow: 0 0 4px #000000;111 margin: 15px 0px; 112 width: 100%; 113 background-color: #ffffff; 114 -webkit-border-radius: 8px; 115 -webkit-box-shadow: 0 0 4px #000000; 116 116 } 117 117 #detailrightblock table tr td, #detailrightblock table tr th { 118 border-bottom: solid 1px #cccccc;119 padding: 3px 7px;118 border-bottom: solid 1px #cccccc; 119 padding: 3px 7px; 120 120 } 121 121 #detailrightblock table tr:last-child td, #detailrightblock table tr:last-child th { 122 border-bottom: none;122 border-bottom: none; 123 123 } 124 124 125 125 #btn-cago > a { 126 background-color: #E19200;126 background-color: #E19200; 127 127 } 128 128 … … 130 130 ----------------------------------------------- */ 131 131 #btn-recommend { 132 text-align:center;133 margin-top:15px;132 text-align:center; 133 margin-top:15px; 134 134 } 135 135 … … 140 140 height: 250px; 141 141 } 142 -
branches/version-2_5-dev/html/user_data/packages/sphone/css/table.css
r20116 r20566 4 4 ----------------------------------------------- */ 5 5 ul { 6 background: #fff;7 border: 1px solid #B4B4B4;8 font: bold small 'Helvetica-Bold';9 padding: 0;10 margin: 10px 0;11 text-align: left;12 -webkit-border-radius: 8px;6 background: #fff; 7 border: 1px solid #B4B4B4; 8 font: bold small 'Helvetica-Bold'; 9 padding: 0; 10 margin: 10px 0; 11 text-align: left; 12 -webkit-border-radius: 8px; 13 13 } 14 14 ul li { 15 color: #999999;16 border-top: 1px solid #B4B4B4;17 list-style-type: none;18 padding: 4px 6px;15 color: #999999; 16 border-top: 1px solid #B4B4B4; 17 list-style-type: none; 18 padding: 4px 6px; 19 19 } 20 20 li:first-child { 21 border-top: 0;22 -webkit-border-top-left-radius: 8px;23 -webkit-border-top-right-radius: 8px;21 border-top: 0; 22 -webkit-border-top-left-radius: 8px; 23 -webkit-border-top-right-radius: 8px; 24 24 } 25 25 li:last-child { 26 -webkit-border-bottom-left-radius: 8px;27 -webkit-border-bottom-right-radius: 8px;26 -webkit-border-bottom-left-radius: 8px; 27 -webkit-border-bottom-right-radius: 8px; 28 28 } 29 29 … … 31 31 ----------------------------------------------- */ 32 32 ul li a, li.img a + a { 33 color: #000;34 text-decoration: none;35 text-overflow: ellipsis;36 white-space: nowrap;37 overflow: hidden;38 display: block;39 padding: 12px 10px 12px 10px;40 margin: -10px;33 color: #000; 34 text-decoration: none; 35 text-overflow: ellipsis; 36 white-space: nowrap; 37 overflow: hidden; 38 display: block; 39 padding: 12px 10px 12px 10px; 40 margin: -10px; 41 41 } 42 42 ul li.img a + a { 43 margin: -10px 10px -20px -5px;44 font-size: 17px;45 font-weight: bold;43 margin: -10px 10px -20px -5px; 44 font-size: 17px; 45 font-weight: bold; 46 46 } 47 47 ul li.img a + a + a { 48 font-size: 14px;49 font-weight: normal;50 margin-left: -10px;51 margin-bottom: -10px;52 margin-top: 0;48 font-size: 14px; 49 font-weight: normal; 50 margin-left: -10px; 51 margin-bottom: -10px; 52 margin-top: 0; 53 53 } 54 54 ul li.img a + small + a { 55 margin-left: -5px;55 margin-left: -5px; 56 56 } 57 57 ul li.img a + small + a + a { 58 margin-left: -10px;59 margin-top: -20px;60 margin-bottom: -10px;61 font-size: 14px;62 font-weight: normal;58 margin-left: -10px; 59 margin-top: -20px; 60 margin-bottom: -10px; 61 font-size: 14px; 62 font-weight: normal; 63 63 } 64 64 ul li.img a + small + a + a + a { 65 margin-left: 0px !important;66 margin-bottom: 0;65 margin-left: 0px !important; 66 margin-bottom: 0; 67 67 } 68 68 ul li a + a { 69 color: #000;70 font: 14px 'Helvetica';71 text-overflow: ellipsis;72 white-space: nowrap;73 overflow: hidden;74 display: block;75 margin: 0;76 padding: 0;69 color: #000; 70 font: 14px 'Helvetica'; 71 text-overflow: ellipsis; 72 white-space: nowrap; 73 overflow: hidden; 74 display: block; 75 margin: 0; 76 padding: 0; 77 77 } 78 78 ul li a + a + a, ul li.img a + a + a + a, ul li.img a + small + a + a + a { 79 color: #666;80 font: 13px 'Helvetica';81 margin: 0;82 text-overflow: ellipsis;83 white-space: nowrap;84 overflow: hidden;85 display: block;86 padding: 0;79 color: #666; 80 font: 13px 'Helvetica'; 81 margin: 0; 82 text-overflow: ellipsis; 83 white-space: nowrap; 84 overflow: hidden; 85 display: block; 86 padding: 0; 87 87 } 88 88 … … 90 90 ----------------------------------------------- */ 91 91 table { 92 width: 100%;93 max-width: 280px;94 margin: 10px 0;95 text-align: center;96 vertical-align: middle;97 border-collapse: collapse;98 border-spacing: 0;99 -webkit-border-radius: 8px;100 -webkit-box-shadow: 0 0 4px #000000;92 width: 100%; 93 max-width: 280px; 94 margin: 10px 0; 95 text-align: center; 96 vertical-align: middle; 97 border-collapse: collapse; 98 border-spacing: 0; 99 -webkit-border-radius: 8px; 100 -webkit-box-shadow: 0 0 4px #000000; 101 101 } 102 102 table tr { 103 border-bottom: solid 1px #cccccc;104 -webkit-border-radius: 8px;103 border-bottom: solid 1px #cccccc; 104 -webkit-border-radius: 8px; 105 105 } 106 106 table > tr:last-child, 107 107 table > tbody > tr:last-child { 108 border-bottom: none;108 border-bottom: none; 109 109 } 110 110 table th, 111 111 table td { 112 margin: 0;113 max-width: 250px;114 height: 2em;115 background-color: #ffffff;116 border: none;117 -webkit-border-radius: 0;112 margin: 0; 113 max-width: 250px; 114 height: 2em; 115 background-color: #ffffff; 116 border: none; 117 -webkit-border-radius: 0; 118 118 } 119 119 table th { 120 background-color: #f0f0f0;120 background-color: #f0f0f0; 121 121 } 122 122 table td { 123 background-color: #ffffff;123 background-color: #ffffff; 124 124 } 125 125 table tr:first-of-type th:first-child, 126 126 table tr:first-of-type td:first-child { 127 -webkit-border-top-left-radius: inherit;127 -webkit-border-top-left-radius: inherit; 128 128 } 129 129 table tr:first-of-type th:last-child, 130 130 table tr:first-of-type td:last-child { 131 -webkit-border-top-right-radius: inherit;131 -webkit-border-top-right-radius: inherit; 132 132 } 133 133 table tr:last-of-type th:first-child, 134 134 table tr:last-of-type td:first-child { 135 -webkit-border-bottom-left-radius: inherit;135 -webkit-border-bottom-left-radius: inherit; 136 136 } 137 137 table tr:last-of-type th:last-child, 138 138 table tr:last-of-type td:last-child { 139 -webkit-border-bottom-right-radius: inherit;139 -webkit-border-bottom-right-radius: inherit; 140 140 } 141 141 table > thead tr:last-of-type th:first-child, … … 143 143 table > thead tr:last-of-type th:last-child, 144 144 table > thead tr:last-of-type td:last-child { 145 -webkit-border-bottom-left-radius: 0;146 -webkit-border-bottom-right-radius: 0;145 -webkit-border-bottom-left-radius: 0; 146 -webkit-border-bottom-right-radius: 0; 147 147 } 148 148 table > thead + tbody > tr:first-of-type th:first-child, … … 150 150 table > thead + tbody > tr:first-of-type th:last-child, 151 151 table > thead + tbody > tr:first-of-type td:last-child { 152 -webkit-border-top-left-radius: 0;153 -webkit-border-top-right-radius: 0;152 -webkit-border-top-left-radius: 0; 153 -webkit-border-top-right-radius: 0; 154 154 } 155 155 … … 157 157 ----------------------------------------------- */ 158 158 #block { 159 width: 100%;160 background-color: #ffffff;161 -webkit-border-radius: 8px;162 -webkit-box-shadow: 0px 0px 4px #000000;163 margin: 10px 0;159 width: 100%; 160 background-color: #ffffff; 161 -webkit-border-radius: 8px; 162 -webkit-box-shadow: 0px 0px 4px #000000; 163 margin: 10px 0; 164 164 } 165 165 .box-wrap { 166 display:inline-block;167 width: 100%;168 border-top: 1px solid #cccccc;166 display:inline-block; 167 width: 100%; 168 border-top: 1px solid #cccccc; 169 169 } 170 170 .box-wrap:first-child { 171 border-top: none;172 -webkit-border-top-left-radius: 8px;173 -webkit-border-top-right-radius: 8px;171 border-top: none; 172 -webkit-border-top-left-radius: 8px; 173 -webkit-border-top-right-radius: 8px; 174 174 } 175 175 .box-wrap:last-child { 176 -webkit-border-bottom-left-radius: 8px;177 -webkit-border-bottom-right-radius: 8px;176 -webkit-border-bottom-left-radius: 8px; 177 -webkit-border-bottom-right-radius: 8px; 178 178 } 179 179 .box-photo { 180 float:left;181 display:block;182 margin-left: 10px;183 margin-right: 10px;184 position: relative;180 float:left; 181 display:block; 182 margin-left: 10px; 183 margin-right: 10px; 184 position: relative; 185 185 } 186 186 .box-data { 187 display:block;188 margin: 0px 8px;189 text-align: left;187 display:block; 188 margin: 0px 8px; 189 text-align: left; 190 190 } 191 191 .box-data h3 { 192 margin: 0px;193 white-space: nowrap;194 overflow: hidden;195 text-overflow: ellipsis;196 -webkit-text-overflow: ellipsis;192 margin: 0px; 193 white-space: nowrap; 194 overflow: hidden; 195 text-overflow: ellipsis; 196 -webkit-text-overflow: ellipsis; 197 197 } 198 198 .box-data h3 a { 199 font-size: 18px;200 text-decoration: none;199 font-size: 18px; 200 text-decoration: none; 201 201 } 202 202 .description, .box-comment { 203 font: bold 14px Osaka;204 line-height: 1.5em;205 white-space: nowrap;206 overflow: hidden;207 text-overflow: ellipsis;208 -webkit-text-overflow: ellipsis;203 font: bold 14px Osaka; 204 line-height: 1.5em; 205 white-space: nowrap; 206 overflow: hidden; 207 text-overflow: ellipsis; 208 -webkit-text-overflow: ellipsis; 209 209 } 210 210 .price, .box-price { 211 color: #993333;212 font: bold 14px Osaka;213 line-height: 1.5em;211 color: #993333; 212 font: bold 14px Osaka; 213 line-height: 1.5em; 214 214 } 215 215 … … 218 218 .recomendblock, 219 219 .whoboughtblock{ 220 margin-top: 0;221 margin-bottom: 0;220 margin-top: 0; 221 margin-bottom: 0; 222 222 } 223 223 .recomendblock > div , 224 224 .whoboughtblock > div { 225 margin-top: 0;226 margin-bottom: 0;227 -webkit-border-radius: 0;225 margin-top: 0; 226 margin-bottom: 0; 227 -webkit-border-radius: 0; 228 228 } 229 229 .recomendblock > div, 230 230 .whoboughtblock > div { 231 width: 100%;232 display:inline-block;233 background-color: #ffffff;234 border-bottom: 1px solid #cccccc;235 padding: 0.1em 0;231 width: 100%; 232 display:inline-block; 233 background-color: #ffffff; 234 border-bottom: 1px solid #cccccc; 235 padding: 0.1em 0; 236 236 } 237 237 .recomendblock > div > a, … … 239 239 .whoboughtblock > div > a, 240 240 .whoboughtblock > div > div{ 241 float: left;241 float: left; 242 242 } 243 243 .recomendblock:first-of-type > div:first-of-type , 244 244 .whoboughtblock:first-of-type > div:first-of-type { 245 -webkit-border-top-left-radius: 8px;246 -webkit-border-top-right-radius: 8px;245 -webkit-border-top-left-radius: 8px; 246 -webkit-border-top-right-radius: 8px; 247 247 } 248 248 .recomendblock:last-of-type > div:last-of-type , 249 249 .whoboughtblock:last-of-type > div:last-of-type { 250 border-bottom: none;251 -webkit-border-bottom-left-radius: 8px;252 -webkit-border-bottom-right-radius: 8px;250 border-bottom: none; 251 -webkit-border-bottom-left-radius: 8px; 252 -webkit-border-bottom-right-radius: 8px; 253 253 } 254 254 .recomendrightblock, 255 255 .whoboughtrightblock{ 256 width: 63%;256 width: 63%; 257 257 } 258 258 .recomendrightblock > h3, … … 266 266 .whoboughtblock img, 267 267 .listphoto { 268 float:left;269 display:block;270 margin: 3px 10px;271 position: relative;268 float:left; 269 display:block; 270 margin: 3px 10px; 271 position: relative; 272 272 } 273 273 .recommend-photo img, 274 274 .listphoto img { 275 width: 80px;275 width: 80px; 276 276 } 277 277 .recommend-box h3 { 278 font-weight: bold;279 font-size: 15px;280 font-family: helvetica;281 margin: 0.4em 0 0;282 white-space: nowrap;283 overflow: hidden;284 text-overflow: ellipsis;285 -webkit-text-overflow: ellipsis;278 font-weight: bold; 279 font-size: 15px; 280 font-family: helvetica; 281 margin: 0.4em 0 0; 282 white-space: nowrap; 283 overflow: hidden; 284 text-overflow: ellipsis; 285 -webkit-text-overflow: ellipsis; 286 286 } 287 287 .recommend-box h3 a { 288 font-size: 18px;289 text-decoration: none;288 font-size: 18px; 289 text-decoration: none; 290 290 } 291 291 .description, 292 292 .recommend-comment { 293 font-weight: normal;294 font-size: 14px;295 font-family: Osaka;296 line-height: 1.5em;297 white-space: nowrap;298 overflow: hidden;299 text-overflow: ellipsis;300 -webkit-text-overflow: ellipsis;301 margin: 0;293 font-weight: normal; 294 font-size: 14px; 295 font-family: Osaka; 296 line-height: 1.5em; 297 white-space: nowrap; 298 overflow: hidden; 299 text-overflow: ellipsis; 300 -webkit-text-overflow: ellipsis; 301 margin: 0; 302 302 } 303 303 .price, 304 304 .recommend-price { 305 color: #993333;306 font-weight: bold;307 font-size: 17px;308 font-family: Osaka;309 line-height: 1.5em;310 margin-bottom: 0.3em;305 color: #993333; 306 font-weight: bold; 307 font-size: 17px; 308 font-family: Osaka; 309 line-height: 1.5em; 310 margin-bottom: 0.3em; 311 311 } 312 312 … … 314 314 ----------------------------------------------- */ 315 315 .listarea { 316 width: 100%;317 background-color: #ffffff;318 border-bottom: solid 1px #CCC;319 margin: 0;320 margin-top: 0;321 margin-bottom: 0;322 -webkit-border-radius: 0;323 -webkit-box-shadow: none;316 width: 100%; 317 background-color: #ffffff; 318 border-bottom: solid 1px #CCC; 319 margin: 0; 320 margin-top: 0; 321 margin-bottom: 0; 322 -webkit-border-radius: 0; 323 -webkit-box-shadow: none; 324 324 } 325 325 #page_navi_top + .listarea{ 326 margin-bottom: 0;327 -webkit-border-top-left-radius: 8px;328 -webkit-border-top-right-radius: 8px;326 margin-bottom: 0; 327 -webkit-border-top-left-radius: 8px; 328 -webkit-border-top-right-radius: 8px; 329 329 } 330 330 .listarea:last-of-type{ 331 border: none;332 -webkit-border-bottom-left-radius: 8px;333 -webkit-border-bottom-right-radius: 8px;331 border: none; 332 -webkit-border-bottom-left-radius: 8px; 333 -webkit-border-bottom-right-radius: 8px; 334 334 } 335 335 .listrightblock > ul { … … 345 345 .listrightblock > h3:first-child, 346 346 .listrightblock > p:first-child, 347 .listrightblock > ul:first-child ,348 margin-top: 0;347 .listrightblock > ul:first-child { 348 margin-top: 0; 349 349 } 350 350 .listrightblock > ul > li { 351 margin: 0;352 padding: 0 3px 0 0;351 margin: 0; 352 padding: 0 3px 0 0; 353 353 } 354 354 .listrightblock > h3:last-child, 355 355 .listrightblock > p:last-child { 356 margin-bottom: 0;356 margin-bottom: 0; 357 357 } 358 358 359 359 .newitem-line-list .newitem-box-wrap-end { 360 border-bottom: 1px solid #cccccc;360 border-bottom: 1px solid #cccccc; 361 361 } 362 362 … … 365 365 #page_navi_top, 366 366 #page_navi_bottom { 367 border: none;368 -webkit-box-shadow: none;369 clear: both;370 width: 100%;371 border-spacing: 0 0;372 border-collapse: collapse;367 border: none; 368 -webkit-box-shadow: none; 369 clear: both; 370 width: 100%; 371 border-spacing: 0 0; 372 border-collapse: collapse; 373 373 } 374 374 #page_navi_top tr, 375 375 #page_navi_bottom tr { 376 width: 100%;376 width: 100%; 377 377 } 378 378 #page_navi_top td, 379 379 #page_navi_bottom td { 380 text-align: left;381 background-color: transparent;380 text-align: left; 381 background-color: transparent; 382 382 } 383 383 384 384 .change a, 385 385 .change strong { 386 display: block;387 float: left;388 margin: 5px 0px;389 padding: 0.3em 0;390 color: #ffffff;391 width: 49.6%;392 text-shadow: 0px -1px 1px rgba(0,0,0,0.5);393 background-color: #666666;394 background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255,255,255,0.25)), to(rgba(0,0,0,0.2)), color-stop(0.5, rgba(255,255,255,0.05)), color-stop(0.51, rgba(0,0,0,0.05)));395 text-align:center;396 vertical-align: middle;397 text-decoration: none;398 border-left: solid 1px #666666;386 display: block; 387 float: left; 388 margin: 5px 0px; 389 padding: 0.3em 0; 390 color: #ffffff; 391 width: 49.6%; 392 text-shadow: 0px -1px 1px rgba(0,0,0,0.5); 393 background-color: #666666; 394 background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255,255,255,0.25)), to(rgba(0,0,0,0.2)), color-stop(0.5, rgba(255,255,255,0.05)), color-stop(0.51, rgba(0,0,0,0.05))); 395 text-align:center; 396 vertical-align: middle; 397 text-decoration: none; 398 border-left: solid 1px #666666; 399 399 } 400 400 .change > a:first-child, 401 401 .change > strong:first-child { 402 border-left: none;403 -webkit-border-top-left-radius: 4px;404 -webkit-border-bottom-left-radius: 4px;402 border-left: none; 403 -webkit-border-top-left-radius: 4px; 404 -webkit-border-bottom-left-radius: 4px; 405 405 } 406 406 .change > a:last-child, 407 407 .change > strong:last-child{ 408 margin-left: 1px;409 -webkit-border-top-right-radius: 4px;410 -webkit-border-bottom-right-radius: 4px;408 margin-left: 1px; 409 -webkit-border-top-right-radius: 4px; 410 -webkit-border-bottom-right-radius: 4px; 411 411 } 412 412 .change select { 413 margin-right: 0;413 margin-right: 0; 414 414 } 415 415 … … 418 418 419 419 table[summary="商品情報"]{ 420 font-size:60%;420 font-size:60%; 421 421 } 422 422 423 423 table[summary="商品情報"] tr:nth-child(even) td{ 424 background-color: #ffffff;424 background-color: #ffffff; 425 425 } 426 426 table[summary="商品情報"] tr:nth-child(odd) td{ 427 background-color: #f0f0f0;428 text-align: left;427 background-color: #f0f0f0; 428 text-align: left; 429 429 } 430 430 431 431 table[summary="商品情報"] td{ 432 433 text-align: center; 434 vertical-align: middle; 435 max-width: 200px; 432 text-align: center; 433 vertical-align: middle; 434 max-width: 200px; 436 435 } 437 436 table[summary="商品情報"] tr:nth-child(even) td:last-child{ 438 width: 15%;439 overflow: visible;437 width: 15%; 438 overflow: visible; 440 439 } 441 440 table[summary="商品情報"] ul, 442 441 table[summary="商品情報"] ul li, 443 442 table[summary="商品情報"] ul li a { 444 display: inline;445 margin: 0;446 padding: 0;447 border: none;443 display: inline; 444 margin: 0; 445 padding: 0; 446 border: none; 448 447 } 449 448 table[summary="商品情報"] ul li a{ 450 display: inline-block;451 margin: 1px;452 padding:0;449 display: inline-block; 450 margin: 1px; 451 padding:0; 453 452 } 454 453 table[summary="商品情報"] tr:nth-last-of-type(1) td, 455 454 table[summary="商品情報"] tr:nth-last-of-type(2) td, 456 455 table[summary="商品情報"] tr:nth-last-of-type(3) td { 457 background-color: #ffffff;458 text-align: center;456 background-color: #ffffff; 457 text-align: center; 459 458 } 460 459 … … 462 461 ----------------------------------------------- */ 463 462 #detailrightblock table th { 464 font-size: 15px;465 font-weight: normal;463 font-size: 15px; 464 font-weight: normal; 466 465 } 467 466 … … 469 468 ----------------------------------------------- */ 470 469 #detailrightblock table th { 471 font-size: 15px;472 font-weight: normal;470 font-size: 15px; 471 font-weight: normal; 473 472 } 474 473 … … 476 475 ----------------------------------------------- */ 477 476 table[summary="お客様情報入力"] td{ 478 padding-left:5px;479 text-align: left;480 vertical-align: middle;477 padding-left:5px; 478 text-align: left; 479 vertical-align: middle; 481 480 } 482 481 … … 484 483 ----------------------------------------------- */ 485 484 table[summary="会員登録内容変更"] td{ 486 padding-left:5px;487 text-align: left;488 vertical-align: middle;485 padding-left:5px; 486 text-align: left; 487 vertical-align: middle; 489 488 } 490 489 … … 492 491 ----------------------------------------------- */ 493 492 table[summary="お届け先登録"] td{ 494 padding-left:5px;495 text-align: left;496 vertical-align: middle;493 padding-left:5px; 494 text-align: left; 495 vertical-align: middle; 497 496 } 498 497 … … 500 499 ----------------------------------------------- */ 501 500 #undercolumn_contact table td { 502 text-align: left;503 } 501 text-align: left; 502 } -
branches/version-2_5-dev/html/user_data/packages/sphone/css/wreckage.css
r20116 r20566 6 6 } 7 7 .center { 8 text-align: center;8 text-align: center; 9 9 } 10 10
Note: See TracChangeset
for help on using the changeset viewer.
