source: branches/version-2_13-dev/html/user_data/packages/sphone/css/common.css @ 22931

Revision 22931, 15.3 KB checked in by Seasoft, 11 years ago (diff)

#2291 (利用ガイドブロック selected クラスの指定に誤り)
#2140 (標準テンプレートのカスタマイズ性を高める)
#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

  • html ヘッダーを「charset -> title -> meta -> link -> script」の順に整えた。ただし、スマートフォンは定義が複雑なので、link, script の混在は残した。

#2044 (無駄な処理を改善する for 2.13.0)

  • ヘッダー部の h1 マークアップは、古の SEO 手法だと思いますので削除します。
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
Line 
1@charset "utf-8";
2/* ===================================================================
3CSS information
4file name  :common.css
5style info :共通
6=================================================================== */
7/*-----------------------------------------------
8body
9----------------------------------------------- */
10body {
11    background: #FFF;
12    font-family: Helvetica, san-serif;
13    line-height: 1.5;
14    font-size: 14px;
15    margin: 0;
16    padding: 0;
17    -webkit-text-size-adjust: none;
18    -webkit-touch-callout: none;
19    -webkit-tap-highlight-color: rgba(0,0,0,0.50);
20}
21/*-----------------------------------------------
22リンク指定
23----------------------------------------------- */
24a:link {
25    color: #4265AE;
26    text-decoration: none;
27}
28a:visited {
29    color: #603E7D;
30    text-decoration: none;
31}
32a:hover {
33    text-decoration: none;
34    cursor: pointer;
35}
36
37/*右矢印リンクテキスト*/
38.arrowRtxt {
39    display: inline;
40    clear: both;
41    margin: 5px auto;
42    padding-right: 15px;
43    background: url(../img/common/ico_arrowR.png) right center no-repeat;
44}
45@media only screen and (-webkit-min-device-pixel-ratio: 2) {
46    .arrowRtxt {
47        background: url(../img/common/ico_arrowR2.png) right center no-repeat;
48        -webkit-background-size: 10px 15px;
49        background-size: 10px 15px;
50    }
51}
52div,
53li,
54p {
55-webkit-tap-highlight-color: rgba(0,0,0,0.50);}
56/*-----------------------------------------------
57clearfix
58----------------------------------------------- */
59.clearfix:after {
60    content: ".";
61    display: block;
62    clear: both;
63    height: 0;
64    visibility: hidden;
65}
66ul:after {
67    content: ".";
68    display: block;
69    clear: both;
70    height: 0;
71    visibility: hidden;
72}
73dl:after {
74    content: ".";
75    display: block;
76    clear: both;
77    height: 0;
78    visibility: hidden;
79}
80/*-----------------------------------------------
81汎用
82----------------------------------------------- */
83.photoL {
84    float: left;
85    clear: left;
86}
87.photoR {
88    float: right;
89    clear: right;
90}
91.clear {
92    clear: both;
93}
94.inner {
95    padding: 10px;
96}
97.intro {
98    padding: 5px 10px 10px;
99    font-weight: bold;
100}
101.intro p {
102    line-height: 1.3;
103}
104.hidden {
105    display: none;
106}
107.end {
108    border-bottom: none!important;
109}
110.top {
111    margin-bottom: 8px!important;
112}
113.bg_head {
114    background: #EEE;
115}
116.pb {
117    padding-bottom: 0!important;
118}
119/*-----------------------------------------------
120font
121----------------------------------------------- */
122h2 {
123    font-size: 20px;
124}
125h3,
126h4,
127h5 {
128    font-size: 100%;
129    font-weight: bold;
130}
131em {
132    font-weight: bold;
133}
134.attention {
135color: #CC0000; }
136.mini {
137    font-size: 11px;
138font-weight:normal; }
139.fb {
140    font-size: 15px;
141    font-weight: bold;
142}
143.fn {
144    font-weight: normal;
145}
146.price {
147    color: #CC0000;
148    font-weight: bold;
149}
150.attentionSt {
151    color: #CC0000;
152    font-weight: bold;
153}
154/*-------------------------------------------------
155レイアウト
156----------------------------------------------- */
157.frame_outer {
158    overflow: hidden;
159    width: 100%;
160    background: #FFF;
161}
162#main-content {
163}
164/*-----------------------------------------------
165タイトル
166----------------------------------------------- */
167h2.title {
168    color: #FFF;
169    font-size: 20px;
170    font-weight: bold;
171    line-height: 45px;
172    text-align: center;
173    text-shadow: 0px -1px 1px rgba(0,0,0,0.5);
174    margin: 0 0 15px 0;
175    padding: 0 10px;
176    background: #494E57;
177    background: -moz-linear-gradient(center top, #6D7481 10%,#505765 80%,#494e57 100%);
178    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #6D7481),color-stop(0.8, #505765),color-stop(1, #494e57));
179    border-top: #868D99 1px solid;
180    border-bottom: #C6C2C8 1px solid;
181    -webkit-box-shadow: 1px 5px 5px #CCC;
182    -moz-box-shadow: 1px 5px 5px #CCC;
183    vertical-align: middle;
184    white-space: nowrap;
185    overflow: hidden;
186    text-overflow: ellipsis;
187    clear: both;
188}
189/*ボタンで展開するタイトルバー*/
190.title_box {
191    color: #FFF;
192    text-shadow: 0px -1px 1px rgba(0,0,0,0.3);
193    line-height: 45px;
194    padding: 0 10px;
195    margin: 0 0 15px 0;
196    background: #494e57;
197    background: -moz-linear-gradient(center top, #6D7481 10%,#505765 80%,#494e57 100%);
198    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #6D7481),color-stop(0.8, #505765),color-stop(1, #494e57));
199    border-top: #74828B solid 1px;
200    border-bottom: #74828B solid 1px;
201    vertical-align: middle;
202    clear: both;
203}
204.title_box h2 {
205    font-size: 20px;
206    text-shadow: 0px -1px 1px rgba(0,0,0,0.5);
207    width: 85%;
208    float: left;
209    clear: left;
210    white-space: nowrap;
211    overflow: hidden;
212    text-overflow: ellipsis;
213    line-height: 45px;
214    vertical-align: middle;
215}
216.title_box h3 {
217    width: 85%;
218    float: left;
219    clear: left;
220    font-size: 18px;
221    text-shadow: 0px -1px 1px rgba(0,0,0,0.5);
222    white-space: nowrap;
223    overflow: hidden;
224    text-overflow: ellipsis;
225    line-height: 30px;
226    vertical-align: middle;
227}
228/*サブタイトル*/
229h3.subtitle {
230    font-size: 18px;
231    color: #FFF;
232    line-height: 30px;
233    text-shadow: 0px -1px 1px rgba(0,0,0,0.3);
234    padding: 0 10px;
235    margin: 0 0 10px 0;
236    background: #84949F;
237    background: -moz-linear-gradient(center top, #96A4AF 0%,#84949F 100%);
238    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #96A4AF),color-stop(1, #84949F));
239    border-top: #74828B solid 1px;
240    border-bottom: #74828B solid 1px;
241    vertical-align: middle;
242    white-space: nowrap;
243    overflow: hidden;
244    text-overflow: ellipsis;
245    clear: both;
246    -webkit-box-shadow: 1px 0px 1px #FFF;
247    -moz-box-shadow: 1px 0px 1px #FFF;
248    position: relative;
249}
250/*ボタンで展開するサブタイトルバー*/
251.title_box_sub {
252    color: #FFF;
253    line-height: 30px;
254    padding: 0 10px;
255    margin: 0 0 20px 0;
256    background: #84949F;
257    background: -moz-linear-gradient(center top, #96A4AF 0%,#84949F 100%);
258    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #96A4AF),color-stop(1, #84949F));
259    border-top: #74828B solid 1px;
260    border-bottom: #74828B solid 1px;
261    vertical-align: middle;
262    clear: both;
263    position: relative;
264}
265.title_box_sub h2,
266.title_box_sub h3 {
267    font-size: 18px;
268    text-shadow: 0px -1px 1px rgba(0,0,0,0.5);
269    width: 85%;
270    float: left;
271    clear: left;
272    white-space: nowrap;
273    overflow: hidden;
274    text-overflow: ellipsis;
275    line-height: 30px;
276    vertical-align: middle;
277}
278.title_box_sub .b_expand {
279    width: 22px;
280    height: 21px;
281    float: right;
282    clear: right;
283    position: absolute;
284    top: -6px;
285    right: 15px;
286    z-index: 2;
287    padding: 2px;
288}
289/*----------------------------------------------------
290input/select
291----------------------------------------------------*/
292input {
293    margin: 0;
294    padding: 5px;
295    -webkit-box-shadow: none;
296    -moz-box-shadow: none;
297}
298input[type="text"] {
299    margin: 5px 0;
300}
301input[type="number"] {
302    padding: 5px 0;
303    text-indent: 0;
304}
305input[type="number"]:first-child {
306    margin-right: -2px;
307}
308input[type="radio"],
309input[type="check"] {
310    padding: 5px;
311    line-height: 1.5;
312    margin-right: 0.5em;
313}
314.text,
315.textarea,
316.dropdown {
317    padding: 0.5em;
318    margin: 0;
319    border: #4C4C4C solid 1px;
320    background: #FFF;
321    border-radius: 5px;
322    -webkit-border-radius: 5px;
323    -moz-border-radius: 5px;
324}
325.textarea {
326    width: 97%;
327    padding: 0.5em;
328    margin: 0 0 10px 0;
329}
330.cartin_quantity,
331.box_point {
332    width: 2.5em;
333}
334.boxLong {
335    width: 95%;
336}
337.boxMedium {
338    width: 35%;
339}
340.boxShort {
341    width: 22%;
342}
343.boxHarf {
344    width: 42%;
345}
346select.boxLong {
347    width: 100%;
348}
349select.boxMedium {
350    width: 40%;
351}
352select.boxShort {
353    width: 25%;
354}
355select.boxHarf {
356    width: 46%;
357}
358/*----------------------------------------------------
359header
360----------------------------------------------------*/
361
362/* ヘッダーロゴ
363------------------------------------------------ */
364header {
365    width: 100%;
366    background: #FFF;
367    margin: 0 auto;
368    padding: 5px 0 10px 0;
369    clear: both;
370    min-height: 40px;
371}
372header #logo_area {
373    width: 47%;
374    height: 25px;
375    float: left;
376    clear: left;
377    margin: 2px 0 0 5px;
378    padding: 0;
379    max-width: 150px;
380    position: relative;
381}
382header #logo_area a {
383    display: block;
384    margin: 0;
385    padding: 0;
386    cursor: pointer;
387    vertical-align: middle;
388}
389header #logo_area img {
390    width: 150px;
391    height: 25px;
392    margin: -5px 0 0 0;
393    padding: 0;
394    vertical-align: middle;
395}
396
397/* ヘッダーナビ
398------------------------------------------------ */
399.header_utility {
400    width: 47%;
401    padding: 0 5px;
402    float: right;
403}
404.header_navi {
405    font-size: 11px;
406    float: right;
407    display: inline;
408    text-align: right;
409    line-height: 1.2;
410    margin-top: 5px;
411}
412.header_navi ul {
413    display: inline;
414    float: right;
415}
416.header_navi li {
417    float: left;
418    margin: 0;
419    padding: 8px 5px;
420    border: #A9ABAD solid 1px;
421    border-radius: 5px;
422    -moz-border-radius: 5px;
423    -webkit-border-radius: 5px;
424    background: #FDFDfD;
425    background: -moz-linear-gradient(center top, #FDFDFD 0%,#D7DDE3 100%);
426    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FDFDFD),color-stop(1, #D7DDE3));
427}
428.header_navi li:first-child {
429    margin-right: 1em;
430}
431.header_navi p {
432    line-height: 1.3;
433}
434.header_navi p.guest {
435    margin-top: 5px !important;
436}
437.popup_mypage {
438    font-size: small;
439    width: auto;
440    min-width: 100px;
441    padding: 10px;
442    display: none;
443    position: absolute;
444    line-height: 1.2;
445    top: 52px;
446    z-index: 1;
447    background: #FFF;
448    background: -moz-linear-gradient(center top, #FDFDFD 0%,#E5E5E5 100%);
449    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FDFDFD),color-stop(1, #E5E5E5));
450    border: #CCC solid 1px;
451    border-radius: 5px;
452    -webkit-border-radius: 5px;
453    -moz-border-radius: 5px;
454}
455.popup_mypage p:first-child {
456    line-height: 1.3;
457    margin-bottom: 0.5em;
458}
459.popup_cart {
460    font-size: small;
461    width: auto;
462    min-width: 90px;
463    padding: 10px;
464    display: none;
465    position: absolute;
466    top: 52px;
467    margin-right: 5px;
468    z-index: 1;
469    background: #FFF;
470    background: -moz-linear-gradient(center top, #FDFDFD 0%,#E5E5E5 100%);
471    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FDFDFD),color-stop(1, #E5E5E5));
472    border: #CCC solid 1px;
473    border-radius: 5px;
474    -webkit-border-radius: 5px;
475    -moz-border-radius: 5px;
476}
477.popup_cart .product_type {
478    margin-bottom: 5px;
479}
480.popup_cart div:last-child {
481    margin-bottom: 0;
482}
483.popup_mypage a,
484.popup_cart a {
485    text-decoration: underline;
486}
487
488.popup_mypage h2,
489.popup_cart h2 {
490    font-size: 1.2em;
491}
492.quantity,
493.money {
494    font-size: 14px;
495    font-weight: bold;
496}
497.popup_cart hr.dashed:last-child {
498    display: none;
499}
500hr.dashed {
501    display: block;
502    height: 1px;
503    border: 0;
504    border-top: #CCC dashed 1px;
505    margin: 0.2em 0;
506    padding: 0;
507}
508.free_money_area {
509    font-size: 11px;
510}
511.dl_item {
512    margin-top: 5px;
513}
514
515/*index menu/トップページヘッダー3列ボタン*/
516.top_menu {
517    width: 100%;
518    margin-bottom: 10px;
519    -webkit-box-shadow: 1px 5px 5px #ccc;
520    -moz-box-shadow: 1px 5px 5px #ccc;
521    background: #494E57;
522    background: -moz-linear-gradient(center top, #6D7481 10%,#505765 80%,#494E57 100%);
523    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #6D7481),color-stop(0.8, #505765),color-stop(1, #494E57));
524}
525.top_menu ul {
526    width: auto;
527    margin: 0 auto;
528    clear: both;
529}
530.top_menu ul li {
531    width: 33.33%;
532    float: left;
533    text-align: center;
534    border-left: #747B83 solid 1px;
535    border-right: #3D3D3D solid 1px;
536    border-bottom: #141517 solid 1px;
537    border-top: #A1A7AF solid 2px;
538    box-sizing: border-box;
539}
540.top_menu ul li img {
541    margin: 0 auto;
542    display: block;
543    clear: both;
544}
545.top_menu ul li a:link,
546.top_menu ul li a:visited {
547    color: #FFF;
548    text-shadow: 0px 1px 1px rgba(0,0,0,1);
549    padding: 9px 0 8px 0;
550    display: block;
551    background: #494E57;
552    background: -moz-linear-gradient(center top, #6D7481 10%,#505765 80%,#494E57 100%);
553    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #6D7481),color-stop(0.8, #505765),color-stop(1, #494E57));
554    -webkit-transition: background-color 0.5s ease-in;
555    -moz-transition: background-color 0.5s ease-in;
556}
557.top_menu ul li a:hover {
558    color: #FFF;
559    text-shadow: 0px 1px 1px rgba(0,0,0,0.5);
560    background: #5393C5;
561    background: -moz-linear-gradient(center top, #5393C5 10%,#80B6E2 100%);
562    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #5393C5),color-stop(1, #80B6E2));
563    text-decoration: none;
564}
565.top_menu li:first-child {
566    border-left: none;
567}
568.top_menu li:last-child {
569    border-right: none;
570}
571/*-------------------------------------------------
572footer
573----------------------------------------------- */
574footer.global_footer {
575    padding: 0 0 10px 0;
576    background: #E6E6E6;
577    text-align: center;
578}
579.footer_utility {
580    background: #E6E6E6;
581}
582/*フッター4列ボタン*/
583.footer_navi {
584    width: 100%;
585    display: block;
586    clear: both;
587    padding: 0.5em 0;
588    -webkit-box-shadow: 1px 1px 1px #FFF;
589    -moz-box-shadow: 1px 1px 1px #FFF;
590    background: #272a2b;
591    background: -moz-linear-gradient(center top, #808080 0%,#272a2b 100%);
592    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #808080),color-stop(1, #272a2b));
593}
594.footer_navi ul {
595    width: 100%;
596    display: block;
597}
598.footer_navi:after {
599    content: ".";
600    display: block;
601    clear: both;
602    height: 0;
603}
604.footer_navi li {
605    width: 23%;
606    height: 49px;
607    display: block;
608    margin: 0 1%;
609    padding: 0;
610    float: left;
611    background: #202223;
612    background: -moz-linear-gradient(center top, #282A2A 0%,#202223 100%);
613    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #282A2A),color-stop(1, #202223));
614    text-align: center;
615    color: #FFF;
616    font-size: 10px;
617    border-radius: 8px;
618    -webkit-border-radius: 8px;
619    -moz-border-radius: 8px;
620    -webkit-box-shadow: 3px 3px 3px 3px rgba(0,0,0,0.2) inset,-3px -3px 3px 3px rgba(0,0,0,0.2) inset;
621    -moz-box-shadow: 3px 3px 3px 3px rgba(0,0,0,0.2) inset,-3px -3px 3px 3px rgba(0,0,0,0.2) inset;
622}
623.footer_status_area {
624    margin: 0;
625    padding: 20px 10px 10px;
626    text-align: center;
627    background: #E6E6E6;
628    border-bottom: #999 solid 1px;
629}
630.footer_status_area p:last-child {
631    margin: 10px auto;
632}
633.guide_area {
634    clear: both;
635    margin: 0;
636    padding: 10px 0 0 0;
637    text-align: center;
638    border-top: #fff solid 1px;
639}
640.guide_area p {
641    font-size: 14px;
642    font-weight: bold;
643    line-height: 2.4;
644}
645.guide_area a {
646    padding: 0.5em 0.3em;
647    margin: 0.5em 0.1em;
648}
649@media only screen and (-webkit-min-device-pixel-ratio: 2) {
650    .guide_area p {
651        font-size: 12px;
652    }
653}
654footer.global_footer p.copyright {
655    margin: 0;
656    text-align: center;
657    padding: 10px 0;
658}
659/*-------------------------------------------------
660検索バー
661----------------------------------------------- */
662#search_area {
663    padding: 10px;
664    background: #E7E8E9;
665    clear: both;
666    text-align: center;
667}
668/*jqm追記*/
669#search_area .ui-input-search {
670    border-radius: 20px;
671    -webkit-border-radius: 20px;
672    -moz-border-radius: 20px;
673    border: #CCC solid 1px;
674}
675.ui-input-text {
676    width: 100% !important;
677}
Note: See TracBrowser for help on using the repository browser.