Skip to content

Instantly share code, notes, and snippets.

View markward's full-sized avatar

Mark Ward markward

View GitHub Profile
@markward
markward / autohide.css
Last active October 1, 2015 17:07
AutoHide for Editing Mode on Moodle 2.X
/** 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 img,
.path-course-view .section .content li .commands span.editing_move img,
@erikeldridge
erikeldridge / popup.html
Created May 2, 2010 01:42
A little yui 3 to launch popup
<!-- A little yui 3 to launch popup
Usage:
1. mix this in w/ your html
2. click the "click" link
3. observe popup
License: Yahoo! BSD http://gist.github.com/375593
-->