[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins-dist / mediabox / colorbox / black-striped / colorbox.css
index 071f209..7519fec 100644 (file)
@@ -1,69 +1,70 @@
 /*\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:hidden;}\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
-    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:url(images/overlay.png) 0 0 repeat;}\r
-#colorbox{}\r
-    #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) -100px 0 no-repeat;}\r
-    #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) -129px 0 no-repeat;}\r
-    #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) -100px -29px no-repeat;}\r
-    #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) -129px -29px no-repeat;}\r
+#cboxOverlay{background:url(images/overlay.png) repeat 0 0; opacity: 0.9; filter: alpha(opacity = 90);}\r
+#colorbox{outline:0;}\r
+    #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px 0;}\r
+    #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px 0;}\r
+    #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px -29px;}\r
+    #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px -29px;}\r
     #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;}\r
     #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;}\r
     #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;}\r
     #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;}\r
-    #cboxContent{background:#fff;}\r
+    #cboxContent{background:#fff; overflow:hidden;}\r
+        .cboxIframe{background:#fff;}\r
+        #cboxError{padding:50px; border:1px solid #ccc;}\r
         #cboxLoadedContent{margin-bottom:28px;}\r
-        #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}\r
-        #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;}\r
-        #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}\r
-        #cboxPrevious{position:absolute; bottom:0; left:0px; background:url(images/controls.png) -75px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}\r
+        #cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#949494;}\r
+        #cboxCurrent{position:absolute; bottom:0px; left:58px; color:#949494;}\r
+        #cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}\r
+        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}\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
+        \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
+        #cboxSlideshow{position:absolute; bottom:0px; right:30px; color:#0092ef;}\r
+        #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}\r
         #cboxPrevious:hover{background-position:-75px -25px;}\r
-        #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) -50px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}\r
+        #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}\r
         #cboxNext:hover{background-position:-50px -25px;}\r
-        #cboxLoadingOverlay{background:url(images/loading_background.png) center center no-repeat;}\r
-        #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}\r
-        #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) -25px 0px no-repeat; width:25px; height:25px; text-indent:-9999px;}\r
+        #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}\r
         #cboxClose:hover{background-position:-25px -25px;}\r
 \r
 /*\r
-    The following fixes png-transparency for IE6.  \r
-    It is also necessary for png-transparency in IE7 & IE8 to avoid 'black halos' with the fade transition\r
-    \r
-    Since this method does not support CSS background-positioning, it is incompatible with CSS sprites.\r
-    Colorbox preloads navigation hover classes to account for this.\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
+  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill\r
+  when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9.\r
+  See: http://jacklmoore.com/notes/ie-transparency-problems/\r
 */\r
-/* Modif Yffic : Mise en commentaire car de toute facon ca ne fonctionne pas \r
-       avec ces url comme indique dans le commentaire ci dessus */\r
-/*\r
-.cboxIE #cboxTopLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderTopLeft.png, sizingMethod='scale');}\r
-.cboxIE #cboxTopCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderTopCenter.png, sizingMethod='scale');}\r
-.cboxIE #cboxTopRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderTopRight.png, sizingMethod='scale');}\r
-.cboxIE #cboxBottomLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderBottomLeft.png, sizingMethod='scale');}\r
-.cboxIE #cboxBottomCenter{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderBottomCenter.png, sizingMethod='scale');}\r
-.cboxIE #cboxBottomRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderBottomRight.png, sizingMethod='scale');}\r
-.cboxIE #cboxMiddleLeft{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderMiddleLeft.png, sizingMethod='scale');}\r
-.cboxIE #cboxMiddleRight{background:transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/internet_explorer/borderMiddleRight.png, sizingMethod='scale');}\r
-*/
\ No newline at end of file
+.cboxIE #cboxTopLeft,\r
+.cboxIE #cboxTopCenter,\r
+.cboxIE #cboxTopRight,\r
+.cboxIE #cboxBottomLeft,\r
+.cboxIE #cboxBottomCenter,\r
+.cboxIE #cboxBottomRight,\r
+.cboxIE #cboxMiddleLeft,\r
+.cboxIE #cboxMiddleRight {\r
+    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);\r
+}
\ No newline at end of file