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

Revision 21052, 12.5 KB checked in by 468, 13 years ago (diff)

#1413 スマートフォン版スタイルシートファイル変更(HTML5対応)

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