summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-11-01 19:11:58 -0700
committerChad Kieffer <ckieffer@gmail.com>2009-11-01 19:11:58 -0700
commit80dedf77d80a3013aec61bd0f011ca611d3bc081 (patch)
tree28b5b37ba11a9f3bf21e2924ddcd9f4982d625f3 /lib
parent6524aa55b3fbb4a1a458404b5509218a106441cb (diff)
Cleanup RTL styles even further. I think this gets wind and admin_wind looking pretty good for RTL. Related to the previous commit, remove g-right from login menu, let the theme handle positioning.
Diffstat (limited to 'lib')
-rw-r--r--lib/gallery.common.css30
1 files changed, 28 insertions, 2 deletions
diff --git a/lib/gallery.common.css b/lib/gallery.common.css
index 4cb5735f..fc3ed40e 100644
--- a/lib/gallery.common.css
+++ b/lib/gallery.common.css
@@ -523,7 +523,7 @@ div#g-action-status {
/* Pagination ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.g-pager {
- padding: 5px 0;
+ padding: .2em 0;
width: 100%;
}
@@ -573,10 +573,16 @@ div#g-action-status {
direction: rtl;
}
+.rtl #g-header,
+.rtl #g-content,
+.rtl #g-sidebar,
+.rtl #g-footer,
.rtl caption,
.rtl th,
.rtl #g-dialog,
-.g-message {
+.rtl .g-context-menu li a,
+.rtl .g-message-box li,
+.rtl #g-site-status li {
text-align: right;
}
@@ -584,6 +590,14 @@ div#g-action-status {
text-align: left;
}
+.rtl .g-error,
+.rtl .g-info,
+.rtl .g-success,
+.rtl .g-warning {
+ background-position: center right;
+ padding-right: 30px !important;
+}
+
.rtl .g-left,
.rtl .g-inline li,
.rtl form ul ul li,
@@ -610,3 +624,15 @@ div#g-action-status {
.rtl .g-inline li.g-first {
margin-right: 0;
}
+
+.rtl .g-breadcrumbs .g-first {
+ padding-right: 0;
+}
+
+.rtl .g-pager .g-info {
+ width: 35%;
+}
+
+.rtl .g-pager .g-txt-right {
+ margin-left: 0;
+}