gjbarnard / moodle-theme_foundation

Foundation theme for Moodle.
GNU General Public License v3.0
8 stars 0 forks source link

Header links get hidden if there is a header image #34

Open emmarichardson opened 2 months ago

emmarichardson commented 2 months ago

Is your feature request related to a problem? Please describe. I use a background image for my header. Moodle places certain search bars or links in the header menu (for example, Admin Search Bar and Course Bulk Edit link (I literally only found this functionality today because it was so hard to see with my header background!! Lol!). These links/search bars are hard to see if you have a background image. As I continue to work on becoming fully accessible, this came up as an issue...

Describe the solution you'd like An option to place additional header links somewhere else (below the header?) or give them a white/black background (or just remove the transparency) so that they are visible.

Describe alternatives you've considered I am using css to overwrite the transparent background on the admin search. Still working on the Bulk Edit link..still searching if there are more secret links that I have never seen before!!

Additional context

Screenshot 2024-04-23 at 2 28 38 PM

Versions you are currently using (please complete the following information):

gjb2048 commented 2 months ago

Example custom SCSS / CSS solution:

.header-actions-container {
    background-color: rgba(255,255,255,0.5);
}
emmarichardson commented 2 months ago

Thanks Gareth - that seems all encompassing after my separate fixes!!

gjb2048 commented 2 months ago

It isn't perfect Emma but it's a start.

emmarichardson commented 2 months ago

My solution was image

gjb2048 commented 2 months ago

I see, but those CSS selectors are too generic and can be used elsewhere where they'd cause issues.

emmarichardson commented 2 months ago

Yes, I switched to yours - they were working but I also had not looked through every page on the site to see if issues showed up .