program table smallfix

This commit is contained in:
Sjur Hernes committed 2012-05-28 22:05:15 +02:00
1 parent 8a47dd420c
commit cd2c4debc8
2 files changed
+28 -6

No files matched your search

+4 -5
View File
@@ -269,12 +269,11 @@ if (!class_exists("NeufEvents")) {
$artist = get_post_meta( $post->ID, 'neuf_events_artist', true) ;
$html .= ' <tr>';
$html .= ' <td class="time" style="width:10%;">' . date("H:i", $time) . '</td>';
$html .= ' <td class="artist" style="width:10%;">' . $artist . '</td>';
$html .= ' <td class="title" style="padding-right:10px;"><a href="' . get_permalink() . '">' . get_the_title() . '</a></td>';
$html .= ' <tr class="tr_event '.$type.'" onclick="document.location = \''.get_permalink().'\';">';
$html .= ' <td class="time" style="font-size:smaller; width:10%;">' . date("d/m H:i", $time) . '</td>';
$html .= ' <td class="title" style="padding-right:10px;">' . get_the_title() . '</td>';
$html .= ' <td class="type" style="font-size:smaller;">' . $type . '</td>';
$html .= ' <td class="place" style="width:27%;padding-left:10px;">' . get_the_title($venue) . '</td>';
$html .= ' <td class="place" style="width:10%;padding-left:5px;">' . get_the_title($venue) . '</td>';
$html .= ' </tr>';
}
endwhile;
+24 -1
View File
@@ -291,4 +291,27 @@ input#saveForm {
.lesmer {
float: right;
}
}
.event-table {
border-spacing: 0;
border-width: 0;
}
.tr_event{
height: 3em;
}
.tr_event td {
cursor: pointer;
padding: 0.8em;
}
'Annet','Foredrag','Klubb','Konsert','Quiz',
'Stand-up','Konkurranse', 'Lyntale'
tbody .Quiz, tbody .Klubb, tbody .Konkurranse { background-color: #a4dd9c; } /* Lysest grønn */
tbody .Quiz:hover, tbody .Klubb:hover, tbody .Konkurranse:hover { background-color: #64c548; } /* lys grønn */
tbody .Konsert { background-color: #f57ec5; } /* Lysest rosa */
tbody .Konsert:hover { background-color: #ec3e9d; } /* Lys rosa */
tbody .Annet, tbody .Stand-up { background-color: #b6a4c9; } /* Lysest lilla */
tbody .Annet:hover, tbody Stand-up:hover { background-color: #925ab3; } /* lys lilla */
tbody .Foredrag, tbody .Lyntale { background-color: #ade3d4; } /* lysest Blå */
tbody .Foredrag:hover, tbody .Lyntale:hover { background-color: #67ccc0; } /* lys blå */