You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
789 B
54 lines
789 B
7 years ago
|
// Tables
|
||
|
.table {
|
||
|
border-collapse: collapse;
|
||
|
border-spacing: 0;
|
||
|
text-align: left;
|
||
|
width: 100%;
|
||
|
|
||
|
&.table-striped {
|
||
|
tbody {
|
||
|
tr:nth-of-type(odd) {
|
||
|
background: $bg-color;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&,
|
||
|
&.table-striped {
|
||
|
tbody {
|
||
|
tr {
|
||
|
&.active {
|
||
|
background: $bg-color-dark;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&.table-hover {
|
||
|
tbody {
|
||
|
tr {
|
||
|
&:hover {
|
||
|
background: $bg-color-dark;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Tables with horizontal scrollbar
|
||
|
&.table-scroll {
|
||
|
display: block;
|
||
|
overflow-x: auto;
|
||
|
padding-bottom: .75rem;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
td,
|
||
|
th {
|
||
|
border-bottom: $border-width solid $border-color;
|
||
|
padding: $unit-3 $unit-2;
|
||
|
}
|
||
|
th {
|
||
|
border-bottom-width: $border-width-lg;
|
||
|
}
|
||
|
}
|