From e232c39fe516a9782ec15f4e2a9b4e68f1863a7d Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Wed, 18 Nov 2009 18:51:18 -0700 Subject: Rename g-pager to g-paginator after the recent pagination update. --- lib/gallery.common.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib') diff --git a/lib/gallery.common.css b/lib/gallery.common.css index 860529cd..1ada929f 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -542,17 +542,17 @@ div#g-action-status { /* Pagination ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ -.g-pager { +.g-paginator { padding: .2em 0; width: 100%; } -.g-pager li { +.g-paginator li { float: left; width: 30%; } -.g-pager .g-info { +.g-paginator .g-info { background: none; padding: .2em 0; text-align: center; @@ -680,7 +680,7 @@ div#g-action-status { .rtl #g-content #g-album-grid .g-item, .rtl .sf-menu li, .rtl .g-breadcrumbs li, -.rtl .g-pager li, +.rtl .g-paginator li, .rtl .g-buttonset li, .rtl .ui-icon-left .ui-icon, .rtl .g-short-form li, @@ -717,11 +717,11 @@ div#g-action-status { padding-right: 0; } -.rtl .g-pager .g-info { +.rtl .g-paginator .g-info { width: 35%; } -.rtl .g-pager .g-text-right { +.rtl .g-paginator .g-text-right { margin-left: 0; } -- cgit v1.2.3 From 7f58752ab4537b800f6f563300b7d217da16e0aa Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Wed, 18 Nov 2009 19:41:13 -0700 Subject: Flip paginator arrow icons for RTL. This will help for now, but jQuery UI themes really need to be updated to support RTL http://dev.jqueryui.com/ticket/4702. --- lib/gallery.common.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'lib') diff --git a/lib/gallery.common.css b/lib/gallery.common.css index 1ada929f..097e7c1e 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -789,3 +789,21 @@ div#g-action-status { -webkit-border-top-left-radius: 17px; -webkit-border-bottom-right-radius: 17px; } + +/* RTL paginator ~~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +.rtl .g-paginator .ui-icon-seek-end { + background-position: -80px -160px; +} + +.rtl .g-paginator .ui-icon-seek-next { + background-position: -48px -160px; +} + +.rtl .g-paginator .ui-icon-seek-prev { + background-position: -32px -160px; +} + +.rtl .g-paginator .ui-icon-seek-first { + background-position: -64px -160px; +} \ No newline at end of file -- cgit v1.2.3 From 658a007c6bb46685b1e08ff6e7484a3e7dd85e67 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Wed, 18 Nov 2009 22:56:14 -0700 Subject: Remove right padding on li.g-error for RTL. Fixes #904. --- lib/gallery.common.css | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'lib') diff --git a/lib/gallery.common.css b/lib/gallery.common.css index 097e7c1e..3a5a1946 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -675,6 +675,13 @@ div#g-action-status { padding-right: 30px !important; } +.rtl form li.g-error, +.rtl form li.g-info, +.rtl form li.g-success, +.rtl form li.g-warning { + padding-right: 0 !important; +} + .rtl .g-left, .rtl .g-inline li, .rtl #g-content #g-album-grid .g-item, @@ -717,19 +724,11 @@ div#g-action-status { padding-right: 0; } -.rtl .g-paginator .g-info { - width: 35%; -} - -.rtl .g-paginator .g-text-right { - margin-left: 0; -} - .rtl input.checkbox { margin-right: .4em; } -/* Superfish RTL ~~~~~~~~~~~~~~~~~~~~~~~~~ */ +/* RTL Superfish ~~~~~~~~~~~~~~~~~~~~~~~~~ */ .rtl .sf-menu a.sf-with-ul { padding-left: 2.25em; @@ -792,6 +791,14 @@ div#g-action-status { /* RTL paginator ~~~~~~~~~~~~~~~~~~~~~~~~~~ */ +.rtl .g-paginator .g-info { + width: 35%; +} + +.rtl .g-paginator .g-text-right { + margin-left: 0; +} + .rtl .g-paginator .ui-icon-seek-end { background-position: -80px -160px; } -- cgit v1.2.3