Clean up some css in mail.php.
This commit is contained in:
parent
b19515db05
commit
228908ac09
|
@ -208,7 +208,7 @@
|
|||
font-family: Arial, Helvetica, sans-serif;
|
||||
background: var(--color-dark);
|
||||
border-radius: 5px;
|
||||
font-size: 1.2em;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.np_mail_button_read {
|
||||
|
@ -220,7 +220,84 @@
|
|||
font-family: Arial, Helvetica, sans-serif;
|
||||
background: var(--color-dark);
|
||||
border-radius: 5px;
|
||||
font-size: 1em;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.mail_table_login {
|
||||
border: 0;
|
||||
align-items: center;
|
||||
color: var(--color-text);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.mail_results {
|
||||
color: var(--color-visited);
|
||||
background: var(--color-light);
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.mail_results_subject_head {
|
||||
width: 50%;
|
||||
color: var(--color-visited);
|
||||
background: var(--color-light);
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.mail_results_from_head {
|
||||
color: var(--color-visited);
|
||||
background: var(--color-light);
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.mail_results_to_head {
|
||||
color: var(--color-visited);
|
||||
background: var(--color-light);
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.mail_results_date_head {
|
||||
color: var(--color-visited);
|
||||
background: var(--color-light);
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.mail_results_from {
|
||||
color: var(--color-text);
|
||||
background: var(--color-light);
|
||||
margin: 0px;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.mail_results_to {
|
||||
color: var(--color-text);
|
||||
background: var(--color-light);
|
||||
margin: 0px;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.mail_results_date {
|
||||
color: var(--color-text);
|
||||
background: var(--color-light);
|
||||
margin: 0px;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
/* mail.php */
|
||||
.mail_post_page {
|
||||
color: var(--color-text);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.mail_results_table {
|
||||
width: 100%;
|
||||
table-layout: fixed;
|
||||
border: none;
|
||||
border-spacing: 0px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-size: 0.7em;
|
||||
}
|
||||
|
||||
.np_mail_button_link:hover {
|
||||
|
@ -1814,31 +1891,6 @@ table.overboard_results_table {
|
|||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.mail_table_login {
|
||||
border: 0;
|
||||
align-items: center;
|
||||
color: var(--color-text);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
/* mail.php */
|
||||
.mail_post_page {
|
||||
color: var(--color-text);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.mail_results_table {
|
||||
width: 100%;
|
||||
table-layout: fixed;
|
||||
border: none;
|
||||
border-spacing: 0px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-size: 0.7em;
|
||||
}
|
||||
|
||||
/* config (user.php) */
|
||||
.config_results_table {
|
||||
width: 100%;
|
||||
|
|
|
@ -352,7 +352,7 @@ function view_mailbox($user)
|
|||
$query->execute([
|
||||
'mail_from' => $user
|
||||
]);
|
||||
echo '<tr class="np_thread_head"><td class="np_thread_head">Subject</td><td class="np_thread_head">From</td><td class="np_thread_head">To</td><td class="np_thread_head">Date</td></tr>';
|
||||
echo '<tr class="mail_results"><td class="mail_results_subject_head">Subject</td><td class="mail_results_from_head">From</td><td class="mail_results_to_head">To</td><td class="mail_results_date_head">Date</td></tr>';
|
||||
$i = 1;
|
||||
while (($row = $query->fetch()) !== false) {
|
||||
if (($row['mail_from'] == $user) && ($row['from_hide'] == 'true')) {
|
||||
|
@ -388,7 +388,7 @@ function view_mailbox($user)
|
|||
echo "<input type='hidden' name='username' value='" . $_POST['username'] . "' >";
|
||||
echo '<input name="command" type="hidden" value="Message">';
|
||||
echo '</form>';
|
||||
echo '</td><td>' . $row["mail_from"] . '</td><td>' . $row["rcpt_to"] . '</td><td>' . $newdate . '</td></tr>';
|
||||
echo '</td><td class="mail_results_from">' . $row["mail_from"] . '</td><td class="mail_results_to">' . $row["rcpt_to"] . '</td><td class="mail_results_date">' . $newdate . '</td></tr>';
|
||||
$i++;
|
||||
}
|
||||
echo '</tbody></table><br >';
|
||||
|
|
Loading…
Reference in New Issue