• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Duplicated Style Property found

Luxus

Well-known member
#1
Style Properties: PageNav, Link Groups and Tabs

-- PageNav Item Link (@pageNavLink)
-- PageNav Page Link (@pageNavPage)

Both properties are used for the very same CSS declaration:

page_nav.css:

Code:
    .PageNav a
    {
        @property "pageNavLink";
        text-decoration: none;
        background-color: rgb(0, 153, 0);
        border: 1px solid transparent;
        border-radius: 3px;
        text-align: center;
        @property "/pageNavLink";
       
        width: @pageNavLinkWidth;
    }
Code:
        .PageNav a
        {
            @property "pageNavPage";
            color: @secondaryDark;
            background-color: @secondaryLightest;
            border-color: @secondaryLighter;
/* url('@imagePath/xenforo/gradients/category-23px-light.png') repeat-x top*/
            @property "/pageNavPage";
        }
 

Kier

XenForo Developer
Staff member
#2
Fixed this by removing both @pageNavLink and @pageNavPage and merging their rules into a new @pageNavItem property.