Ignore:
Timestamp:
May 8, 2013, 7:23:07 AM (11 years ago)
Author:
rvelices
Message:

admin theme links use text-decoration on hovering instead of border-bottom (css simpler, no box sizing issues on hover ...)

Location:
trunk/admin/themes/default
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/cat_list.tpl

    r18986 r22541  
    116116      <!-- category {$category.ID} -->
    117117      <p class="albumTitle">
    118         <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="button drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}">
     118        <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}">
    119119        <strong><a href="{$category.U_CHILDREN}" title="{'manage sub-albums'|@translate}">{$category.NAME}</a></strong>
    120120      </p>
  • trunk/admin/themes/default/template/menubar.tpl

    r12427 r22541  
    3939        </span>
    4040
    41         <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="button drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}">
     41        <img src="{$themeconf.admin_icon_dir}/cat_move.png" class="drag_button" style="display:none;" alt="{'Drag to re-order'|@translate}" title="{'Drag to re-order'|@translate}">
    4242        <strong>{$block.reg->get_name()|@translate}</strong> ({$block.reg->get_id()})
    4343      </p>
  • trunk/admin/themes/default/theme.css

    r22135 r22541  
    9797TABLE.table2 {
    9898        border: 1px solid #111;
    99         margin: 1em auto;
     99        margin: 0 auto;
    100100        padding: 0;
    101101}
     
    111111TABLE.table2 THEAD TD { padding:7px 10px 3px 10px; }
    112112TABLE.table2 TR.throw { text-align: center; }
    113 TABLE.table2 { margin:0pt auto; }
    114113.sort { display:block; padding:8px 5px 0px 1px; clear: right; float:left; }
    115114
     
    302301
    303302#pwgHead A {color:#ccc;}
    304 #pwgHead A:hover {color:#fff;border-bottom:1px solid #fff}
     303#pwgHead A:hover {color:#fff}
    305304
    306305#headActions {float:right; height:36px; line-height:36px; margin-right:10px;}
    307306
    308307A {
    309         text-decoration:none;
    310         border-bottom: 0;
     308        text-decoration: none;
    311309}
    312310A:hover {
    313         border-bottom: 1px solid #FF3363;
    314 }
    315 A.button, A.button:hover {
    316         border: 0;
     311        text-decoration: underline;
    317312}
    318313IMG {
     
    494489UL.actions LI {
    495490        display: inline;
    496 }
    497 UL.actions A {
    498         border: none;
    499491}
    500492
     
    605597
    606598#footer A {color:#ccc;}
    607 #footer A:hover {color:#fff;border-bottom:1px solid #fff;}
     599#footer A:hover {color:#fff}
    608600
    609601#adminHome {
     
    617609
    618610#adminHome A {display:block; font-size:1.1em; font-weight:bold;}
    619 #adminHome A {border:none;}
     611#adminHome A {text-decoration:none;}
    620612
    621613#piwigoInfos {float:left; margin-left:140px;}
     
    817809
    818810.checkActions {text-align:left;padding:0;margin:0;}
    819 .comment A:hover {border:none;}
    820811
    821812.pluginBoxes {
     
    879870
    880871.HelpActions a { border:0; margin:0; }
    881 .HelpActions a:hover {border:0;}
    882872.HelpActions li {list-style-image:none; list-style-position:outside; list-style-type:none; text-align:center; text-indent:0pt; }
    883873
     
    949939#batchManagerGlobal ul.thumbnails div.actions {display:none;position:absolute;top:0;right:5px;color:#fff}
    950940#batchManagerGlobal ul.thumbnails div.actions a {color:#fff;}
    951 #batchManagerGlobal ul.thumbnails div.actions a:hover {border-color:#fff;}
    952941#batchManagerGlobal ul.thumbnails span.wrap1:hover div.actions {display:block;}
    953942#batchManagerGlobal #selectedMessage {padding:5px; border-radius:5px;}
    954 #batchManagerGlobal #selectSet a {border-bottom:1px dotted;}
    955943#batchManagerGlobal #applyOnDetails {font-style:italic;}
    956944#batchManagerGlobal .actionButtons {text-align:left;}
     
    958946#batchManagerGlobal #filterList li {margin-bottom:5px; list-style-type:none;}
    959947#batchManagerGlobal a.removeFilter {background: url(icon/remove_filter.png) no-repeat top left;width:7px;height:7px;display:inline-block;}
    960 #batchManagerGlobal a.removeFilter:hover {background: url(icon/remove_filter_hover.png); border:none;}
     948#batchManagerGlobal a.removeFilter:hover {background: url(icon/remove_filter_hover.png);}
    961949#batchManagerGlobal .removeFilter span {display:none}
    962950#batchManagerGlobal #applyFilterBlock {margin-top:20px;}
Note: See TracChangeset for help on using the changeset viewer.