2017-03-24 09:47:37 -04:00
|
|
|
//
|
|
|
|
// Tables
|
|
|
|
//
|
2017-03-26 21:09:19 -04:00
|
|
|
// stylelint-disable max-nesting-depth, selector-no-type
|
2017-03-24 09:47:37 -04:00
|
|
|
|
2017-03-09 13:16:08 -05:00
|
|
|
table {
|
2017-03-24 09:47:37 -04:00
|
|
|
display: block;
|
2017-03-09 13:16:08 -05:00
|
|
|
width: 100%;
|
2017-03-24 09:47:37 -04:00
|
|
|
max-width: 100%;
|
2017-03-09 13:16:08 -05:00
|
|
|
margin-bottom: $sp-5;
|
2017-03-26 21:09:19 -04:00
|
|
|
overflow-x: auto;
|
2017-03-09 13:16:08 -05:00
|
|
|
border-collapse: separate;
|
2017-03-24 09:47:37 -04:00
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 4px 14px rgba(0, 0, 0, 0.05);
|
|
|
|
|
|
|
|
@include mq(sm) {
|
|
|
|
display: table;
|
|
|
|
}
|
2017-03-09 13:16:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
@include fs-3;
|
2017-03-26 21:09:19 -04:00
|
|
|
min-width: 120px;
|
2017-03-09 13:16:08 -05:00
|
|
|
padding-top: $sp-2;
|
|
|
|
padding-right: $sp-3;
|
2017-03-26 21:09:19 -04:00
|
|
|
padding-bottom: $sp-2;
|
|
|
|
padding-left: $sp-3;
|
2017-03-09 13:16:08 -05:00
|
|
|
border-bottom: $border $grey-lt-000;
|
|
|
|
border-left: $border $border-color;
|
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
border-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-26 21:09:19 -04:00
|
|
|
thead,
|
|
|
|
tbody:first-child {
|
2017-03-09 13:16:08 -05:00
|
|
|
tr {
|
|
|
|
&:first-of-type {
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
&:first-of-type {
|
|
|
|
border-top-left-radius: $border-radius;
|
|
|
|
}
|
2017-03-26 21:09:19 -04:00
|
|
|
|
2017-03-09 13:16:08 -05:00
|
|
|
&:last-of-type {
|
|
|
|
border-top-right-radius: $border-radius;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody {
|
|
|
|
tr {
|
|
|
|
&:last-of-type {
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
border-bottom: 0;
|
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
border-bottom-left-radius: $border-radius;
|
|
|
|
}
|
2017-03-26 21:09:19 -04:00
|
|
|
|
2017-03-09 13:16:08 -05:00
|
|
|
&:last-of-type {
|
|
|
|
border-bottom-right-radius: $border-radius;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
thead {
|
|
|
|
th {
|
2017-03-24 09:47:37 -04:00
|
|
|
border-bottom: 1px solid $border-color;
|
2017-03-09 13:16:08 -05:00
|
|
|
}
|
|
|
|
}
|