@import "../colors"; @import "../globals"; @import "../mixins"; @import "./config"; .table { width: 100%; font-size: $font-size-tiny; color: $table-text-color; text-align: left; border-spacing: 0; tr { height: $table-row-height; line-height: $table-row-height; } th { font-weight: $font-weight-bold; &:first-letter { text-transform: capitalize; } } th, td { position: relative; padding: 0 $table-row-offset; border-bottom: $table-row-divider; &.selectable { width: 1.8 * $unit; padding-right: 0; > * { margin: 0; } } } } .row { transition: background-color $animation-duration $animation-curve-default; &:last-child { td { border-color: transparent; } } > td { > input { display: block; width: 100%; background-color: transparent; border: 0; } } } .selected, .row:hover { background-color: $table-row-highlight; } .editable > * { cursor: pointer; }