Skip to content

Commit

Permalink
Some more styles
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Feb 17, 2005
1 parent 2a0407b commit 5e497e4
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 14 deletions.
4 changes: 2 additions & 2 deletions mod/glossary/formats/continuous/continuous_format.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ function glossary_show_entry_continuous($course, $cm, $glossary, $entry, $mode="

global $USER;

echo "\n<table border=\"0\" width=\"95%\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n";
echo '<table class="glossarypost continuous" align="center">';
echo "<tr valign=\"top\">\n";
echo "<td width=\"100%\" valign=\"top\"\n";
echo '<td width="100%" valign="top" class="entry">';
glossary_print_entry_approval($cm, $entry, $mode);
glossary_print_entry_attachment($entry,"html","right");
echo "<b>";
Expand Down
4 changes: 2 additions & 2 deletions mod/glossary/formats/dictionary/dictionary_format.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ function glossary_show_entry_dictionary($course, $cm, $glossary, $entry, $mode='

global $CFG, $USER;

echo '<table border="0" width="95%" cellspacing="0" cellpadding="3" class="forumpost" align="center">';
echo '<table class="glossarypost dictionary" align="center">';
echo '<tr valign="top">';
echo '<td width="100%" valign="top" bgcolor="#FFFFFF">';
echo '<td width="100%" valign="top" class="entry">';
glossary_print_entry_approval($cm, $entry, $mode);
glossary_print_entry_attachment($entry,'html','right');
echo '<b>';
Expand Down
4 changes: 2 additions & 2 deletions mod/glossary/formats/encyclopedia/encyclopedia_format.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function glossary_show_entry_encyclopedia($course, $cm, $glossary, $entry, $mode
$user = get_record("user", "id", $entry->userid);
$strby = get_string("writtenby", "glossary");

echo "\n<br /><table border=\"0\" width=\"95%\" cellspacing=\"0\" cellpadding=\"3\" class=\"forumpost\" align=\"center\">";
echo '<table class="glossarypost encyclopedia" align="center">';

echo "\n<tr valign=\"top\">";
echo "\n<td width=\"35\" valign=\"top\" class=\"forumpostpicture\">";
Expand All @@ -21,7 +21,7 @@ function glossary_show_entry_encyclopedia($course, $cm, $glossary, $entry, $mode
glossary_print_entry_concept($entry);
echo "</b><br />";

echo "<font size=\"2\">$strby " . fullname($user, isteacher($course->id)) . "</font>";
echo "$strby " . fullname($user, isteacher($course->id));
echo "&nbsp;&nbsp;<font size=\"1\">(".get_string("lastedited").": ".
userdate($entry->timemodified).")</font>";
echo "</td>";
Expand Down
4 changes: 2 additions & 2 deletions mod/glossary/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1276,10 +1276,10 @@ function glossary_print_tabbed_table_start($data, $currenttab, $tTHEME = NULL) {
</td>
</tr>
<tr>
<td width="100%" class="glossaryentryheader"><hr /></td>
<td width="100%" class="entryboxheader"><hr /></td>
</tr>
<tr>
<td width="100%" class="glossaryentry">
<td width="100%" class="entrybox">
<center>
<?php
}
Expand Down
5 changes: 3 additions & 2 deletions theme/standard/styles_color.css
Original file line number Diff line number Diff line change
Expand Up @@ -327,15 +327,16 @@ th {
color:#CCCCCC;
}

.glossaryentryheader {
.entryboxheader {
border-color: #BBBBBB;
}

.glossaryentry {
.entrybox {
border-color: #BBBBBB;
}



/* lang, forum */
.teacheronly {
color:#990000;
Expand Down
15 changes: 13 additions & 2 deletions theme/standard/styles_layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -441,16 +441,27 @@ dialouge, exercise, forum, lesson, quiz */
white-space: nowrap;
}

.glossaryentryheader {
.entryboxheader {
border-width: 1px 1px 0px 1px;
border-style: solid;
}

.glossaryentry {
.entrybox {
border-width: 0px 1px 1px 1px;
border-style: solid;
}

.glossarypost {
width: 95%;
border-width:1px;
border-style:solid;
border-collapse:separate;
}

.glossarypost .entry {
padding: 3px;
}


/* message */
.message_link {
Expand Down
6 changes: 4 additions & 2 deletions theme/standard/styles_moz.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,14 @@
-moz-border-radius-topright:15px;
}

.glossaryentryheader {
.entryboxheader {
-moz-border-radius-topleft:10px;
-moz-border-radius-topright:10px;
}

.glossaryentry {
.entrybox {
-moz-border-radius-bottomleft:10px;
-moz-border-radius-bottomright:10px;
}

#calendar .eventlist .eventfull {
Expand Down

0 comments on commit 5e497e4

Please sign in to comment.