Generalize table headers and titles

This commit is contained in:
Montana
2019-04-11 14:50:00 -04:00
parent ce8d219ad9
commit ff54ef0a8a
6 changed files with 25 additions and 45 deletions

View File

@@ -1,24 +1,5 @@
.accordion-table {
.accordion-table__header {
@include panel-base;
@include panel-theme-default;
border-top: none;
border-bottom: 0;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
padding: $gap * 2;
.accordion-table__title {
@include h4;
font-size: $lead-font-size;
flex: 2;
}
}
table {
thead th {
text-transform: uppercase;

View File

@@ -171,26 +171,6 @@
padding-bottom: 0;
}
.member-list-header {
margin: 2 * $gap 5 * $gap;
padding: inherit;
overflow: auto;
.left {
float: left;
padding-bottom: 0.8rem;
}
.icon-link {
float: right;
margin-top: 0.8rem;
}
.icon {
}
}
.subheading {
font-size: 1.4rem;
color: $color-gray;

View File

@@ -102,6 +102,25 @@
overflow-x: auto;
@include panel-margin;
.responsive-table-wrapper__header {
@include panel-base;
@include panel-theme-default;
border-top: none;
border-bottom: 0;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
padding: $gap * 2;
.responsive-table-wrapper__title {
@include h4;
font-size: $lead-font-size;
flex: 2;
}
}
table {
margin-bottom: 0;
}