diff --git a/ui/gallery-prototype.js b/ui/gallery-prototype.js index dd25809d..693bab28 100755 --- a/ui/gallery-prototype.js +++ b/ui/gallery-prototype.js @@ -685,7 +685,6 @@ var toggleWideView = createCSSClassToggler('.viewer', 'wide-view-mode', -// XXX write CSS for this... var toggleSingleRibbonMode = createCSSClassToggler('.viewer', 'single-ribbon-mode') diff --git a/ui/gallery.css b/ui/gallery.css index 4a932481..b3ca213b 100755 --- a/ui/gallery.css +++ b/ui/gallery.css @@ -243,4 +243,13 @@ } +/* single ribbon mode */ +.single-ribbon-mode .ribbon { + opacity: 0; +} + +.single-ribbon-mode .current.ribbon { + opacity: 1; +} + diff --git a/ui/keybindings.js b/ui/keybindings.js index 4cd53ffa..51b04a72 100755 --- a/ui/keybindings.js +++ b/ui/keybindings.js @@ -3,6 +3,7 @@ var keybindings = { //191: toggleHelp, // ? 70: toggleSingleImageMode, // f + 83: toggleSingleRibbonMode, // s 13: 70, // Enter 84: toggleSingleImageModeTransitions, // t 65: toggleTransitions, // a