Skip to content

Instantly share code, notes, and snippets.

@eldewall
Created September 26, 2011 08:26
Show Gist options
  • Select an option

  • Save eldewall/1241851 to your computer and use it in GitHub Desktop.

Select an option

Save eldewall/1241851 to your computer and use it in GitHub Desktop.
less stuff
#objectTable {
thead {
th {
&.checkbox { width: 40px; min-width: 40px; }
&.color { text-align: left; padding-left: 20px; }
&.model { width: 200px; }
&.modelraw { width: 200px; }
span {
&.text { height: 50px; line-height: 50px; cursor: pointer; }
display: block;
}
min-width: 80px; height: 60px;
}
tr { height: 56px; background-color: white; width: 100%; }
}
tbody {
td {
&.checkbox {
margin-left: 6px; width: 10px;
border-right: 1px solid @borderColor;
input { margin-left: 6px; }
}
&.price { text-align: right; padding-right: 20px; }
&.modelraw { text-align: left; padding-left:10px; }
height: 40px;
border-bottom: 1px solid @borderColor;
text-align: center;
}
tr {
font-size: 14px;
&:first-child {
td { border-top: 1px solid @borderColor; }
.cell_left { border-top-left-radius: 2px; }
.cell_right { border-top-right-radius: 2px; }
}
&:last-child {
.cell_left { border-bottom-left-radius: 2px; }
.cell_right { border-bottom-right-radius: 2px; }
}
.cell_left { border-left: 1px solid @borderColor; }
.cell_right { border-right: 1px solid @borderColor; }
}
padding-top: 30px; margin-top: 80px;
}
max-width: 780px; border-spacing: 0; width: 100%; border-color: @borderColor;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment