Ignore:
Timestamp:
2013/07/01 10:27:17 (11 years ago)
Author:
Seasoft
Message:

#2140 (標準テンプレートのカスタマイズ性を高める)
#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/html/user_data/packages/default/css/bloc.css

    r21738 r22930  
    2020-カレンダー 
    2121-おすすめ商品 
    22     *メインカラム用 1カラム時 [one_maincolumn] 
    23     *メインカラム用 2カラム時 [two_maincolumn_left] 
    24                               [two_maincolumn_right] 
    25     *メインカラム用 3カラム時 [three_maincolumn] 
    26     *サイドカラム用           [side_column] 
    27     *商品詳細のオススメ商品   [whobought_area] 
    28  */ 
     22    * 商品詳細のオススメ商品   [whobought_area] 
     23*/ 
    2924 
    3025 
    3126/* ============================================== 
    3227ブロック共通 
     28    * #container から指定することで、ヘッダー・フッターには適用していない。 
    3329/* ============================================= */ 
    34 #container .block_body { 
    35     background-color: #fff; 
    36 } 
    3730.side_column { 
    3831    overflow-x: hidden; /* IE6 表示乱れ防止 */ 
    3932} 
    40 .side_column .block_outer { 
    41     margin: 10px 7%; 
    42 } 
    4333.side_column .block_body, 
    44 .main_column .block_body { 
     34#main_column .block_body { 
    4535    border: solid 1px #ccc; 
    4636    border-top: none; 
     
    5040    width: 145px; 
    5141} 
    52 .main_column .block_outer { 
    53     margin-bottom: 20px; 
    54 } 
    55  
     42 
     43/* 外枠 
     44----------------------------------------------- */ 
     45#container .block_outer { 
     46    padding: 0 15px 10px; /* #container の背景色を欠けさせないため敢えて padding */ 
     47} 
     48#container #main_column .block_outer { 
     49    padding: 0 0 20px; 
     50} 
     51#container .side_column .block_outer { 
     52    padding: 0 7% 10px; 
     53} 
    5654 
    5755/* リスト 
     
    108106 
    109107 
    110 /* ============================================== 
    111 ▼ヘッダー上、フッター下のブロックエリア 
    112 =============================================== */ 
    113 div#topcolumn { 
    114     margin: 0px; 
    115     clear: both; 
    116 } 
    117 div#bottomcolumn { 
    118     margin: 0px; 
    119     clear: both; 
    120 } 
    121  
    122  
    123108/* *********************************************** 
    124109▼各機能ブロックの指定 
     
    128113▼新着情報 
    129114=============================================== */ 
    130 #news_area .block_body { 
     115#news_area .news_contents { 
    131116    padding: 10px; 
    132 } 
    133 #news_area .news_contents { 
    134     padding-right: 10px; 
    135117    max-height: 260px; 
    136     height: auto !important; 
    137     height: 260px; 
     118    height: auto !important; /* hack? */ 
     119    height: 260px; /* hack? */ 
    138120    overflow: auto; 
    139121    overflow-y: scroll; 
    140122} 
    141  
    142123#news_area dl.newslist { 
    143124    background: url("../img/background/line_dot_01.gif") repeat-x bottom; 
     125} 
     126#news_area dl.newslist:last-child { 
     127    background: none; 
    144128} 
    145129#news_area dl.newslist dt { 
     
    149133    margin-bottom: 10px; 
    150134    padding-bottom: 10px; 
    151 } 
    152 #news_area dl.end { 
    153     padding: 10px 0; 
    154     background: url("") no-repeat bottom; 
    155135} 
    156136 
     
    181161▼カテゴリ 
    182162=============================================== */ 
    183 #category_area .block_body { 
     163#container #category_area .block_body { 
    184164    background-color: #fffaf0; 
    185165} 
     
    221201=============================================== */ 
    222202#guide_area { 
    223     margin-top: 1em; 
    224203    border: none; 
    225204} 
     
    290269▼検索 
    291270=============================================== */ 
    292 div#search_area .block_body { 
     271#container div#search_area .block_body { 
    293272    padding: 10px; 
    294273} 
    295 div#search_area .block_body .btn { 
     274#container div#search_area .block_body .btn { 
    296275    text-align: center; 
    297276} 
     
    352331/* 
    353332   tplファイルのマークアップが同じ項目 
    354    メインカラム用 2カラム時 [two_maincolumn_left] 
    355                             [two_maincolumn_right] 
    356    メインカラム用 3カラム時 [three_maincolumn] 
     333   メインカラム用 
    357334   サイドカラム用           [side_column] 
    358335   商品詳細のオススメ商品   [whobought_area] 
     
    362339#recommend_area .block_body, 
    363340#whobought_area .product_item { 
    364     margin-bottom: 10px; 
    365341    padding: 10px 0 10px; 
    366342    border: none; 
     
    393369----------------------------------------------- */ 
    394370/* メインカラム用 */ 
    395 .main_column #recommend_area .block_body .productImage, 
     371#main_column #recommend_area .block_body .productImage, 
    396372#whobought_area .product_item .productImage { 
    397373    margin-bottom: 10px; 
     
    409385/* 左右の振り分け 
    410386----------------------------------------------- */ 
    411 .main_column #recommend_area .product_item, 
     387#main_column #recommend_area .product_item, 
    412388#whobought_area .product_item { 
    413389    float: left; 
     
    421397----------------------------------------------- */ 
    422398/* メインカラム用 1カラム時*/ 
    423 #one_maincolumn #recommend_area .block_body .productContents { 
     399#main_column.colnum1 #recommend_area .block_body .productContents { 
    424400    float: right; 
    425401    width: 74%; 
     
    427403 
    428404/* メインカラム用 2カラム時*/ 
    429 #two_maincolumn_right #recommend_area .block_body .productContents, 
    430 #two_maincolumn_left #recommend_area .block_body .productContents, 
    431 #two_maincolumn_right #whobought_area .productContents, 
    432 #two_maincolumn_left #whobought_area .productContents { 
     405#main_column.colnum2 #recommend_area .block_body .productContents, 
     406#main_column.colnum2 #whobought_area .productContents { 
    433407    float: right; 
    434408    width: 74%; 
     
    436410 
    437411/* メインカラム用 3カラム時*/ 
    438 #three_maincolumn #recommend_area .block_body .productContents, 
    439 #three_maincolumn #whobought_area .productContents { 
     412#main_column.colnum3 #recommend_area .block_body .productContents, 
     413#main_column.colnum3 #whobought_area .productContents { 
    440414    float: right; 
    441415    width: 67%; 
Note: See TracChangeset for help on using the changeset viewer.