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

62 lines
847 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;
2015-04-26 12:48:37 +05:30
font-weight: normal;
2016-06-02 11:05:42 +05:30
border-bottom: none;
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;
}
}
}