From 27571a1467e34a6774f250a22ce9ab16fddd909a Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Tue, 27 Oct 2009 23:18:45 -0600 Subject: We really only need one "back to the Gallery" link in the banner. Replace the one on the left with "you are logged in as". Added a bit of height to the admin banner to space out the admin menu from the login menu. Forced the removal of padding-left in g-inline list items. --- themes/admin_wind/css/screen.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/admin_wind/css') diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css index 4ae0c218..38fe50cf 100644 --- a/themes/admin_wind/css/screen.css +++ b/themes/admin_wind/css/screen.css @@ -246,7 +246,7 @@ th { background: transparent url('../../../lib/images/logo.png') no-repeat 0 .5em; color: #A5A5A5 !important; display: block; - height: 55px; + height: 65px; padding-top: 5px; width: 105px; } -- cgit v1.2.3 From fbc551771153a6664da2c3a3a82e22b912bb3cdc Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Wed, 28 Oct 2009 00:15:08 -0600 Subject: Initial RTL update work. Consolidated shared rtl-related css selectors in gallery.common. Applied g-right and g-left to a few banner items, including login menu and the logo. --- lib/gallery.common.css | 39 ++++++++++++++++++++++++++---- modules/gallery/views/login.html.php | 2 +- modules/search/views/search_link.html.php | 2 +- themes/admin_wind/css/screen.css | 35 ++++----------------------- themes/wind/css/screen.css | 40 ++++--------------------------- themes/wind/views/page.html.php | 4 ++-- 6 files changed, 46 insertions(+), 76 deletions(-) (limited to 'themes/admin_wind/css') diff --git a/lib/gallery.common.css b/lib/gallery.common.css index 6709e4db..414bae73 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -347,13 +347,11 @@ form .g-error { .g-left { clear: none; float: left; - margin: 1em 1em 1em 0; } .g-right { clear: none; float: right; - margin: 1em 0 1em 1em; } .g-first { @@ -566,14 +564,45 @@ div#g-action-status { margin-left: 0; } -/* Right to left styles ~~~~~~~~~~~~~~~~~~~~ */ +/** ******************************************************************* + * 7) Right to left styles + **********************************************************************/ + +.rtl { + direction: rtl; +} + +.rtl caption, +.rtl th, +.rtl #g-dialog, +.g-message { + text-align: right; +} -.rtl .g-short-form li { +.rtl .g-txt-right { + text-align: left; +} + +.rtl .g-left, +.rtl .g-inline 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 { float: right; } +.rtl .g-right, +.rtl .ui-icon-right .ui-icon { + float: left; +} + .rtl .g-inline li { - float: right; margin-right: 1em; } diff --git a/modules/gallery/views/login.html.php b/modules/gallery/views/login.html.php index 0e0d9039..971d18b8 100644 --- a/modules/gallery/views/login.html.php +++ b/modules/gallery/views/login.html.php @@ -1,5 +1,5 @@ -