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

Revision 21163, 13.2 KB checked in by nanasess, 13 years ago (diff)

#1413 レイアウト微調整

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