From 0fb6a9fe5148202bf347b8543cad3db4c893957b Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 30 Apr 2013 00:54:32 +0400 Subject: [PATCH] added up/down indicators and accomanying actions... Signed-off-by: Alex A. Naanou --- ui/index.html | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/ui/index.html b/ui/index.html index 87399057..8856b30c 100755 --- a/ui/index.html +++ b/ui/index.html @@ -136,6 +136,56 @@ } +.up-indicator, +.down-indicator { + display: block; + position: absolute; + content: ""; + top: 0px; + left: 50%; + height: 50px; + width: 100px; + margin-left: -50px; + + overflow: hidden; + + opacity: 0.7; + cursor: hand; +} +.up-indicator:after, +.down-indicator:after { + display: inline-block; + position: absolute; + content: ""; + width: 50px; + height: 50px; + + bottom: -25px; + left: 25px; + + background: blue; + + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -o-transform: rotate(45deg); + -ms-transform: rotate(45deg); + transform: rotate(45deg); +} +.down-indicator { + top: auto; + bottom: 0px; +} +.down-indicator:after { + top: -25px; + bottom: auto; +} +/* default state */ +.up-indicator, +.down-indicator { + display: none +} + + @@ -162,6 +212,14 @@ Split the API into the following sections: */ +function flashUpIndicator(){ + $('.up-indicator').fadeIn(200).fadeOut(200) +} +function flashDownIndicator(){ + $('.down-indicator').fadeIn(200).fadeOut(200) +} + + var toggleMarkedOnlyView = createCSSClassToggler('.viewer', 'marked-only', function(){ var cur = $('.current.image') @@ -610,7 +668,12 @@ Populated -->
+
+ + +
+