nimblecoin / server

2 stars 0 forks source link

Quirky rounded corners on Pool table #32

Closed yungsters closed 10 years ago

yungsters commented 10 years ago

The first and last table cells have some quirky border radii applied. Either we should get rid of it, or change it to only round the edges:

.table td:first-child {
  border-radius: 5px 0 0 5px;
}

.table td:last-child {
  border-radius: 0 5px 5px 0;
}
gregdizzia commented 10 years ago

Working up a fix for this..

.table td:first-child , .table td:last-child remove both of these

Change the inline application of the style on the tr to adding a class called 'owned' like

then add

tr.owned > td
{
  background-color:#90ee92;
  border:none;
}

tr.owned + tr > td
{
  border:none;
}
andymai commented 10 years ago

Fixed! Thanks, guys.