Changeset aa51ba7 in git


Ignore:
Timestamp:
2012-06-28T03:43:44Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
64b072f
Parents:
a51249d
Message:

improve switcher style

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@933 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

Location:
admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/xcache.css

    r21e7455 raa51ba7  
    3939
    4040.switcher, h1 { text-align: center; display: block; }
    41 .switcher * { color: blue; }
    42 .switcher a.active { font-weight: bold; font-size: 130%; color: black; }
     41.switcher a { color: blue; padding: 0 8px 0 8px; border: 1px solid white; border-bottom-color: black; }
     42.switcher a:hover.active
     43, .switcher a:active.active
     44, .switcher a.active { color: black; text-decoration: none; background: #99C; border-color: #99C; border-left-color: black; border-right-color: black; }
     45.switcher a:hover { background: #f0f0f0; }
     46.switcher a:active { background: #e0e0e0; }
    4347#help { display: block; float: right; }
    4448.footnote { text-align: right; font-size: 12px; }
  • admin/xcache.php

    r8f609d4 raa51ba7  
    190190        $html[] = sprintf('<a href="?%s=%s"%s>%s</a>', $name, $k, $k == $n ? ' class="active"' : '', $v);
    191191    }
    192     return implode(' ', $html);
     192    return implode('', $html);
    193193}
    194194
Note: See TracChangeset for help on using the changeset viewer.