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

Lack of interest Navigation tabs - text color options

cclaerhout

Well-known member
#1
Remark about Navigation tabs and the text color options

When tab is selected (has been clicked), it's easy, there are some display options for "selected" tabs
Code:
Css class: navTab forums selected
Style Properties: Header and Navigation =>Selected Tab

When tab is not yet selected (hasn't been clicked) but with a mouseover and a popup displayed the color can be controled with this property
Code:
Css class: navTab showcase Popup PopupControl PopupContainerControl PopupOpen
Style Properties: Header and Navigation => Navigation Tab
Now when popup is closed (normal state), there's no option to change the text color. Well there are, but none of them work.

Let's have a look inside the template "navigation.css"
HTML:
    /* ---------------------------------------- */
    /* unselected tab, popup closed */
    
    .navTabs .navTab.PopupClosed .navLink
    {
        color: @primaryLighter;
    }
    
        .navTabs .navTab.PopupClosed:hover
        {
            background-color: @primaryMedium;
        }
        
            .navTabs .navTab.PopupClosed .navLink:hover
            {
                color: @textCtrlBackground;
            }
=> The text color is not controlled by any of the tabs or popups options but directly by global setting of the color palette.

It could have been instead for example:
Style Properties: Popup Menus => Popup Control (closed, hover)
or
Style Properties: Header and Navigation => Navigation Tab

I think it would have made more sense.