source: branches/comu-ver2/html/user_data/packages/default/css/products.css @ 18277

Revision 18277, 6.1 KB checked in by Seasoft, 15 years ago (diff)
  • 商品規格プルダウンに品切れを表示
  • 商品規格プルダウンの選択によって、関連項目を動的に更新

関連URL:  http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=3463&forum=10

  • 商品一覧と商品詳細のテンプレートをコードレベルで出来るだけ揃えた
  • 不要な処理を削除
Line 
1@charset "utf-8";
2
3
4/* 検索結果
5----------------------------------------------- */
6p.conditionarea {
7    clear: both;
8    width: 566px;
9    margin: 0 auto;
10    padding: 5px;
11    border: solid 1px #333;
12}
13
14
15/* ページ送り
16----------------------------------------------- */
17.pagenumberarea, .pagecondarea {
18    clear: both;
19    margin: 20px 0;
20    padding: 10px;
21    background-color: #f3f3f3;
22}
23
24ul.pagenumberarea {
25    height: 2.5ex;
26    padding:0px;
27}
28
29ul.pagecondarea {
30    border: 1px solid #CCCCCC;
31}
32
33ul.pagenumberarea li {
34    float: left;
35    width: 32.9%;
36}
37
38ul.pagenumberarea li.left {
39    text-align: left;
40    white-space: nowrap;
41    margin-left:10px;
42    width: 27.9%;
43}
44
45ul.pagenumberarea li.center {
46    text-align: center;
47    white-space: pre;
48    width: 27.9%
49}
50
51ul.pagenumberarea li.right {
52    float:right;
53    text-align: right;
54    white-space: nowrap;
55    width: 38.7%;
56    margin-right:10px;
57}
58
59.pagenumberarea .pagenumber{
60    color: #ff0000;
61    font-weight: bold;
62}
63
64p.pagenumberarea .number{
65    font-weight: bold;
66}
67
68/* 商品一覧 */
69
70/* タイトル
71----------------------------------------------- */
72.product h2.title {
73    border-color: #f00 #ccc;
74    background: url("../img/products/title_icon.gif") no-repeat left center;
75    background-color: #ffebca;
76}
77
78/* 商品
79----------------------------------------------- */
80div.listarea {
81    clear: both;
82    width: 580px;
83    padding: 20px 0 30px 0;
84    overflow: auto;
85    background: url("../img/common/line_580.gif") no-repeat bottom;
86}
87
88div.listphoto {
89    float: left;
90    width: 130px;
91}
92
93div.listrightblock {
94    float: right;
95    width: 440px;
96}
97
98div.listrightblock li {
99    display: inline;
100    padding: 0 0 10px 0;
101}
102
103div.listrightblock h3 {
104    width: 420px;
105    margin: 5px 0;
106    padding: 5px 10px;
107    border-bottom: 2px solid #ebebd6;
108    background-color: #f9f9ec;
109    font-size: 120%;
110}
111
112div.listrightblock h3 a {
113    font-weight: bold;
114}
115
116div.listrightblock .listcomment {
117    margin: 0 0 10px 0;
118}
119
120div.listrightblock .pricebox {
121    float: left;
122}
123
124div.listrightblock .in_cart {
125    margin: 20px auto 5px 130px;
126    padding: 10px;
127    width: 285px;
128    clear: both;
129    background-color: #ecf5ff;
130    border: 1px solid #CCCCCC;
131}
132
133div.listrightblock .quantity {
134    width: 150px;
135}
136
137div.listrightblock .btnbox {
138    margin: 0 0 10px 0;
139    padding: 1px;
140    float: right;
141}
142
143div.listrightblock dt {
144    width: 75px;
145    float: left;
146    text-align: right;
147    padding: 3px;
148    font-weight: bold;
149}
150
151div.listrightblock dd {
152    padding: 3px;
153}
154
155div.listrightblock .cartbtn {
156    clear: both;
157}
158
159div.listrightblock .cartbtn img {
160    width: 115px;
161    margin: 5px 0 0 0;
162}
163
164div.listrightblock .box54 {
165    width: 54px;
166    border: solid 1px #ccc;
167}
168
169/* 商品詳細 */
170
171/* 商品
172----------------------------------------------- */
173div#detailarea {
174    width: 580px;
175    margin: 15px 0 0 0;
176}
177
178div#detailphotoblock {
179    float: left;
180    width: 292px;
181}
182
183div#detailphotoblock p {
184    margin: 5px 0 0 0;
185}
186
187div#detailrightblock {
188    float: right;
189    width: 280px;
190}
191
192div#detailrightblock li {
193    display: inline;
194}
195
196div#detailrightblock h2 {
197    margin: 5px 0;
198    padding: 0;
199    color: #ff6600;
200    font-size: 140%;
201    font-weight: bold;
202}
203
204div#detailrightblock dl {
205    padding: 0;
206}
207
208div#detailrightblock dt {
209    font-weight: bold;
210    margin: 15px 0 0 0;
211    padding: 0 0 0 15px;
212    background: url("../img/common/arrow_gray.gif") no-repeat left center;
213}
214
215div#detailrightblock dd {
216    margin: 0 15px 0 0;
217}
218
219div#detailrightblock .box54 {
220    width: 54px;
221    border: solid 1px #ccc;
222}
223
224div#detailrightblock .btn {
225    clear: both;
226    margin: 15px 0 0 0;
227    padding: 15px 0 0 0;
228    text-align: center;
229    vertical-align: top;
230    background: url("../img/common/line_280.gif") no-repeat;
231}
232
233/* 商品共通 */
234
235.cartbtn {
236    text-align: center;
237}
238
239/* サブタイトル
240----------------------------------------------- */
241div.subarea {
242    clear: both;
243    width: 580px;
244    padding: 30px 0 0 0;
245}
246
247div.subarea h3 {
248    font-size: 120%;
249    margin: 0 0 10px 0;
250    padding: 5px 10px;
251    background-color: #e4e4e4;
252    clear: both;
253}
254
255div.subtext {
256    float: left;
257    width: 365px;
258}
259
260div.subphotoimg {
261    float: right;
262    width: 202px;
263}
264
265div.subphotoimg p {
266    margin: 5px 0 0 0;
267    text-align:right;
268}
269
270
271/* お客様の声
272----------------------------------------------- */
273div#customervoicearea {
274    clear: both;
275    width: 580px;
276    padding: 35px 0 0 0;
277}
278
279div#customervoicearea h2 {
280    padding: 0 0 10px 0;
281}
282
283div#customervoicearea .voicedate{
284    font-weight: bold;
285    margin: 10px 0 0 0;
286}
287
288div#customervoicearea .voicetitle{
289    padding: 5px 0;
290    font-size: 120%;
291    font-weight: bold;
292}
293
294div#customervoicearea li {
295    padding: 0 0 10px 0;
296    background: url("../img/common/line_580.gif") no-repeat bottom;
297}
298
299.recommend_level {
300    color: #FF0000;
301}
302
303/* トラックバック
304----------------------------------------------- */
305div#trackbackarea {
306    clear: both;
307    width: 580px;
308    padding: 35px 0 0 0;
309}
310
311div#trackbackarea h2 {
312    padding: 0 0 10px 0;
313}
314
315div#trackbackarea h3 {
316    font-size: 100%;
317    font-weight: bold;
318    padding: 0 0 10px 0;
319}
320
321div#trackbackarea .box500 {
322    width: 500px;
323    border: solid 1px #ccc;
324}
325
326/* この商品を買った人はこんな商品も買っています
327----------------------------------------------- */
328div#whoboughtarea {
329    clear: both;
330    width: 580px;
331    padding: 35px 0 0 0;
332}
333
334div.whoboughtblock {
335    clear: both;
336    width: 580px;
337    padding: 10px 0;
338    overflow: auto;
339}
340
341div.whoboughtleft {
342    float: left;
343    width: 280px;
344    padding: 10px 0;
345    position: relative;
346    background: url("../img/common/line_578.gif") no-repeat bottom;
347}
348
349div.whoboughtleft img {
350    display: block;
351    float: left;
352    margin: 0 5px 0 0;
353}
354
355div.whoboughtleft p {
356    margin: 0 0 5px 0;
357}
358
359div.whoboughtright {
360    float: right;
361    width: 280px;
362    padding: 10px 0;
363    position: relative;
364    background: url("../img/common/line_578.gif") no-repeat bottom;
365}
366
367div.whoboughtright img {
368    display: block;
369    float: left;
370    margin: 0 5px 0 0;
371}
372
373div.whoboughtright p {
374    margin: 0 0 5px 0;
375}
376
377div.whoboughtleft h3 {
378    font-size: 100%;
379}
380
381div.whoboughtright h3 {
382    font-size: 100%;
383}
Note: See TracBrowser for help on using the repository browser.