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

Revision 21253, 8.6 KB checked in by Seasoft, 13 years ago (diff)

#1481 (おすすめ商品ブロックの改善)

Line 
1@charset "utf-8";
2
3/************************************************
4 共通設定
5************************************************ */
6body {
7    color: #666;
8    font-family: Verdana,Arial,Helvetica,sans-serif;
9    background-color: #f5f5f5;
10    font-size: 72.5%;
11    line-height: 150%;
12    letter-spacing: 0.1em;
13}
14
15select {
16    border: solid 1px #ccc;
17}
18
19/*写真*/
20.picture {
21    border: 1px solid #ccc;
22}
23
24
25/* ==============================================
26 フレーム
27=============================================== */
28/* 全体を包括 */
29.frame_outer {
30    margin: 0 auto;
31    width: 100%;
32    text-align: center;
33}
34
35/* コンテンツ */
36#container {
37    margin: 0 auto;
38    padding: 0 0 30px 0;
39    width: 980px;
40    background: #fff;
41    text-align: left;
42}
43
44
45/* ==============================================
46 カラム指定
47=============================================== */
48/* ヘッダーとフッターの上下
49[注意]ブロック移動時はbloc.css内で調整が必要 */
50#topcolumn ,
51#bottomcolumn ,
52#footerbottomcolumn {
53    margin: 0 auto;
54    padding: 15px;
55    width: 950px;
56    background: #fff;
57    text-align: left;
58}
59
60/* 中央カラム */
61.main_column {
62    padding: 10px 0 20px;
63}
64
65/* サイドカラム */
66#leftcolumn {
67    float: left;
68    width: 20%;
69}
70#rightcolumn {
71    float: right;
72    width: 20%;
73}
74
75/* 1カラム設定 */
76#one_maincolumn {
77    margin: 0 auto;
78    width: 80%;
79}
80
81/* 2カラム設定 (メイン部が左) */
82#two_maincolumn_left {
83    padding-left: 1.5%;
84    float: left;
85    width: 78%;
86}
87
88/* 2カラム設定 (メイン部が右) */
89#two_maincolumn_right {
90    padding-right: 1.5%;
91    width: 78%;
92    float: right;
93}
94
95/* 3カラム設定 */
96#three_maincolumn {
97    padding-left: 0.5%;
98    width: 59%;
99    float: left;
100}
101
102/* 下層コンテンツ */
103#undercolumn {
104    width: 100%;
105    margin: 0 0 30px 0;
106}
107
108
109/* ==============================================
110 ユーティリティ
111=============================================== */
112/* フロート回り込み解除
113----------------------------------------------- */
114.clearfix:after {
115    display: block;
116    clear: both;
117    height: 0px;
118    line-height: 0px;
119    visibility: hidden;
120    content: ".";
121}
122.clearfix {
123    display: block; /* for IE8 */
124}
125.clear {
126    clear: both;
127}
128
129/* リンク指定
130----------------------------------------------- */
131a:link ,
132a:visited {
133    color: #39c;
134    text-decoration: none;
135}
136a:link:hover ,
137a[href]:hover {
138    color: #f60;
139    text-decoration: underline;
140}
141
142
143/* フォント
144----------------------------------------------- */
145h1,h2,h3,h4,h5 {
146    font-size: 100%;
147    line-height: 150%;
148}
149.sale_price {
150    color: #f00;
151}
152.normal_price {
153    font-size: 90%;
154}
155.point {
156    color: #f00;
157    font-weight: bold;
158}
159.user_name {
160    font-weight: bold;
161}
162.recommend_level {
163    color: #ecbd00;
164}
165
166.attention {
167    color: #f00;
168}
169.attentionSt {
170    color: #f00;
171    font-weight: bold;
172}
173.st {
174    font-weight: bold;
175}
176.mini {
177    font-size: 90%;
178}
179
180
181/* 行揃え
182----------------------------------------------- */
183.alignC {
184    text-align: center;
185}
186.alignR {
187    text-align: right;
188}
189.alignL {
190    text-align: left;
191}
192.pricetd em {
193    font-weight: bold;
194}
195
196
197/* フォーム
198----------------------------------------------- */
199input[type='text'] ,
200input[type='password'] ,
201.select {
202    border: solid 1px #ccc;
203    padding: 2px;
204}
205
206.box40 {
207    width: 40px;
208}
209.box60 {
210    width: 60px;
211}
212.box100 {
213    width: 100px;
214}
215.box120 {
216    width: 120px;
217}
218.box140 {
219    width: 140px;
220}
221.box145 {
222    width: 145px;
223}
224.box150 {
225    width: 150px;
226}
227.box240 {
228    width: 240px;
229}
230.box300 {
231    width: 300px;
232}
233.box320 {
234    width: 320px;
235}
236.box350 {
237    width: 350px;
238}
239.box380 {
240    width: 380px;
241}
242
243/* フォームが縦に重なり合う場合に併用する余白 */
244.top {
245    margin-bottom: 5px;
246}
247
248.ng_top {
249    margin-bottom: 0 !important;
250}
251
252
253/* タイトル
254----------------------------------------------- */
255h2.title {
256    margin-bottom: 10px;
257    padding: 8px;
258    border-top: solid 1px #ebeced;
259    color: #f60;
260    background: url("../img/background/bg_tit_sub_01.jpg") repeat-x left bottom;
261    background-color: #fef3d8;
262    font-size: 170%;
263}
264
265#one_maincolumn .sub_area h3 ,
266#two_maincolumn_right .sub_area h3 ,
267#two_maincolumn_left .sub_area h3 ,
268#three_maincolumn .sub_area h3 ,
269#undercolumn_login .login_area h3 ,
270#undercolumn_shopping h3 ,
271#mypagecolumn h3 ,
272#undercolumn_cart h3 {
273    margin: 0 0 10px 0;
274    padding: 5px 0 10px;
275    color: #f60;
276    background: url("../img/background/line_01.gif") repeat-x left bottom;
277    font-size: 120%;
278}
279
280div#undercolumn_login .login_area h4 {
281    padding-left: 15px;
282    background: url("../img/icon/ico_arrow_05.gif") no-repeat left;
283}
284
285
286/* ==============================================
287 ヘッダー
288=============================================== */
289/* レイアウト
290----------------------------------------------- */
291#header_wrap {
292    border-top: solid 3px #f90;
293    min-height: 82px;
294    background: url("../img/common/bg_header.gif") repeat-x bottom #fffaf0;
295}
296#header {
297    margin: auto;
298    width: 980px;
299}
300#logo_area {
301    padding-left: 10px;
302    float: left;
303    width: 390px;
304    text-align: left;
305}
306#header_utility {
307    float: right;
308    width: 580px;
309}
310
311#errorHeader {
312    color: #F00;
313    font-weight: bold;
314    font-size: 12px;
315    background-color: #FEB;
316    text-align: center;
317    padding: 5px;
318}
319
320/* ロゴ
321----------------------------------------------- */
322#site_description {
323    font-size: 90%;
324}
325#logo_area h1 {
326    width: 378px;
327    height: 33px;
328}
329#logo_area h1 span {
330    display: none; /* テキストロゴ非表示 */
331}
332
333
334/* ヘッダーナビ
335----------------------------------------------- */
336div#header_navi {
337    float: right;
338    width: 409px;
339    height: 38px;
340}
341div#header_navi ul li {
342    display: block;
343    float: left;
344}
345div#header_navi ul li.mypage,
346div#header_navi ul li.entry {
347    margin-top: 6px;
348}
349
350
351/* ==============================================
352 フッター
353=============================================== */
354#footer_wrap {
355    margin: 0 auto;
356    width: 980px;
357    height: 80px;
358    background: #fff;
359}
360#footer {
361    margin: auto;
362    padding-top: 10px;
363    border-top: solid 1px #ccc;
364    width: 950px;
365}
366#pagetop {
367    width: 210px;
368    float: right;
369    text-align: right;
370}
371#copyright {
372    width: 740px;
373    float: left;
374    text-align: left;
375    font-size: 97%;
376}
377
378
379/* ==============================================
380 パーツ
381=============================================== */
382/* ボタン
383----------------------------------------------- */
384.btn_area {
385    margin-top: 10px;
386    width: 100%;
387    text-align: center;
388}
389
390.btn_area li {
391    padding-right: 10px;
392    display: inline;
393}
394
395
396/* 完了メッセージ
397----------------------------------------------- */
398div#complete_area {
399    margin-bottom: 20px;
400}
401div#complete_area .message ,
402div#undercolumn_entry .message {
403    margin-bottom: 20px;
404    line-height: 150%;
405    font-weight: bold;
406    font-size: 120%;
407}
408div#complete_area .shop_information {
409    margin-top: 40px;
410    padding: 20px 0 0 0;
411    border-top: solid 1px #ccc;
412}
413div#complete_area .shop_information .name {
414    margin-bottom: 10px;
415    font-weight: bold;
416    font-size: 140%;
417}
418
419
420/* Tipsy
421----------------------------------------------- */
422.tipsy { padding: 5px; font-size: 10px; position: absolute; z-index: 100000; }
423  .tipsy-inner { padding: 5px 8px 4px 8px; background-color: black; color: white; max-width: 200px; text-align: center; }
424  .tipsy-inner { border-radius: 3px; -moz-border-radius:3px; -webkit-border-radius:3px; }
425  .tipsy-arrow { position: absolute; background: url('../img/ajax/tipsy.gif') no-repeat top left; width: 9px; height: 5px; }
426  .tipsy-n .tipsy-arrow { top: 0; left: 50%; margin-left: -4px; }
427    .tipsy-nw .tipsy-arrow { top: 0; left: 10px; }
428    .tipsy-ne .tipsy-arrow { top: 0; right: 10px; }
429  .tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -4px; background-position: bottom left; }
430    .tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; background-position: bottom left; }
431    .tipsy-se .tipsy-arrow { bottom: 0; right: 10px; background-position: bottom left; }
432  .tipsy-e .tipsy-arrow { top: 50%; margin-top: -4px; right: 0; width: 5px; height: 9px; background-position: top right; }
433  .tipsy-w .tipsy-arrow { top: 50%; margin-top: -4px; left: 0; width: 5px; height: 9px; }
434
Note: See TracBrowser for help on using the repository browser.