From 4241e03d7549d4ebb14a0d8e5e0b830a4e032ce0 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Tue, 27 Oct 2009 23:03:43 -0600 Subject: Breadcrumb updates. Apply g-first and g-active consistently, use ems instead of px for nicer proportions, make font-size the same whether on the page or in a dialog. --- lib/gallery.common.css | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) (limited to 'lib') diff --git a/lib/gallery.common.css b/lib/gallery.common.css index c5adc3ee..bf30212e 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -467,10 +467,6 @@ ul.sf-menu li li li.sfHover ul { /* Status and validation messages ~~~~ */ -.g-message { - font-size: .8em; -} - .g-message-block { border: 1px solid #ccc; width: 100%; @@ -500,17 +496,19 @@ div#g-action-status { /* Breadcrumbs ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ .g-breadcrumbs { + clear: both; padding: 0 20px; } .g-breadcrumbs li { background: transparent url('images/ico-separator.gif') no-repeat scroll left center; float: left; - padding: 10px 6px 10px 16px !important; + padding: 1em .6em 1em 1.4em; } -.g-breadcrumbs li.root { - background: transparent; +.g-breadcrumbs .g-first { + background: none; + padding-left: 0; } .g-breadcrumbs li a, @@ -518,21 +516,11 @@ div#g-action-status { display: block; } -.g-breadcrumbs li.active, -.g-breadcrumbs li.active span { - font-weight: bold; -} - #g-dialog ul.g-breadcrumbs { - clear: both; margin-left: 0; padding-left: 0; } -#g-dialog .g-breadcrumbs li { - font-size: .9em; -} - /* Pagination ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ .g-pager { @@ -570,7 +558,9 @@ div#g-action-status { .g-inline li { float: left; - margin-left: 1em; + margin-left: 1.6em; + padding-left: 0; + border: 1px solid yellow; } .g-inline li.g-first { -- cgit v1.2.3 From d182ba9b570c4474f9e7248d310d48b44340f105 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Tue, 27 Oct 2009 23:05:16 -0600 Subject: Remove debug border I forgot to remove. --- lib/gallery.common.css | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') diff --git a/lib/gallery.common.css b/lib/gallery.common.css index bf30212e..b5692877 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -560,7 +560,6 @@ div#g-action-status { float: left; margin-left: 1.6em; padding-left: 0; - border: 1px solid yellow; } .g-inline li.g-first { -- cgit v1.2.3 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. --- lib/gallery.common.css | 4 ++-- themes/admin_wind/css/screen.css | 2 +- themes/admin_wind/views/admin.html.php | 12 +++++++++++- 3 files changed, 14 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/gallery.common.css b/lib/gallery.common.css index b5692877..6709e4db 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -558,8 +558,8 @@ div#g-action-status { .g-inline li { float: left; - margin-left: 1.6em; - padding-left: 0; + margin-left: 1.8em; + padding-left: 0 !important; } .g-inline li.g-first { 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; } diff --git a/themes/admin_wind/views/admin.html.php b/themes/admin_wind/views/admin.html.php index d88cabf6..ef1aa1d2 100644 --- a/themes/admin_wind/views/admin.html.php +++ b/themes/admin_wind/views/admin.html.php @@ -44,7 +44,17 @@
admin_header_top() ?>