summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStella Power2010-06-07 14:32:05 (GMT)
committer Stella Power2010-06-07 14:32:05 (GMT)
commite699334674695cc2d58c07cc6c6ebb4f265708a7 (patch)
tree244fb97d656b1b9f56d4dd9ee6c7c2cd94ce2964
parenteda65093ca4cf1bbbcbac17ddddda18e9a53f36b (diff)
#773622 by ami7878 - fix for arrow direction in RTL themes
-rw-r--r--css/lightbox-rtl.css38
1 files changed, 38 insertions, 0 deletions
diff --git a/css/lightbox-rtl.css b/css/lightbox-rtl.css
index 84af8f3..666d15a 100644
--- a/css/lightbox-rtl.css
+++ b/css/lightbox-rtl.css
@@ -22,3 +22,41 @@
margin-right: 0px;
margin-left: 5px;
}
+
+#prevLink, #nextLink {
+ width: 49%;
+ height: 100%;
+ background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */
+ display: block;
+}
+
+#prevLink, #framePrevLink {
+ left: auto;
+ right: 0;
+ float: right;
+}
+
+#nextLink, #frameNextLink {
+ right: auto;
+ left: 0;
+ float: left;
+}
+
+#prevLink:hover, #prevLink:visited:hover, #prevLink.force_show_nav, #framePrevLink {
+ background: url(../images/next.gif) right 15% no-repeat;
+}
+
+#nextLink:hover, #nextLink:visited:hover, #nextLink.force_show_nav, #frameNextLink {
+ background: url(../images/prev.gif) left 15% no-repeat;
+}
+
+#prevLink:hover.force_show_nav, #prevLink:visited:hover.force_show_nav,
+#framePrevLink:hover, #framePrevLink:visited:hover {
+ background: url(../images/next_hover.gif) right 15% no-repeat;
+}
+
+#nextLink:hover.force_show_nav, #nextLink:visited:hover.force_show_nav,
+#frameNextLink:hover, #frameNextLink:visited:hover {
+ background: url(../images/prev_hover.gif) left 15% no-repeat;
+}
+