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/common.css

    r21619 r22930  
    1313} 
    1414 
    15 select { 
    16     border: solid 1px #ccc; 
    17 } 
    18  
    1915/*写真*/ 
    20 .picture { 
     16img.picture { 
    2117    border: 1px solid #ccc; 
    2218} 
     
    3632#container { 
    3733    margin: 0 auto; 
    38     padding: 0 0 30px 0; 
     34    padding: 0 0 30px; 
    3935    width: 980px; 
    4036    background: #fff; 
     
    4642 カラム指定 
    4743=============================================== */ 
    48 /* ヘッダーとフッターの上下 
    49 [注意]ブロック移動時はbloc.css内で調整が必要 */ 
     44 
     45/* メイン部 
     46----------------------------------------------- */ 
     47#main_column { 
     48    padding: 10px 0 0; 
     49} 
     50 
     51/* 1カラム時 */ 
     52#main_column.colnum1 { 
     53    margin: 0 auto; 
     54    width: 80%; 
     55} 
     56 
     57/* 2カラム時 (共通) */ 
     58#main_column.colnum2 { 
     59    width: 78%; 
     60} 
     61 
     62/* 2カラム時 (メイン部が左) */ 
     63#main_column.colnum2.left { 
     64    padding-left: 1.5%; 
     65    float: left; 
     66} 
     67 
     68/* 2カラム時 (メイン部が右) */ 
     69#main_column.colnum2.right { 
     70    padding-right: 1.5%; 
     71    float: right; 
     72} 
     73 
     74/* 3カラム時 */ 
     75#main_column.colnum3 { 
     76    padding-left: 0.5%; 
     77    width: 59%; 
     78    float: left; 
     79} 
     80 
     81/* サイドカラム 
     82----------------------------------------------- */ 
     83.side_column { 
     84    padding: 10px 0 0; 
     85} 
     86#leftcolumn { 
     87    float: left; 
     88    width: 20%; 
     89} 
     90#rightcolumn { 
     91    float: right; 
     92    width: 20%; 
     93} 
     94 
     95/* 他 
     96----------------------------------------------- */ 
     97/* ヘッダーとフッターの上下 */ 
    5098#topcolumn, 
    5199#bottomcolumn, 
    52100#footerbottomcolumn { 
    53     margin: 0 auto; 
    54     padding: 15px; 
    55     width: 950px; 
     101    margin: 0px; 
    56102    background: #fff; 
    57103    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; 
     104    clear: both; 
    100105} 
    101106 
     
    201206/* フォーム 
    202207----------------------------------------------- */ 
     208select { 
     209    border: solid 1px #ccc; 
     210} 
    203211input[type='text'], 
    204 input[type='password'], 
    205 .select { 
     212input[type='password'] { 
    206213    border: solid 1px #ccc; 
    207214    padding: 2px; 
     
    246253 
    247254/* フォームが縦に重なり合う場合に併用する余白 */ 
    248 .top { 
     255.top { /* FIXME 簡素な単語は単独で使用しない */ 
    249256    margin-bottom: 5px; 
    250 } 
    251  
    252 .ng_top { 
    253     margin-bottom: 0 !important; 
    254257} 
    255258 
     
    267270} 
    268271 
    269 #one_maincolumn .sub_area h3, 
    270 #two_maincolumn_right .sub_area h3, 
    271 #two_maincolumn_left .sub_area h3, 
    272 #three_maincolumn .sub_area h3, 
     272#main_column .sub_area h3, 
    273273#undercolumn_login .login_area h3, 
    274274#undercolumn_shopping h3, 
Note: See TracChangeset for help on using the changeset viewer.