debian-mirror-gitlab/app/assets/stylesheets/framework/tables.scss
2017-08-17 22:00:37 +05:30

61 lines
847 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: normal;
border-bottom: none;
&.wide {
width: 55%;
}
}
td {
border-color: $white-normal;
}
}
}
}
.responsive-table {
@media (max-width: $screen-sm-max) {
th {
width: 100%;
}
td {
width: 100%;
float: left;
}
}
}