[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins-dist / mediabox / colorbox / black-greybox / colorbox_rtl.css
index b946a1c..b3efbc0 100644 (file)
@@ -1,53 +1,58 @@
 /*\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
+#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: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
 /* \r
-    ColorBox example user style\r
-    The following rules are ordered and tabbed in a way that represents the\r
-    order/nesting of the generated HTML, so that the structure easier to understand.\r
+    User Style:\r
+    Change the following styles to modify the appearance of Colorbox.  They are\r
+    ordered & tabbed in a way that represents the nesting of the generated HTML.\r
 */\r
-#cboxOverlay{background:#000;}\r
-\r
-#colorbox{}\r
-    #cboxTopLeft{width:14px; height:14px; background:url(images/controls.png) 0 0 no-repeat;}\r
-    #cboxTopCenter{height:14px; background:url(images/border.png) top left repeat-x;}\r
-    #cboxTopRight{width:14px; height:14px; background:url(images/controls.png) -36px 0 no-repeat;}\r
-    #cboxBottomLeft{width:14px; height:43px; background:url(images/controls.png) 0 -32px no-repeat;}\r
-    #cboxBottomCenter{height:43px; background:url(images/border.png) bottom left repeat-x;}\r
-    #cboxBottomRight{width:14px; height:43px; background:url(images/controls.png) -36px -32px no-repeat;}\r
-    #cboxMiddleLeft{width:14px; background:url(images/controls.png) -175px 0 repeat-y;}\r
-    #cboxMiddleRight{width:14px; background:url(images/controls.png) -211px 0 repeat-y;}\r
-    #cboxContent{background:#fff;}\r
+#cboxOverlay{background:#000; opacity: 0.9; filter: alpha(opacity = 90);}\r
+#colorbox{outline:0;}\r
+    #cboxTopLeft{width:14px; height:14px; background:url(images/controls.png) no-repeat 0 0;}\r
+    #cboxTopCenter{height:14px; background:url(images/border.png) repeat-x top left;}\r
+    #cboxTopRight{width:14px; height:14px; background:url(images/controls.png) no-repeat -36px 0;}\r
+    #cboxBottomLeft{width:14px; height:43px; background:url(images/controls.png) no-repeat 0 -32px;}\r
+    #cboxBottomCenter{height:43px; background:url(images/border.png) repeat-x bottom left;}\r
+    #cboxBottomRight{width:14px; height:43px; background:url(images/controls.png) no-repeat -36px -32px;}\r
+    #cboxMiddleLeft{width:14px; background:url(images/controls.png) repeat-y -175px 0;}\r
+    #cboxMiddleRight{width:14px; background:url(images/controls.png) repeat-y -211px 0;}\r
+    #cboxContent{background:#fff; overflow:visible;}\r
+        .cboxIframe{background:#fff;}\r
+        #cboxError{padding:50px; border:1px solid #ccc;}\r
         #cboxLoadedContent{margin-bottom:5px;}\r
-        #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}\r
-        #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}\r
-        #cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}\r
-        #cboxCurrent{position:absolute; bottom:-25px; right:55px; font-weight:normal; font-size: 0.8em; color:#7C7C7C;}\r
+        #cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}\r
+        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}\r
+        #cboxTitle{position:absolute; bottom:-28px; right:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}\r
+        #cboxCurrent{position:absolute; bottom:-28px; right:58px; font-weight:bold; color:#7C7C7C;}\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;  position:absolute; bottom:-29px; background:url(images/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;}\r
         \r
-        #cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(images/controls.png) 0px 0px no-repeat; width:23px; height:23px; text-indent:-9999px;}\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
+\r
         #cboxPrevious{right:0px; background-position: -75px -25px;}\r
         #cboxPrevious:hover{background-position:-75px 0px;}\r
         #cboxNext{right:27px; background-position:-51px -25px;}\r
         #cboxNext:hover{background-position:-51px 0px;}\r
         #cboxClose{left:0; background-position:-100px -25px;}\r
         #cboxClose:hover{background-position:-100px 0px;}\r
-        \r
-        .cboxSlideshow_on #cboxSlideshow{background-position:-150px -25px; left:27px;}\r
+\r
+        .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; left:27px;}\r
         .cboxSlideshow_on #cboxSlideshow:hover{background-position:-150px 0px;}\r
-        .cboxSlideshow_off #cboxSlideshow{background-position:-225px -25px; left:27px;}\r
-        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-225px 0px;}\r
+        .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; left:27px;}\r
+        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-125px 0px;}
\ No newline at end of file