feat: align workflow with shared UI foundations

This commit is contained in:
2026-08-18 21:32:42 +02:00
parent a071692e75
commit 244c0ee4c1
2 changed files with 16 additions and 4 deletions
+12
View File
@@ -9,6 +9,7 @@ from govoplan_core.core.modules import (
ModuleInterfaceRequirement,
ModuleManifest,
NavItem,
ProductAreaContribution,
ViewSurface,
)
from govoplan_core.core.provider_governance import declared_module_architecture
@@ -81,6 +82,17 @@ manifest = ModuleManifest(
order=74,
),
),
product_areas=(
ProductAreaContribution(
id="work",
module_id=MODULE_ID,
label="i18n:govoplan-core.product_area.work",
icon="list-checks",
description="i18n:govoplan-core.product_area.work_description",
surface_ids=("workflow.nav.workflow", "workflow.route.workflow"),
order=10,
),
),
view_surfaces=(
ViewSurface(
id="workflow.widget.open-work",
+4 -4
View File
@@ -253,7 +253,7 @@
min-height: 56px;
box-sizing: border-box;
border: 1px solid var(--line-dark);
border-radius: 6px;
border-radius: var(--radius-compact);
background: var(--panel);
box-shadow: var(--shadow-xs);
padding: 8px 10px;
@@ -307,7 +307,7 @@
height: 42px;
flex-basis: 42px;
border: 2px solid var(--text-strong);
border-radius: 50%;
border-radius: var(--radius-round);
background: var(--panel);
}
@@ -329,7 +329,7 @@
height: 42px;
flex-basis: 42px;
border: 2px solid var(--text-strong);
border-radius: 2px;
border-radius: var(--radius-hairline);
background: var(--panel);
transform: rotate(45deg);
}
@@ -742,7 +742,7 @@
text-align: center;
}
@media (max-width: 1180px) {
@media (max-width: 1280px) {
.workflow-workspace-toolbar {
align-items: stretch;
flex-direction: column;