[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins-dist / mediabox / colorbox / fancybox / colorbox_rtl.css
index 0bd6c95..bbe4758 100644 (file)
@@ -1,20 +1,25 @@
 /*\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; left: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:left;}\r
-#cboxContent{position:relative; overflow:visible;}\r
-#cboxLoadedContent{overflow:auto;}\r
-#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}\r
+#cboxContent{position:relative;}\r
+#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}\r
 #cboxTitle{margin:0;}\r
-#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left: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:right; 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
     ColorBox example user style\r
 */\r
 #cboxOverlay{background:transparent;}\r
 #colorbox{}\r
-    #cboxTopLeft{width:20px; height:20px; background: transparent url('images/fancy_shadow-spt1.png') no-repeat -130px bottom;}\r
-    #cboxTopRight{width:20px; height:20px; background: transparent url('images/fancy_shadow-spt1.png') no-repeat -50px bottom;}\r
-    #cboxBottomLeft{width:20px; height:20px; background: transparent url('images/fancy_shadow-spt1.png') no-repeat -130px top;}\r
-    #cboxBottomRight{width:20px; height:20px; background: transparent url('images/fancy_shadow-spt1.png') no-repeat -50px top;}\r
-    #cboxMiddleLeft{width:20px; background: transparent url('images/fancy_shadow-spt1.png') repeat-y -105px top;}\r
-    #cboxMiddleRight{width:20px; background: transparent url('images/fancy_shadow-spt1.png') repeat-y -75px top;}\r
-    #cboxTopCenter{height:20px; background: transparent url('images/fancy_shadow-spt2.png') repeat-x bottom;}\r
-    #cboxBottomCenter{height:20px; background: transparent url('images/fancy_shadow-spt2.png') repeat-x top;}\r
-    #cboxContent{background:#fff;}\r
+    #cboxTopLeft,#cboxTopRight,#cboxBottomLeft,#cboxBottomRight,#cboxMiddleLeft,#cboxMiddleRight,#cboxTopCenter,#cboxBottomCenter{width:20px;height:20px;}\r
+    #cboxContent{background: transparent;}\r
         #cboxLoadedContent{padding:10px;}\r
+        .cboxPhoto{ -webkit-box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.3); -moz-box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.3); box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.3);}\r
         #cboxTitle{ position: absolute; right: 10px; left: 10px; bottom: 10px; padding: 0 10px;\r
                text-align: center; color: #fff; font-weight: bold; font-size: 0.9em; background-image: url('images/fancy_title_over.png'); }\r
         #cboxCurrent{position: absolute; right: -3000em}\r
         #cboxPrevious{position: absolute; top: 0; right: 15px; width: 35% ; height: 100%; text-indent:-9999px;}\r
-        #cboxPrevious:hover{background:url(images/fancy_right.png) right 50% no-repeat;}\r
+        #cboxPrevious.hover{background:url(images/fancy_right.png) right 50% no-repeat;}\r
         #cboxNext{position: absolute; top: 0; left: 15px; width: 35% ; height: 100%; text-indent:-9999px;}\r
-        #cboxNext:hover{background:url(images/fancy_shadow-spt1.png) -170px 50% no-repeat;}\r
+        #cboxNext.hover{background:url(images/fancy_shadow-spt1.png) -170px 50% no-repeat;}\r
         #cboxSlideshow{position:absolute; top: -12px; right:-15px; width: 30px; height: 30px;\r
                background:url(images/fancy_shadow-spt2.png) -120px -35px no-repeat; text-indent:-9999px;}\r
         #cboxLoadingOverlay{background:#fff;}\r
         #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}\r
         #cboxClose{position:absolute; top: -12px; left: -15px; height: 30px; width: 30px;\r
-               background:url(images/fancy_shadow-spt2.png) -0px -35px no-repeat; text-indent:-9999px;}\r
+               background:url(images/fancy_shadow-spt2.png) -0px -35px no-repeat; text-indent:-9999px;border:0}\r
 \r
         .cboxSlideshow_on #cboxSlideshow{background-position:-80px -35px;}\r
         .cboxSlideshow_off #cboxSlideshow{background-position:-120px -35px;}\r