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; margin: 0;
} }
td, th {
padding: 2px 4px;
}
tbody { tbody {
tr:hover { tr:hover {
background-color: #FFE; background-color: #FFE;
} }
} }
thead {
th {
font-weight: bold;
text-align: left;
}
}
tr.even { tr.even {
background-color: #EEE; background-color: #EEE;
} }

View File

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