feat: align risk compliance with shared UI foundations
This commit is contained in:
@@ -21,6 +21,7 @@ from govoplan_core.core.modules import (
|
|||||||
ModuleManifest,
|
ModuleManifest,
|
||||||
NavItem,
|
NavItem,
|
||||||
PermissionDefinition,
|
PermissionDefinition,
|
||||||
|
ProductAreaContribution,
|
||||||
RoleTemplate,
|
RoleTemplate,
|
||||||
)
|
)
|
||||||
from govoplan_core.core.sanctions import (
|
from govoplan_core.core.sanctions import (
|
||||||
@@ -454,6 +455,17 @@ manifest = ModuleManifest(
|
|||||||
surface_id="risk_compliance.navigation",
|
surface_id="risk_compliance.navigation",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
product_areas=(
|
||||||
|
ProductAreaContribution(
|
||||||
|
id="data-assurance",
|
||||||
|
module_id=MODULE_ID,
|
||||||
|
label="i18n:govoplan-core.product_area.data_assurance",
|
||||||
|
icon="database-zap",
|
||||||
|
description="i18n:govoplan-core.product_area.data_assurance_description",
|
||||||
|
surface_ids=("risk_compliance.navigation", "risk_compliance.workspace"),
|
||||||
|
order=60,
|
||||||
|
),
|
||||||
|
),
|
||||||
view_surfaces=(
|
view_surfaces=(
|
||||||
ViewSurface(
|
ViewSurface(
|
||||||
id="risk_compliance.sanctions.sources",
|
id="risk_compliance.sanctions.sources",
|
||||||
|
|||||||
@@ -28,9 +28,9 @@
|
|||||||
|
|
||||||
.risk-count {
|
.risk-count {
|
||||||
min-width: 18px;
|
min-width: 18px;
|
||||||
border-radius: 9px;
|
border-radius: var(--radius-md);
|
||||||
background: var(--accent);
|
background: var(--accent);
|
||||||
color: #fff;
|
color: var(--on-dark);
|
||||||
padding: 1px 5px;
|
padding: 1px 5px;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -228,7 +228,7 @@
|
|||||||
min-height: 0;
|
min-height: 0;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
border: var(--border-line);
|
border: var(--border-line);
|
||||||
border-radius: 6px;
|
border-radius: var(--radius-compact);
|
||||||
background: var(--surface);
|
background: var(--surface);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
@@ -355,7 +355,7 @@
|
|||||||
flex: 0 0 38px;
|
flex: 0 0 38px;
|
||||||
place-items: center;
|
place-items: center;
|
||||||
border: 1px solid var(--warning-border);
|
border: 1px solid var(--warning-border);
|
||||||
border-radius: 4px;
|
border-radius: var(--radius-sm);
|
||||||
background: var(--warning-soft);
|
background: var(--warning-soft);
|
||||||
color: var(--text-strong);
|
color: var(--text-strong);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
@@ -452,7 +452,7 @@
|
|||||||
gap: 14px;
|
gap: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 920px) {
|
@media (max-width: 900px) {
|
||||||
.risk-workspace {
|
.risk-workspace {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user