summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/comment/views/admin_block_recent_comments.html.php6
-rw-r--r--themes/admin_default/css/fix-ie.css2
-rw-r--r--themes/admin_default/css/screen.css14
-rw-r--r--themes/admin_default/js/ui.init.js5
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");