/*\r
- ColorBox Core Style\r
- The following rules are the styles that are consistant between themes.\r
- Avoid changing this area to maintain compatability with future versions of ColorBox.\r
+ Colorbox Core Style:\r
+ The following CSS is consistent between example themes and should not be altered.\r
*/\r
-#colorbox, #cboxLoadedContent {-webkit-box-sizing: content-box;-moz-box-sizing: content-box;box-sizing: content-box;}\r
-#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; right:0; z-index:4999; overflow:hidden;}\r
+#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}\r
+#cboxWrapper {max-width:none;}\r
#cboxOverlay{position:fixed; width:100%; height:100%;}\r
-#cboxMiddleLeft, #cboxBottomLeft{clear:right;}\r
-#cboxContent{position:relative; overflow:hidden;}\r
-#cboxLoadedContent{overflow:auto;}\r
-#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}\r
+#cboxMiddleLeft, #cboxBottomLeft{clear:left;}\r
+#cboxContent{position:relative;}\r
+#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}\r
#cboxTitle{margin:0;}\r
-#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; right:0; width:100%;}\r
+#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}\r
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}\r
-.cboxPhoto{float:left; margin:auto; border:0; display:block;}\r
-.cboxIframe{width:100%; height:100%; display:block; border:0;}\r
+.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}\r
+.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}\r
+#colorbox, #cboxContent, #cboxLoadedContent{-webkit-box-sizing: content-box;-moz-box-sizing: content-box;box-sizing: content-box;}\r
+\r
+/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */\r
+#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }\r
+/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */\r
+#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}\r
+#colorbox{outline:0;}\r
\r
/* \r
Example user style\r
#cboxBottomCenter{height:10px; background:#fff;}\r
#cboxContent{background:#fff;}\r
#cboxLoadedContent{margin:0 0 58px;}\r
- #cboxTitle{position:absolute; bottom:28px; right:0; text-align:left; width:100%; color:#000; font-weight:bold;font-size:0.9em;}\r
- #cboxCurrent{position:absolute; bottom:0px; right:0px; color:#666666; font-size:0.80em;}\r
- #cboxPrevious{position:absolute; bottom:0; right:40px; background:url(images/controls.png) -13px 0px no-repeat; width:13px; height:13px; text-indent:-9999px;}\r
- #cboxPrevious:hover{background-position:-13px -13px;}\r
- #cboxNext{position:absolute; bottom:0; right:60px; background:url(images/controls.png) 0px 0px no-repeat; width:13px; height:13px; text-indent:-9999px;}\r
- #cboxNext:hover{background-position:0px -13px;}\r
+ #cboxTitle{position:absolute; bottom:28px; right:0; text-align:right; width:100%; color:#000; font-weight:bold;font-size:0.9em;}\r
+ #cboxCurrent{position:absolute; bottom:0px; right:0px; color:#666666; font-size:0.85em;}\r
+ #cboxPrevious{position:absolute; bottom:4px; right:40px; background:url(images/controls.png) -13px 0px no-repeat; width:13px; height:13px; text-indent:-9999px;}\r
+ #cboxPrevious.hover{background-position:-13px -13px;}\r
+ #cboxNext{position:absolute; bottom:4px; right:60px; background:url(images/controls.png) 0px 0px no-repeat; width:13px; height:13px; text-indent:-9999px;}\r
+ #cboxNext.hover{background-position:0px -13px;}\r
#cboxSlideshow{position:absolute; bottom:0px; right:80px; color:#666666;font-size:0.85em;}\r
#cboxLoadingOverlay{background:#fff;}\r
#cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}\r
- #cboxClose{position:absolute; bottom:20px; left:0; background:url(images/close.gif) 0px 0px no-repeat; width:26px; height:26px; text-indent:-9999px;}\r
+ #cboxClose{position:absolute; bottom:20px; left:0; background:url(images/close.gif) 0px 0px no-repeat; width:26px; height:26px; text-indent:-9999px;border:0}\r
\r
/*\r
The following fixes png-transparency for IE6. \r
\r
!! Important Note: AlphaImageLoader src paths are relative to the HTML document,\r
while regular CSS background images are relative to the CSS document.\r
-*/
\ No newline at end of file
+*/\r