debian-mirror-gitlab/app/assets/stylesheets/framework/tables.scss

62 lines
860 B
SCSS
Raw Normal View History

2015-11-26 14:37:03 +05:30
.table-holder {
margin: 0;
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;
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%;
}
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
}
}
}
}
2017-08-17 22:00:37 +05:30
.responsive-table {
@media (max-width: $screen-sm-max) {
th {
width: 100%;
}
td {
width: 100%;
float: left;
}
}
}