Dotclear

Changeset 2002:a0de6679a058


Ignore:
Timestamp:
09/22/13 12:09:07 (11 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Tableaux responsive. Poke jcDenis :-)

Files:
17 edited

Legend:

Unmodified
Added
Removed
  • admin/blogs.php

    r1926 r2002  
    133133           
    134134          echo 
     135          '<div class="table-outer">'. 
    135136          '<table class="clear"><caption class="hidden">'.__('Blogs list').'</caption><tr>'. 
    136137          '<th scope="col" class="nowrap">'.__('Blog id').'</th>'. 
     
    145146          } 
    146147           
    147           echo '</table>'; 
     148          echo '</table></div>'; 
    148149           
    149150          echo $pager->getLinks(); 
  • admin/langs.php

    r1553 r2002  
    173173{ 
    174174     echo 
    175      '<table class="clear plugins"><tr>'. 
     175     '<table class="table-outer clear">'. 
     176     '<table class="plugins"><tr>'. 
    176177     '<th>'.__('Language').'</th>'. 
    177178     '<th class="nowrap">'.__('Action').'</th>'. 
     
    202203          echo '</td></tr>'; 
    203204     } 
    204      echo '</table>'; 
     205     echo '</table></div>'; 
    205206} 
    206207 
  • admin/plugins.php

    r1622 r2002  
    252252     echo 
    253253     '<h3>'.__('Activated plugins').'</h3>'. 
    254      '<table class="clear plugins"><tr>'. 
     254     '<table class="table-outer clear">'. 
     255     '<table class="plugins"><tr>'. 
    255256     '<th>'.__('Plugin').'</th>'. 
    256257     '<th class="nowrap">'.__('Version').'</th>'. 
     
    296297     } 
    297298     echo 
    298      '</table>'; 
     299     '</table></div>'; 
    299300} 
    300301 
     
    305306     echo 
    306307     '<h3>'.__('Deactivated plugins').'</h3>'. 
    307      '<table class="clear plugins"><tr>'. 
     308     '<table class="clear table-outer">'. 
     309     '<table class="plugins"><tr>'. 
    308310     '<th>'.__('Plugin').'</th>'. 
    309311     '<th class="nowrap">'.__('Action').'</th>'. 
     
    339341     } 
    340342     echo 
    341      '</table>'; 
     343     '</table></div>'; 
    342344} 
    343345 
  • admin/post.php

    r1964 r2002  
    845845{ 
    846846     echo 
     847     '<div class="table-outer">'. 
    847848     '<table class="comments-list"><tr>'. 
    848849     '<th colspan="2" class="first">'.__('Author').'</th>'. 
     
    889890     } 
    890891      
    891      echo '</table>'; 
     892     echo '</table></div>'; 
    892893} 
    893894 
  • admin/style/default.css

    r1997 r2002  
    2727     position: relative; 
    2828     padding-top: 1em; 
    29      overflow: hidden; 
     29     overflow: hidden; /* pour les hauteurs égales */ 
    3030     float: left; 
    3131     width: 100%; 
    3232     z-index: 10; 
    33      /*background: #f7f7f7 url(bg_wrapper.png) repeat-y 15.5em;*/ 
    3433     } 
    3534.with-js #wrapper { 
     
    3938     width: 100%; 
    4039     float: right; 
    41      margin-left: -15.5em; 
     40     margin-left: -14em; 
    4241     margin-top: 0; 
    4342     } 
    4443#content { 
    45      margin: 0 0 0 15.5em; 
    46      padding: .75em 1em; 
     44     margin: 0 0 0 14em; 
     45     padding: .75em 1.5em .75em 2.5em; 
    4746     background: #fff; 
    4847     } 
     
    301300     /* titre de page */ 
    302301     #content > h2 { 
    303           padding: 0 18px 6px; /* ie < 9 sucks */ 
    304           padding: 0 1.8rem .6rem; 
    305           margin: 0 -18px .5em; /* ie < 9 sucks */ 
    306           margin: 0 -1.8rem 1rem; 
     302          padding: 0 1.5em .5em 1em; 
     303          margin: 0 -1.5em .5em -1em; 
    307304          background: #fff url(bg_h2.png) repeat-x center bottom; 
    308305          } 
     
    366363     } 
    367364/* ---------------------------------------------------------------- tableaux */ 
     365.table-outer { 
     366     width: 100%; 
     367     overflow: auto; 
     368     } 
    368369table { 
    369370     font-size: 12px; /* ie < 9 sucks */ 
     
    371372     border-collapse: collapse; 
    372373     margin: 0 0 1em 0; 
     374     width: 100%; 
    373375     } 
    374376caption { 
     
    11121114     } 
    11131115     #help-button.floatable { 
    1114           border-radius: 2em; 
    1115           background-color: #f5f5f5; 
    1116           position: fixed; 
    1117           top: 10px; 
    1118           } 
     1116          border-top: 2px solid #ccc; 
     1117          border-left: 2px solid #ccc; 
     1118          border-bottom: 2px solid #ccc; 
     1119          border-bottom-left-radius: 1em; 
     1120          border-top-left-radius: 1em; 
     1121        background-color: #f5f5f5; 
     1122        position: fixed; 
     1123        top: 10px; 
     1124        } 
    11191125     .no-js #help-button { 
    11201126          top: 1em; 
     
    11251131          } 
    11261132     #content.with-help #help-button { 
    1127           right: 282px; /* ie < 9 sucks */ 
     1133          right: 280px; /* ie < 9 sucks */ 
    11281134          right: 28rem; 
    11291135          background-color: #f5f5f5; 
    11301136          position: fixed; 
    1131           top: 54px; 
     1137          top: 50px; 
    11321138          z-index: 100; 
    11331139          border-top: 2px solid #FFD478; 
     
    11451151          } 
    11461152     #content.with-help .help-content { 
    1147           padding: 0 .5em 1em; 
     1153          padding: 0 1em 1em; 
    11481154          } 
    11491155          .help-content dt { 
     
    23372343/* ------------------------------------------------------------------------------------ 
    23382344                                                                           UN POIL DE MEDIA QUERIES 
    2339 ------------------------------------------------------------------------------------ */ 
     2345------------------------------------------------------------------------------------ 
    23402346@media screen and (max-width: 920px) { 
    23412347     #top, #top h1 a { 
  • admin/users_actions.php

    r1941 r2002  
    210210          echo 
    211211          '<form action="users_actions.php" method="post" id="form-blogs">'. 
    212           '<table class="clear"><tr>'. 
     212          '<table class="table-outer clear">'. 
     213          '<table><tr>'. 
    213214          '<th class="nowrap" colspan="2">'.__('Blog ID').'</th>'. 
    214215          '<th class="nowrap">'.__('Blog name').'</th>'. 
     
    235236           
    236237          echo 
    237           '</table>'. 
     238          '</table></div>'. 
    238239          '<p class="checkboxes-helpers"></p>'. 
    239240          '<p><input type="submit" value="'.__('Set permissions').'" />'. 
  • inc/admin/lib.pager.php

    r1999 r2002  
    167167               } 
    168168               $html_block = 
    169                '<table class="clear"><caption class="hidden">'.__('Entries list').'</caption><tr>'. 
     169               '<div class="table-outer">'. 
     170               '<table><caption class="hidden">'.__('Entries list').'</caption><tr>'. 
    170171               '<th colspan="2" class="first">'.__('Title').'</th>'. 
    171172               '<th scope="col">'.__('Date').'</th>'. 
     
    175176               '<th scope="col">'.__('Trackbacks').'</th>'. 
    176177               '<th scope="col">'.__('Status').'</th>'. 
    177                '</tr>%s</table>'; 
     178               '</tr>%s</table></div>'; 
    178179                
    179180               if ($enclose_block) { 
     
    279280                
    280281               $html_block = 
    281                '<table class="clear"><caption class="hidden">'.__('Entries list').'</caption><tr>'. 
     282               '<div class="table-outer clear">'. 
     283               '<table><caption class="hidden">'.__('Entries list').'</caption><tr>'. 
    282284               '<th scope="col">'.__('Title').'</th>'. 
    283285               '<th scope="col">'.__('Date').'</th>'. 
    284286               '<th scope="col">'.__('Author').'</th>'. 
    285287               '<th scope="col">'.__('Status').'</th>'. 
    286                '</tr>%s</table>'; 
     288               '</tr>%s</table></div>'; 
    287289                
    288290               if ($enclose_block) { 
     
    377379               }               
    378380               $html_block = 
     381               '<div class="table-outer">'. 
    379382               '<table><caption class="hidden">'.__('Comments and trackbacks list').'</caption><tr>'. 
    380383               '<th colspan="2" scope="col" abbr="comm" class="first">'.__('Type').'</th>'. 
     
    383386               '<th scope="col" class="txt-center">'.__('Status').'</th>'. 
    384387               '<th scope="col" abbr="entry">'.__('Entry title').'</th>'. 
    385                '</tr>%s</table>'; 
     388               '</tr>%s</table></div>'; 
    386389 
    387390               if ($enclose_block) { 
     
    485488                
    486489               $html_block = 
    487                '<table class="clear"><caption class="hidden">'.__('Users list').'</caption><tr>'. 
     490               '<div class="table-outer clear">'. 
     491               '<table><caption class="hidden">'.__('Users list').'</caption><tr>'. 
    488492               '<th colspan="2" scope="col" class="first">'.__('Username').'</th>'. 
    489493               '<th scope="col">'.__('First Name').'</th>'. 
     
    491495               '<th scope="col">'.__('Display name').'</th>'. 
    492496               '<th scope="col" class="nowrap">'.__('Entries (all types)').'</th>'. 
    493                '</tr>%s</table>'; 
     497               '</tr>%s</table></div>'; 
    494498                
    495499               if ($enclose_block) { 
  • plugins/aboutConfig/index.php

    r1553 r2002  
    134134 
    135135<?php 
    136 $table_header = '<table class="settings" id="%s"><caption class="as_h3">%s</caption>'. 
     136$table_header = '<div class="table-outer"><table class="settings" id="%s"><caption class="as_h3">%s</caption>'. 
    137137'<thead>'. 
    138138'<tr>'."\n". 
     
    144144'</thead>'."\n". 
    145145'<tbody>'; 
    146 $table_footer = '</tbody></table>'; 
     146$table_footer = '</tbody></table></div>'; 
    147147 
    148148$settings = array(); 
  • plugins/antispam/index.php

    r1941 r2002  
    185185 
    186186     echo 
     187     '<div class="table-outer">'. 
    187188     '<table class="dragable">'. 
    188189     '<caption class="as_h3">'.__('Available spam filters').'</caption>'. 
     
    219220     } 
    220221     echo 
    221      '</tbody></table>'. 
     222     '</tbody></table></div>'. 
    222223     '<p>'.form::hidden('filters_order',''). 
    223224     $core->formNonce(). 
  • plugins/blogroll/edit.php

    r1941 r2002  
    154154     '<div class="col70 last-col">'. 
    155155     '<h3>'.__('XFN information').'</h3>'. 
     156     '<div class="table-outer">'. 
    156157     '<table class="noborder">'. 
    157158      
     
    235236     '</p></td>'. 
    236237     '</tr>'. 
    237      '</table>'. 
     238     '</table></div>'. 
    238239      
    239240     '</div>'. 
  • plugins/blogroll/index.php

    r1553 r2002  
    212212 
    213213<form action="plugin.php" method="post" id="links-form"> 
    214 <table class="maximal dragable"> 
     214<div class="table-outer"> 
     215<table class="dragable"> 
    215216<thead> 
    216217<tr> 
     
    253254?> 
    254255</tbody> 
    255 </table> 
     256</table></div> 
    256257 
    257258<div class="two-cols"> 
  • plugins/daInstaller/inc/lib.da.installer.ui.php

    r1568 r2002  
    5252                
    5353               $html_block = 
    54                     '<table summary="modules" class="maximal">'. 
     54                    '<div class="table-outer">'. 
     55                    '<table caption="modules" class="maximal">'. 
    5556                    '<thead>'. 
    5657                    '<tr>'. 
     
    6263                    '</thead>'. 
    6364                    '<tbody>%s</tbody>'. 
    64                     '</table>'; 
     65                    '</table></div>'; 
    6566                
    6667               echo '<p class="pagination">'.__('Page(s)').' : '.$pager->getLinks().'</p>'; 
     
    206207          $html_block = 
    207208               '<form action="'.$url.'" method="post">'. 
    208                '<table summary="upd-%1$s" class="maximal">'. 
     209               '<div class="table-outer">'. 
     210               '<table caption="upd-%1$s" class="maximal">'. 
    209211               '<thead>'. 
    210212               '<tr>'. 
     
    215217               '</thead>'. 
    216218               '<tbody>%2$s</tbody>'. 
    217                '</table>'. 
     219               '</table></div>'. 
    218220               '<div class="two-cols">'. 
    219221               '<p class="col checkboxes-helpers"></p>'. 
  • plugins/pages/list.php

    r2000 r2002  
    3333               }               
    3434               $html_block = 
     35               '<div class="table-outer">'. 
    3536               '<table class="maximal dragable"><thead><tr>'. 
    3637               '<th colspan="3">'.__('Title').'</th>'. 
     
    4041               '<th>'.__('Trackbacks').'</th>'. 
    4142               '<th>'.__('Status').'</th>'. 
    42                '</tr></thead><tbody id="pageslist">%s</tbody></table>'; 
     43               '</tr></thead><tbody id="pageslist">%s</tbody></table></div>'; 
    4344                
    4445               if ($enclose_block) { 
  • plugins/simpleMenu/index.php

    r1973 r2002  
    461461     // Entête table 
    462462     echo  
    463           '<table class="maximal dragable">'. 
     463          '<div class="table-outer">'. 
     464          '<table class="dragable">'. 
    464465          '<caption>'.__('Menu items list').'</caption>'. 
    465466          '<thead>'. 
     
    495496     } 
    496497     echo '</tbody>'. 
    497           '</table>'; 
     498          '</table></div>'; 
    498499     if (!$step) { 
    499500          echo '<div class="two-cols">'; 
  • plugins/tags/tags.php

    r1358 r2002  
    6262} 
    6363 
    64 $table = '<div class="col"><table class="tags">%s</table></div>'; 
     64$table = '<div class="col"><div class="table-outer"><table class="tags">%s</table></div></div>'; 
    6565 
    6666if ($cols[0]) 
  • plugins/userPref/index.php

    r1553 r2002  
    130130 
    131131<?php  
    132 $table_header = '<table class="prefs" id="%s"><caption class="as_h3">%s</caption>'. 
     132$table_header = '<div class="table-outer"><table class="prefs" id="%s"><caption class="as_h3">%s</caption>'. 
    133133'<thead>'. 
    134134'<tr>'."\n". 
     
    140140'</thead>'."\n". 
    141141'<tbody>'; 
    142 $table_footer = '</tbody></table>'; 
     142$table_footer = '</tbody></table></div>'; 
    143143 
    144144$prefs = array(); 
  • themes/ductile/_config.php

    r1622 r2002  
    454454echo '<fieldset><legend>'.__('Stickers').'</legend>'; 
    455455 
    456 echo '<table class="dragable">'.'<caption>'.__('Stickers (footer)').'</caption>'. 
     456echo  
     457'<div class="table-outer">'. 
     458'<table class="dragable">'.'<caption>'.__('Stickers (footer)').'</caption>'. 
    457459'<thead>'. 
    458460'<tr>'. 
     
    478480echo 
    479481'</tbody>'. 
    480 '</table>'; 
     482'</table></div>'; 
    481483 
    482484echo '</fieldset>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map