Rearranging some information layout in augmented parts, adding colourization to scope table.
This commit is contained in:
1 parent
387ae49efc
commit
6806caf8d7
2 files changed
+24
-1
No files matched your search
@@ -539,6 +539,28 @@ font-weight: 600;
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.augmented-fit-row-group {
|
||||||
|
padding: 0.5rem 0;
|
||||||
|
border-bottom: 2px solid var(--muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fit-badge-possible {
|
||||||
|
background: var(--surface-2);
|
||||||
|
color: var(--muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fit-badge-exact {
|
||||||
|
background: #16a34a26;
|
||||||
|
color: #16a34a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fit-badge-none {
|
||||||
|
background: #dc262626;
|
||||||
|
color: #dc2626;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.fit-badge-possible a {
|
.fit-badge-possible a {
|
||||||
background: var(--surface-2);
|
background: var(--surface-2);
|
||||||
color: var(--muted);
|
color: var(--muted);
|
||||||
@@ -554,6 +576,7 @@ font-weight: 600;
|
|||||||
color: #dc2626;
|
color: #dc2626;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.fit-notes {
|
.fit-notes {
|
||||||
margin-top: 0.4rem;
|
margin-top: 0.4rem;
|
||||||
padding-left: 0.25rem;
|
padding-left: 0.25rem;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
<span class="fit-badge fit-badge-{{ fit.label.value }}">{{ fit.label.value | capitalize }}</span>
|
<span class="fit-badge fit-badge-{{ fit.label.value }}">{{ fit.label.value | capitalize }}</span>
|
||||||
<span class="fit-item-side"><strong>{{ own_ap.attachment_point_name.name }}</strong> ({{ conn_desc(own_ap) }})</span>
|
<span class="fit-item-side"><strong>{{ own_ap.attachment_point_name.name }}</strong> ({{ conn_desc(own_ap) }})</span>
|
||||||
<span class="fit-item-arrow">↔</span>
|
<span class="fit-item-arrow">↔</span>
|
||||||
<span class="fit-item-side">{{ other_part.description if other_part else "Unknown part" }} — <strong>{{ other_ap.attachment_point_name.name }}</strong> ({{ conn_desc(other_ap) }})</span>
|
<span class="fit-item-side"><a href="/admin/augmented-parts/{{ other_part.id }}" title="{{ other_part.description }}">{{ other_part.sku }}</a> <strong>{{ other_part.part_type.name }}</strong></span>
|
||||||
</div>
|
</div>
|
||||||
{% if can_write %}
|
{% if can_write %}
|
||||||
<div class="row-actions">
|
<div class="row-actions">
|
||||||
|
|||||||
Reference in new issue
Block a user