There is no indication of how large the mechanism is, but it appears your slideway is below the blue area?
If you want to cover it from the top, you may be able to use ordinary industrial rubber sheet material, you normally would attach it to one end the fixed part the other to the extreme end of the moving part, in the picture and using rubber sheet it could simply concertina up when the slide is fully retracted.
This is the way many small knee mills cover the ways.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.