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

Revision 21169, 13.3 KB checked in by nanasess, 15 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_cart .product_type {
469margin-bottom: 5px;
470}
471.popup_cart div:last-child {
472margin-bottom: 0;
473}
474.popup_mypage a,.popup_cart a{
475text-decoration:underline;
476}
477
478.popup_mypage h2,.popup_cart h2{
479font-size:1.2em;
480}
481.quantity,.money{
482font-size:14px;
483font-weight:bold;
484}
485.popup_cart hr.dashed:last-child{
486display:none;
487}
488hr.dashed{
489display:block;
490height:1px;
491border:0;   
492border-top:#CCC dashed 1px;
493margin:0.2em 0;
494padding:0;}
495.free_money_area{
496font-size:11px;
497}
498.dl_item{
499margin-top:5px;
500}
501
502/*index menu/トップページヘッダー3列ボタン*/
503.top_menu{
504width:100%;
505margin-bottom:10px;
506-webkit-box-shadow: 1px 5px 5px #ccc;
507-moz-box-shadow: 1px 5px 5px #ccc;
508background:#494E57;
509background: -moz-linear-gradient(center top, #6D7481 10%,#505765 80%,#494E57 100%);
510background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #6D7481),color-stop(0.8, #505765),color-stop(1, #494E57));
511}
512.top_menu ul{
513width:auto;
514margin:0 auto;
515clear:both;
516}
517.top_menu ul li{
518width:33%;
519float:left;
520text-align:center;
521border-left:#747B83 solid 1px;
522border-right:#3D3D3D solid 1px;
523border-bottom:#141517 solid 1px;
524border-top:#A1A7AF solid 2px;
525}
526.top_menu ul li img{
527margin:0 auto;
528display:block;
529clear:both;
530}
531.top_menu ul li a:link,.top_menu ul li a:visited{
532color:#FFF;
533text-shadow: 0px 1px 1px rgba(0,0,0,1);
534padding:9px 0 8px 0;
535display:block;
536background:#494E57;
537background: -moz-linear-gradient(center top, #6D7481 10%,#505765 80%,#494E57 100%);
538background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #6D7481),color-stop(0.8, #505765),color-stop(1, #494E57));
539-webkit-transition:background-color 0.5s ease-in;
540-moz-transition:background-color 0.5s ease-in;
541}
542.top_menu ul li a:hover{
543color:#FFF;
544text-shadow: 0px 1px 1px rgba(0,0,0,0.5);
545background:#5393C5;
546background: -moz-linear-gradient(center top, #5393C5 10%,#80B6E2 100%);
547background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #5393C5),color-stop(1, #80B6E2));
548text-decoration:none;
549}
550.top_menu li:first-child{
551border-left:none;
552}
553.top_menu li:last-child{
554border-right:none;
555}
556/*-------------------------------------------------
557footer
558----------------------------------------------- */
559footer.global_footer {
560padding:0 0 10px 0;
561background: #E6E6E6;
562text-align:center;
563}
564.footer_utility{
565background: #E6E6E6;
566}
567/*フッター4列ボタン*/
568.footer_navi {
569width:100%;
570display:block;
571clear:both;
572padding:0.5em 0;
573-webkit-box-shadow: 1px 1px 1px #FFF;
574-moz-box-shadow: 1px 1px 1px #FFF;
575background:#272a2b;
576background: -moz-linear-gradient(center top, #808080 0%,#272a2b 100%);
577background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #808080),color-stop(1, #272a2b));
578}
579.footer_navi ul{
580width:100%;
581display:block;
582}
583.footer_navi:after {
584content: ".";
585display: block;
586clear: both;
587height:0;
588}
589.footer_navi li{
590width:23%;
591height:49px;
592display:block;
593margin:0 1%;
594padding:0;
595float:left;
596background:#202223;
597background: -moz-linear-gradient(center top, #282A2A 0%,#202223 100%);
598background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #282A2A),color-stop(1, #202223));
599text-align:center;
600color:#FFF;
601font-size:10px;
602border-radius: 8px;
603-webkit-border-radius: 8px;
604-moz-border-radius: 8px;
605-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;
606-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;
607}
608.footer_status_area{
609margin:0;
610padding:20px 10px 10px;
611text-align:center;
612background: #E6E6E6;
613border-bottom:#999 solid 1px;
614}
615.footer_status_area p:last-child{
616margin:10px auto;
617}
618.guide_area{
619clear:both;
620margin:0;
621padding:10px 0 0 0;
622text-align:center;
623border-top:#fff solid 1px;
624}
625.guide_area p{
626font-size:14px;
627font-weight:bold;
628line-height:2.4;
629}
630.guide_area a{
631padding:0.5em 0.3em;
632margin:0.5em 0.1em;
633}
634@media only screen and (-webkit-min-device-pixel-ratio: 2) {
635.guide_area p{
636font-size:12px;
637}
638}
639footer.global_footer p.copyright {
640margin: 0;
641text-align: center;
642padding:10px 0;
643}
644/*-------------------------------------------------
645検索バー
646----------------------------------------------- */
647#search_area {
648padding: 10px;
649background: #E7E8E9;
650clear:both;
651text-align: center;
652}
653/*jqm追記*/
654#search_area .ui-input-search{
655border-radius: 20px;
656-webkit-border-radius: 20px;
657-moz-border-radius: 20px;
658border:#CCC solid 1px;
659}
660.ui-input-text {
661width: 100% !important;
662}
Note: See TracBrowser for help on using the repository browser.