Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save eldewall/1241852 to your computer and use it in GitHub Desktop.
utan less
#object_table { max-width: 780px; border-spacing: 0; width: 100%; }
#object_table th { min-width: 80px; height: 60px; }
#object_table div { cursor: pointer; margin-left: 15px; margin-right: 15px; text-align: center; }
#object_table th.checkbox { width: 40px; min-width: 40px; }
#object_table td.checkbox input { margin-left: 6px; }
#object_table .checkbox { width: 10px; }
#object_table th.modelraw { width: 200px; }
#object_table th.color { text-align: left; padding-left: 20px; }
#object_table th.model { max-width: 110px; min-width: 110px; }
#object_table thead th { font-weight: normal; font-size: 18px; text-align: center; }
#object_table thead span { display: block; }
#object_table thead span.text { height:50px; line-height: 50px; cursor: pointer; }
#object_table thead .selected.ascending span.text { background-image: url(../content/images/ascending.png); background-position: 90% 50%; background-repeat: no-repeat; }
#object_table thead .selected.descending span.text { background-image: url(../content/images/descending.png); background-position: 90% 50%;background-repeat: no-repeat; }
#object_table thead tr { height: 56px; background-color: white; width: 100%; }
#object_table tr.highlighted { background-color: #33cc99; }
#object_table thead tr.fixedheader { position: fixed; }
#object_table tbody { padding-top: 30px; margin-top: 80px; }
#object_table tbody tr { font-size: 14px; }
#object_table tbody .price { text-align: right; padding-right: 20px;}
#object_table tbody .modelraw { text-align: left; padding-left: 10px; }
#object_table tbody td.checkbox { border-right: 1px solid #326fa7; }
#object_table tbody td { cursor: pointer; height: 40px; border-bottom: 1px solid @borderColor; text-align:center; }
#object_table tbody tr:first-child td { border-top: 1px solid @borderColor; }
#object_table tbody tr:first-child .cell_left { border-top-left-radius: 2px; }
#object_table tbody tr:first-child .cell_right { border-top-right-radius: 2px;}
#object_table tbody tr:last-child .cell_left { border-bottom-left-radius: 2px; }
#object_table tbody tr:last-child .cell_right { border-bottom-right-radius: 2px; }
#object_table .cell_left { border-left: 1px solid @borderColor; }
#object_table .cell_right { border-right: 1px solid @borderColor; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment