gitlab-org--gitlab-foss/app/assets/stylesheets/framework/tables.scss
2018-04-09 10:26:28 -05:00

61 lines
860 B
SCSS

.table-holder {
margin: 0;
}
table {
&.table {
margin-bottom: $gl-padding;
.dropdown-menu a {
text-decoration: none;
}
.success,
.warning,
.danger,
.info {
color: $white-light;
a:not(.btn) {
text-decoration: underline;
color: $white-light;
}
}
tr {
td,
th {
padding: 10px $gl-padding;
line-height: 20px;
vertical-align: middle;
}
th {
background-color: $gray-light;
font-weight: $gl-font-weight-normal;
border-bottom: 0;
&.wide {
width: 55%;
}
}
td {
border-color: $white-normal;
}
}
}
}
.responsive-table {
@include media-breakpoint-down(sm) {
th {
width: 100%;
}
td {
width: 100%;
float: left;
}
}
}