gitlab-org--gitlab-foss/app/assets/stylesheets/framework/tables.scss
2017-11-06 17:51:10 +09: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 {
@media (max-width: $screen-sm-max) {
th {
width: 100%;
}
td {
width: 100%;
float: left;
}
}
}