Fix styling on header and icons
This commit is contained in:
parent
526ab59024
commit
b22d202186
@ -46,7 +46,8 @@ export default {
|
||||
displayName: 'Period of Performance',
|
||||
attr: 'start_date',
|
||||
sortFunc: numericSort,
|
||||
width: '50%',
|
||||
width: "50%",
|
||||
class: "period-of-performance"
|
||||
},
|
||||
{
|
||||
displayName: 'Initial Value',
|
||||
|
@ -82,10 +82,17 @@
|
||||
|
||||
.view-task-order-link {
|
||||
margin-left: $gap * 2;
|
||||
|
||||
.icon--tiny {
|
||||
@include icon-size(10);
|
||||
margin-left: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.portfolio-total-balance {
|
||||
margin-top: -$gap;
|
||||
margin-bottom: 3rem;
|
||||
|
||||
.row {
|
||||
flex-direction: row-reverse;
|
||||
margin: 2 * $gap 0;
|
||||
@ -98,8 +105,26 @@
|
||||
}
|
||||
|
||||
table {
|
||||
th{
|
||||
.icon {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
&.period-of-performance {
|
||||
color: $color-blue;
|
||||
|
||||
.icon {
|
||||
@include icon-color($color-primary)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
td.unused-balance {
|
||||
color: $color-red;
|
||||
}
|
||||
|
||||
.label--expired {
|
||||
background-color: $color-gray-light;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
{% macro ViewLink(task_order) %}
|
||||
<a href="{{ url_for('portfolios.view_task_order', portfolio_id=portfolio.id, task_order_id=task_order.id) }}" class="icon-link view-task-order-link">
|
||||
<span>View</span>
|
||||
{{ Icon("caret_right") }}
|
||||
{{ Icon("caret_right", classes="icon--tiny") }}
|
||||
</a>
|
||||
{% endmacro %}
|
||||
|
||||
@ -27,10 +27,10 @@
|
||||
!{ col.displayName }
|
||||
<template v-if="col.sortFunc">
|
||||
<span class="sorting-direction" v-if="col.displayName === sortInfo.columnName && sortInfo.isAscending">
|
||||
{{ Icon("caret_down") }}
|
||||
{{ Icon("caret_down", classes="icon--tiny") }}
|
||||
</span>
|
||||
<span class="sorting-direction" v-if="col.displayName === sortInfo.columnName && !sortInfo.isAscending">
|
||||
{{ Icon("caret_up") }}
|
||||
{{ Icon("caret_up", classes="icon--tiny") }}
|
||||
</span>
|
||||
</template>
|
||||
</th>
|
||||
@ -63,7 +63,7 @@
|
||||
<td>
|
||||
<a v-bind:href="taskOrder.url" class="icon-link view-task-order-link">
|
||||
<span>View</span>
|
||||
{{ Icon("caret_right") }}
|
||||
{{ Icon("caret_right", classes="icon--tiny") }}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@ -135,7 +135,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% if expired_task_orders %}
|
||||
{{ TaskOrderList(expired_task_orders, label='', expired=True) }}
|
||||
{{ TaskOrderList(expired_task_orders, label='expired', expired=True) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user