Permalink
Browse files

I removed the inlinestyle for the userentry in the sideblock "online …

…user" and added the class "listentry" to the div. The properties of th inline style are now defined in styles_layout.css and stylews_fonts.css.
  • Loading branch information...
urs_hunkler
urs_hunkler committed May 27, 2005
1 parent 2b63e79 commit bb0ceba26df665c8617bdbcd4e7b84e3bc317990
@@ -103,7 +103,7 @@ function get_content() {
//Because they are online
if (!empty($users)) {
foreach ($users as $user) {
- $this->content->text .= '<div style="text-align: left; font-size: 0.75em; padding-top: 5px;">';
+ $this->content->text .= '<div class="listentry">';
$timeago = format_time(time() - max($user->timeaccess, $user->lastaccess)); //bruno to calculate correctly on frontpage
if ($user->picture) {
if ($CFG->slasharguments) {
@@ -218,6 +218,11 @@ table.formtable tbody th {
font-size: 0.8em;
}
+.block_online_users .listentry {
+ text-align:left;
+ font-size:0.75em
+}
+
/***
*** Calendar
***/
@@ -396,6 +396,10 @@ body#admin-config .confighelp {
margin-bottom: 0px;
}
+.block_online_users .listentry {
+ padding-top:5px;
+}
+
/***
*** Calendar
***/

0 comments on commit bb0ceba

Please sign in to comment.