Ignore:
Timestamp:
12/10/13 22:59:08 (6 years ago)
Author:
mistic100
Message:

display tweaks

Location:
extensions/AdminTools/template
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/AdminTools/template/public_controller.js

    r25839 r25924  
    66 
    77  var $ato = $('#ato_header'), 
    8       $ato_closed = $('#ato_header_closed'), 
    9       ato_height = 28; 
     8      $ato_closed = $('#ato_header_closed'); 
    109 
    1110  // move to whole page down or up 
    1211  function moveBody(dir, anim) { 
    13     var operator = dir=='show' ? '+=' : '-='; 
     12    var operator = dir=='show' ? '+=' : '-=', 
     13        ato_height = $ato.height(); 
    1414 
    1515    if (anim) { 
  • extensions/AdminTools/template/public_controller.tpl

    r25845 r25924  
    7171    <li><a href="#" class="icon-ato-cancel close-panel"></a></li> 
    7272  {if isset($ato.U_SITE_ADMIN)} 
    73     <li class="parent"><a href="#" class="icon-menu ato-hide-1">{'Administration'|translate}</a> 
     73    <li class="parent"><a href="#" class="icon-menu ato-min-1">{'Administration'|translate}</a> 
    7474      <ul> 
    7575        <li><a class="icon-picture" href="{$ato.U_SITE_ADMIN}batch_manager">{'Photos'|translate}</a></li> 
     
    8383  {/if} 
    8484  {if isset($ato.U_ADMIN_EDIT)} 
    85     <li class="parent"><a href="#" class="icon-pencil ato-hide-2">{'Edit'|translate}</a> 
     85    <li class="parent"><a href="#" class="icon-pencil ato-min-2">{'Edit'|translate}</a> 
    8686      <ul> 
    8787        <li><a href="#ato_quick_edit" class="icon-ato-flash edit-quick">{'Quick edit'|translate}</a></li> 
     
    9393    </li> 
    9494  {else if isset($ato.QUICK_EDIT)} 
    95     <li><a href="#ato_quick_edit" class="icon-pencil edit-quick ato-hide-2">{'Edit'|translate}</a></li> 
     95    <li><a href="#ato_quick_edit" class="icon-pencil edit-quick ato-min-2">{'Edit'|translate}</a></li> 
    9696    {if isset($ato.U_DELETE)} 
    97       <li><a class="icon-ato-cancel ato-hide-2" href="{$ato.U_DELETE}" onclick="return confirm('{'Are you sure?'|translate|escape:javascript}')">{'delete photo'|translate|ucfirst}</a></li> 
     97      <li><a class="icon-ato-cancel ato-min-2" href="{$ato.U_DELETE}" onclick="return confirm('{'Are you sure?'|translate|escape:javascript}')">{'delete photo'|translate|ucfirst}</a></li> 
    9898    {/if} 
    9999  {/if} 
    100100  {if isset($ato.U_SET_REPRESENTATIVE)} 
    101     <li {if $ato.IS_REPRESENTATIVE}class="disabled"{/if}><a class="icon-ato-trophy set-representative ato-hide-2" href="{$ato.U_SET_REPRESENTATIVE}">{'representative'|translate|ucfirst}</a></li> 
     101    <li {if $ato.IS_REPRESENTATIVE}class="disabled"{/if}><a class="icon-ato-trophy set-representative ato-min-2" href="{$ato.U_SET_REPRESENTATIVE}">{'representative'|translate|ucfirst}</a></li> 
    102102  {/if} 
    103103  {if isset($ato.U_CADDIE)} 
    104     <li {if $ato.IS_IN_CADDIE}class="disabled"{/if}><a class="icon-flag add-caddie ato-hide-2" href="{$ato.U_CADDIE}">{'Add to caddie'|translate}</a></li> 
     104    <li {if $ato.IS_IN_CADDIE}class="disabled"{/if}><a class="icon-flag add-caddie ato-min-2" href="{$ato.U_CADDIE}">{'Add to caddie'|translate}</a></li> 
    105105  {/if} 
    106106  {if isset($ato.IS_CATEGORY)} 
    107     <li><a class="icon-plus-circled ato-hide-2" href="{$ato.U_SITE_ADMIN}photos_add&amp;album={$ato.CATEGORY_ID}">{'Add Photos'|translate}</a></li> 
     107    <li><a class="icon-plus-circled ato-min-2" href="{$ato.U_SITE_ADMIN}photos_add&amp;album={$ato.CATEGORY_ID}">{'Add Photos'|translate}</a></li> 
    108108  {/if} 
    109     <li class="saved"><span class="icon-ato-ok ato-hide-1">{'Saved'|translate}</span></li> 
     109    <li class="saved"><span class="icon-ato-ok ato-min-1">{'Saved'|translate}</span></li> 
    110110 
    111111  {if isset($ato.MULTIVIEW)} 
    112     <li class="parent right multiview"><a class="icon-cog-alt ato-hide-1" href="#">{'Tools'|translate}</a> 
     112    <li class="parent right multiview"><a class="icon-cog-alt ato-min-1" href="#">{'Tools'|translate}</a> 
    113113      <ul> 
    114114        <li><label>{'View as'|translate}</label> 
     
    130130    </li> 
    131131    {if $ato.USER.id != $ato.MULTIVIEW.view_as} 
    132     <li class="right"> 
    133       &nbsp;&nbsp;{'Viewing as <b>%s</b>.'|translate:$ato.CURRENT_USERNAME} 
     132    <li class="right ato-hide-2"><span> 
     133      {'Viewing as <b>%s</b>.'|translate:$ato.CURRENT_USERNAME} 
    134134      <a href="{$ato.U_SELF}ato_view_as={$ato.USER.id}">{'Revert'|translate}</a> 
    135     </li> 
     135    </span></li> 
    136136    {/if} 
    137137  {/if} 
  • extensions/AdminTools/template/style.css

    r25871 r25924  
    213213} 
    214214 
    215 @media (max-width:640px) { 
    216   #ato_header>ul li>.ato-hide-1 { 
     215@media (max-width:900px) { 
     216  #ato_header .ato-min-1 { 
    217217    font-size:0px; 
    218218    line-height:0px; 
    219219  } 
    220   #ato_header>ul li>.ato-hide-1:before { 
     220  #ato_header .ato-min-1:before { 
    221221    margin-right:0; 
    222222  } 
    223 } 
    224  
    225 @media (max-width:500px) { 
    226   #ato_header>ul li>.ato-hide-2 { 
     223 
     224  #ato_header .ato-hide-1 { 
     225    display:none; 
     226  } 
     227} 
     228 
     229@media (max-width:750px) { 
     230  #ato_header .ato-min-2 { 
    227231    font-size:0px; 
    228232    line-height:0px; 
    229233  } 
    230   #ato_header>ul li>.ato-hide-2:before { 
     234  #ato_header .ato-min-2:before { 
    231235    margin-right:0; 
    232236  } 
    233 } 
     237 
     238  #ato_header .ato-hide-2 { 
     239    display:none; 
     240  } 
     241} 
Note: See TracChangeset for help on using the changeset viewer.