moodle 3.7 to moodle 3.11 upgrade issue for lambda theme - Administrator block issue

moodle 3.7 to moodle 3.11 upgrade issue for lambda theme - Administrator block issue

von Yuvaraj Balusamy -
Anzahl Antworten: 5

aria-expanded image showing multiple time .


3.7 Moodle version screen shot


3.11 upgrade version issue





Mittelwert:  -
Als Antwort auf Yuvaraj Balusamy

Re: moodle 3.7 to moodle 3.11 upgrade issue for lambda theme - Administrator block issue

von Miguel Braga -

Dear Yuvaraj Balusamy,

You can solve this by adding custom CSS in your Lambda theme config.

Go to themes and in lambda config add to custom css the following:

.block_settings .block_tree [aria-expanded="true"] {

background-image: url(/theme/image.php/lambda/core/1665421188/t/expanded);

background-repeat: no-repeat;

}

.block_settings .block_tree [aria-expanded="false"] {

background-image: url(/theme/image.php/lambda/core/1665421861/t/collapsed);

background-repeat: no-repeat;

}

.block_navigation .block_tree [aria-expanded="true"] {

background-image: url(/theme/image.php/lambda/core/1665421890/t/expanded);

background-repeat: no-repeat;

}

.block_navigation .block_tree [aria-expanded="false"] {

background-image: url(/theme/image.php/lambda/core/1665421890/t/expanded);

background-repeat: no-repeat;

}


You get the logic!


Miguel

Als Antwort auf Miguel Braga

Re: moodle 3.7 to moodle 3.11 upgrade issue for lambda theme - Administrator block issue

von Gareth J Barnard -
Nutzerbild von Core developers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Plugin developers
Dear Miguel,

That's not a solution as '1665421890' is a generated theme revision number that relates to the server instance and changes when you do things like 'Purge all caches' and save settings.

G
Als Antwort auf Gareth J Barnard

Re: moodle 3.7 to moodle 3.11 upgrade issue for lambda theme - Administrator block issue

von Miguel Braga -
You are right! How could I not see this...
Gareth following this logic, in the sense that you can see what the CSS affects (the repetition of the arrow image), do you think we can target the "tree" symbol correctly?

M
Als Antwort auf Miguel Braga

Re: moodle 3.7 to moodle 3.11 upgrade issue for lambda theme - Administrator block issue

von Gareth J Barnard -
Nutzerbild von Core developers Nutzerbild von Particularly helpful Moodlers Nutzerbild von Plugin developers
Yes, but you have to change the theme CSS before its pre-processed in the standard way for specifying theme pix in CSS.
Als Antwort auf Miguel Braga

Re: moodle 3.7 to moodle 3.11 upgrade issue for lambda theme - Administrator block issue

von Yuvaraj Balusamy -

 Its working. thank you very much.....🤗

I did upgrade now moodle 3.9 to moodle 4.1