[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / plugins-dist / mediabox / colorbox / black-simple / colorbox.css
index ad164f1..a824d9c 100644 (file)
@@ -1,39 +1,45 @@
 /*\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;}\r
-#cboxLoadedContent{overflow:auto;}\r
-#cboxLoadedContent iframe{display:block; width:100%; height:100%; border:0;}\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
+#cboxOverlay{background:#000; opacity: 0.9; filter: alpha(opacity = 90);}\r
+#colorbox{outline:0;}\r
+    #cboxContent{margin-top:20px;background:#000;}\r
+        .cboxIframe{background:#fff;}\r
+        #cboxError{padding:50px; border:1px solid #ccc;}\r
+        #cboxLoadedContent{border:5px solid #000; background:#fff;}\r
+        #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}\r
+        #cboxCurrent{position:absolute; top:-20px; right:0; color:#ccc;}\r
+        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}\r
 \r
-#colorbox{}\r
-    #cboxContent{margin-top:20px;}\r
-        #cboxLoadedContent{background:#000; padding:5px;}\r
-        #cboxTitle{position:absolute; top:-21px; left:0; right:0;color:#ccc;background:rgba(0,0,0,0.6);padding:1px 5px;padding-right: 50px;float: none !important;}\r
-        #cboxCurrent{position:absolute; top:-20px; right:5px; color:#ccc;}\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; top:-20px; right:90px; color:#fff;}\r
-        #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(images/controls.png) top left no-repeat; width:28px; height:65px; text-indent:-9999px;}\r
+        #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(images/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;}\r
         #cboxPrevious:hover{background-position:bottom left;}\r
-        #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(images/controls.png) top right no-repeat; width:28px; height:65px; text-indent:-9999px;}\r
+        #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(images/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;}\r
         #cboxNext:hover{background-position:bottom right;}\r
-        #cboxLoadingOverlay{background:#000;}\r
-        #cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat;}\r
-        #cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(images/controls.png) top center no-repeat; width:38px; height:19px; text-indent:-9999px;}\r
-        #cboxClose:hover{background-position:bottom center;}
\ No newline at end of file
+        #cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(images/controls.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;}\r
+        #cboxClose:hover{background-position:bottom center;}\r