diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-11-18 11:26:34 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-11-18 11:26:34 -0800 |
commit | 350f6b58764beced6cd32497ad11e530b091fd5c (patch) | |
tree | ea8705d0a28e8ed78cc9507aa688b7c8a1a9eb87 /lib | |
parent | 670312ff10b5083a349456df116b5c815ccc73a0 (diff) | |
parent | 5b579ffdcb05322d42c9e402d9b841ace249a025 (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gallery.common.css | 65 | ||||
-rw-r--r-- | lib/images/ico-separator-rtl.gif | bin | 0 -> 106 bytes | |||
-rw-r--r-- | lib/superfish/images/arrows-ffffff-rtl.png | bin | 0 -> 378 bytes |
3 files changed, 59 insertions, 6 deletions
diff --git a/lib/gallery.common.css b/lib/gallery.common.css index 16dd143c..860529cd 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -677,17 +677,20 @@ div#g-action-status { .rtl .g-left, .rtl .g-inline li, -.rtl .g-short-form li, -.rtl form ul ul li, -.rtl input[type="submit"], -.rtl input[type="reset"], .rtl #g-content #g-album-grid .g-item, .rtl .sf-menu li, .rtl .g-breadcrumbs li, .rtl .g-pager li, .rtl .g-buttonset li, .rtl .ui-icon-left .ui-icon, -.rtl input.checkbox { +.rtl .g-short-form li, +.rtl form ul ul li, +.rtl input[type="submit"], +.rtl input[type="reset"], +.rtl input.checkbox, +.rtl input[type=checkbox], +.rtl input.radio, +.rtl input[type=radio] { float: right; } @@ -705,11 +708,12 @@ div#g-action-status { } .rtl .g-breadcrumbs li { - background-position: right center; + background: transparent url('images/ico-separator-rtl.gif') no-repeat scroll right center; padding: 1em 18px 1em 8px; } .rtl .g-breadcrumbs .g-first { + background: none; padding-right: 0; } @@ -735,4 +739,53 @@ div#g-action-status { .rtl .sf-sub-indicator { left: .75em !important; right: auto; + background: url('superfish/images/arrows-ffffff-rtl.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */ +} +.rtl a > .sf-sub-indicator { /* give all except IE6 the correct values */ + top: .8em; + background-position: -10px -100px; /* use translucent arrow for modern browsers*/ +} +/* apply hovers to modern browsers */ +.rtl a:focus > .sf-sub-indicator, +.rtl a:hover > .sf-sub-indicator, +.rtl a:active > .sf-sub-indicator, +.rtl li:hover > a > .sf-sub-indicator, +.rtl li.sfHover > a > .sf-sub-indicator { + background-position: 0 -100px; /* arrow hovers for modern browsers*/ +} + +/* point right for anchors in subs */ +.rtl .sf-menu ul .sf-sub-indicator { background-position: 0 0; } +.rtl .sf-menu ul a > .sf-sub-indicator { background-position: -10px 0; } +/* apply hovers to modern browsers */ +.rtl .sf-menu ul a:focus > .sf-sub-indicator, +.rtl .sf-menu ul a:hover > .sf-sub-indicator, +.rtl .sf-menu ul a:active > .sf-sub-indicator, +.rtl .sf-menu ul li:hover > a > .sf-sub-indicator, +.rtl .sf-menu ul li.sfHover > a > .sf-sub-indicator { + background-position: 0 0; /* arrow hovers for modern browsers*/ +} + +.rtl .sf-menu li:hover ul, +.rtl .sf-menu li.sfHover ul { + right: 0; +} + +.rtl ul.sf-menu li li:hover ul, +.rtl ul.sf-menu li li.sfHover ul { + right: 12em; /* match ul width */ +} +.rtl ul.sf-menu li li li:hover ul, +.rtl ul.sf-menu li li li.sfHover ul { + right: 12em; /* match ul width */ +} + +/*** shadows for all but IE6 ***/ +.rtl .sf-shadow ul { + background: url('superfish/images/shadow.png') no-repeat bottom left; + padding: 0 0 9px 8px; + -moz-border-radius-bottomright: 17px; + -moz-border-radius-topleft: 17px; + -webkit-border-top-left-radius: 17px; + -webkit-border-bottom-right-radius: 17px; } diff --git a/lib/images/ico-separator-rtl.gif b/lib/images/ico-separator-rtl.gif Binary files differnew file mode 100644 index 00000000..d9061a46 --- /dev/null +++ b/lib/images/ico-separator-rtl.gif diff --git a/lib/superfish/images/arrows-ffffff-rtl.png b/lib/superfish/images/arrows-ffffff-rtl.png Binary files differnew file mode 100644 index 00000000..2fe14a36 --- /dev/null +++ b/lib/superfish/images/arrows-ffffff-rtl.png |