other cosmetic changes in tables+css

This commit is contained in:
real_nowhereman 2007-11-09 09:32:28 +00:00
parent 4fe6a01fe6
commit f43109aacf
3 changed files with 14 additions and 3 deletions

View File

@ -56,7 +56,10 @@
{if in_array('draft',$categories)} {if in_array('draft',$categories)}
(<em class="entry-flag">{$lang.entry.flags.short.draft}</em>) (<em class="entry-flag">{$lang.entry.flags.short.draft}</em>)
{/if} {/if}
<a class="link-general"
href="{$panel_url|action_link:write}&amp;entry={$id}">
{$subject|truncate:70} {$subject|truncate:70}
</a>
</td> </td>
<td>{$author}</td> <td>{$author}</td>
<td><a class="link-general" <td><a class="link-general"

View File

@ -21,7 +21,10 @@
{*<td><input type="checkbox" /></td>*} {*<td><input type="checkbox" /></td>*}
<td>{$id}</td> <td>{$id}</td>
<td class="main-cell"> <td class="main-cell">
<a class="link-general"
href="{$panel_url|action_link:write}&amp;page={$id}">
{$subject|truncate:70} {$subject|truncate:70}
</a>
</td> </td>
<td>{$author}</td> <td>{$author}</td>
<td> <td>

View File

@ -195,7 +195,10 @@ textarea.code {
#admin-content td { #admin-content td {
font-size: 0.8em; font-size: 0.8em;
padding: .9em; /*
with display:block on the main-cell link, let's disable this
padding: .9em;
*/
background: #e6e6e6; background: #e6e6e6;
text-align: center; text-align: center;
} }
@ -521,6 +524,9 @@ a.link-enable,
a.link-general { a.link-general {
padding: .9em; padding: .9em;
} }
td.main-cell a.link-general {display:block}
a.link-disable:hover, a.link-delete:hover { a.link-disable:hover, a.link-delete:hover {
background-color: red; background-color: red;
color: white; color: white;
@ -530,14 +536,13 @@ a.link-enable:hover {
color: white; color: white;
} }
a.link-general:hover { a.link-general:hover, .main-cell a:hover {
background-color: #aaa; background-color: #aaa;
color: black; color: black;
} }
/* ===== NOTIFICATIONS ===== */ /* ===== NOTIFICATIONS ===== */
.hint { .hint {
cursor: help; cursor: help;