Skip to content

Instantly share code, notes, and snippets.

@frankiekam
frankiekam / autohide.css
Created Apr 7, 2012 — forked from markward/autohide.css
AutoHide for Editing Mode on Moodle 2.X (Mark Ward & Mark Johnson Combined CSS). Why? Well, now the "Bordered static marching ants" and "fading icons" effect by Mark Ward are combined with Mark Johnson's section-level controls on topics/weeks formats, so
View autohide.css
/** To hide the icons we are using opacity as display:none makes
the buttons inaccessible.
FILTER attributes should apply to IE so long as the strict
doctype is served. Use Filter: none on clear to protect PNG alphas.
Tweak the top opacity values to get "ghost" icons rather than hiding them**/
.block .header .commands a img,
.path-course-view .section .content li .commands a img,
.path-course-view .section .content .summary a img.icon.edit{