.loading { position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background-color: white; color: gray; opacity: 1.0; z-index: 9000; } .loading * { color: gray; } .image { float: left; width: 350px; height: 350px; background: no-repeat 50% black; background-size: contain; opacity: 0.3; cursor: hand; } .mock-image { background: blue; } .demo-buttons { margin: 15px border: groove 2px; opacity: 0.2; } .demo-buttons:hover { opacity: 1; } .viewer { position: relative; width: 900px; height: 500px; background: white; } .controller, .controller-mini { position: absolute; overflow: hidden; width: 50px; height: 100%; /* keep these on top of the normal elements but below the high * visibility 9000+ crowd... */ z-index: 5000; opacity: 0.5; } .controller-mini { width: 0px; } .hidden-controls .controller-mini { width: 25px; } .controller.left { left: 0px; } .controller.right { right: 0px; } .hidden-controls .controller.left { width: 0px; } .hidden-controls .controller.right { width: 0px; } .controller-mini.left { left: 0px; } .controller-mini.right { right: 0px; } .screen-button { text-align: center; width: 100%; height: 25%; color: black; -moz-user-select: none; -webkit-user-select: none; -o-user-select: none; -ms-user-select: none; user-select: none; } .controller-mini .screen-button { height: 50%; } .toggle-single, .zoom-in { border-top: solid gray 1px; height: 10%; } .toggle-single, .fit-three, .zoom-in, .zoom-out { height: 10%; } .settings, .toggle-wide { height: 5%; } .container { position: relative; overflow: hidden; float: left; width: 100%; height: 100%; } .field { position: relative; overflow: visible; top: 0px; left: 0px; margin-top: 0px; } .ribbon { height: 360px; /* XXX make this expand dynamically */ width: 100000px; overflow: visible; padding-top: 2px; padding-bottom: 2px; opacity: 0.5; } .new-ribbon { height: 0px; } .current.image { opacity: 1.0; } .current.ribbon { opacity: 1.0; } .current.ribbon .image { } /* dark background */ .dark.viewer, .dark .loading { background-color: rgb(32, 32, 32); } .dark .loading * { color: silver; } .dark .screen-button { color: silver; } .dark .image { } .dark .toggle-single, .dark .zoom-in { border-top: solid gray 1px; } /* black background */ .black.viewer, .black .loading { background-color: black; } .black .loading * { color: silver; } .black .screen-button { color: white; } .black .image { } .black .toggle-single, .black .zoom-in { border-top: solid silver 1px; } /* single ribbon mode */ .single-ribbon-mode .ribbon { opacity: 0; } .single-ribbon-mode .current.ribbon { opacity: 1; }