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

View file

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