style tweaks

This commit is contained in:
albert
2011-09-13 19:39:03 -04:00
parent 010f210345
commit 54e77ebd58
2 changed files with 13 additions and 2 deletions

View File

@@ -288,12 +288,23 @@ table.striped {
margin: 0;
}
td, th {
padding: 2px 4px;
}
tbody {
tr:hover {
background-color: #FFE;
}
}
thead {
th {
font-weight: bold;
text-align: left;
}
}
tr.even {
background-color: #EEE;
}

View File

@@ -9,7 +9,7 @@
<%= f.button :submit %>
<% end %>
<table width="100%" class="highlightable">
<table width="100%" class="striped">
<thead>
<tr>
<th></th>
@@ -28,7 +28,7 @@
<tr>
<td>
<% if CurrentUser.is_admin? %>
<%= link_to "Admin", edit_admin_user_path(user) %>
<%= link_to "Edit", edit_admin_user_path(user) %>
<% end %>
</td>
<td>