Changeset 7436

Show
Ignore:
Timestamp:
03/16/09 13:21:07 (18 months ago)
Author:
stoomey
Message:

Updated CSS and added a new style ("gutter") to fix the broken general comment and reply to comment form display on IE6 and IE7.

References #1148

Location:
head/ambra/webapp/src/main/webapp
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • head/ambra/webapp/src/main/webapp/css/annotation.css

    r7360 r7436  
    7373div#cmtContainer.minrcrctn div#viewCmtDetail { border-top-color:#f00; border-bottom-color:#f00; } 
    7474 
     75div#cmtContainer div#viewCIStatement { padding-top:0; } 
     76div#cmtContainer div#viewCIStatement div.cis, 
     77div.citation div.cis,  /* div.citation targets cis in formal corrections, just in case */ 
     78blockquote div.cis { border-top:1px solid #ccc; } 
     79div.citation div.cis { margin-top: 5px; padding-top:5px; } 
     80div#cmtContainer div#viewCIStatement div.cis { padding-top: 5px; font-size:0.9em; } 
     81blockquote div.cis { line-height:1.5em; padding:5px 0; } 
     82 
     83 
    7584div.dialog .posting.pane{ background: none; } 
    7685div.comment div.comment{ margin: 10px 0; padding-left: 20px; border-left: 4px solid #999; background-color: #eee;} 
     
    135144.dialog legend, 
    136145.post legend    { display: none; } 
    137 .pane .error    { padding:5px; border:1px solid #c00; background-color: #fff; font-style: normal; } 
     146.pane .error    { margin-bottom:5px; padding:5px; border:1px solid #c00; background-color: #fff; font-style: normal; } 
    138147 
    139148.dialog .response { width: 100%; height: 8em; overflow: auto; } 
     
    253262div.response textarea, 
    254263div.response input.title { width:33em; } 
     264div.posting td.coi { vertical-align:bottom; } 
    255265div.posting td.coi textarea { height:5em; } 
    256266div.posting td.coi ul li { list-style-type:none; } 
     
    259269div.posting td.coi ul li > label { display:block; } /* hidden from IE6 */ 
    260270div.posting td.coi ul li label input { float:left; margin-right:0.5em; margin-bottom:1em; } 
     271div.response td { width:50%; } 
     272div.response td.gutter { width:1%; } 
    261273div.response td.coi ul li label input { margin-bottom:0; } 
    262 div.response table.layout td.coi { vertical-align:bottom; } 
    263274div.annotate div.instructions ol li { list-style-position:inside; } 
    264 div.response table.layout {width:68em; margin:0 5px; } 
    265 div.response table.layout td { width:5px; } /* compresses table cells around content in IE */ 
     275div.response table.layout { width:69em; margin:0 5px; } 
    266276table.layout td.buttons { text-align:right; vertical-align:bottom; } 
    267 .buttons input { color:#333; margin:0 5px; } 
     277.buttons input { color:#333; margin:0 0 0 5px; } 
    268278.buttons input.primary { font-weight:bold; } 
    269279 
  • head/ambra/webapp/src/main/webapp/discussion/startDiscussion.ftl

    r7362 r7436  
    5757                  <textarea id="responseArea" title="Enter your comment..." class="response" name="responseArea" >Enter your comment...</textarea> 
    5858                </td> 
    59                 <td>&nbsp;</td> 
     59                <td class="gutter">&nbsp;</td> 
    6060                <td class="coi"> 
    6161                  <fieldset> 
  • head/ambra/webapp/src/main/webapp/widget/discussionResponse.ftl

    r7362 r7436  
    4444            <textarea id="responseArea" title="Enter your response..." class="response" name="responseArea" >Enter your response...</textarea> 
    4545          </td> 
    46           <td>&nbsp;</td> 
     46          <td class="gutter">&nbsp;</td> 
    4747          <td class="coi"> 
    4848            <fieldset>