Update styling for tables across the site
This commit is contained in:
parent
bb160bbffa
commit
0f0d9464d8
@ -138,11 +138,6 @@
|
|||||||
.portfolio-content {
|
.portfolio-content {
|
||||||
margin: (4 * $gap) $gap 0 $gap;
|
margin: (4 * $gap) $gap 0 $gap;
|
||||||
|
|
||||||
.panel {
|
|
||||||
@include shadow-panel;
|
|
||||||
padding-bottom: $gap * 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.add-new-button {
|
a.add-new-button {
|
||||||
display: inherit;
|
display: inherit;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
@ -156,11 +151,6 @@
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
|
||||||
min-width: 100%;
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
input.usa-button.usa-button-primary {
|
input.usa-button.usa-button-primary {
|
||||||
width: 9rem;
|
width: 9rem;
|
||||||
height: 4rem;
|
height: 4rem;
|
||||||
@ -250,6 +240,20 @@
|
|||||||
.panel {
|
.panel {
|
||||||
@include shadow-panel;
|
@include shadow-panel;
|
||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
|
|
||||||
|
table {
|
||||||
|
thead,
|
||||||
|
tbody {
|
||||||
|
tr {
|
||||||
|
th,
|
||||||
|
td {
|
||||||
|
&:last-child {
|
||||||
|
border-left: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.application-list-item {
|
.application-list-item {
|
||||||
|
@ -46,7 +46,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@mixin shadow-panel {
|
@mixin shadow-panel {
|
||||||
padding: ($gap / 2) 0;
|
|
||||||
box-shadow: $box-shadow;
|
box-shadow: $box-shadow;
|
||||||
border-top: none;
|
border-top: none;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
@ -59,8 +58,7 @@
|
|||||||
@include shadow-panel;
|
@include shadow-panel;
|
||||||
|
|
||||||
&__content {
|
&__content {
|
||||||
margin: ($gap * 2) 0;
|
padding: $gap * 2;
|
||||||
padding: 0 ($gap * 2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&__body {
|
&__body {
|
||||||
@ -110,8 +108,4 @@
|
|||||||
&__footer {
|
&__footer {
|
||||||
padding: 3 * $gap;
|
padding: 3 * $gap;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__actions {
|
|
||||||
@include panel-actions;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
table.atat-table {
|
table.atat-table {
|
||||||
@include panel-margin;
|
@include panel-margin;
|
||||||
|
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
|
|
||||||
@include ie-only {
|
@include ie-only {
|
||||||
@ -42,42 +41,24 @@ table.atat-table {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tbody,
|
||||||
thead {
|
thead {
|
||||||
tr th {
|
tr {
|
||||||
.sorting-direction {
|
th,
|
||||||
position: inherit;
|
td {
|
||||||
margin-right: -16px;
|
background-color: $color-white;
|
||||||
width: 16px;
|
|
||||||
|
|
||||||
.icon {
|
|
||||||
height: 14px;
|
|
||||||
width: 16px;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
padding: $gap * 2;
|
||||||
}
|
border: 1px solid $color-gray-light;
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
tbody {
|
|
||||||
tr {
|
|
||||||
th,
|
|
||||||
td {
|
|
||||||
@include block-list-item;
|
|
||||||
|
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
border-bottom-style: solid;
|
|
||||||
border-top: none;
|
|
||||||
|
|
||||||
&:last-child {
|
&:first-child {
|
||||||
border-bottom-style: dashed;
|
border-left: none;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
td,
|
border-right: none;
|
||||||
th {
|
|
||||||
border-bottom-style: solid;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -87,19 +68,12 @@ table.atat-table {
|
|||||||
tr {
|
tr {
|
||||||
th,
|
th,
|
||||||
td {
|
td {
|
||||||
@include block-list-header;
|
background-color: $color-gray-lightest;
|
||||||
display: table-cell;
|
padding: 1rem 1.5rem;
|
||||||
white-space: nowrap;
|
border-top: none;
|
||||||
color: black;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@at-root .panel #{&} {
|
|
||||||
&:last-child {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.responsive-table-wrapper {
|
.responsive-table-wrapper {
|
||||||
|
@ -30,10 +30,9 @@
|
|||||||
<a v-on:click="openModal('{{ modal_id }}')" class='usa-button {{ archive_button_class }}'>
|
<a v-on:click="openModal('{{ modal_id }}')" class='usa-button {{ archive_button_class }}'>
|
||||||
{{ "portfolios.members.archive_button" | translate }}
|
{{ "portfolios.members.archive_button" | translate }}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
|
||||||
|
|
||||||
{% if not ppoc %}
|
{% if not ppoc %}
|
||||||
{{ subform.member_id() }}
|
{{ subform.member_id() }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user