2015-11-26 14:37:03 +05:30
|
|
|
.table-holder {
|
2016-01-19 16:12:03 +05:30
|
|
|
margin: 0;
|
2018-11-08 19:23:39 +05:30
|
|
|
overflow: auto;
|
2015-11-26 14:37:03 +05:30
|
|
|
}
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
table {
|
|
|
|
&.table {
|
2015-12-23 02:04:40 +05:30
|
|
|
margin-bottom: $gl-padding;
|
2016-01-19 16:12:03 +05:30
|
|
|
|
2015-10-24 18:46:33 +05:30
|
|
|
.dropdown-menu a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.success,
|
|
|
|
.warning,
|
|
|
|
.danger,
|
|
|
|
.info {
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $white-light;
|
2015-10-24 18:46:33 +05:30
|
|
|
|
|
|
|
a:not(.btn) {
|
|
|
|
text-decoration: underline;
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $white-light;
|
2015-10-24 18:46:33 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
tr {
|
2017-08-17 22:00:37 +05:30
|
|
|
td,
|
|
|
|
th {
|
2015-11-26 14:37:03 +05:30
|
|
|
padding: 10px $gl-padding;
|
2015-04-26 12:48:37 +05:30
|
|
|
line-height: 20px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2015-11-26 14:37:03 +05:30
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
th {
|
2017-08-17 22:00:37 +05:30
|
|
|
background-color: $gray-light;
|
2018-03-17 18:26:18 +05:30
|
|
|
font-weight: $gl-font-weight-normal;
|
|
|
|
border-bottom: 0;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
&.wide {
|
|
|
|
width: 55%;
|
|
|
|
}
|
2018-11-08 19:23:39 +05:30
|
|
|
|
|
|
|
&.table-th-transparent {
|
|
|
|
background: none;
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
2015-11-26 14:37:03 +05:30
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
td {
|
2017-08-17 22:00:37 +05:30
|
|
|
border-color: $white-normal;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
}
|
2019-02-15 15:39:39 +05:30
|
|
|
|
|
|
|
.thead-white {
|
|
|
|
th {
|
|
|
|
background-color: $white-light;
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
2018-11-08 19:23:39 +05:30
|
|
|
|
|
|
|
&.responsive-table {
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
thead {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&,
|
|
|
|
tbody,
|
|
|
|
td {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
.responsive-table:not(table) {
|
|
|
|
@include media-breakpoint-down(sm) {
|
2017-08-17 22:00:37 +05:30
|
|
|
th {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
width: 100%;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-12-13 13:39:08 +05:30
|
|
|
|
|
|
|
.top-area + .content-list {
|
|
|
|
th {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
}
|