Changeset 22541 for trunk/admin/themes


Ignore:
Timestamp:
May 8, 2013, 7:23:07 AM (12 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
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/clear/theme.css

    r22516 r22541  
    118118
    119119*, *:focus, *:active, input:active, a:active, input:focus, a:focus { outline: none; -moz-outline-width: 0px; }
    120 a { color:#005E89; border-width: 0; }
    121 a:hover, a:active { color: #d54e21; border-bottom: 1px dotted #d54e21; cursor: pointer; }
     120A{
     121        color:#005E89;
     122}
     123
     124A:hover, A:active {
     125        color: #d54e21;
     126        cursor: pointer;
     127}
     128
    122129.content .navigationBar {color:#999;}
    123130ul.actions, .content form#waiting  {text-align:center;}
     
    176183#menubar li { margin: 0; padding-left:10px; }
    177184#menubar li A { display:block; }
    178 #menubar li A:hover { border:none; color:black;}
     185#menubar li A:hover {color:black; text-decoration:none}
    179186#menubar li:hover {background-color:#dbe8f3;}
    180187#menubar ul { color: #ccc; margin:0; line-height: 25px;
     
    222229#ui-datepicker-div .ui-datepicker-title-row { background-color: #eee;}
    223230#ui-datepicker-div .ui-datepicker-title-row .ui-datepicker-week-end-cell a { color: #0cc;}
    224 #ui-datepicker-div  a:hover { color: #0cccc !important; border: 0; background-color: #eee !important;}
     231#ui-datepicker-div  a:hover { color: #0cccc !important; background-color: #eee !important;}
    225232#ui-datepicker-div .ui-datepicker-header select { background-color:#bbb; color:#666; font-weight:normal;}
    226233#ui-datepicker-div .ui-datepicker-links { background-color:#ddd;}
     
    260267#pluginsMenuSeparator {border:1px solid #ddd;}
    261268
    262 #helpContent A {border-bottom:1px dotted #005E89;}
    263 #helpContent A:hover {border-bottom:1px solid #d54e21;}
    264 
    265269#pwgHead, #footer {
    266270        background-color: #ddd;
     
    270274
    271275#pwgHead A, #footer A {color:#444;}
    272 #pwgHead A:hover, #footer A:hover {color:black; border-color:black;}
     276#pwgHead A:hover, #footer A:hover {color:black;}
    273277#footer { background-image: url(images/piwigo_logo_small.png);}
    274278
  • 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;}
  • trunk/admin/themes/roma/theme.css

    r22526 r22541  
    107107*/
    108108
    109 a { color:#f70; border-width: 0; }
    110 a:hover, a:active { color: #f33; border-bottom: 1px solid #FF3363; cursor: pointer; }
     109a { color:#f70; }
     110a:hover, a:active { color: #f33; cursor: pointer; }
    111111.content .navigationBar {color:#666;}
    112112ul.actions, .content form#waiting  {text-align:center;}
     
    161161  list-style-type: square; list-style-position: inside; padding: 0; }
    162162#menubar ul.scroll { overflow-y:auto; max-height:500px;}
    163 #menubar li a:hover {border:none; text-decoration:underline;}
    164163
    165164/* jQuery tooltips */
Note: See TracChangeset for help on using the changeset viewer.