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. --- themes/admin_wind/css/screen.css | 35 ++++------------------------------- themes/wind/css/screen.css | 40 ++++------------------------------------ themes/wind/views/page.html.php | 4 ++-- 3 files changed, 10 insertions(+), 69 deletions(-) (limited to 'themes') diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css index 38fe50cf..fbcdf4ae 100644 --- a/themes/admin_wind/css/screen.css +++ b/themes/admin_wind/css/screen.css @@ -457,46 +457,19 @@ th { * 7) Right to left styles *********************************************************************/ -.rtl { - direction: rtl; +.rtl #g-admin-menu { + left: auto; + right: 150px; } -.rtl caption, -.rtl th, -.rtl #g-dialog { - text-align: right; -} - -.rtl #g-header #g-login-menu, -.rtl .g-txt-right { - text-align: left; -} - -.rtl .g-right, -.rtl #g-header #g-quick-search-form, -.rtl #g-header #g-login-menu, -.rtl .ui-icon-right .ui-icon { - clear: left; - float: left; -} - -.rtl .g-left, -.rtl form ul ul li, -.rtl input[type="submit"], -.rtl input[type="reset"], .rtl #g-content #g-album-grid .g-item, -.rtl #g-site-admin-menu, -.rtl .g-pager li, -.rtl .g-buttonset li, -.rtl .ui-icon-left .ui-icon, .rtl #g-site-theme, .rtl #g-admin-theme, .rtl .g-selected img, .rtl .g-available .g-block img, .rtl #g-content #g-photo-stream .g-item, .rtl li.g-group, -.rtl #g-server-add-admin, -.rtl .ui-icon-left .ui-icon { +.rtl #g-server-add-admin { float: right; } diff --git a/themes/wind/css/screen.css b/themes/wind/css/screen.css index 3a24140b..b73c21f0 100644 --- a/themes/wind/css/screen.css +++ b/themes/wind/css/screen.css @@ -195,10 +195,6 @@ td { /* Header ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ -#g-banner #g-logo img { - margin: 0; -} - #g-banner #g-quick-search-form { clear: right; float: right; @@ -311,7 +307,6 @@ td { #g-banner #g-login-menu { color: #999; - float: right; } #g-banner #g-login-menu li { @@ -417,37 +412,10 @@ td { } /** ******************************************************************* - * 6) Right to left styles + * 7) Right to left styles *********************************************************************/ -.rtl { - direction: rtl; -} - -.rtl caption, -.rtl th, -.rtl #g-dialog { - text-align: right; -} - -.rtl .g-right, -.rtl #g-header #g-quick-search-form, -.rtl #g-header #g-login-menu, -.rtl .ui-icon-right .ui-icon { - clear: left; - float: left; -} - -.rtl .g-left, -.rtl form ul ul li, -.rtl input[type="submit"], -.rtl input[type="reset"], -.rtl #g-header #g-logo img, -.rtl #g-content #g-album-grid .g-item, -.rtl #g-site-menu, -.rtl .g-breadcrumbs li, -.rtl .g-pager li, -.rtl .g-buttonset li, -.rtl .ui-icon-left .ui-icon { - float: right; +.rtl #g-site-menu { + left: auto; + right: 150px; } diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php index 1d0e02ce..a2b2fdd7 100644 --- a/themes/wind/views/page.html.php +++ b/themes/wind/views/page.html.php @@ -77,14 +77,14 @@ site_status() ?>
- header_top() ?> - + header_top() ?>
site_menu() ?>
-- cgit v1.2.3