moodle-an-hochschulen / moodle-theme_boost_campus

Moodle 3.x Boost child theme which is intended to meet the needs of university campuses and adds several features and improvements ––– for Moodle 4.x please use our Theme Boost Union
GNU General Public License v3.0
38 stars 25 forks source link

Buttons in site administration dark with dark text #23

Closed t-schroeder closed 6 years ago

t-schroeder commented 6 years ago

I noticed that some buttons under Site administration look strange:

unbenannt

To see them you need to go to Site administration > Courses > Manage courses and categories. You also need to have a bunch of courses for the buttons to show up. Here's a script that you can put in your Moodle root and run to create enough courses to reproduce this:

<?php
define('CLI_SCRIPT', true);
require_once(dirname(__FILE__).'/config.php');
require_once($CFG->libdir.'/testing/generator/data_generator.php');

echo "Generating courses ...";
$gen = new testing_data_generator();
for ($i = 0; $i < 21; $i++) {
    $course = $gen->create_course();
    echo " $course->shortname";
}
echo "\n";
Kathrin84 commented 6 years ago

Hi, thanks for the report and the short script to reproduce. By default it looks like this: course_management This pink color is the default brand info color from Moodle core. You can change this in boost_campus with the setting: theme_boost_campus | brandinfocolor. I assume that you changed it already to the above seen dark color. So this is not a bug - you simply have to optimize your brand info color. :) Best, Kathrin