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

Revision 21161, 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;
401}
402.header_navi{
403font-size:11px;
404float:right;
405display:inline;
406text-align:right;
407line-height:1.2;
408margin-top:5px;
409}
410.header_navi ul{
411display:inline;
412float:right;
413}
414.header_navi li{
415float:left;
416margin:0;
417padding:8px 5px;
418border:#A9ABAD solid 1px;
419border-radius: 5px;
420-moz-border-radius: 5px;
421-webkit-border-radius: 5px;
422background:#FDFDfD;
423background: -moz-linear-gradient(center top, #FDFDFD 0%,#D7DDE3 100%);
424background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FDFDFD),color-stop(1, #D7DDE3));
425}
426.header_navi li:first-child{
427margin-right:1em;
428}
429.header_navi p {
430line-height:1.3;
431}
432.popup_mypage{
433font-size:small;
434width:auto;
435min-width:100px;
436padding:10px;
437display: none;
438position: absolute;
439line-height:1.2;
440top: 52px;
441z-index: 1;
442background:#FFF;
443background: -moz-linear-gradient(center top, #FDFDFD 0%,#E5E5E5 100%);
444background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FDFDFD),color-stop(1, #E5E5E5));
445border:#CCC solid 1px;
446border-radius: 5px;
447-webkit-border-radius: 5px;
448-moz-border-radius: 5px;
449}
450.popup_mypage p:first-child{
451line-height:1.3;
452margin-bottom:0.5em;
453}
454.popup_cart{
455font-size:small;
456width:auto;
457min-width:90px;
458padding:10px;
459display: none;
460position: absolute;
461top: 52px;
462margin-right:5px;
463z-index: 1;
464background:#FFF;
465background: -moz-linear-gradient(center top, #FDFDFD 0%,#E5E5E5 100%);
466background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FDFDFD),color-stop(1, #E5E5E5));
467border:#CCC solid 1px;
468border-radius: 5px;
469-webkit-border-radius: 5px;
470-moz-border-radius: 5px;
471}
472.popup_mypage a,.popup_cart a{
473text-decoration:underline;
474}
475
476.popup_mypage h2,.popup_cart h2{
477font-size:1.2em;
478}
479.quantity,.money{
480font-size:14px;
481font-weight:bold;
482}
483.popup_cart hr.dashed:last-child{
484display:none;
485}
486hr.dashed{
487display:block;
488height:1px;
489border:0;   
490border-top:#CCC dashed 1px;
491margin:0.2em 0;
492padding:0;}
493.free_money_area{
494font-size:11px;
495}
496.dl_item{
497margin-top:5px;
498}
499
500/*index menu/トップページヘッダー3列ボタン*/
501.top_menu{
502width:100%;
503margin-bottom:10px;
504-webkit-box-shadow: 1px 5px 5px #ccc;
505-moz-box-shadow: 1px 5px 5px #ccc;
506background:#494E57;
507background: -moz-linear-gradient(center top, #6D7481 10%,#505765 80%,#494E57 100%);
508background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #6D7481),color-stop(0.8, #505765),color-stop(1, #494E57));
509}
510.top_menu ul{
511width:auto;
512margin:0 auto;
513clear:both;
514}
515.top_menu ul li{
516width:33%;
517float:left;
518text-align:center;
519border-left:#747B83 solid 1px;
520border-right:#3D3D3D solid 1px;
521border-bottom:#141517 solid 1px;
522border-top:#A1A7AF solid 2px;
523}
524.top_menu ul li img{
525margin:0 auto;
526display:block;
527clear:both;
528}
529.top_menu ul li a:link,.top_menu ul li a:visited{
530color:#FFF;
531text-shadow: 0px 1px 1px rgba(0,0,0,1);
532padding:9px 0 8px 0;
533display:block;
534background:#494E57;
535background: -moz-linear-gradient(center top, #6D7481 10%,#505765 80%,#494E57 100%);
536background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #6D7481),color-stop(0.8, #505765),color-stop(1, #494E57));
537-webkit-transition:background-color 0.5s ease-in;
538-moz-transition:background-color 0.5s ease-in;
539}
540.top_menu ul li a:hover{
541color:#FFF;
542text-shadow: 0px 1px 1px rgba(0,0,0,0.5);
543background:#5393C5;
544background: -moz-linear-gradient(center top, #5393C5 10%,#80B6E2 100%);
545background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #5393C5),color-stop(1, #80B6E2));
546text-decoration:none;
547}
548.top_menu li:first-child{
549border-left:none;
550}
551.top_menu li:last-child{
552border-right:none;
553}
554/*-------------------------------------------------
555footer
556----------------------------------------------- */
557footer.global_footer {
558padding:0 0 10px 0;
559background: #E6E6E6;
560text-align:center;
561}
562.footer_utility{
563background: #E6E6E6;
564}
565/*フッター4列ボタン*/
566.footer_navi {
567width:100%;
568display:block;
569clear:both;
570padding:0.5em 0;
571-webkit-box-shadow: 1px 1px 1px #FFF;
572-moz-box-shadow: 1px 1px 1px #FFF;
573background:#272a2b;
574background: -moz-linear-gradient(center top, #808080 0%,#272a2b 100%);
575background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #808080),color-stop(1, #272a2b));
576}
577.footer_navi ul{
578width:100%;
579display:block;
580}
581.footer_navi:after {
582content: ".";
583display: block;
584clear: both;
585height:0;
586}
587.footer_navi li{
588width:23%;
589height:49px;
590display:block;
591margin:0 1%;
592padding:0;
593float:left;
594background:#202223;
595background: -moz-linear-gradient(center top, #282A2A 0%,#202223 100%);
596background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #282A2A),color-stop(1, #202223));
597text-align:center;
598color:#FFF;
599font-size:10px;
600border-radius: 8px;
601-webkit-border-radius: 8px;
602-moz-border-radius: 8px;
603-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;
604-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;
605}
606.footer_status_area{
607margin:0;
608padding:20px 10px 10px;
609text-align:center;
610background: #E6E6E6;
611border-bottom:#999 solid 1px;
612}
613.footer_status_area p:last-child{
614margin:10px auto;
615}
616.guide_area{
617clear:both;
618margin:0;
619padding:10px 0 0 0;
620text-align:center;
621border-top:#fff solid 1px;
622}
623.guide_area p{
624font-size:14px;
625font-weight:bold;
626line-height:2.4;
627}
628.guide_area a{
629padding:0.5em 0.3em;
630margin:0.5em 0.1em;
631}
632@media only screen and (-webkit-min-device-pixel-ratio: 2) {
633.guide_area p{
634font-size:12px;
635}
636}
637footer.global_footer p.copyright {
638margin: 0;
639text-align: center;
640padding:10px 0;
641}
642/*-------------------------------------------------
643検索バー
644----------------------------------------------- */
645#search_area {
646padding: 10px;
647background: #E7E8E9;
648clear:both;
649text-align: center;
650}
651/*jqm追記*/
652#search_area .ui-input-search{
653border-radius: 20px;
654-webkit-border-radius: 20px;
655-moz-border-radius: 20px;
656border:#CCC solid 1px;
657}
Note: See TracBrowser for help on using the repository browser.