Changeset 2596 for trunk/admin


Ignore:
Timestamp:
Sep 26, 2008, 7:06:07 PM (16 years ago)
Author:
vdigital
Message:

Rollback on double_select horizontal scroll.

Location:
trunk/admin/template/goto
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/template/goto/default-layout.css

    r2590 r2596  
    4141
    4242/* categoryOrdering */
    43 
     43SELECT.categoryList {
     44  width: 100%;
     45}
     46 
    4447FORM#categoryOrdering {
    4548  padding-left: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */
     
    8588TABLE.doubleSelect TD {
    8689  padding: 0 5px;
    87   /* width: 50%; relative width does't work with horizontal scroll */
    88   display: table-cell; width:300px; min-width:300px; max-width:300px;
    89 }
    90 
    91 .hscroll {
    92  overflow-x:scroll; width:100%; min-width:100%; max-width:100%;
    93  overflow: -moz-scrollbars-horizontal; border-style: solid; border-width: 1px;
     90  width: 50%;
    9491}
    9592
    9693TABLE.doubleSelect SELECT.categoryList {
    97   height:250px; border:0;
     94  width: 100%; max-width: 100%; overflow-x: auto;
    9895}
    9996
     
    269266}
    270267
     268SELECT.categoryList {
     269  height: 20em;
     270  width: auto;
     271}
     272
    271273DIV.comment BLOCKQUOTE {
    272274  padding: 0.5em;
     
    493495  padding: 10px;
    494496}
    495 
    496 /* hack  tout sauf IE7 */
    497 html>/**/body TABLE.doubleSelect SELECT.categoryList {
    498   min-width: 100%;
    499 }
    500 /* Only IE7 */
    501 *+html  .right {
    502   left: -320px; position: relative; z-index: 99;
    503 }
  • trunk/admin/template/goto/double_select.tpl

    r2590 r2596  
    44    <td>
    55      <h3>{$L_CAT_OPTIONS_TRUE}</h3>
    6       <div class="hscroll">
    7         <select class="categoryList" name="cat_true[]" multiple="multiple" size="30">
    8           {html_options options=$category_option_true selected=$category_option_true_selected}
    9         </select>
    10       </div>
     6      <select class="categoryList" name="cat_true[]" multiple="multiple" size="30">
     7        {html_options options=$category_option_true selected=$category_option_true_selected}
     8      </select>
    119      <p><input class="submit" type="submit" value="&raquo;" name="falsify" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p>
    1210    </td>
    1311
    1412    <td>
    15       <div class="right">
    16         <h3>{$L_CAT_OPTIONS_FALSE}</h3>
    17         <div class="hscroll">
    18           <select class="categoryList" name="cat_false[]" multiple="multiple" size="30">
    19             {html_options options=$category_option_false selected=$category_option_false_selected}
    20           </select>
    21         </div>
    22         <p><input class="submit" type="submit" value="&laquo;" name="trueify" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p>
    23       </div>
    24       </td>
     13      <h3>{$L_CAT_OPTIONS_FALSE}</h3>
     14      <select class="categoryList" name="cat_false[]" multiple="multiple" size="30">
     15        {html_options options=$category_option_false selected=$category_option_false_selected}
     16      </select>
     17      <p><input class="submit" type="submit" value="&laquo;" name="trueify" style="font-size:15px;" {$TAG_INPUT_ENABLED}/></p>
     18    </td>
    2519  </tr>
    2620</table>
Note: See TracChangeset for help on using the changeset viewer.