diff options
author | Chad Kieffer <chad@2tbsp.com> | 2009-02-23 05:14:05 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2009-02-23 05:14:05 +0000 |
commit | cd8d1c6582caeb6908d959d1e1371e9b450d78c7 (patch) | |
tree | 0289145997245d1a61b997f78c8273d983646a48 | |
parent | 490a182f85dded2804371459f4e3da89ae9a1066 (diff) |
Temp fix for photostreamin admin dashboard, other miscellaneous css fixes. Apply jQuery UI button css to submit inputs in the admin theme.
-rw-r--r-- | modules/comment/views/admin_block_recent_comments.html.php | 6 | ||||
-rw-r--r-- | themes/admin_default/css/fix-ie.css | 2 | ||||
-rw-r--r-- | themes/admin_default/css/screen.css | 14 | ||||
-rw-r--r-- | themes/admin_default/js/ui.init.js | 5 |
4 files changed, 17 insertions, 10 deletions
diff --git a/modules/comment/views/admin_block_recent_comments.html.php b/modules/comment/views/admin_block_recent_comments.html.php index d641d9ae..d7b8d2b0 100644 --- a/modules/comment/views/admin_block_recent_comments.html.php +++ b/modules/comment/views/admin_block_recent_comments.html.php @@ -2,11 +2,11 @@ <ul> <? foreach ($comments as $i => $comment): ?> <li class="<?= ($i % 2 == 0) ? "gEvenRow" : "gOddRow" ?>"> - <img src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>" + <img src="<?= $comment->author()->avatar_url(32, $theme->url("images/avatar.jpg", true)) ?>" class="gAvatar" alt="<?= $comment->author_name() ?>" - width="40" - height="40" /> + width="32" + height="32" /> <?= date("Y-M-d H:i:s", $comment->created) ?> <?= t("<a href=#>%author_name</a> said <em>%comment_text</em>", array("author_name" => $comment->author_name(), diff --git a/themes/admin_default/css/fix-ie.css b/themes/admin_default/css/fix-ie.css index 5df130d7..08716978 100644 --- a/themes/admin_default/css/fix-ie.css +++ b/themes/admin_default/css/fix-ie.css @@ -1,6 +1,7 @@ /** * Fix display in IE */ + #gHeader, #gAdminMenu, #gGroupAdmin, @@ -15,4 +16,3 @@ .gUnavailable:hover { filter: alpha(opacity=100); } - diff --git a/themes/admin_default/css/screen.css b/themes/admin_default/css/screen.css index 2647ba48..4d4a7e3b 100644 --- a/themes/admin_default/css/screen.css +++ b/themes/admin_default/css/screen.css @@ -26,8 +26,8 @@ padding: 1em; } -.gBlockContent { - padding: 0 1em 1em 1em; +#gSidebar .gBlockContent { + padding: 0; } .gSelected img, @@ -120,12 +120,11 @@ #gPhotoStream .gBlockContent ul { border-right: 1px solid #e8e8e8; - height: 92px; + height: 135px; overflow: auto; overflow: -moz-scrollbars-horizontal; /* for FF */ overflow-x: scroll; /* scroll horizontal */ overflow-y: hidden; /* Hide vertical*/ - position: absolute; } #gContent #gPhotoStream .gItem { @@ -210,7 +209,7 @@ li.gGroup { #gGroupAdmin:after, .gSelected:after, .gAvailable .gBlock:after, -#gPhotoStream .gItem:after { +#gPhotoStream:after { clear: both; content: "."; display: block; @@ -243,3 +242,8 @@ li.gGroup { .gButtonSetVertical a { width: 8em !important; } + +#gAdminDashboard .ui-dialog-titlebar, +#gAdminDashboardSidebar .ui-dialog-titlebar { + padding: .2em .4em; +}
\ No newline at end of file diff --git a/themes/admin_default/js/ui.init.js b/themes/admin_default/js/ui.init.js index 4f672c2a..d0406b39 100644 --- a/themes/admin_default/js/ui.init.js +++ b/themes/admin_default/js/ui.init.js @@ -26,7 +26,10 @@ $(document).ready(function(){ $('.gItem').vAlign(); } - // Round view menu buttons + // Apply jQuery UI button css to submit inputs + $("input[type=submit]:not(.gShortForm input)").addClass("ui-state-default ui-corner-all"); + + // Round view menu buttons if ($("#gAdminCommentsMenu").length) { $("#gAdminCommentsMenu ul").removeClass("gMenu").removeClass("sf-menu"); $("#gAdminCommentsMenu").addClass("gButtonSet"); |