Added a SWOT analysis assistant (#1122)

Co-authored-by: hart_s3 <sabrina.hartmann@dlr.de>
This commit is contained in:
Thorsten Sommerandhart_s3 authored and GitHub committed 2026-10-28 08:51:30 +01:00
1 parent 6cb20fd75a
commit 060a2a5734
87 files changed
+4601 -45

No files matched your search

@@ -0,0 +1,49 @@
/*
* At most two columns, decided by the width of the grid itself: a column is at least half of the
* grid wide, so a third never fits, and at least 20rem, so two columns need about 40rem. Below that,
* the quadrants stand below each other. min(20rem, 100%) keeps a single column from overflowing a
* grid narrower than 20rem.
*/
.swot-quadrant-grid {
--swot-gap: 1rem;
display: grid;
gap: var(--swot-gap);
grid-template-columns: repeat(auto-fit, minmax(max(min(20rem, 100%), calc((100% - var(--swot-gap)) / 2)), 1fr));
}
.swot-quadrant {
border: 1px solid var(--mud-palette-lines-default);
border-radius: var(--mud-default-borderradius);
min-width: 0;
padding: 1rem;
}
.swot-quadrant-header {
margin-bottom: 0.65rem;
}
.swot-quadrant-axes {
color: var(--mud-palette-text-secondary);
display: block;
font-size: 0.8rem;
}
.swot-strengths {
border-top: 0.3rem solid var(--mud-palette-success);
background: color-mix(in srgb, var(--mud-palette-success) 8%, transparent);
}
.swot-weaknesses {
border-top: 0.3rem solid var(--mud-palette-warning);
background: color-mix(in srgb, var(--mud-palette-warning) 8%, transparent);
}
.swot-opportunities {
border-top: 0.3rem solid var(--mud-palette-info);
background: color-mix(in srgb, var(--mud-palette-info) 8%, transparent);
}
.swot-threats {
border-top: 0.3rem solid var(--mud-palette-error);
background: color-mix(in srgb, var(--mud-palette-error) 8%, transparent);
}