2015-10-19 05:19:45 -04:00
|
|
|
.table-holder {
|
2016-01-13 08:37:25 -05:00
|
|
|
margin: 0;
|
2018-06-06 15:58:22 -04:00
|
|
|
overflow: auto;
|
2015-10-19 05:19:45 -04:00
|
|
|
}
|
|
|
|
|
2014-12-25 11:35:04 -05:00
|
|
|
table {
|
|
|
|
&.table {
|
2015-12-02 08:46:15 -05:00
|
|
|
margin-bottom: $gl-padding;
|
2016-01-13 08:37:25 -05:00
|
|
|
|
2015-10-13 04:55:06 -04:00
|
|
|
.dropdown-menu a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.success,
|
|
|
|
.warning,
|
|
|
|
.danger,
|
|
|
|
.info {
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $white-light;
|
2015-10-13 04:55:06 -04:00
|
|
|
|
|
|
|
a:not(.btn) {
|
|
|
|
text-decoration: underline;
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $white-light;
|
2015-10-13 04:55:06 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-12-25 11:35:04 -05:00
|
|
|
tr {
|
2016-10-24 16:22:06 -04:00
|
|
|
td,
|
|
|
|
th {
|
2015-10-19 05:19:45 -04:00
|
|
|
padding: 10px $gl-padding;
|
2014-12-25 11:35:04 -05:00
|
|
|
line-height: 20px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2015-10-19 05:19:45 -04:00
|
|
|
|
2014-12-25 11:35:04 -05:00
|
|
|
th {
|
2016-12-12 17:26:21 -05:00
|
|
|
background-color: $gray-light;
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2017-11-02 19:59:51 -04:00
|
|
|
border-bottom: 0;
|
2016-12-05 10:59:30 -05:00
|
|
|
|
|
|
|
&.wide {
|
|
|
|
width: 55%;
|
|
|
|
}
|
2018-06-07 14:06:31 -04:00
|
|
|
|
|
|
|
&.table-th-transparent {
|
|
|
|
background: none;
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
2014-12-25 11:35:04 -05:00
|
|
|
}
|
2015-10-19 05:19:45 -04:00
|
|
|
|
2014-12-25 11:35:04 -05:00
|
|
|
td {
|
2016-12-12 17:26:21 -05:00
|
|
|
border-color: $white-normal;
|
2014-12-25 11:35:04 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-06-07 14:06:31 -04:00
|
|
|
|
|
|
|
&.responsive-table {
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
thead {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-06-13 05:30:32 -04:00
|
|
|
&,
|
2018-06-11 07:56:59 -04:00
|
|
|
tbody,
|
2018-06-07 14:06:31 -04:00
|
|
|
td {
|
|
|
|
display: block;
|
2018-06-11 07:56:59 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
2018-06-07 14:06:31 -04:00
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody td.responsive-table-cell {
|
|
|
|
padding: $gl-padding 0;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
text-align: right;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
&[data-column]::before {
|
|
|
|
content: attr(data-column);
|
|
|
|
display: block;
|
|
|
|
text-align: left;
|
|
|
|
padding-right: $gl-padding;
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not([data-column]) {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tr.responsive-table-border-start,
|
|
|
|
tr.responsive-table-border-end {
|
|
|
|
display: block;
|
|
|
|
border: solid $gl-text-color-quaternary;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
|
|
|
|
> td {
|
|
|
|
border-color: $gl-text-color-quaternary;
|
|
|
|
|
|
|
|
&,
|
|
|
|
&:last-child {
|
|
|
|
padding-left: $gl-padding;
|
|
|
|
padding-right: $gl-padding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tr.responsive-table-border-start {
|
|
|
|
border-width: 1px 1px 0;
|
|
|
|
border-radius: $border-radius-default $border-radius-default 0 0;
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
|
|
|
> td:first-child {
|
|
|
|
border-top: 0; // always have the <table> top border
|
|
|
|
}
|
|
|
|
|
|
|
|
> td:last-child {
|
|
|
|
border-bottom: 1px solid $gl-text-color-quaternary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tr.responsive-table-border-end {
|
|
|
|
border-width: 0 1px 1px;
|
|
|
|
border-radius: 0 0 $border-radius-default $border-radius-default;
|
|
|
|
margin-bottom: 2 * $gl-padding;
|
|
|
|
|
|
|
|
> :last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-12-25 11:35:04 -05:00
|
|
|
}
|
2016-12-05 10:59:30 -05:00
|
|
|
|
2018-06-07 14:06:31 -04:00
|
|
|
.responsive-table:not(table) {
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-down(sm) {
|
2016-12-05 10:59:30 -05:00
|
|
|
th {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
width: 100%;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-11-05 10:50:10 -05:00
|
|
|
|
|
|
|
.top-area + .content-list {
|
|
|
|
th {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
}
|