Changeset 5046


Ignore:
Timestamp:
Dec 22, 2008, 1:13:56 PM (15 years ago)
Author:
Catalin BALAN
Message:

MenusPlugin: - Applied #4264 patch. Thank you Izzy

Location:
menusplugin/0.11/tracmenus/htdocs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • menusplugin/0.11/tracmenus/htdocs/css/tracmenus.css

    r5021 r5046  
    6868  text-align: left;
    6969}
     70.sf-menu li > a {
     71  border-left: none !important;
     72}
    7073
    7174/*** arrows **/
     
    8790a > .sf-sub-indicator {  /* give all except IE6 the correct values */
    8891    top:            .8em;
    89     background-position: 0 -100px; /* use translucent arrow for modern browsers*/
     92    background-position: 0 -69px; /* use translucent arrow for modern browsers*/
    9093}
    9194/* apply hovers to modern browsers */
    9295a:focus > .sf-sub-indicator,
    9396a:hover > .sf-sub-indicator,
    94 a:active > .sf-sub-indicator,
    9597li:hover > a > .sf-sub-indicator,
    9698li.sfHover > a > .sf-sub-indicator {
    97     background-position: -10px -100px; /* arrow hovers for modern browsers*/
     99    background-position: -10px -69px; /* arrow hovers for modern browsers*/
    98100}
    99101
    100102/* point right for anchors in subs */
    101 .sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
    102 .sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }
     103.sf-menu ul .sf-sub-indicator {
     104  background-position:  -10px -33px;
     105  top: 0.5em;
     106}
     107.sf-menu ul a > .sf-sub-indicator { background-position:  0 -33px; }
    103108/* apply hovers to modern browsers */
    104109.sf-menu ul a:focus > .sf-sub-indicator,
     
    107112.sf-menu ul li:hover > a > .sf-sub-indicator,
    108113.sf-menu ul li.sfHover > a > .sf-sub-indicator {
    109     background-position: -10px 0; /* arrow hovers for modern browsers*/
     114    background-position: -10px -33px; /* arrow hovers for modern browsers*/
    110115}
     116
     117/* for the active ones, use a different arrow color */
     118li.active > a > .sf-sub-indicator {
     119  background-position: 0 -100px !important;
     120}
     121li.active a:hover > .sf-sub-indicator {
     122        background-position: -10px -100px !important; /* arrow hovers for modern browsers*/
     123}
     124/* Point right in submenus */
     125li.active ul li .sf-sub-indicator {
     126  background-position: 0 0 !important;
     127}
     128li.active ul li a:hover > .sf-sub-indicator,
     129li.active ul li a:focus > .sf-sub-indicator,
     130li.active ul li:hover > a > .sf-sub-indicator,
     131li.active ul li.sfHover > a > .sf-sub-indicator {
     132  background-position: -10px 0 !important;
     133}
     134                         
    111135
    112136/*** shadows for all but IE6 ***/
Note: See TracChangeset for help on using the changeset viewer.