mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
I added class="active" to the tabs function. With this class each kind of tab has a special class and so the hover effect can be applied only to normal tabs, not to the selected and not to the inactive ones. I think it is a better signal for the user to get feedback for those tabs only which will react and change something on a click.
The behavior of the existing tabs in "standard" are not affected.
This commit is contained in:
parent
c9ff813c41
commit
a691a4ba92
@ -4160,6 +4160,10 @@ class tabobject {
|
||||
/// Set the class for the selected cell
|
||||
} else if ($selected) {
|
||||
$cstr .= ' selected';
|
||||
|
||||
/// Set the standard class for a cell
|
||||
} else {
|
||||
$cstr .= ' active';
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user