diff --git a/ui/TODO.otl b/ui/TODO.otl index eb1c2264..3abd73ee 100755 --- a/ui/TODO.otl +++ b/ui/TODO.otl @@ -76,7 +76,7 @@ Priority work [_] 0% layout [_] 0% tablet [_] stretch to full screen - | NOTE: viewer % sizes may break things... + | NOTE: viewer 0% sizes may break things... [_] restrict to horizontal / do a different vertical layout [_] make buttons semi-transparent and same color as bg in all modes | just like single image mode... @@ -102,6 +102,7 @@ Priority work [_] 0% native client [_] android [_] 8% Preview II (optional features) + [_] option to disable processor intensive features [_] 80% drag/move action... [X] basic infrastructure [X] action: center current image diff --git a/ui/gallery.css b/ui/gallery.css index 860df80b..348694a4 100755 --- a/ui/gallery.css +++ b/ui/gallery.css @@ -61,6 +61,7 @@ .viewer { + position: relative; width: 900px; height: 500px; border: solid blue 5px; @@ -69,25 +70,39 @@ .controller { + position: absolute; + height: 500px; width: 50px; - float: left; - background: silver; + + /* keep these on top of the normal elements but below the high + * visibility 9000+ crowd... + */ + z-index: 5000; -webkit-transition: all 0.2s ease; -moz-transition: all 0.2s ease; -o-transition: all 0.2s ease; -ms-transition: all 0.2s ease; transition: all 0.2s ease; + + opacity: 0.5; +} + +.controller.left { + left: 0px; +} +.controller.right { + right: 0px; } .screen-button { text-align: center; width: 100%; - height: 125px; + height: 25%; - color: white; + color: black; -moz-user-select: none; -webkit-user-select: none; @@ -102,17 +117,17 @@ .toggle-single, .zoom-in { - border-top: solid white 1px; - height: 50px; + border-top: solid gray 1px; + height: 10%; } .toggle-single, .fit-three, .zoom-in, .zoom-out { - height: 50px; + height: 10%; } .settings, .toggle-wide { - height: 25px; + height: 5%; } .promote { @@ -154,8 +169,12 @@ overflow: hidden; float: left; + width: 100%; + height: 100%; + /* width: 800px; height: 500px; + */ -webkit-transition: all 0.2s ease; -moz-transition: all 0.2s ease; diff --git a/ui/gallery.html b/ui/gallery.html index 22f834d2..99ec4c3a 100755 --- a/ui/gallery.html +++ b/ui/gallery.html @@ -62,7 +62,7 @@ $(document).ready(setup);