| 
									
										
										
										
											2014-07-20 02:25:36 +04:00
										 |  |  | <!DOCTYPE html> | 
					
						
							|  |  |  | <html> | 
					
						
							|  |  |  | <head> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-07-20 03:00:24 +04:00
										 |  |  | <link rel="stylesheet" href="css/layout.css"> | 
					
						
							|  |  |  | <link rel="stylesheet" href="css/editor.css"> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-10-13 00:18:26 +04:00
										 |  |  | <!-- XXX remove before use... --> | 
					
						
							|  |  |  | <style> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-11-03 06:43:23 +03:00
										 |  |  | /* show image gid... */ | 
					
						
							| 
									
										
										
										
											2014-10-13 00:18:26 +04:00
										 |  |  | .image:after { | 
					
						
							|  |  |  | 	content: attr(gid); | 
					
						
							|  |  |  | 	display: block; | 
					
						
							|  |  |  | 	position: relative; | 
					
						
							|  |  |  | 	color: red; | 
					
						
							|  |  |  | 	margin: 10px; | 
					
						
							|  |  |  | 	width: 20px; | 
					
						
							|  |  |  | 	height: 20px; | 
					
						
							|  |  |  | 	text-align: center; | 
					
						
							|  |  |  | 	border: solid 2px red; | 
					
						
							|  |  |  | 	border-radius: 50%; | 
					
						
							|  |  |  | 	background: black; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-11-02 00:15:27 +03:00
										 |  |  | /* | 
					
						
							| 
									
										
										
										
											2014-10-13 00:18:26 +04:00
										 |  |  | .image.current { | 
					
						
							|  |  |  | 	border-color: red; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2014-11-02 00:15:27 +03:00
										 |  |  | */ | 
					
						
							| 
									
										
										
										
											2014-10-13 00:18:26 +04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-10-21 20:29:11 +04:00
										 |  |  | .shadow { | 
					
						
							| 
									
										
										
										
											2014-11-10 04:11:06 +03:00
										 |  |  | 	margin: 0px; | 
					
						
							| 
									
										
										
										
											2014-10-21 20:29:11 +04:00
										 |  |  | 	z-index: 4000; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .ui-bounds-indicators { | 
					
						
							|  |  |  | 	z-index: 5000; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-10-13 00:18:26 +04:00
										 |  |  | /* basic animation... */ | 
					
						
							| 
									
										
										
										
											2014-11-05 01:14:35 +03:00
										 |  |  | .viewer:not(.no-transitions) { | 
					
						
							|  |  |  | 	-webkit-transition: background-color 0.8s ease; | 
					
						
							|  |  |  | 	-moz-transition: background-color 0.8s ease; | 
					
						
							|  |  |  | 	-ms-transition: background-color 0.8s ease; | 
					
						
							|  |  |  | 	-o-transition: background-color 0.8s ease; | 
					
						
							|  |  |  | 	transition: background-color 0.8s ease; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-10-29 23:38:27 +03:00
										 |  |  | .viewer:not(.no-transitions) .ribbon-set:not(.no-transitions) { | 
					
						
							| 
									
										
										
										
											2014-10-18 03:36:46 +04:00
										 |  |  | 	-webkit-transition: all 0.2s linear, transform 0.2s linear; | 
					
						
							|  |  |  | 	-moz-transition: all 0.2s linear, transform 0.2s linear; | 
					
						
							| 
									
										
										
										
											2014-10-19 00:41:50 +04:00
										 |  |  | 	-ms-transition: all 0.2s linear, transform 0.2s linear; | 
					
						
							|  |  |  | 	-o-transition: all 0.2s linear, transform 0.2s linear; | 
					
						
							| 
									
										
										
										
											2014-10-18 03:36:46 +04:00
										 |  |  | 	transition: all 0.2s linear, transform 0.2s linear; | 
					
						
							| 
									
										
										
										
											2014-10-13 00:18:26 +04:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-10-29 23:38:27 +03:00
										 |  |  | .viewer:not(.no-transitions) .ribbon:not(.no-transitions) { | 
					
						
							| 
									
										
										
										
											2014-10-18 03:36:46 +04:00
										 |  |  | 	-webkit-transition: all 0.2s ease-out; | 
					
						
							|  |  |  | 	-moz-transition: all 0.2s ease-out; | 
					
						
							| 
									
										
										
										
											2014-10-19 00:41:50 +04:00
										 |  |  | 	-ms-transition: all 0.2s ease-out; | 
					
						
							|  |  |  | 	-o-transition: all 0.2s ease-out; | 
					
						
							| 
									
										
										
										
											2014-10-18 03:36:46 +04:00
										 |  |  | 	transition: all 0.2s ease-out; | 
					
						
							| 
									
										
										
										
											2014-10-13 00:18:26 +04:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-11-10 02:44:53 +03:00
										 |  |  | /* XXX not 100% sure about this... | 
					
						
							|  |  |  | */ | 
					
						
							| 
									
										
										
										
											2014-11-03 06:05:31 +03:00
										 |  |  | .current-marker:not(.no-transitions) { | 
					
						
							|  |  |  | 	-webkit-transition: left 0.2s ease-out; | 
					
						
							|  |  |  | 	-moz-transition: left 0.2s ease-out; | 
					
						
							|  |  |  | 	-ms-transition: left 0.2s ease-out; | 
					
						
							|  |  |  | 	-o-transition: left 0.2s ease-out; | 
					
						
							|  |  |  | 	transition: left 0.2s ease-out; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-10-13 00:18:26 +04:00
										 |  |  | .no-transitions { | 
					
						
							| 
									
										
										
										
											2014-10-13 06:33:22 +04:00
										 |  |  | 	-webkit-transition: none; | 
					
						
							|  |  |  | 	-moz-transition: none; | 
					
						
							| 
									
										
										
										
											2014-10-19 00:41:50 +04:00
										 |  |  | 	-ms-transition: none; | 
					
						
							|  |  |  | 	-o-transition: none; | 
					
						
							| 
									
										
										
										
											2014-10-13 06:33:22 +04:00
										 |  |  | 	transition: none; | 
					
						
							| 
									
										
										
										
											2014-10-13 00:18:26 +04:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-11-06 03:56:54 +03:00
										 |  |  | /* XXX think of a way not to use !important */ | 
					
						
							|  |  |  | .viewer.single-image-mode .ribbon { | 
					
						
							|  |  |  | 	-webkit-transition: none !important; | 
					
						
							|  |  |  | 	-moz-transition: none !important; | 
					
						
							|  |  |  | 	-ms-transition: none !important; | 
					
						
							|  |  |  | 	-o-transition: none !important; | 
					
						
							|  |  |  | 	transition: none !important; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-10-13 00:18:26 +04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-10-17 16:55:31 +04:00
										 |  |  | /* DEBUG stuff... */ | 
					
						
							| 
									
										
										
										
											2014-10-17 08:21:58 +04:00
										 |  |  | .container-center { | 
					
						
							|  |  |  | 	position: absolute; | 
					
						
							|  |  |  | 	top: 50%; | 
					
						
							|  |  |  | 	left: 50%; | 
					
						
							|  |  |  | 	width: 10px; | 
					
						
							|  |  |  | 	height: 10px; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	border-top: solid 1px black; | 
					
						
							|  |  |  | 	border-left: solid 1px black; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .container-center:after { | 
					
						
							|  |  |  | 	content: ""; | 
					
						
							|  |  |  | 	position: absolute; | 
					
						
							|  |  |  | 	top: -11px; | 
					
						
							|  |  |  | 	left: -11px; | 
					
						
							|  |  |  | 	width: 10px; | 
					
						
							|  |  |  | 	height: 10px; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	border-top: none; | 
					
						
							|  |  |  | 	border-left: none; | 
					
						
							|  |  |  | 	border-bottom: solid 1px black; | 
					
						
							|  |  |  | 	border-right: solid 1px black; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .point { | 
					
						
							|  |  |  | 	position: absolute; | 
					
						
							|  |  |  | 	width: 4px; | 
					
						
							|  |  |  | 	height: 4px; | 
					
						
							|  |  |  | 	border: solid 1px blue; | 
					
						
							|  |  |  | 	margin-top: -2px; | 
					
						
							|  |  |  | 	margin-left: -2px; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	background: yellow; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	transition-origin: 50% 50%; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	z-index: 9999; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .point { | 
					
						
							|  |  |  | 	-webkit-transition: all 0.2s linear; | 
					
						
							|  |  |  | 	-moz-transition: all 0.2s linear; | 
					
						
							|  |  |  | 	transition: all 0.2s linear; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2014-10-17 16:55:31 +04:00
										 |  |  | /* DEBUG end */ | 
					
						
							| 
									
										
										
										
											2014-10-17 08:21:58 +04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-10-13 00:18:26 +04:00
										 |  |  | </style> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-10-11 06:33:49 +04:00
										 |  |  | <!--script>
 | 
					
						
							| 
									
										
										
										
											2014-10-09 23:18:35 +04:00
										 |  |  | require('nw.gui').Window.get().showDevTools() | 
					
						
							| 
									
										
										
										
											2014-10-11 06:33:49 +04:00
										 |  |  | </script--> | 
					
						
							| 
									
										
										
										
											2014-10-09 23:18:35 +04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-07-20 03:00:24 +04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-07-21 02:30:24 +04:00
										 |  |  | <script src="ext-lib/jquery.js"></script> | 
					
						
							|  |  |  | <script src="ext-lib/jquery-ui.js"></script> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <script src="lib/jli.js"></script> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-07-21 16:38:06 +04:00
										 |  |  | <script data-main="ui" src="ext-lib/require.js"></script> | 
					
						
							| 
									
										
										
										
											2014-07-21 02:30:24 +04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-07-20 02:25:36 +04:00
										 |  |  | </head> | 
					
						
							|  |  |  | <body> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-07-21 02:30:24 +04:00
										 |  |  | <!-- for viewer structure doc see: ribbons.js... --> | 
					
						
							| 
									
										
										
										
											2014-07-20 02:25:36 +04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-07-29 19:09:05 +04:00
										 |  |  | <div class="viewer gray marks-visible"> | 
					
						
							| 
									
										
										
										
											2014-07-20 02:25:36 +04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-10-17 08:21:58 +04:00
										 |  |  | 	<div class="ribbon-set"> | 
					
						
							| 
									
										
										
										
											2014-10-17 16:55:31 +04:00
										 |  |  | 		<!-- DEBUG: remove when not needed... --> | 
					
						
							| 
									
										
										
										
											2014-10-17 08:21:58 +04:00
										 |  |  | 		<div class="point" title="current origin point"> </div> | 
					
						
							| 
									
										
										
										
											2014-10-17 16:55:31 +04:00
										 |  |  | 		<!-- DEBUG: end --> | 
					
						
							| 
									
										
										
										
											2014-10-17 08:21:58 +04:00
										 |  |  | 	</div> | 
					
						
							| 
									
										
										
										
											2014-07-20 02:25:36 +04:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-07-21 02:30:24 +04:00
										 |  |  | 	<!-- XXX should these be here???
 | 
					
						
							| 
									
										
										
										
											2014-07-20 02:25:36 +04:00
										 |  |  | 	<div class="overlay-block"> | 
					
						
							|  |  |  | 		<div class="background"></div> | 
					
						
							|  |  |  | 		<div class="content"></div> | 
					
						
							|  |  |  | 	</div> | 
					
						
							| 
									
										
										
										
											2014-07-21 02:30:24 +04:00
										 |  |  | 	--> | 
					
						
							| 
									
										
										
										
											2014-10-17 16:55:31 +04:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	<!-- DEBUG: remove when not needed... --> | 
					
						
							| 
									
										
										
										
											2014-10-17 08:21:58 +04:00
										 |  |  | 	<div class="container-center"> </div> | 
					
						
							| 
									
										
										
										
											2014-10-17 16:55:31 +04:00
										 |  |  | 	<!-- DEBUG: end --> | 
					
						
							| 
									
										
										
										
											2014-07-20 02:25:36 +04:00
										 |  |  | 
 | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <!-- vim:set ts=4 sw=4 spell : --> | 
					
						
							|  |  |  | </body> | 
					
						
							|  |  |  | </html> |