Improved styling of the tables.

This commit is contained in:
Paul van Tilburg 2011-11-28 13:31:26 +01:00
parent 1850ae49ad
commit ed90dad0c2
2 changed files with 9 additions and 2 deletions

View File

@ -1215,6 +1215,7 @@ module StopTime::Views
th "Comment"
th "Total time"
th "Bill?"
th {}
end
form :action => R(Timeline), :method => :post do
tr do
@ -1311,6 +1312,7 @@ module StopTime::Views
th "Address"
th "Email"
th "Phone"
th {}
end
@customers.each do |customer|
tr do

View File

@ -2,6 +2,7 @@
// Colours
$light-grey: #efefef
$medium-grey: #cfcfcf
$dark-grey: #9f9f9f
$dark-red: #990000
@ -112,8 +113,12 @@ table
text-align: left
background: $dark-grey
tr.total
border-top: solid black
tr
&:hover
background-color: $medium-grey
&.total
border-top: solid black
td.key
font-weight: bold