| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | /********************************************************************** | 
					
						
							|  |  |  | *  | 
					
						
							|  |  |  | **********************************************************************/ | 
					
						
							| 
									
										
										
										
											2013-06-06 04:55:04 +04:00
										 |  |  | /******************************************************** Settings ***/ | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | /********************************************************** Mixins ***/ | 
					
						
							| 
									
										
										
										
											2013-06-04 23:29:44 +04:00
										 |  |  | /********************************************************* utility ***/ | 
					
						
							|  |  |  | .expanding-text .hidden { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .expanding-text:hover .shown { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-08 15:10:58 +04:00
										 |  |  | .expanding-text .shown, | 
					
						
							| 
									
										
										
										
											2013-06-04 23:29:44 +04:00
										 |  |  | .expanding-text:hover .hidden { | 
					
						
							|  |  |  |   display: inline; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-07-01 17:16:12 +04:00
										 |  |  | /* XXX cleanup and style...  | 
					
						
							|  |  |  |  	- make the arrow exact (like in .tooltip-right) | 
					
						
							|  |  |  | 	- need to align correctly for really narrow elements... | 
					
						
							|  |  |  | */ | 
					
						
							|  |  |  | [tooltip] { | 
					
						
							| 
									
										
										
										
											2013-06-16 02:42:29 +04:00
										 |  |  |   position: relative; | 
					
						
							|  |  |  |   text-decoration: none; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-07-01 17:16:12 +04:00
										 |  |  | [tooltip]:after { | 
					
						
							| 
									
										
										
										
											2013-07-08 07:18:43 +04:00
										 |  |  |   display: none; | 
					
						
							| 
									
										
										
										
											2013-07-01 17:16:12 +04:00
										 |  |  |   content: attr(tooltip); | 
					
						
							| 
									
										
										
										
											2013-06-16 02:42:29 +04:00
										 |  |  |   position: absolute; | 
					
						
							|  |  |  |   bottom: 130%; | 
					
						
							|  |  |  |   left: 20%; | 
					
						
							|  |  |  |   background: #ffcb66; | 
					
						
							|  |  |  |   padding: 5px 15px; | 
					
						
							|  |  |  |   color: black; | 
					
						
							|  |  |  |   border-radius: 10px; | 
					
						
							| 
									
										
										
										
											2013-07-01 17:16:12 +04:00
										 |  |  |   white-space: pre; | 
					
						
							|  |  |  |   text-align: left; | 
					
						
							|  |  |  |   font-size: 10px; | 
					
						
							| 
									
										
										
										
											2013-06-16 02:42:29 +04:00
										 |  |  |   opacity: 0; | 
					
						
							|  |  |  |   -webkit-transition: all 0.4s ease; | 
					
						
							|  |  |  |   -moz-transition: all 0.4s ease; | 
					
						
							|  |  |  |   transition: all 0.4s ease; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-07-01 17:16:12 +04:00
										 |  |  | [tooltip]:before { | 
					
						
							| 
									
										
										
										
											2013-07-08 07:18:43 +04:00
										 |  |  |   display: none; | 
					
						
							| 
									
										
										
										
											2013-06-16 02:42:29 +04:00
										 |  |  |   content: ""; | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  |   width: 0; | 
					
						
							|  |  |  |   height: 0; | 
					
						
							|  |  |  |   border-top: 20px solid #ffcb66; | 
					
						
							|  |  |  |   border-left: 20px solid transparent; | 
					
						
							|  |  |  |   border-right: 20px solid transparent; | 
					
						
							|  |  |  |   -webkit-transition: all 0.4s ease; | 
					
						
							|  |  |  |   -moz-transition: all 0.4s ease; | 
					
						
							|  |  |  |   transition: all 0.4s ease; | 
					
						
							|  |  |  |   opacity: 0; | 
					
						
							|  |  |  |   left: 30%; | 
					
						
							|  |  |  |   bottom: 90%; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-07-01 17:16:12 +04:00
										 |  |  | [tooltip]:hover:after { | 
					
						
							| 
									
										
										
										
											2013-07-08 07:18:43 +04:00
										 |  |  |   display: block; | 
					
						
							| 
									
										
										
										
											2013-06-16 02:42:29 +04:00
										 |  |  |   bottom: 100%; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-07-01 17:16:12 +04:00
										 |  |  | [tooltip]:hover:before { | 
					
						
							| 
									
										
										
										
											2013-07-08 07:18:43 +04:00
										 |  |  |   display: block; | 
					
						
							| 
									
										
										
										
											2013-06-16 02:42:29 +04:00
										 |  |  |   bottom: 70%; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-07-01 17:16:12 +04:00
										 |  |  | [tooltip]:hover:after, | 
					
						
							|  |  |  | [tooltip]:hover:before { | 
					
						
							| 
									
										
										
										
											2013-06-16 02:42:29 +04:00
										 |  |  |   opacity: 1; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-07-08 07:37:57 +04:00
										 |  |  | /* make this above everything else...  | 
					
						
							|  |  |  | * XXX not sure if this is the best way... | 
					
						
							|  |  |  | */ | 
					
						
							|  |  |  | [tooltip]:hover { | 
					
						
							|  |  |  |   z-index: 1000; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-07-01 17:16:12 +04:00
										 |  |  | .tooltip-right[tooltip]:after { | 
					
						
							| 
									
										
										
										
											2013-07-08 07:37:57 +04:00
										 |  |  |   min-height: 30px; | 
					
						
							| 
									
										
										
										
											2013-07-01 17:16:12 +04:00
										 |  |  |   bottom: auto; | 
					
						
							|  |  |  |   top: -50%; | 
					
						
							|  |  |  |   left: 15px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .tooltip-right[tooltip]:before { | 
					
						
							| 
									
										
										
										
											2013-07-08 07:18:43 +04:00
										 |  |  |   border-left: 5px solid transparent; | 
					
						
							| 
									
										
										
										
											2013-07-01 17:16:12 +04:00
										 |  |  |   border-right: 5px solid #ffcb66; | 
					
						
							|  |  |  |   border-bottom: 5px solid transparent; | 
					
						
							|  |  |  |   border-top: 5px solid transparent; | 
					
						
							|  |  |  |   bottom: auto; | 
					
						
							| 
									
										
										
										
											2013-07-08 07:18:43 +04:00
										 |  |  |   left: 5px; | 
					
						
							| 
									
										
										
										
											2013-07-01 17:16:12 +04:00
										 |  |  |   top: 25%; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .tooltip-right[tooltip]:hover:after { | 
					
						
							|  |  |  |   bottom: auto; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .tooltip-right[tooltip]:hover:before { | 
					
						
							|  |  |  |   bottom: auto; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | /* XXX might be good to move this to forms... */ | 
					
						
							|  |  |  | .tooltip-icon { | 
					
						
							|  |  |  |   font-size: small; | 
					
						
							|  |  |  |   opacity: 0.9; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | /*********************************************************************/ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | body { | 
					
						
							|  |  |  |   font-family: sans-serif; | 
					
						
							|  |  |  |   padding: 0px; | 
					
						
							|  |  |  |   margin: 0px; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-11 03:10:01 +04:00
										 |  |  | input, | 
					
						
							|  |  |  | button { | 
					
						
							|  |  |  |   border: solid silver 1px; | 
					
						
							|  |  |  |   border-radius: 3px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | button:hover { | 
					
						
							|  |  |  |   box-shadow: 0px 0px 7px 0px black; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-08 05:46:57 +04:00
										 |  |  | /************************************************************** UI ***/ | 
					
						
							|  |  |  | .title-bar { | 
					
						
							|  |  |  |   display: block; | 
					
						
							|  |  |  |   position: fixed; | 
					
						
							|  |  |  |   content: ""; | 
					
						
							|  |  |  |   top: 0px; | 
					
						
							|  |  |  |   left: 0px; | 
					
						
							|  |  |  |   height: 20px; | 
					
						
							|  |  |  |   width: 100%; | 
					
						
							|  |  |  |   color: white; | 
					
						
							|  |  |  |   background: black; | 
					
						
							|  |  |  |   overflow: hidden; | 
					
						
							|  |  |  |   opacity: 0; | 
					
						
							|  |  |  |   z-index: 10000; | 
					
						
							|  |  |  |   /* node-webkit */ | 
					
						
							|  |  |  |   -webkit-app-region: drag; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .title-bar:hover { | 
					
						
							|  |  |  |   opacity: 1; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .title-bar .title { | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  |   float: left; | 
					
						
							|  |  |  |   height: 20px; | 
					
						
							|  |  |  |   width: auto; | 
					
						
							|  |  |  |   color: white; | 
					
						
							|  |  |  |   background: transparent; | 
					
						
							|  |  |  |   font-size: 11px; | 
					
						
							|  |  |  |   font-style: italic; | 
					
						
							|  |  |  |   font-weight: bold; | 
					
						
							|  |  |  |   vertical-align: middle; | 
					
						
							|  |  |  |   text-align: left; | 
					
						
							|  |  |  |   margin: 2px; | 
					
						
							|  |  |  |   margin-left: 10px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .title-bar .button { | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  |   float: right; | 
					
						
							|  |  |  |   width: 20px; | 
					
						
							|  |  |  |   height: 20px; | 
					
						
							|  |  |  |   color: white; | 
					
						
							|  |  |  |   background: transparent; | 
					
						
							|  |  |  |   font-size: 18px; | 
					
						
							|  |  |  |   vertical-align: middle; | 
					
						
							|  |  |  |   /* node-webkit */ | 
					
						
							|  |  |  |   -webkit-app-region: no-drag; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .title-bar .button:hover { | 
					
						
							|  |  |  |   cursor: hand; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .title-bar .close:hover { | 
					
						
							|  |  |  |   color: red; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | /* | 
					
						
							|  |  |  | .full-screen-mode .title-bar { | 
					
						
							|  |  |  | 	display: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | */ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | /********************************************************** Viewer ***/ | 
					
						
							|  |  |  | .viewer { | 
					
						
							|  |  |  |   position: relative; | 
					
						
							|  |  |  |   width: 100%; | 
					
						
							|  |  |  |   height: 100%; | 
					
						
							|  |  |  |   overflow: hidden; | 
					
						
							|  |  |  |   /*border: solid blue 1px;*/ | 
					
						
							|  |  |  |   box-sizing: border-box; | 
					
						
							| 
									
										
										
										
											2013-06-06 04:55:04 +04:00
										 |  |  |   -moz-user-select: none; | 
					
						
							|  |  |  |   -webkit-user-select: none; | 
					
						
							|  |  |  |   -o-user-select: none; | 
					
						
							|  |  |  |   -ms-user-select: none; | 
					
						
							|  |  |  |   user-select: none; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-20 02:41:29 +04:00
										 |  |  | /* XXX this is a stub for printing help/docs... */ | 
					
						
							|  |  |  | @media print { | 
					
						
							|  |  |  |   .viewer { | 
					
						
							|  |  |  |     display: none; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | /****************************************************** Ribbon set ***/ | 
					
						
							|  |  |  | .ribbon-set { | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  |   display: block; | 
					
						
							|  |  |  |   /* NOTE: this needs for scaling/zooming to behave correctly and not  | 
					
						
							| 
									
										
										
										
											2013-06-05 15:39:18 +04:00
										 |  |  | 		shift the element, when its dimensions change...  | 
					
						
							|  |  |  | 		...this is because .ribbon-set will both be used for scaling  | 
					
						
							|  |  |  | 		and aligning... */ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   -webkit-transform-origin: top left; | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  |   -ms-transform-origin: top left; | 
					
						
							|  |  |  |   transform-origin: top left; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-13 17:51:28 +04:00
										 |  |  | /* empty ribbon set... */ | 
					
						
							|  |  |  | .ribbon-set:empty { | 
					
						
							|  |  |  |   width: 100%; | 
					
						
							|  |  |  |   height: 100%; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-14 01:11:11 +04:00
										 |  |  | .ribbon-set:empty:before, | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .ribbon-set:empty:after { | 
					
						
							|  |  |  |   display: block; | 
					
						
							| 
									
										
										
										
											2013-06-13 17:51:28 +04:00
										 |  |  |   position: absolute; | 
					
						
							| 
									
										
										
										
											2013-06-14 01:11:11 +04:00
										 |  |  |   content: "Nothing loaded..."; | 
					
						
							| 
									
										
										
										
											2013-06-13 17:51:28 +04:00
										 |  |  |   top: 50%; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   left: 0px; | 
					
						
							|  |  |  |   width: 100%; | 
					
						
							| 
									
										
										
										
											2013-06-13 17:51:28 +04:00
										 |  |  |   height: 20px; | 
					
						
							| 
									
										
										
										
											2013-06-14 01:11:11 +04:00
										 |  |  |   margin-top: -20px; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   text-align: center; | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  |   vertical-align: middle; | 
					
						
							| 
									
										
										
										
											2013-06-14 01:11:11 +04:00
										 |  |  |   font-size: 18px; | 
					
						
							|  |  |  |   font-weight: bold; | 
					
						
							| 
									
										
										
										
											2013-06-13 17:51:28 +04:00
										 |  |  |   color: silver; | 
					
						
							|  |  |  |   opacity: 0.9; | 
					
						
							| 
									
										
										
										
											2013-06-14 13:16:27 +04:00
										 |  |  |   cursor: hand; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-14 01:11:11 +04:00
										 |  |  | .ribbon-set:empty:after { | 
					
						
							|  |  |  |   content: "Press 'O' to load, 'F1' for help or '?' for keyboard mappings."; | 
					
						
							|  |  |  |   margin-top: 5px; | 
					
						
							|  |  |  |   font-weight: normal; | 
					
						
							|  |  |  |   font-size: 16px; | 
					
						
							|  |  |  |   opacity: 0.5; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | /********************************************************** Ribbon ***/ | 
					
						
							|  |  |  | .ribbon { | 
					
						
							|  |  |  |   position: relative; | 
					
						
							|  |  |  |   display: block; | 
					
						
							| 
									
										
										
										
											2013-12-02 08:50:43 +04:00
										 |  |  |   /* XXX BUG: setting this will mess up new ribbon creation.... | 
					
						
							|  |  |  | 	display: inline-block;*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   height: auto; | 
					
						
							|  |  |  |   min-width: 0px; | 
					
						
							|  |  |  |   overflow: visible; | 
					
						
							|  |  |  |   white-space: nowrap; | 
					
						
							|  |  |  |   font-size: 0; | 
					
						
							| 
									
										
										
										
											2013-12-02 08:50:43 +04:00
										 |  |  |   float: left; | 
					
						
							|  |  |  |   clear: both; | 
					
						
							|  |  |  |   /* XXX not still sure about this... */ | 
					
						
							|  |  |  |   background: black; | 
					
						
							|  |  |  |   margin-top: 10px; | 
					
						
							|  |  |  |   margin-bottom: 10px; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .ribbon:empty { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .ribbon:first-child { | 
					
						
							|  |  |  |   margin-top: 0px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .ribbon:last-child { | 
					
						
							|  |  |  |   margin-bottom: 0px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | /*********************************************************** Image ***/ | 
					
						
							| 
									
										
										
										
											2013-10-15 18:47:49 +04:00
										 |  |  | .marker, | 
					
						
							| 
									
										
										
										
											2013-12-02 08:50:43 +04:00
										 |  |  | .current-marker, | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | .mark, | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .image { | 
					
						
							|  |  |  |   position: relative; | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  |   vertical-align: middle; | 
					
						
							|  |  |  |   text-align: left; | 
					
						
							|  |  |  |   width: 300px; | 
					
						
							|  |  |  |   height: 300px; | 
					
						
							|  |  |  |   font-size: 12pt; | 
					
						
							|  |  |  |   overflow: hidden; | 
					
						
							|  |  |  |   box-sizing: border-box; | 
					
						
							|  |  |  |   color: white; | 
					
						
							|  |  |  |   text-shadow: black 0.1em 0.1em 0.4em, black 0.1em 0.1em; | 
					
						
							| 
									
										
										
										
											2013-12-02 08:50:43 +04:00
										 |  |  |   background: no-repeat 50% transparent; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   background-size: contain; | 
					
						
							| 
									
										
										
										
											2013-12-02 08:50:43 +04:00
										 |  |  |   border: solid 5px transparent; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-02 08:50:43 +04:00
										 |  |  | /* | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .current.image { | 
					
						
							| 
									
										
										
										
											2013-12-02 08:50:43 +04:00
										 |  |  | 	border: solid 5px red; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | */ | 
					
						
							|  |  |  | .current-marker { | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  |   border: solid 5px red; | 
					
						
							|  |  |  |   background: none; | 
					
						
							|  |  |  |   z-index: 100; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-10-15 18:47:49 +04:00
										 |  |  | .marker { | 
					
						
							|  |  |  |   width: 50px; | 
					
						
							|  |  |  |   border: none; | 
					
						
							|  |  |  |   background: no-repeat 50% transparent; | 
					
						
							|  |  |  |   background-color: transparent; | 
					
						
							|  |  |  |   color: white; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .marker:after { | 
					
						
							|  |  |  |   display: block; | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  |   content: "marker"; | 
					
						
							|  |  |  |   font-size: 32px; | 
					
						
							|  |  |  |   font-weight: bold; | 
					
						
							|  |  |  |   text-align: center; | 
					
						
							|  |  |  |   overflow: visible; | 
					
						
							|  |  |  |   width: 200px; | 
					
						
							|  |  |  |   height: 32px; | 
					
						
							|  |  |  |   top: 50%; | 
					
						
							|  |  |  |   margin-top: -16px; | 
					
						
							|  |  |  |   left: 50%; | 
					
						
							|  |  |  |   margin-left: -100px; | 
					
						
							|  |  |  |   -webkit-transform-origin: center center; | 
					
						
							|  |  |  |   -ms-transform-origin: center center; | 
					
						
							|  |  |  |   transform-origin: center center; | 
					
						
							|  |  |  |   -webkit-transform: rotate(270deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(270deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(270deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(270deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(270deg) scaleY(1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-10-15 18:47:49 +04:00
										 |  |  |   opacity: 0.5; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .single-image-mode.viewer .marker { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-20 16:39:26 +04:00
										 |  |  | /* single image mode transitions */ | 
					
						
							|  |  |  | /* XXX still buggy and not too needed... | 
					
						
							|  |  |  | .single-image-mode.viewer .image { | 
					
						
							|  |  |  | 	position: absolute; | 
					
						
							|  |  |  | 	top: 0px; | 
					
						
							|  |  |  | 	left: 0px; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	opacity: 0; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	.transition(opacity); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .single-image-mode.viewer .current.image { | 
					
						
							|  |  |  | 	opacity: 1; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | */ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | /* image turning... */ | 
					
						
							|  |  |  | /* NOTE: need to account for proportions after turning... */ | 
					
						
							|  |  |  | .image[orientation="90"] { | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  |   -webkit-transform: rotate(90deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(90deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(90deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(90deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(90deg) scaleY(1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="180"] { | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  |   -webkit-transform: rotate(180deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(180deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(180deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(180deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(180deg) scaleY(1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="270"] { | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  |   -webkit-transform: rotate(270deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(270deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(270deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(270deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(270deg) scaleY(1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							|  |  |  | /* Flipped vertically only... */ | 
					
						
							|  |  |  | /* NOTE: wee need to do all possible combinations here as we can't  | 
					
						
							|  |  |  |  	combine different parts of a transform attr from different  | 
					
						
							|  |  |  |  	classes */ | 
					
						
							|  |  |  | .image[flipped*="vertical"] { | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  |   -webkit-transform: rotate(0deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(0deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(0deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(0deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(0deg) scaleY(-1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="90"][flipped="vertical"] { | 
					
						
							|  |  |  |   -webkit-transform: rotate(90deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(90deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(90deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(90deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(90deg) scaleY(-1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="180"][flipped="vertical"] { | 
					
						
							|  |  |  |   -webkit-transform: rotate(180deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(180deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(180deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(180deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(180deg) scaleY(-1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="270"][flipped="vertical"] { | 
					
						
							|  |  |  |   -webkit-transform: rotate(270deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(270deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(270deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(270deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(270deg) scaleY(-1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							|  |  |  | /* Flipped horizontally only... */ | 
					
						
							|  |  |  | .image[flipped*="horizontal"] { | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  |   -webkit-transform: rotate(0deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(0deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(0deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(0deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(0deg) scaleY(1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="90"][flipped="horizontal"] { | 
					
						
							|  |  |  |   -webkit-transform: rotate(90deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(90deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(90deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(90deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(90deg) scaleY(1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="180"][flipped="horizontal"] { | 
					
						
							|  |  |  |   -webkit-transform: rotate(180deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(180deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(180deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(180deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(180deg) scaleY(1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="270"][flipped="horizontal"] { | 
					
						
							|  |  |  |   -webkit-transform: rotate(270deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(270deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(270deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(270deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(270deg) scaleY(1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-05 15:39:18 +04:00
										 |  |  | /* Flipped vertically and horizontally... */ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .image[flipped*="vertical"][flipped*="horizontal"] { | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  |   -webkit-transform: rotate(0deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(0deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(0deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(0deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(0deg) scaleY(-1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="90"][flipped*="vertical"][flipped*="horizontal"] { | 
					
						
							|  |  |  |   -webkit-transform: rotate(90deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(90deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(90deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(90deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(90deg) scaleY(-1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="180"][flipped*="vertical"][flipped*="horizontal"] { | 
					
						
							|  |  |  |   -webkit-transform: rotate(180deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(180deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(180deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(180deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(180deg) scaleY(-1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="270"][flipped*="vertical"][flipped*="horizontal"] { | 
					
						
							|  |  |  |   -webkit-transform: rotate(270deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(270deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(270deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(270deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(270deg) scaleY(-1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							|  |  |  | /* default backgrounds */ | 
					
						
							| 
									
										
										
										
											2013-06-05 01:33:02 +04:00
										 |  |  | /* XXX not sure if we need these...  | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .image { | 
					
						
							|  |  |  | 	background-image: url(images/loading.gif); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .image[orientation="90"] { | 
					
						
							|  |  |  | 	background-image: url(images/loading-90deg.gif); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .image[orientation="180"] { | 
					
						
							|  |  |  | 	background-image: url(images/loading-180deg.gif); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .image[orientation="270"] { | 
					
						
							|  |  |  | 	background-image: url(images/loading-270deg.gif); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | */ | 
					
						
							| 
									
										
										
										
											2013-06-16 02:42:29 +04:00
										 |  |  | /* separator test */ | 
					
						
							| 
									
										
										
										
											2013-10-15 18:47:49 +04:00
										 |  |  | /* | 
					
						
							|  |  |  | .image.red+.image:not(.red):before { | 
					
						
							|  |  |  | 	display: inline-block; | 
					
						
							|  |  |  | 	position: relative; | 
					
						
							|  |  |  | 	content: ""; | 
					
						
							|  |  |  | 	top:0px; | 
					
						
							|  |  |  | 	left: -50px; | 
					
						
							|  |  |  | 	width: 100px; | 
					
						
							|  |  |  | 	height: 100%; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	background-color: yellow; | 
					
						
							| 
									
										
										
										
											2013-06-16 02:42:29 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-10-15 18:47:49 +04:00
										 |  |  | */ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | /***************************************************** Image marks ***/ | 
					
						
							| 
									
										
										
										
											2013-10-15 18:47:49 +04:00
										 |  |  | /* | 
					
						
							|  |  |  | .marks-visible.single-image-mode.viewer .marker { | 
					
						
							|  |  |  | 	display: inline-block; | 
					
						
							|  |  |  | 	opacity: 0.5; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | */ | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | /* | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .marks-visible.viewer .marked.image:after { | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | 	display: block; | 
					
						
							|  |  |  | 	position: absolute; | 
					
						
							|  |  |  | 	content: ""; | 
					
						
							|  |  |  | 	font-size: 0pt; | 
					
						
							|  |  |  | 	border: none; | 
					
						
							| 
									
										
										
										
											2013-08-13 18:15:48 +04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | 	width: @ribbon-mark-size; | 
					
						
							|  |  |  | 	height: @ribbon-mark-size; | 
					
						
							| 
									
										
										
										
											2013-08-02 14:32:57 +04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | 	top: auto; | 
					
						
							|  |  |  | 	bottom: @ribbon-mark-offset; | 
					
						
							|  |  |  | 	left: auto; | 
					
						
							|  |  |  | 	right: @ribbon-mark-offset; | 
					
						
							| 
									
										
										
										
											2013-08-02 14:32:57 +04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | 	border-radius: 50%; | 
					
						
							|  |  |  | 	background: blue; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	box-shadow: 0px 0px 7px 0px black; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | .marks-visible.viewer .marked.image[orientation="270"][flipped*="vertical"][flipped*="horizontal"]:after, | 
					
						
							|  |  |  | .marks-visible.viewer .marked.image:not([orientation])[flipped*="vertical"]:after, | 
					
						
							|  |  |  | .marks-visible.viewer .marked.image[orientation="0"][flipped*="vertical"]:after, | 
					
						
							|  |  |  | .marks-visible.viewer .marked.image[orientation="180"][flipped="horizontal"]:after, | 
					
						
							|  |  |  | .marks-visible.viewer .marked.image[orientation="90"]:not([flipped]):after { | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | 	top: @ribbon-mark-offset; | 
					
						
							|  |  |  | 	bottom: auto; | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | 	left: auto; | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | 	right: @ribbon-mark-offset; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | .marks-visible.viewer .marked.image:not([orientation])[flipped*="vertical"][flipped*="horizontal"]:after, | 
					
						
							|  |  |  | .marks-visible.viewer .marked.image[orientation="0"][flipped*="vertical"][flipped*="horizontal"]:after, | 
					
						
							|  |  |  | .marks-visible.viewer .marked.image[orientation="270"][flipped="vertical"]:after, | 
					
						
							|  |  |  | .marks-visible.viewer .marked.image[orientation="90"][flipped="horizontal"]:after, | 
					
						
							|  |  |  | .marks-visible.viewer .marked.image[orientation="180"]:not([flipped]):after { | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | 	top: @ribbon-mark-offset; | 
					
						
							|  |  |  | 	bottom: auto; | 
					
						
							|  |  |  | 	left: @ribbon-mark-offset; | 
					
						
							|  |  |  | 	right: auto; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | .marks-visible.viewer .marked.image[orientation="90"][flipped*="vertical"][flipped*="horizontal"]:after, | 
					
						
							|  |  |  | .marks-visible.viewer .marked.image[orientation="180"][flipped="vertical"]:after, | 
					
						
							|  |  |  | .marks-visible.viewer .marked.image:not([orientation])[flipped*="horizontal"]:after, | 
					
						
							|  |  |  | .marks-visible.viewer .marked.image[orientation="0"][flipped*="horizontal"]:after, | 
					
						
							|  |  |  | .marks-visible.viewer .marked.image[orientation="270"]:not([flipped]):after { | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | 	top: auto; | 
					
						
							|  |  |  | 	bottom: @ribbon-mark-offset; | 
					
						
							|  |  |  | 	left: @ribbon-mark-offset; | 
					
						
							|  |  |  | 	right: auto; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | */ | 
					
						
							| 
									
										
										
										
											2013-06-04 21:33:59 +04:00
										 |  |  | /* NOTE: we use a different mark representation for single image mode... */ | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | /* | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .marks-visible.single-image-mode.viewer .marked.image:after { | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | 	display: none; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | */ | 
					
						
							| 
									
										
										
										
											2013-06-05 15:39:18 +04:00
										 |  |  | /* corner mark... (a-la bookmarks in PortableMag)  | 
					
						
							|  |  |  |  * XXX account for flipping... */ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | /* | 
					
						
							| 
									
										
										
										
											2013-06-06 04:55:04 +04:00
										 |  |  | @ribbon-mark-offset: -15px; | 
					
						
							| 
									
										
										
										
											2013-06-05 15:39:18 +04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .marks-visible.viewer .marked.image:after { | 
					
						
							|  |  |  | 	display: block; | 
					
						
							|  |  |  | 	position: absolute; | 
					
						
							|  |  |  | 	content: ""; | 
					
						
							|  |  |  | 	font-size: 0pt; | 
					
						
							|  |  |  | 	border: none; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	width: 30px; | 
					
						
							|  |  |  | 	height: 30px; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-06 04:55:04 +04:00
										 |  |  | 	top: @ribbon-mark-offset; | 
					
						
							|  |  |  | 	right: @ribbon-mark-offset; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	background: blue; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  | 	.rotate(45deg) | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .marks-visible.viewer .marked.image[orientation="90"]:after { | 
					
						
							| 
									
										
										
										
											2013-06-06 04:55:04 +04:00
										 |  |  | 	top: @ribbon-mark-offset; | 
					
						
							|  |  |  | 	left: @ribbon-mark-offset; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .marks-visible.viewer .marked.image[orientation="180"]:after { | 
					
						
							| 
									
										
										
										
											2013-06-06 04:55:04 +04:00
										 |  |  | 	bottom: @ribbon-mark-offset; | 
					
						
							|  |  |  | 	left: @ribbon-mark-offset; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .marks-visible.viewer .marked.image[orientation="270"]:after { | 
					
						
							| 
									
										
										
										
											2013-06-06 04:55:04 +04:00
										 |  |  | 	bottom: @ribbon-mark-offset; | 
					
						
							|  |  |  | 	right: @ribbon-mark-offset; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-10-04 03:19:43 +04:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .marked-only-view.viewer:not(.marks-visible) .image:not(.marked) { | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | 	opacity: 0.3; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | */ | 
					
						
							|  |  |  | /* new gen marks... */ | 
					
						
							|  |  |  | .mark { | 
					
						
							|  |  |  |   /* this fully covers the image to simplify positioning of actual marks */ | 
					
						
							|  |  |  |   margin-left: -300px; | 
					
						
							|  |  |  |   border: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .viewer:not(.marks-visible) .mark { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-13 03:39:23 +04:00
										 |  |  | .mark.bookmark, | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | .mark.selected { | 
					
						
							|  |  |  |   width: 0px; | 
					
						
							|  |  |  |   margin-left: 0px; | 
					
						
							|  |  |  |   border: none; | 
					
						
							|  |  |  |   overflow: visible; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-13 03:39:23 +04:00
										 |  |  | .mark.bookmark:after, | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | .mark.selected:after { | 
					
						
							|  |  |  |   display: block; | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  |   content: ""; | 
					
						
							|  |  |  |   font-size: 0pt; | 
					
						
							|  |  |  |   border: none; | 
					
						
							|  |  |  |   width: 5px; | 
					
						
							|  |  |  |   height: 5px; | 
					
						
							|  |  |  |   top: auto; | 
					
						
							|  |  |  |   bottom: 10px; | 
					
						
							|  |  |  |   left: auto; | 
					
						
							|  |  |  |   right: 10px; | 
					
						
							|  |  |  |   box-shadow: 2px 2px 20px -2px rgba(0, 0, 0, 0.7); | 
					
						
							|  |  |  |   box-sizing: border-box; | 
					
						
							|  |  |  |   border-radius: 50%; | 
					
						
							|  |  |  |   background: blue; | 
					
						
							| 
									
										
										
										
											2014-02-11 07:07:15 +04:00
										 |  |  |   left: -25; | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .marks-visible.single-image-mode.viewer .mark:after { | 
					
						
							|  |  |  |   display: none; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-13 03:39:23 +04:00
										 |  |  | .mark.bookmark:after { | 
					
						
							|  |  |  |   background: yellow; | 
					
						
							| 
									
										
										
										
											2014-02-11 07:07:15 +04:00
										 |  |  |   left: -15; | 
					
						
							| 
									
										
										
										
											2013-12-13 03:39:23 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | /****************************************************** Image info ***/ | 
					
						
							| 
									
										
										
										
											2013-12-02 08:50:43 +04:00
										 |  |  | .inline-image-info { | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   display: none; | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  |   bottom: 0px; | 
					
						
							|  |  |  |   width: 100%; | 
					
						
							|  |  |  |   background: black; | 
					
						
							|  |  |  |   opacity: 0.7; | 
					
						
							| 
									
										
										
										
											2013-12-02 08:50:43 +04:00
										 |  |  |   overflow: hidden; | 
					
						
							|  |  |  |   white-space: nowrap; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-02 08:50:43 +04:00
										 |  |  | .inline-image-info:hover { | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   -moz-user-select: auto; | 
					
						
							|  |  |  |   -webkit-user-select: auto; | 
					
						
							|  |  |  |   -o-user-select: auto; | 
					
						
							|  |  |  |   -ms-user-select: auto; | 
					
						
							|  |  |  |   user-select: auto; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-02 08:50:43 +04:00
										 |  |  | .inline-image-info::selection { | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   color: white; | 
					
						
							|  |  |  |   background: red; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .image-info-visible.viewer .global-image-info, | 
					
						
							| 
									
										
										
										
											2013-12-02 08:50:43 +04:00
										 |  |  | .image-info-visible.viewer .current-marker:hover .inline-image-info, | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .image-info-visible.viewer .image:hover .inline-image-info { | 
					
						
							|  |  |  |   display: block; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-02 08:50:43 +04:00
										 |  |  | .single-image-mode.viewer .current-marker:hover .inline-image-info, | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .single-image-mode.viewer .image:hover .inline-image-info { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .image[orientation="90"] .inline-image-info { | 
					
						
							|  |  |  |   top: auto; | 
					
						
							|  |  |  |   left: 100%; | 
					
						
							|  |  |  |   -webkit-transform-origin: bottom left; | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  |   -ms-transform-origin: bottom left; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   transform-origin: bottom left; | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  |   -webkit-transform: rotate(-90deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(-90deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(-90deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(-90deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(-90deg) scaleY(1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="180"] .inline-image-info { | 
					
						
							|  |  |  |   top: 0px; | 
					
						
							|  |  |  |   bottom: auto; | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  |   -webkit-transform: rotate(180deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(180deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(180deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(180deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(180deg) scaleY(1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="270"] .inline-image-info { | 
					
						
							|  |  |  |   top: auto; | 
					
						
							|  |  |  |   left: auto; | 
					
						
							|  |  |  |   right: 100%; | 
					
						
							|  |  |  |   -webkit-transform-origin: bottom right; | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  |   -ms-transform-origin: bottom right; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   transform-origin: bottom right; | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  |   -webkit-transform: rotate(90deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(90deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(90deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(90deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(90deg) scaleY(1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 21:33:59 +04:00
										 |  |  | /* compensate for flipping... */ | 
					
						
							| 
									
										
										
										
											2013-06-04 21:46:18 +04:00
										 |  |  | /* XXX START: I hate this code, will think if a better way to do this... */ | 
					
						
							| 
									
										
										
										
											2013-06-04 21:33:59 +04:00
										 |  |  | .image:not([orientation="90"])[flipped*="horizontal"] .inline-image-info { | 
					
						
							|  |  |  |   -webkit-transform: rotate(0deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(0deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(0deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(0deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(0deg) scaleY(1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 21:33:59 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="90"][flipped*="horizontal"] .inline-image-info { | 
					
						
							|  |  |  |   top: auto; | 
					
						
							|  |  |  |   bottom: 100%; | 
					
						
							|  |  |  |   left: -100%; | 
					
						
							|  |  |  |   right: auto; | 
					
						
							|  |  |  |   -webkit-transform-origin: bottom right; | 
					
						
							|  |  |  |   -ms-transform-origin: bottom right; | 
					
						
							|  |  |  |   transform-origin: bottom right; | 
					
						
							|  |  |  |   -webkit-transform: rotate(90deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(90deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(90deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(90deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(90deg) scaleY(1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 21:33:59 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="180"][flipped*="horizontal"] .inline-image-info { | 
					
						
							|  |  |  |   top: auto; | 
					
						
							|  |  |  |   bottom: 100%; | 
					
						
							|  |  |  |   left: 0px; | 
					
						
							|  |  |  |   right: auto; | 
					
						
							|  |  |  |   -webkit-transform-origin: bottom right; | 
					
						
							|  |  |  |   -ms-transform-origin: bottom right; | 
					
						
							|  |  |  |   transform-origin: bottom right; | 
					
						
							|  |  |  |   -webkit-transform: rotate(180deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(180deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(180deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(180deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(180deg) scaleY(1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 21:33:59 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="270"][flipped*="horizontal"] .inline-image-info { | 
					
						
							|  |  |  |   top: auto; | 
					
						
							|  |  |  |   bottom: 0px; | 
					
						
							|  |  |  |   left: 0px; | 
					
						
							|  |  |  |   right: auto; | 
					
						
							|  |  |  |   -webkit-transform-origin: bottom right; | 
					
						
							|  |  |  |   -ms-transform-origin: bottom right; | 
					
						
							|  |  |  |   transform-origin: bottom right; | 
					
						
							|  |  |  |   -webkit-transform: rotate(270deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(270deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(270deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(270deg) scaleY(1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(270deg) scaleY(1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 21:33:59 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[flipped*="vertical"] .inline-image-info { | 
					
						
							|  |  |  |   top: 0px; | 
					
						
							|  |  |  |   bottom: auto; | 
					
						
							|  |  |  |   -webkit-transform: rotate(0deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(0deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(0deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(0deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(0deg) scaleY(-1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 21:33:59 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="90"][flipped*="vertical"] .inline-image-info { | 
					
						
							|  |  |  |   top: auto; | 
					
						
							|  |  |  |   bottom: 100%; | 
					
						
							|  |  |  |   left: 100%; | 
					
						
							|  |  |  |   right: auto; | 
					
						
							|  |  |  |   -webkit-transform-origin: bottom left; | 
					
						
							|  |  |  |   -ms-transform-origin: bottom left; | 
					
						
							|  |  |  |   transform-origin: bottom left; | 
					
						
							|  |  |  |   -webkit-transform: rotate(-270deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(-270deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(-270deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(-270deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(-270deg) scaleY(-1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 21:33:59 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="180"][flipped*="vertical"] .inline-image-info { | 
					
						
							|  |  |  |   top: auto; | 
					
						
							|  |  |  |   bottom: 0px; | 
					
						
							|  |  |  |   left: -100%; | 
					
						
							|  |  |  |   right: auto; | 
					
						
							|  |  |  |   -webkit-transform-origin: bottom right; | 
					
						
							|  |  |  |   -ms-transform-origin: bottom right; | 
					
						
							|  |  |  |   transform-origin: bottom right; | 
					
						
							|  |  |  |   -webkit-transform: rotate(180deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(180deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(180deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(180deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(180deg) scaleY(-1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 21:33:59 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="270"][flipped*="vertical"] .inline-image-info { | 
					
						
							|  |  |  |   top: auto; | 
					
						
							|  |  |  |   bottom: 100%; | 
					
						
							|  |  |  |   left: -100%; | 
					
						
							|  |  |  |   right: auto; | 
					
						
							|  |  |  |   -webkit-transform-origin: bottom right; | 
					
						
							|  |  |  |   -ms-transform-origin: bottom right; | 
					
						
							|  |  |  |   transform-origin: bottom right; | 
					
						
							|  |  |  |   -webkit-transform: rotate(270deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(270deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(270deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(270deg) scaleY(-1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(270deg) scaleY(-1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 21:33:59 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[flipped*="vertical"][flipped*="horizontal"] .inline-image-info { | 
					
						
							|  |  |  |   top: 0px; | 
					
						
							|  |  |  |   bottom: auto; | 
					
						
							|  |  |  |   -webkit-transform: rotate(0deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(0deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(0deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(0deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(0deg) scaleY(-1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 21:33:59 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="90"][flipped*="vertical"][flipped*="horizontal"] .inline-image-info { | 
					
						
							|  |  |  |   top: auto; | 
					
						
							|  |  |  |   bottom: 0px; | 
					
						
							|  |  |  |   left: -100%; | 
					
						
							|  |  |  |   right: auto; | 
					
						
							|  |  |  |   -webkit-transform-origin: bottom right; | 
					
						
							|  |  |  |   -ms-transform-origin: bottom right; | 
					
						
							|  |  |  |   transform-origin: bottom right; | 
					
						
							|  |  |  |   -webkit-transform: rotate(-90deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(-90deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(-90deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(-90deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(-90deg) scaleY(-1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 21:33:59 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="180"][flipped*="vertical"][flipped*="horizontal"] .inline-image-info { | 
					
						
							|  |  |  |   top: auto; | 
					
						
							|  |  |  |   bottom: 0px; | 
					
						
							|  |  |  |   left: auto; | 
					
						
							|  |  |  |   right: auto; | 
					
						
							|  |  |  |   -webkit-transform-origin: bottom right; | 
					
						
							|  |  |  |   -ms-transform-origin: bottom right; | 
					
						
							|  |  |  |   transform-origin: bottom right; | 
					
						
							|  |  |  |   -webkit-transform: rotate(180deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(180deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(180deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(180deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(180deg) scaleY(-1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 21:33:59 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .image[orientation="270"][flipped*="vertical"][flipped*="horizontal"] .inline-image-info { | 
					
						
							|  |  |  |   top: auto; | 
					
						
							|  |  |  |   bottom: 100%; | 
					
						
							|  |  |  |   left: auto; | 
					
						
							|  |  |  |   right: auto; | 
					
						
							|  |  |  |   -webkit-transform-origin: bottom right; | 
					
						
							|  |  |  |   -ms-transform-origin: bottom right; | 
					
						
							|  |  |  |   transform-origin: bottom right; | 
					
						
							|  |  |  |   -webkit-transform: rotate(90deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -moz-transform: rotate(90deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -o-transform: rotate(90deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   -ms-transform: rotate(90deg) scaleY(-1) scaleX(-1); | 
					
						
							|  |  |  |   transform: rotate(90deg) scaleY(-1) scaleX(-1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 21:33:59 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 21:46:18 +04:00
										 |  |  | /* XXX END */ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .overlay-info { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  |   bottom: 0px; | 
					
						
							|  |  |  |   left: 0px; | 
					
						
							|  |  |  |   width: 100%; | 
					
						
							|  |  |  |   padding: 2px; | 
					
						
							|  |  |  |   padding-left: 10px; | 
					
						
							|  |  |  |   padding-right: 10px; | 
					
						
							|  |  |  |   box-sizing: border-box; | 
					
						
							|  |  |  |   background: black; | 
					
						
							|  |  |  |   color: white; | 
					
						
							|  |  |  |   opacity: 0.6; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .overlay-info:hover { | 
					
						
							|  |  |  |   -moz-user-select: auto; | 
					
						
							|  |  |  |   -webkit-user-select: auto; | 
					
						
							|  |  |  |   -o-user-select: auto; | 
					
						
							|  |  |  |   -ms-user-select: auto; | 
					
						
							|  |  |  |   user-select: auto; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .overlay-info .float-right { | 
					
						
							|  |  |  |   float: right; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .overlay-info .secondary { | 
					
						
							|  |  |  |   font-style: italic; | 
					
						
							|  |  |  |   font-size: small; | 
					
						
							|  |  |  |   color: silver; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .overlay-info::selection, | 
					
						
							|  |  |  | .overlay-info ::selection { | 
					
						
							|  |  |  |   color: white; | 
					
						
							|  |  |  |   background: red; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | /*************************************************** Global status ***/ | 
					
						
							|  |  |  | .global-status { | 
					
						
							|  |  |  |   display: block; | 
					
						
							|  |  |  |   opacity: 1; | 
					
						
							|  |  |  |   z-index: 1000; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | /****************************************************** Indicators ***/ | 
					
						
							|  |  |  | .up-indicator, | 
					
						
							|  |  |  | .down-indicator, | 
					
						
							|  |  |  | .start-indicator, | 
					
						
							| 
									
										
										
										
											2013-06-08 02:29:14 +04:00
										 |  |  | .end-indicator, | 
					
						
							|  |  |  | .top-indicator, | 
					
						
							|  |  |  | .bottom-indicator { | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   display: block; | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  |   content: ""; | 
					
						
							|  |  |  |   top: 0px; | 
					
						
							|  |  |  |   left: 50%; | 
					
						
							|  |  |  |   height: 50px; | 
					
						
							|  |  |  |   width: 100px; | 
					
						
							|  |  |  |   margin-left: -50px; | 
					
						
							|  |  |  |   overflow: hidden; | 
					
						
							|  |  |  |   cursor: hand; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .up-indicator:after, | 
					
						
							|  |  |  | .down-indicator:after { | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  |   content: ""; | 
					
						
							|  |  |  |   width: 50px; | 
					
						
							|  |  |  |   height: 50px; | 
					
						
							|  |  |  |   bottom: -25px; | 
					
						
							|  |  |  |   left: 25px; | 
					
						
							|  |  |  |   background: yellow; | 
					
						
							| 
									
										
										
										
											2013-06-04 19:00:25 +04:00
										 |  |  |   -webkit-transform: rotate(45deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -moz-transform: rotate(45deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -o-transform: rotate(45deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   -ms-transform: rotate(45deg) scaleY(1) scaleX(1); | 
					
						
							|  |  |  |   transform: rotate(45deg) scaleY(1) scaleX(1); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .down-indicator { | 
					
						
							|  |  |  |   top: auto; | 
					
						
							|  |  |  |   bottom: 0px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .down-indicator:after { | 
					
						
							|  |  |  |   top: -25px; | 
					
						
							|  |  |  |   bottom: auto; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .start-indicator, | 
					
						
							|  |  |  | .end-indicator { | 
					
						
							|  |  |  |   left: 0px; | 
					
						
							|  |  |  |   width: 10px; | 
					
						
							|  |  |  |   height: 100%; | 
					
						
							|  |  |  |   margin: 0px; | 
					
						
							|  |  |  |   background: yellow; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .end-indicator { | 
					
						
							|  |  |  |   left: auto; | 
					
						
							|  |  |  |   right: 0px; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-08 02:29:14 +04:00
										 |  |  | .top-indicator, | 
					
						
							|  |  |  | .bottom-indicator { | 
					
						
							|  |  |  |   left: 0px; | 
					
						
							|  |  |  |   height: 10px; | 
					
						
							|  |  |  |   width: 100%; | 
					
						
							|  |  |  |   margin: 0px; | 
					
						
							|  |  |  |   background: yellow; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .bottom-indicator { | 
					
						
							|  |  |  |   top: auto; | 
					
						
							|  |  |  |   bottom: 0px; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | /* default state */ | 
					
						
							|  |  |  | .up-indicator, | 
					
						
							|  |  |  | .down-indicator, | 
					
						
							|  |  |  | .start-indicator, | 
					
						
							| 
									
										
										
										
											2013-06-08 02:29:14 +04:00
										 |  |  | .end-indicator, | 
					
						
							|  |  |  | .top-indicator, | 
					
						
							|  |  |  | .bottom-indicator { | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   display: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | /* these are generic containers for indicators */ | 
					
						
							| 
									
										
										
										
											2013-06-08 01:48:22 +04:00
										 |  |  | .global-mode-indicators, | 
					
						
							|  |  |  | .context-mode-indicators { | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   position: absolute; | 
					
						
							|  |  |  |   height: 20px; | 
					
						
							|  |  |  |   width: auto; | 
					
						
							| 
									
										
										
										
											2013-06-08 01:48:22 +04:00
										 |  |  |   min-width: 300px; | 
					
						
							|  |  |  |   text-align: right; | 
					
						
							|  |  |  |   color: transparent; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .global-mode-indicators { | 
					
						
							| 
									
										
										
										
											2013-06-08 02:29:14 +04:00
										 |  |  |   top: 20px; | 
					
						
							|  |  |  |   right: 20px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .context-mode-indicators { | 
					
						
							|  |  |  |   right: 20px; | 
					
						
							|  |  |  |   bottom: 20px; | 
					
						
							| 
									
										
										
										
											2013-06-08 01:48:22 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .global-mode-indicators .mode-tip, | 
					
						
							|  |  |  | .context-mode-indicators .mode-tip { | 
					
						
							| 
									
										
										
										
											2013-06-08 02:29:14 +04:00
										 |  |  |   display: none; | 
					
						
							| 
									
										
										
										
											2013-06-08 01:48:22 +04:00
										 |  |  |   opacity: 0.5; | 
					
						
							|  |  |  |   font-weight: bold; | 
					
						
							| 
									
										
										
										
											2013-06-08 02:29:14 +04:00
										 |  |  |   color: gray; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .global-mode-indicators:hover .mode-tip, | 
					
						
							|  |  |  | .context-mode-indicators:hover .mode-tip { | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							| 
									
										
										
										
											2013-06-08 01:48:22 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .global-mode-indicators > *, | 
					
						
							|  |  |  | .context-mode-indicators > * { | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   font-size: small; | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  |   vertical-align: middle; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   margin-left: 10px; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-06 04:55:04 +04:00
										 |  |  | .global-mode-indicators .circle, | 
					
						
							|  |  |  | .context-mode-indicators .circle { | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   display: inline-block; | 
					
						
							|  |  |  |   width: 10px; | 
					
						
							|  |  |  |   height: 10px; | 
					
						
							|  |  |  |   border-radius: 50%; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | /* hide indicators in single image mode */ | 
					
						
							|  |  |  | .single-image-mode.viewer .global-mode-indicators { | 
					
						
							|  |  |  |   opacity: 0.5; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .light.single-image-mode.viewer .global-mode-indicators { | 
					
						
							|  |  |  |   opacity: 0.1; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .dark.single-image-mode.viewer .global-mode-indicators { | 
					
						
							|  |  |  |   opacity: 0.6; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .single-image-mode.viewer .global-mode-indicators:hover { | 
					
						
							|  |  |  |   opacity: 1; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-16 02:42:29 +04:00
										 |  |  | .global-mode-indicators .indicator, | 
					
						
							|  |  |  | .context-mode-indicators .indicator { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  |   height: 20px; | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  |   vertical-align: middle; | 
					
						
							| 
									
										
										
										
											2013-06-16 02:42:29 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | /* actual indicators */ | 
					
						
							|  |  |  | /* marks... */ | 
					
						
							|  |  |  | .global-mode-indicators .marked-only-visible, | 
					
						
							|  |  |  | .global-mode-indicators .marks-visible, | 
					
						
							|  |  |  | .context-mode-indicators .current-image-marked { | 
					
						
							|  |  |  |   color: blue; | 
					
						
							| 
									
										
										
										
											2013-12-14 06:58:13 +04:00
										 |  |  |   cursor: hand; | 
					
						
							| 
									
										
										
										
											2013-12-18 20:30:18 +04:00
										 |  |  |   text-shadow: rgba(0, 0, 0, 0.5) 0.1em 0.1em 0.4em, rgba(0, 0, 0, 0.5) 0.1em 0.1em; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-14 06:29:22 +04:00
										 |  |  | .context-mode-indicators .current-image-bookmarked { | 
					
						
							|  |  |  |   color: yellow; | 
					
						
							| 
									
										
										
										
											2013-12-14 06:58:13 +04:00
										 |  |  |   cursor: hand; | 
					
						
							| 
									
										
										
										
											2013-12-18 20:30:18 +04:00
										 |  |  |   text-shadow: rgba(0, 0, 0, 0.5) 0.1em 0.1em 0.4em, rgba(0, 0, 0, 0.5) 0.1em 0.1em; | 
					
						
							| 
									
										
										
										
											2013-12-14 06:29:22 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .global-mode-indicators .marked-only-visible .shown, | 
					
						
							|  |  |  | .global-mode-indicators .marks-visible .shown, | 
					
						
							| 
									
										
										
										
											2013-12-14 06:29:22 +04:00
										 |  |  | .context-mode-indicators .current-image-bookmarked .shown, | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .context-mode-indicators .current-image-marked .shown { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .global-mode-indicators .marked-only-visible:after, | 
					
						
							|  |  |  | .global-mode-indicators .marks-visible:after, | 
					
						
							| 
									
										
										
										
											2013-12-14 06:29:22 +04:00
										 |  |  | .context-mode-indicators .current-image-bookmarked:after, | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .context-mode-indicators .current-image-marked:after { | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							| 
									
										
										
										
											2013-06-04 23:29:44 +04:00
										 |  |  |   width: 6px; | 
					
						
							|  |  |  |   height: 6px; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   border-radius: 50%; | 
					
						
							|  |  |  |   content: ""; | 
					
						
							|  |  |  |   background-color: blue; | 
					
						
							|  |  |  |   border: solid 2px blue; | 
					
						
							|  |  |  |   margin-left: 5px; | 
					
						
							| 
									
										
										
										
											2013-06-04 23:29:44 +04:00
										 |  |  |   margin-top: 3px; | 
					
						
							|  |  |  |   top: 50%; | 
					
						
							| 
									
										
										
										
											2013-12-18 20:30:18 +04:00
										 |  |  |   box-shadow: 1px 1px 10px -2px rgba(0, 0, 0, 0.7); | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-16 02:42:29 +04:00
										 |  |  | .global-mode-indicators .marked-only-visible:after, | 
					
						
							|  |  |  | .global-mode-indicators .marks-visible:after, | 
					
						
							|  |  |  | .context-mode-indicators .current-image-marked:after { | 
					
						
							|  |  |  |   color: blue; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-14 06:29:22 +04:00
										 |  |  | .context-mode-indicators .current-image-bookmarked:after { | 
					
						
							|  |  |  |   color: yellow; | 
					
						
							|  |  |  |   background-color: yellow; | 
					
						
							|  |  |  |   border: solid 2px yellow; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .marks-visible.viewer .global-mode-indicators .marks-visible { | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | /* image mark in single image mode... */ | 
					
						
							| 
									
										
										
										
											2013-12-14 07:52:21 +04:00
										 |  |  | .single-image-mode.marks-visible.viewer .context-mode-indicators .current-image-bookmarked, | 
					
						
							|  |  |  | .single-image-mode.marks-visible.viewer .context-mode-indicators .current-image-marked { | 
					
						
							|  |  |  |   /*display: none;*/ | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							| 
									
										
										
										
											2013-12-17 05:10:57 +04:00
										 |  |  |   text-decoration: line-through; | 
					
						
							| 
									
										
										
										
											2013-12-14 07:52:21 +04:00
										 |  |  |   opacity: 0.3; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-14 06:29:22 +04:00
										 |  |  | .single-image-mode.marks-visible.viewer .context-mode-indicators .current-image-bookmarked.shown, | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .single-image-mode.marks-visible.viewer .context-mode-indicators .current-image-marked.shown { | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							| 
									
										
										
										
											2013-12-17 05:10:57 +04:00
										 |  |  |   text-decoration: none; | 
					
						
							| 
									
										
										
										
											2013-12-14 07:52:21 +04:00
										 |  |  |   opacity: 1; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .single-image-mode.marks-visible.viewer .context-mode-indicators .current-image-bookmarked:not(.shown):after, | 
					
						
							|  |  |  | .single-image-mode.marks-visible.viewer .context-mode-indicators .current-image-marked:not(.shown):after { | 
					
						
							|  |  |  |   background-color: transparent; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .single-image-mode.marks-visible.viewer .context-mode-indicators .current-image-bookmarked:not(.shown):hover, | 
					
						
							|  |  |  | .single-image-mode.marks-visible.viewer .context-mode-indicators .current-image-marked:not(.shown):hover { | 
					
						
							|  |  |  |   opacity: 0.8; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2014-02-02 06:00:06 +04:00
										 |  |  | .cropped-view.marks-visible.viewer .global-mode-indicators .cropped-view { | 
					
						
							| 
									
										
										
										
											2013-06-16 02:42:29 +04:00
										 |  |  |   color: gray; | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-09-13 21:51:58 +04:00
										 |  |  | .ribbon-indicator { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  |   top: 10px; | 
					
						
							|  |  |  |   left: 15px; | 
					
						
							|  |  |  |   color: white; | 
					
						
							|  |  |  |   font-size: 42px; | 
					
						
							|  |  |  |   font-weight: bold; | 
					
						
							|  |  |  |   font-style: italic; | 
					
						
							|  |  |  |   text-shadow: black 0.1em 0.1em 0.6em; | 
					
						
							|  |  |  |   opacity: 0.1; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .flashing-ribbon-indicator { | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .single-image-mode.marks-visible.viewer .ribbon-indicator { | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .ribbon-indicator:hover:after { | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  |   content: "ribbon number"; | 
					
						
							|  |  |  |   font-size: 14px; | 
					
						
							|  |  |  |   opacity: 0.8; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2014-01-23 06:56:17 +04:00
										 |  |  | /*************************************************** Progress bars ***/ | 
					
						
							|  |  |  | progress { | 
					
						
							|  |  |  |   -webkit-appearance: none; | 
					
						
							|  |  |  |   -moz-appearance: none; | 
					
						
							|  |  |  |   appearance: none; | 
					
						
							|  |  |  |   height: 8px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | progress::-webkit-progress-bar { | 
					
						
							|  |  |  |   background: transparent; | 
					
						
							|  |  |  |   border: solid 1px gray; | 
					
						
							|  |  |  |   border-radius: 3px; | 
					
						
							|  |  |  |   padding: 1px; | 
					
						
							|  |  |  |   box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2) inset; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | progress::-webkit-progress-value { | 
					
						
							|  |  |  |   background: yellow; | 
					
						
							|  |  |  |   border-radius: 2px; | 
					
						
							|  |  |  |   box-shadow: -1px -1px 5px -2px rgba(0, 0, 0, 0.8) inset; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | /* | 
					
						
							|  |  |  | progress:not(value)::-webkit-progress-bar { | 
					
						
							|  |  |  | 	background: transparent; | 
					
						
							|  |  |  | 	background-image:  | 
					
						
							|  |  |  | 		-webkit-linear-gradient(-45deg, transparent 33%, rgba(0,0,0,0.2) 33%, | 
					
						
							|  |  |  | 						rgba(0,0,0,0.2) 66%, transparent 66%), | 
					
						
							|  |  |  | 		-webkit-linear-gradient(left, yellow, orange, yellow); | 
					
						
							|  |  |  | 	background-size: 50px 50px; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	-webkit-animation: animate-progress 5s linear infinite; | 
					
						
							|  |  |  | 	animation: animate-progress 5s linear infinite; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @-webkit-keyframes animate-progress { | 
					
						
							|  |  |  | 	100% { | 
					
						
							|  |  |  | 		background-position: -100% 0px; | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | @keyframes animate-progress { | 
					
						
							|  |  |  | 	100% { | 
					
						
							|  |  |  | 		background-position: -100% 0px; | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | */ | 
					
						
							|  |  |  | .progress-container { | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							| 
									
										
										
										
											2014-01-23 07:26:45 +04:00
										 |  |  |   top: 20px; | 
					
						
							|  |  |  |   margin: 5px; | 
					
						
							|  |  |  |   padding: 2px; | 
					
						
							| 
									
										
										
										
											2014-01-23 08:51:23 +04:00
										 |  |  |   border-radius: 5px; | 
					
						
							|  |  |  |   background: rgba(0, 0, 0, 0.1); | 
					
						
							| 
									
										
										
										
											2014-01-23 07:26:45 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .progress-container:hover { | 
					
						
							|  |  |  |   background: rgba(0, 0, 0, 0.8); | 
					
						
							| 
									
										
										
										
											2014-01-23 06:56:17 +04:00
										 |  |  | } | 
					
						
							|  |  |  | .progress-container:empty { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .progress-bar { | 
					
						
							|  |  |  |   color: silver; | 
					
						
							|  |  |  |   font-size: 10px; | 
					
						
							|  |  |  |   margin: 10px; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2014-01-23 07:26:45 +04:00
										 |  |  | .progress-bar .close { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .progress-bar:hover .close { | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  |   right: 10px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .progress-bar .close:hover { | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  |   color: red; | 
					
						
							|  |  |  |   cursor: hand; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2014-01-23 06:56:17 +04:00
										 |  |  | .progress-bar progress { | 
					
						
							|  |  |  |   display: block; | 
					
						
							|  |  |  |   width: 300px; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | /********************************************** Mode: single image ***/ | 
					
						
							| 
									
										
										
										
											2013-12-02 08:50:43 +04:00
										 |  |  | .single-image-mode.viewer .ribbon { | 
					
						
							|  |  |  |   background-color: transparent; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .single-image-mode.viewer .current-marker { | 
					
						
							|  |  |  |   display: none; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .single-image-mode.viewer .image { | 
					
						
							|  |  |  |   background-color: transparent; | 
					
						
							|  |  |  |   /* NOTE: need to keep a distance from screen borders... */ | 
					
						
							|  |  |  |   border: solid transparent 2px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .single-image-mode.viewer .image:not(.current) { | 
					
						
							|  |  |  |   /* XXX for some reason this breaks the alignment on large magnifications... | 
					
						
							|  |  |  | 	display: none; | 
					
						
							|  |  |  | 	*/ | 
					
						
							|  |  |  |   /* XXX this makes images pass through the :visible filter... | 
					
						
							|  |  |  | 	opacity: 0; | 
					
						
							|  |  |  | 	*/ | 
					
						
							|  |  |  |   visibility: hidden; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | /********************************************************** Themes ***/ | 
					
						
							|  |  |  | /* XXX this is by no means final... */ | 
					
						
							|  |  |  | .viewer, | 
					
						
							|  |  |  | .light.viewer, | 
					
						
							|  |  |  | .light.viewer .overlay-block .background { | 
					
						
							|  |  |  |   background: white; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-11 03:10:01 +04:00
										 |  |  | .light.viewer .overlay-block:hover .background:after { | 
					
						
							|  |  |  |   color: black; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-14 01:11:11 +04:00
										 |  |  | .light.viewer .ribbon-set:empty:before, | 
					
						
							| 
									
										
										
										
											2013-06-13 17:51:28 +04:00
										 |  |  | .light.viewer .ribbon-set:empty:after { | 
					
						
							|  |  |  |   color: gray; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-09-13 21:51:58 +04:00
										 |  |  | .light.viewer .ribbon-indicator { | 
					
						
							|  |  |  |   color: silver; | 
					
						
							|  |  |  |   text-shadow: none; | 
					
						
							|  |  |  |   opacity: 0.3; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .light.viewer .ribbon-indicator:hover:after { | 
					
						
							|  |  |  |   color: gray; | 
					
						
							|  |  |  |   text-shadow: none; | 
					
						
							|  |  |  |   opacity: 0.8; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2014-01-23 08:51:23 +04:00
										 |  |  | .light.viewer progress::-webkit-progress-bar { | 
					
						
							|  |  |  |   border: solid 1px silver; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .light.viewer .progress-container { | 
					
						
							|  |  |  |   background: rgba(0, 0, 0, 0.05); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .light.viewer .progress-container:hover { | 
					
						
							|  |  |  |   background: rgba(0, 0, 0, 0.5); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .light.viewer .progress-bar { | 
					
						
							|  |  |  |   color: silver; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .gray.viewer, | 
					
						
							|  |  |  | .gray.viewer .overlay-block .background { | 
					
						
							|  |  |  |   background: #333; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-11 03:10:01 +04:00
										 |  |  | .gray.viewer .overlay-block .dialog { | 
					
						
							|  |  |  |   background: #555; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-09-13 21:51:58 +04:00
										 |  |  | .gray.viewer .overlay-block:hover .background:after { | 
					
						
							| 
									
										
										
										
											2013-06-11 03:10:01 +04:00
										 |  |  |   color: silver; | 
					
						
							|  |  |  |   opacity: 0.4; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .dark.viewer, | 
					
						
							|  |  |  | .dark.viewer .overlay-block .background { | 
					
						
							|  |  |  |   background: #0a0a0a; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-11 03:10:01 +04:00
										 |  |  | .dark.viewer .overlay-block .dialog { | 
					
						
							|  |  |  |   background: #333; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-09-13 21:51:58 +04:00
										 |  |  | .dark.viewer .overlay-block:hover .background:after { | 
					
						
							| 
									
										
										
										
											2013-06-11 03:10:01 +04:00
										 |  |  |   color: gray; | 
					
						
							|  |  |  |   opacity: 0.4; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-09-13 21:51:58 +04:00
										 |  |  | .dark.viewer .ribbon-indicator { | 
					
						
							|  |  |  |   opacity: 0.2; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .dark.viewer .ribbon-indicator:hover:after { | 
					
						
							|  |  |  |   opacity: 0.8; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | .large.viewer:not(.single-image-mode) .current-marker { | 
					
						
							|  |  |  |   border-width: 2px; | 
					
						
							| 
									
										
										
										
											2013-06-09 17:34:24 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | .large.viewer:not(.single-image-mode) .mark:after, | 
					
						
							| 
									
										
										
										
											2013-06-10 07:49:20 +04:00
										 |  |  | .large.viewer:not(.single-image-mode) .marked.image:after { | 
					
						
							| 
									
										
										
										
											2013-06-09 17:34:24 +04:00
										 |  |  |   -webkit-transform: rotate(0deg) scaleY(0.7) scaleX(0.7); | 
					
						
							|  |  |  |   -moz-transform: rotate(0deg) scaleY(0.7) scaleX(0.7); | 
					
						
							|  |  |  |   -o-transform: rotate(0deg) scaleY(0.7) scaleX(0.7); | 
					
						
							|  |  |  |   -ms-transform: rotate(0deg) scaleY(0.7) scaleX(0.7); | 
					
						
							|  |  |  |   transform: rotate(0deg) scaleY(0.7) scaleX(0.7); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-09 17:34:24 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  | .small.viewer:not(.single-image-mode) .mark:after, | 
					
						
							| 
									
										
										
										
											2013-06-10 07:49:20 +04:00
										 |  |  | .small.viewer:not(.single-image-mode) .marked.image:after { | 
					
						
							| 
									
										
										
										
											2014-01-15 06:19:21 +04:00
										 |  |  |   -webkit-transform: rotate(0deg) scaleY(1.5) scaleX(1.5); | 
					
						
							|  |  |  |   -moz-transform: rotate(0deg) scaleY(1.5) scaleX(1.5); | 
					
						
							|  |  |  |   -o-transform: rotate(0deg) scaleY(1.5) scaleX(1.5); | 
					
						
							|  |  |  |   -ms-transform: rotate(0deg) scaleY(1.5) scaleX(1.5); | 
					
						
							|  |  |  |   transform: rotate(0deg) scaleY(1.5) scaleX(1.5); | 
					
						
							| 
									
										
										
										
											2014-08-08 23:41:22 +04:00
										 |  |  |   /* This prevents elements from aligning to sub-pixels...*/ | 
					
						
							|  |  |  |   /* | 
					
						
							|  |  |  | 	-webkit-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	-moz-transform-style: preserve-3d; | 
					
						
							|  |  |  | 	transform-style: preserve-3d; | 
					
						
							|  |  |  | 	*/ | 
					
						
							| 
									
										
										
										
											2013-06-09 17:34:24 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | /********************************************************* Overlay ***/ | 
					
						
							|  |  |  | .overlay-block { | 
					
						
							|  |  |  |   display: none; | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  |   position: absolute; | 
					
						
							|  |  |  |   top: 0px; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   left: 0px; | 
					
						
							|  |  |  |   height: 100%; | 
					
						
							|  |  |  |   width: 100%; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .viewer.overlay .overlay-block { | 
					
						
							|  |  |  |   display: block; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-11-28 04:27:43 +04:00
										 |  |  | /* XXX this is experimental... */ | 
					
						
							|  |  |  | .viewer.overlay .ribbon-set { | 
					
						
							| 
									
										
										
										
											2013-12-05 05:50:26 +04:00
										 |  |  |   /* XXX blur makes things slow with transparency... */ | 
					
						
							|  |  |  |   -webkit-filter: /*blur(2px)*/ grayscale(0.5); | 
					
						
							|  |  |  |   filter: /*blur(2px)*/ grayscale(0.5); | 
					
						
							|  |  |  |   /* | 
					
						
							| 
									
										
										
										
											2013-11-28 04:27:43 +04:00
										 |  |  | 	-webkit-animation-name: testAnim; | 
					
						
							|  |  |  | 	-webkit-animation-duration: .2s; | 
					
						
							|  |  |  | 	-webkit-animation-iteration-count: 1; | 
					
						
							|  |  |  | 	-webkit-animation-direction: alternate; | 
					
						
							|  |  |  | 	-webkit-animation-timing-function: ease-out; | 
					
						
							|  |  |  | 	-webkit-animation-fill-mode: forwards; | 
					
						
							|  |  |  | 	-webkit-animation-delay: 0s; | 
					
						
							|  |  |  | 	*/ | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-10 17:28:32 +04:00
										 |  |  | .overlay-block .content, | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | .overlay-block .background { | 
					
						
							| 
									
										
										
										
											2013-06-10 17:28:32 +04:00
										 |  |  |   /* XXX for some magical reason position and top are overwritten  | 
					
						
							|  |  |  | 		with 'static' and 'auto' values respectively */ | 
					
						
							|  |  |  |   position: absolute !important; | 
					
						
							|  |  |  |   top: 0px !important; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  |   left: 0px; | 
					
						
							|  |  |  |   height: 100%; | 
					
						
							|  |  |  |   width: 100%; | 
					
						
							| 
									
										
										
										
											2013-06-10 16:10:16 +04:00
										 |  |  |   cursor: auto; | 
					
						
							| 
									
										
										
										
											2013-06-10 17:28:32 +04:00
										 |  |  |   opacity: 0.9; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .overlay-block .content, | 
					
						
							|  |  |  | .overlay-block .content table { | 
					
						
							|  |  |  |   background: transparent; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .overlay-block .background { | 
					
						
							|  |  |  |   opacity: 0.7; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-11 03:10:01 +04:00
										 |  |  | .overlay-block:hover .background:after { | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  |   content: 'Click background to close.'; | 
					
						
							|  |  |  |   height: auto; | 
					
						
							|  |  |  |   width: auto; | 
					
						
							|  |  |  |   bottom: 20px; | 
					
						
							|  |  |  |   right: 20px; | 
					
						
							|  |  |  |   color: white; | 
					
						
							|  |  |  |   opacity: 0.7; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-10 17:28:32 +04:00
										 |  |  | .overlay-block .dialog { | 
					
						
							|  |  |  |   display: inline-block; | 
					
						
							|  |  |  |   min-height: 50px; | 
					
						
							|  |  |  |   min-width: 300px; | 
					
						
							| 
									
										
										
										
											2013-09-21 03:09:19 +04:00
										 |  |  |   /* XXX for some reason this is not sized correctly... */ | 
					
						
							|  |  |  |   max-height: 90%; | 
					
						
							|  |  |  |   max-width: 90%; | 
					
						
							|  |  |  |   /* XXX this needs to be lower priority than max-height... */ | 
					
						
							|  |  |  |   /*overflow-y: auto;*/ | 
					
						
							| 
									
										
										
										
											2013-06-10 17:28:32 +04:00
										 |  |  |   color: white; | 
					
						
							|  |  |  |   border: solid silver 1px; | 
					
						
							|  |  |  |   border-radius: 3px; | 
					
						
							|  |  |  |   background: gray; | 
					
						
							|  |  |  |   padding: 20px; | 
					
						
							| 
									
										
										
										
											2013-12-04 23:18:23 +04:00
										 |  |  |   vertical-align: middle; | 
					
						
							| 
									
										
										
										
											2013-06-10 17:28:32 +04:00
										 |  |  |   box-shadow: 0px 5px 50px 0px black; | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-11 03:10:01 +04:00
										 |  |  | /* tables in dialogs... */ | 
					
						
							|  |  |  | .overlay-block .dialog table { | 
					
						
							|  |  |  |   color: white; | 
					
						
							|  |  |  |   font-size: small; | 
					
						
							|  |  |  |   -moz-user-select: auto; | 
					
						
							|  |  |  |   -webkit-user-select: auto; | 
					
						
							|  |  |  |   -o-user-select: auto; | 
					
						
							|  |  |  |   -ms-user-select: auto; | 
					
						
							|  |  |  |   user-select: auto; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .overlay-block .dialog table tr td:first-child { | 
					
						
							|  |  |  |   text-align: right; | 
					
						
							|  |  |  |   font-weight: bold; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .overlay-block .dialog table tr td:last-child { | 
					
						
							|  |  |  |   color: silver; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-09-23 17:47:27 +04:00
										 |  |  | .overlay-block .dialog .choice .item { | 
					
						
							|  |  |  |   text-align: left; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-11-27 01:40:33 +04:00
										 |  |  | .field :focus { | 
					
						
							|  |  |  |   box-shadow: 0px 0px 3px 0px red; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | /* XXX this is a hack -- hide the radio button itself... */ | 
					
						
							|  |  |  | .field.choice input[type=radio] { | 
					
						
							|  |  |  |   opacity: 0; | 
					
						
							|  |  |  |   position: absolute; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .field.choice input ~ span { | 
					
						
							|  |  |  |   display: block; | 
					
						
							|  |  |  |   padding: 1px; | 
					
						
							|  |  |  |   padding-left: 5px; | 
					
						
							|  |  |  |   padding-right: 5px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .field.choice :checked ~ span { | 
					
						
							|  |  |  |   color: white; | 
					
						
							|  |  |  |   background: gray; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .field.choice :focus ~ span { | 
					
						
							|  |  |  |   box-shadow: 0px 0px 3px 0px red; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .light.viewer .field.choice :checked ~ span { | 
					
						
							|  |  |  |   color: white; | 
					
						
							|  |  |  |   background: silver; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-12-05 05:50:26 +04:00
										 |  |  | .field .disabled-text { | 
					
						
							|  |  |  |   opacity: 0.5; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | /************************************************************ Help ***/ | 
					
						
							| 
									
										
										
										
											2013-06-05 15:39:18 +04:00
										 |  |  | /* XXX make this more generic, and not just for the keyboard... */ | 
					
						
							| 
									
										
										
										
											2013-06-04 16:32:33 +04:00
										 |  |  | /* this is for sliding stuff */ | 
					
						
							|  |  |  | .viewer.drawer-mode { | 
					
						
							|  |  |  |   box-shadow: 0px 0px 50px 0px silver; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | /* help */ | 
					
						
							|  |  |  | .keyboard-help { | 
					
						
							|  |  |  |   width: 80%; | 
					
						
							|  |  |  |   margin-top: 20px; | 
					
						
							|  |  |  |   margin-left: 15%; | 
					
						
							|  |  |  |   margin-right: 5%; | 
					
						
							|  |  |  |   margin-bottom: 100px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .keyboard-help .section-doc { | 
					
						
							|  |  |  |   font-size: small; | 
					
						
							|  |  |  |   vertical-align: top; | 
					
						
							|  |  |  |   font-style: italic; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .keyboard-help th { | 
					
						
							|  |  |  |   text-align: left; | 
					
						
							|  |  |  |   height: 50px; | 
					
						
							|  |  |  |   vertical-align: bottom; | 
					
						
							|  |  |  |   border-bottom: solid gray 1px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .keyboard-help tr:hover { | 
					
						
							|  |  |  |   background: #eee; | 
					
						
							|  |  |  |   vertical-align: top; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .keyboard-help tr td:first-child { | 
					
						
							|  |  |  |   color: gray; | 
					
						
							|  |  |  |   font-style: italic; | 
					
						
							|  |  |  |   padding-right: 20px; | 
					
						
							|  |  |  |   padding-left: 10px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | .keyboard-help .section-doc td:only-child { | 
					
						
							|  |  |  |   padding-right: 0px; | 
					
						
							|  |  |  |   padding-left: 0px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | /********************************************************************** | 
					
						
							|  |  |  | * vim:set spell ft=css :                                             */ |