From 54e77ebd5829b4a1a82711d8576fae32b3a7489c Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 13 Sep 2011 19:39:03 -0400 Subject: [PATCH] style tweaks --- app/assets/stylesheets/application.css.scss | 11 +++++++++++ app/views/users/index.html.erb | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/application.css.scss b/app/assets/stylesheets/application.css.scss index 0e153a9df..e32c10dc3 100644 --- a/app/assets/stylesheets/application.css.scss +++ b/app/assets/stylesheets/application.css.scss @@ -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; } diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index 36f424d2c..95062fc25 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -9,7 +9,7 @@ <%= f.button :submit %> <% end %> - +
@@ -28,7 +28,7 @@
<% if CurrentUser.is_admin? %> - <%= link_to "Admin", edit_admin_user_path(user) %> + <%= link_to "Edit", edit_admin_user_path(user) %> <% end %>