Adaptable theme navigation tab colour - text and tab colours

Re: Adaptable theme navigation tab colour - text and tab colours

by Gareth J Barnard -
Number of replies: 1
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Given the theme CSS:

.nav-tabs > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 4px 4px 0 0;
    color: setting:maincolor;
}

.nav-tabs > li > a:hover {
    background-color: setting:maincolor !important;
    color: #fff !important;
    text-decoration: none;
}

.nav-tabs > .active > a,
.nav-tabs > .active > a:hover,
.nav-tabs > .active > a:focus {
    color: #fff !important;
    background-color: setting:maincolor;
    border-bottom-color: transparent;
    cursor: pointer;
}

.nav-tabs > .active > a:focus {
    color: setting:fontcolor !important;
}

Then the background and colour are set by the 'maincolor' setting with 'fontcolor' being used on an active state.  If this is problematic for you, then write your own custom CSS to override them.

Average of ratings: Useful (1)
In reply to Gareth J Barnard

Re: Adaptable theme navigation tab colour - text and tab colours

by Chris Phillips -
Thanks Gareth

I had hoped that it was possible using the web interface settings ... after all ... Adaptable seems to have color pickers to choose everything!

Custom css it had to be then!