Changeset 391

Show
Ignore:
Timestamp:
04/22/07 02:52:42 (1 year ago)
Author:
jlong
Message:

mental: really fixed problems with fieldset widths on ie6 (closes #495) [Chris Parish]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/mental/radiant/app/views/admin/layout/edit.rhtml

    r388 r391  
    1515      <table class="fieldset" cellpadding="0" cellspacing="0" border="0"> 
    1616        <tr> 
    17           <td class="label"><label for="layout_content_type">Content-Type</label></td> 
     17          <td class="label"><label for="layout_content_type">Content&#8209;Type</label></td> 
    1818          <td class="field"><%= text_field "layout", "content_type", :class => 'textbox', :maxlength => 40 %></td> 
    1919        </tr> 
  • branches/mental/radiant/app/views/admin/user/edit.rhtml

    r362 r391  
    2929    </tr> 
    3030    <tr> 
    31       <td class="label"><label for="user_password_confirmation">Confirm Password</label></td> 
     31      <td class="label"><label for="user_password_confirmation">Confirm&nbsp;Password</label></td> 
    3232      <td class="field"><%= password_field "user", "password_confirmation", :class => 'textbox', :value => '', :maxlength => 40 %></td> 
    3333    </tr> 
  • branches/mental/radiant/public/stylesheets/admin/main.css

    r390 r391  
    314314#content .form-area .row { 
    315315  clear: both; 
    316   margin-top: 1em
     316  margin: 1em 0
    317317  width: 100%; 
    318318} 
     
    330330#content .form-area .fieldset { 
    331331  margin-right: .5em; 
    332 } 
    333 #content .form-area .fieldset td { 
    334   padding-right: .5em; 
    335332} 
    336333#content .form-area .error-with-field .error { 
     
    349346#content table.fieldset { 
    350347  border-bottom: 1px solid #DFD3C3; 
    351   margin-bottom: 1.5em; 
     348  margin-bottom: .3em; 
    352349  width: 100%; 
    353350} 
     
    359356#content table.fieldset td.label { 
    360357  padding-top: 10px; 
     358  padding-right: 8px; 
    361359  vertical-align: top; 
    362   text-align: right; 
    363   width: 20%; 
     360  whitespace: nowrap; 
     361  width: 1%; 
     362  text-align: left; 
    364363} 
    365364#content table.fieldset td.label .optional { 
    366365  color: #929488; 
    367366} 
    368 #content table.fieldset td.field .textbox { 
    369   width: 100%; 
     367#content table.fieldset td.field { 
     368  padding-left: 0px; 
     369  padding-right: 10px; 
     370  text-align: right; 
     371
     372#content #extended-metadata .fieldset td.field { 
     373  width: 100%; 
     374
     375#content table.fieldset td.field .textbox, 
     376#content table.fieldset td.field textarea { 
     377  width: 99.5%; 
     378  margin-right: -5px; 
    370379} 
    371380#content table.fieldset td.help { 
    372381  background-color: #F5F1E2; 
    373382  font-size: 80%; 
    374   padding-left: 10px; 
    375   width: 40%; 
     383  padding: 0 10px; 
     384  width: 31%; 
    376385} 
    377386#content table.fieldset input { 
     
    383392  padding-top: 4px; 
    384393  width: 10em; 
     394  text-align: left; 
    385395} 
    386396#content table.fieldset textarea { 
     
    444454  border-top-width: 0; 
    445455} 
    446 #content textarea { 
     456#content .textarea { 
    447457  height: 280px; 
    448458  border: 1px solid #cdc295;