archsight 0.1.5 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/Dockerfile +5 -4
  3. data/README.md +17 -65
  4. data/chart/archsight/README.md +1 -158
  5. data/docs/architecture.md +39 -0
  6. data/docs/docker.md +49 -0
  7. data/{lib/archsight/web/doc → docs}/index.md.erb +3 -1
  8. data/docs/kubernetes.md +149 -0
  9. data/docs/licenses.md +307 -0
  10. data/lib/archsight/annotations/annotation.rb +13 -1
  11. data/lib/archsight/cli.rb +1 -1
  12. data/lib/archsight/graph.rb +1 -51
  13. data/lib/archsight/helpers.rb +0 -20
  14. data/lib/archsight/import/handlers/github.rb +3 -1
  15. data/lib/archsight/import/handlers/gitlab.rb +15 -5
  16. data/lib/archsight/import/handlers/repository.rb +53 -5
  17. data/lib/archsight/import/handlers/rest_api.rb +13 -1
  18. data/lib/archsight/import/license_analyzer.rb +658 -0
  19. data/lib/archsight/linter.rb +1 -1
  20. data/lib/archsight/mcp/base.rb +11 -0
  21. data/lib/archsight/renderer.rb +4 -4
  22. data/lib/archsight/resources/base.rb +2 -2
  23. data/lib/archsight/resources/business_actor.rb +17 -2
  24. data/lib/archsight/resources/technology_artifact.rb +52 -0
  25. data/lib/archsight/version.rb +1 -1
  26. data/lib/archsight/web/api/docs.rb +37 -2
  27. data/lib/archsight/web/api/json_helpers.rb +79 -13
  28. data/lib/archsight/web/api/openapi/spec.yaml +699 -0
  29. data/lib/archsight/web/api/routes.rb +23 -0
  30. data/lib/archsight/web/application.rb +40 -128
  31. data/lib/archsight/web/editor/helpers.rb +150 -0
  32. data/lib/archsight/web/editor/routes.rb +85 -212
  33. data/lib/archsight/web/public/vue/ApiDocsPage-B1RqTNqh.js +1 -0
  34. data/lib/archsight/web/public/vue/ApiDocsPage-DhNTOH4o.css +1 -0
  35. data/lib/archsight/web/public/vue/DocPage-DzwBgBd4.js +1 -0
  36. data/lib/archsight/web/public/vue/EditorPage-D_miHSv4.js +34 -0
  37. data/lib/archsight/web/public/vue/EditorPage-Dq0MuTnp.css +1 -0
  38. data/lib/archsight/web/public/vue/ErrorPage-CQQtPey3.js +2 -0
  39. data/lib/archsight/web/public/vue/ErrorPage-CwPT3JUr.css +1 -0
  40. data/lib/archsight/web/public/vue/GraphView-DRcIqAiR.css +1 -0
  41. data/lib/archsight/web/public/vue/GraphView-T9jFH_qg.js +1 -0
  42. data/lib/archsight/web/public/vue/InstanceRouter-1Sm-CRhf.js +2 -0
  43. data/lib/archsight/web/public/vue/InstanceRouter-BJkDRXZY.css +1 -0
  44. data/lib/archsight/web/public/vue/KindList-JA_L_-Cz.js +1 -0
  45. data/lib/archsight/web/public/vue/ResourceList-8iqavWdg.js +1 -0
  46. data/lib/archsight/web/public/vue/ResourceList-DP-z-j71.css +1 -0
  47. data/lib/archsight/web/public/vue/SearchResults-BGHbg48-.css +1 -0
  48. data/lib/archsight/web/public/vue/SearchResults-BdgFeHcm.js +1 -0
  49. data/lib/archsight/web/public/vue/_basePickBy-CVgieyx-.js +1 -0
  50. data/lib/archsight/web/public/vue/_baseUniq-BNfrOSaP.js +1 -0
  51. data/lib/archsight/web/public/vue/architectureDiagram-VXUJARFQ-CJXNpTr5.js +36 -0
  52. data/lib/archsight/web/public/vue/blockDiagram-VD42YOAC-B5488Hes.js +122 -0
  53. data/lib/archsight/web/public/vue/c4Diagram-YG6GDRKO-eYY3hprM.js +10 -0
  54. data/lib/archsight/web/public/vue/chunk-4BX2VUAB-ZoXeL4D1.js +1 -0
  55. data/lib/archsight/web/public/vue/chunk-55IACEB6-rNtQYnu_.js +1 -0
  56. data/lib/archsight/web/public/vue/chunk-B4BG7PRW-DolAeVV9.js +165 -0
  57. data/lib/archsight/web/public/vue/chunk-DI55MBZ5-DnN0f_hj.js +220 -0
  58. data/lib/archsight/web/public/vue/chunk-FMBD7UC4-BQWOCMuR.js +15 -0
  59. data/lib/archsight/web/public/vue/chunk-QN33PNHL-DId301Kb.js +1 -0
  60. data/lib/archsight/web/public/vue/chunk-QZHKN3VN-xbY0NLgv.js +1 -0
  61. data/lib/archsight/web/public/vue/chunk-TZMSLE5B-CgF9_37b.js +1 -0
  62. data/lib/archsight/web/public/vue/classDiagram-2ON5EDUG-jGlvI-Za.js +1 -0
  63. data/lib/archsight/web/public/vue/classDiagram-v2-WZHVMYZB-jGlvI-Za.js +1 -0
  64. data/lib/archsight/web/public/vue/clone-6iRPe1-W.js +1 -0
  65. data/lib/archsight/web/public/vue/cose-bilkent-S5V4N54A-CB9Zfu50.js +1 -0
  66. data/lib/archsight/web/public/vue/cytoscape.esm-5J0xJHOV.js +321 -0
  67. data/lib/archsight/web/public/vue/dagre-6UL2VRFP-BqkmE-LI.js +4 -0
  68. data/lib/archsight/web/public/vue/diagram-PSM6KHXK-CKBfqtw3.js +24 -0
  69. data/lib/archsight/web/public/vue/diagram-QEK2KX5R-B78rOlvK.js +43 -0
  70. data/lib/archsight/web/public/vue/diagram-S2PKOQOG-BlXC6Cia.js +24 -0
  71. data/lib/archsight/web/public/vue/erDiagram-Q2GNP2WA-BnliyziJ.js +60 -0
  72. data/lib/archsight/web/public/vue/flowDiagram-NV44I4VS-wuqPowTd.js +162 -0
  73. data/lib/archsight/web/public/vue/ganttDiagram-JELNMOA3-GSffAIH3.js +267 -0
  74. data/lib/archsight/web/public/vue/gitGraphDiagram-V2S2FVAM-OA7VyugW.js +65 -0
  75. data/lib/archsight/web/public/vue/graph-BXHAtA0S.js +1 -0
  76. data/lib/archsight/web/public/vue/graphviz-CJms5bxZ.js +13 -0
  77. data/lib/archsight/web/public/vue/index-DsEsN0_K.js +2 -0
  78. data/lib/archsight/web/public/vue/index-Tiu4C-Sb.css +1 -0
  79. data/lib/archsight/web/public/vue/infoDiagram-HS3SLOUP-nlVe2qgv.js +2 -0
  80. data/lib/archsight/web/public/vue/journeyDiagram-XKPGCS4Q-CtTIcKwf.js +139 -0
  81. data/lib/archsight/web/public/vue/kanban-definition-3W4ZIXB7-837KX0sW.js +89 -0
  82. data/lib/archsight/web/public/vue/katex-C-M49wc6.js +261 -0
  83. data/lib/archsight/web/public/vue/layout-DtE0QdL6.js +1 -0
  84. data/lib/archsight/web/public/vue/mermaid-DpPHPFQh.js +250 -0
  85. data/lib/archsight/web/public/vue/mindmap-definition-VGOIOE7T-9gLF2AoY.js +68 -0
  86. data/lib/archsight/web/public/vue/pieDiagram-ADFJNKIX-CyCNgw3u.js +30 -0
  87. data/lib/archsight/web/public/vue/quadrantDiagram-AYHSOK5B-CkPh8g02.js +7 -0
  88. data/lib/archsight/web/public/vue/requirementDiagram-UZGBJVZJ-Dkt6OSlY.js +64 -0
  89. data/lib/archsight/web/public/vue/sankeyDiagram-TZEHDZUN-BqprTk8x.js +10 -0
  90. data/lib/archsight/web/public/vue/sequenceDiagram-WL72ISMW-CTmTe1FQ.js +145 -0
  91. data/lib/archsight/web/public/vue/stateDiagram-FKZM4ZOC-CphqmkEU.js +1 -0
  92. data/lib/archsight/web/public/vue/stateDiagram-v2-4FDKWEC3-CxaDW5sW.js +1 -0
  93. data/lib/archsight/web/public/vue/timeline-definition-IT6M3QCI-CSQUZkyE.js +61 -0
  94. data/lib/archsight/web/public/vue/treemap-GDKQZRPO-DTojm7Yr.js +162 -0
  95. data/lib/archsight/web/public/{css/graph.css → vue/useGraphviz-A5s4h76R.js} +2 -1
  96. data/lib/archsight/web/public/vue/useHighlight-C6Kb5G3l.js +10 -0
  97. data/lib/archsight/web/public/vue/useMermaid-DqxTrLRB.js +1 -0
  98. data/lib/archsight/web/public/vue/usePanZoom-BybZ_rfh.js +11 -0
  99. data/lib/archsight/web/public/vue/xychartDiagram-PRI3JC2R-B1ZJZtDC.js +7 -0
  100. data/lib/archsight/web/public/vue.html +15 -0
  101. data/media/artifact.jpg +0 -0
  102. data/media/service.jpg +0 -0
  103. metadata +100 -84
  104. data/lib/archsight/web/public/css/artifact.css +0 -995
  105. data/lib/archsight/web/public/css/base.css +0 -201
  106. data/lib/archsight/web/public/css/editor.css +0 -863
  107. data/lib/archsight/web/public/css/highlight.min.css +0 -10
  108. data/lib/archsight/web/public/css/iconoir.css +0 -22
  109. data/lib/archsight/web/public/css/instance.css +0 -824
  110. data/lib/archsight/web/public/css/layout.css +0 -421
  111. data/lib/archsight/web/public/css/mermaid-layers.css +0 -188
  112. data/lib/archsight/web/public/css/pico.min.css +0 -4
  113. data/lib/archsight/web/public/img/archimate.png +0 -0
  114. data/lib/archsight/web/public/img/togaf-high-level.png +0 -0
  115. data/lib/archsight/web/public/js/editor.js +0 -421
  116. data/lib/archsight/web/public/js/graph-zoom.js +0 -18
  117. data/lib/archsight/web/public/js/highlight.min.js +0 -3899
  118. data/lib/archsight/web/public/js/htmx.min.js +0 -1
  119. data/lib/archsight/web/public/js/lexical-editor.js +0 -308
  120. data/lib/archsight/web/public/js/mermaid-init.js +0 -88
  121. data/lib/archsight/web/public/js/mermaid.min.js +0 -2811
  122. data/lib/archsight/web/public/js/sparkline.js +0 -42
  123. data/lib/archsight/web/public/js/svg-pan-zoom.min.js +0 -3
  124. data/lib/archsight/web/public/js/svg-zoom-controls.js +0 -93
  125. data/lib/archsight/web/views/api_docs.erb +0 -19
  126. data/lib/archsight/web/views/index.haml +0 -12
  127. data/lib/archsight/web/views/partials/artifact/_activity.haml +0 -55
  128. data/lib/archsight/web/views/partials/artifact/_agentic.haml +0 -25
  129. data/lib/archsight/web/views/partials/artifact/_deployment.haml +0 -29
  130. data/lib/archsight/web/views/partials/artifact/_git_info.haml +0 -16
  131. data/lib/archsight/web/views/partials/artifact/_language_stats.haml +0 -53
  132. data/lib/archsight/web/views/partials/artifact/_links.haml +0 -24
  133. data/lib/archsight/web/views/partials/artifact/_project_estimate.haml +0 -32
  134. data/lib/archsight/web/views/partials/artifact/_repositories.haml +0 -55
  135. data/lib/archsight/web/views/partials/artifact/_team.haml +0 -83
  136. data/lib/archsight/web/views/partials/artifact/_workflow.haml +0 -69
  137. data/lib/archsight/web/views/partials/components/_activity.haml +0 -37
  138. data/lib/archsight/web/views/partials/components/_git.haml +0 -17
  139. data/lib/archsight/web/views/partials/components/_jira.haml +0 -18
  140. data/lib/archsight/web/views/partials/components/_languages.haml +0 -29
  141. data/lib/archsight/web/views/partials/components/_owner.haml +0 -15
  142. data/lib/archsight/web/views/partials/components/_repositories.haml +0 -37
  143. data/lib/archsight/web/views/partials/components/_status.haml +0 -23
  144. data/lib/archsight/web/views/partials/editor/_field.haml +0 -80
  145. data/lib/archsight/web/views/partials/editor/_form.haml +0 -131
  146. data/lib/archsight/web/views/partials/editor/_relations.haml +0 -39
  147. data/lib/archsight/web/views/partials/editor/_yaml_output.haml +0 -33
  148. data/lib/archsight/web/views/partials/instance/_analysis_detail.haml +0 -67
  149. data/lib/archsight/web/views/partials/instance/_analysis_result.haml +0 -64
  150. data/lib/archsight/web/views/partials/instance/_detail.haml +0 -107
  151. data/lib/archsight/web/views/partials/instance/_graph.haml +0 -6
  152. data/lib/archsight/web/views/partials/instance/_import_detail.haml +0 -87
  153. data/lib/archsight/web/views/partials/instance/_list.haml +0 -84
  154. data/lib/archsight/web/views/partials/instance/_relations.haml +0 -43
  155. data/lib/archsight/web/views/partials/instance/_requirements.haml +0 -41
  156. data/lib/archsight/web/views/partials/instance/_view_detail.haml +0 -57
  157. data/lib/archsight/web/views/partials/layout/_content.haml +0 -50
  158. data/lib/archsight/web/views/partials/layout/_error.haml +0 -22
  159. data/lib/archsight/web/views/partials/layout/_head.haml +0 -26
  160. data/lib/archsight/web/views/partials/layout/_navigation.haml +0 -21
  161. data/lib/archsight/web/views/partials/layout/_sidebar.haml +0 -27
  162. data/lib/archsight/web/views/search.haml +0 -53
  163. /data/{lib/archsight/web/doc → docs}/archimate.md +0 -0
  164. /data/{lib/archsight/web/doc → docs}/computed_annotations.md +0 -0
  165. /data/{lib/archsight/web/doc → docs}/icons.md +0 -0
  166. /data/{lib/archsight/web/doc → docs}/import.md +0 -0
  167. /data/{lib/archsight/web/doc → docs}/modeling.md +0 -0
  168. /data/{lib/archsight/web/doc → docs}/search.md +0 -0
  169. /data/{lib/archsight/web/doc → docs}/togaf.md +0 -0
  170. /data/{lib/archsight/web/doc → docs}/tool.md +0 -0
@@ -1,421 +0,0 @@
1
- /* Layout Styles - Sidebar, Navigation, Search, Errors */
2
-
3
- /* Sidebar */
4
- .sidebar {
5
- display: flex;
6
- flex-direction: column;
7
- gap: 0;
8
- }
9
-
10
- .sidebar-section {
11
- padding-bottom: 16px;
12
- margin-bottom: 16px;
13
- }
14
-
15
- .sidebar-section:not(:last-child) {
16
- border-bottom: 1px solid var(--muted-border-color);
17
- }
18
-
19
- .sidebar-heading {
20
- margin-bottom: 8px;
21
- }
22
-
23
- .kind-filter ul,
24
- .instance-list ul {
25
- padding: 0;
26
- margin: 0;
27
- }
28
-
29
- .kind-filter li,
30
- .instance-list li {
31
- padding: 0;
32
- margin: 0;
33
- }
34
-
35
- .kind-filter a,
36
- .instance-list a {
37
- display: flex;
38
- justify-content: space-between;
39
- align-items: center;
40
- margin-bottom: 2px;
41
- font-size: 0.85em;
42
- padding: 0.25rem 0.5rem;
43
- border-radius: 4px;
44
- text-decoration: none;
45
- }
46
-
47
- .kind-filter a[aria-current="page"],
48
- .instance-list a[aria-current="page"] {
49
- background-color: var(--primary);
50
- color: var(--primary-inverse);
51
- }
52
-
53
- .kind-count {
54
- font-size: 0.85em;
55
- padding: 2px 6px;
56
- border-radius: 10px;
57
- min-width: 24px;
58
- text-align: center;
59
- opacity: 0.7;
60
- }
61
-
62
- .kind-filter a[aria-current="page"] .kind-count {
63
- opacity: 1;
64
- }
65
-
66
- /* Filter groups */
67
- .filter-group {
68
- margin-bottom: 0.5rem;
69
- }
70
-
71
- .filter-group:last-child {
72
- margin-bottom: 0;
73
- }
74
-
75
- .filter-label {
76
- font-size: 0.75em;
77
- font-weight: 600;
78
- color: var(--muted-color);
79
- text-transform: uppercase;
80
- margin-bottom: 0.25rem;
81
- padding: 0;
82
- }
83
-
84
- .filter-chips {
85
- display: flex;
86
- flex-wrap: wrap;
87
- gap: 0.25rem;
88
- }
89
-
90
- .filter-chip {
91
- display: inline-block;
92
- font-size: 0.75em;
93
- padding: 0.2rem 0.5rem;
94
- background-color: var(--card-background-color);
95
- border: 1px solid var(--muted-border-color);
96
- border-radius: 12px;
97
- text-decoration: none;
98
- color: var(--color);
99
- transition: all 0.2s ease;
100
- }
101
-
102
- .filter-chip:hover {
103
- background-color: var(--primary);
104
- color: var(--primary-inverse);
105
- border-color: var(--primary);
106
- }
107
-
108
- /* Responsive layout */
109
- @media all and (min-width: 800px) {
110
- main {
111
- display: flex;
112
- flex-direction: row;
113
- gap: 1rem;
114
- }
115
-
116
- .sidebar {
117
- width: clamp(250px, 20vw, 400px);
118
- flex-shrink: 0;
119
- }
120
- }
121
-
122
- /* Search query display */
123
- .search-query-display {
124
- display: flex;
125
- flex-wrap: wrap;
126
- gap: 1.5rem;
127
- align-items: center;
128
- padding: 1rem 0;
129
- }
130
-
131
- .query-item {
132
- display: flex;
133
- align-items: center;
134
- gap: 0.5rem;
135
- margin: 0;
136
- padding: 0;
137
- }
138
-
139
- .query-item .label {
140
- font-weight: 600;
141
- color: var(--muted-color);
142
- text-transform: uppercase;
143
- font-size: 0.85em;
144
- letter-spacing: 0.5px;
145
- }
146
-
147
- .query-item code {
148
- padding: 0.35rem 0.75rem;
149
- background-color: var(--code-background-color);
150
- border-radius: 6px;
151
- font-size: 0.95em;
152
- font-family: monospace;
153
- color: var(--color);
154
- }
155
-
156
- .query-value {
157
- word-break: break-word;
158
- }
159
-
160
- .kind-value {
161
- text-transform: capitalize;
162
- }
163
-
164
- .result-count {
165
- font-weight: 600;
166
- color: var(--color);
167
- font-size: 1em;
168
- }
169
-
170
- .query-toggle {
171
- display: inline-flex;
172
- align-items: center;
173
- justify-content: center;
174
- width: 28px;
175
- height: 28px;
176
- border-radius: 50%;
177
- background-color: var(--card-background-color);
178
- border: 1px solid var(--muted-border-color);
179
- transition: all 0.2s ease;
180
- cursor: pointer;
181
- margin-left: 0.25rem;
182
- }
183
-
184
- .query-toggle:hover {
185
- background-color: var(--primary);
186
- color: var(--primary-inverse);
187
- border-color: var(--primary);
188
- transform: rotate(180deg);
189
- }
190
-
191
- .query-toggle i {
192
- font-size: 1.1em;
193
- }
194
-
195
- /* Search container and spinner */
196
- .search-container {
197
- display: flex;
198
- align-items: center;
199
- gap: 0.5rem;
200
- }
201
-
202
- .search-container input.search {
203
- min-width: 700px;
204
- }
205
-
206
- .search-spinner {
207
- display: none;
208
- }
209
-
210
- .search-spinner.htmx-request {
211
- display: inline-flex;
212
- align-items: center;
213
- }
214
-
215
- .spinning {
216
- animation: spin 1s linear infinite;
217
- }
218
-
219
- @keyframes spin {
220
- from {
221
- transform: rotate(0deg);
222
- }
223
-
224
- to {
225
- transform: rotate(360deg);
226
- }
227
- }
228
-
229
- /* Search help button */
230
- .search-help {
231
- display: inline-flex;
232
- align-items: center;
233
- justify-content: center;
234
- width: 28px;
235
- height: 28px;
236
- border-radius: 50%;
237
- background-color: var(--card-background-color);
238
- border: 1px solid var(--muted-border-color);
239
- transition: all 0.2s ease;
240
- cursor: pointer;
241
- color: var(--muted-color);
242
- }
243
-
244
- .search-help:hover {
245
- background-color: var(--primary);
246
- color: var(--primary-inverse);
247
- border-color: var(--primary);
248
- }
249
-
250
- .search-help i {
251
- font-size: 1.1em;
252
- }
253
-
254
- /* Search error styles */
255
- .search-error {
256
- padding: 1rem;
257
- background-color: #fee2e2;
258
- border: 1px solid #fecaca;
259
- border-radius: 8px;
260
- margin-bottom: 1rem;
261
- }
262
-
263
- .search-error-header {
264
- display: flex;
265
- align-items: center;
266
- gap: 0.5rem;
267
- margin-bottom: 0.5rem;
268
- color: #991b1b;
269
- font-weight: 600;
270
- }
271
-
272
- .search-error-header i {
273
- font-size: 1.2em;
274
- }
275
-
276
- .search-error-message {
277
- font-family: monospace;
278
- font-size: 0.95em;
279
- color: #991b1b;
280
- background-color: #fef2f2;
281
- padding: 0.75rem;
282
- border-radius: 4px;
283
- overflow-x: auto;
284
- white-space: pre-wrap;
285
- word-break: break-word;
286
- }
287
-
288
- .search-error-query {
289
- margin-top: 0.5rem;
290
- font-size: 0.85em;
291
- color: #7f1d1d;
292
- }
293
-
294
- .search-error-query code {
295
- background-color: #fef2f2;
296
- padding: 0.25rem 0.5rem;
297
- border-radius: 4px;
298
- }
299
-
300
- @media (prefers-color-scheme: dark) {
301
- .search-error {
302
- background-color: #450a0a;
303
- border-color: #7f1d1d;
304
- }
305
-
306
- .search-error-header {
307
- color: #fca5a5;
308
- }
309
-
310
- .search-error-message {
311
- color: #fecaca;
312
- background-color: #7f1d1d;
313
- }
314
-
315
- .search-error-query {
316
- color: #fca5a5;
317
- }
318
-
319
- .search-error-query code {
320
- background-color: #7f1d1d;
321
- }
322
- }
323
-
324
- /* Error page styles */
325
- .error-header {
326
- margin-bottom: 1rem;
327
- }
328
-
329
- .error-header h3 {
330
- color: #dc2626;
331
- display: flex;
332
- align-items: center;
333
- gap: 0.5rem;
334
- margin-bottom: 0.5rem;
335
- }
336
-
337
- .error-message {
338
- font-size: 1.1rem;
339
- margin-bottom: 0.5rem;
340
- }
341
-
342
- .error-location {
343
- color: #6b7280;
344
- font-family: monospace;
345
- display: flex;
346
- align-items: center;
347
- gap: 0.5rem;
348
- }
349
-
350
- .error-line-badge {
351
- background-color: #dc2626;
352
- color: white;
353
- padding: 0.125rem 0.5rem;
354
- border-radius: 4px;
355
- font-size: 0.875rem;
356
- }
357
-
358
- .reload-btn {
359
- display: inline-flex;
360
- align-items: center;
361
- gap: 0.25rem;
362
- }
363
-
364
- .error-code-block {
365
- width: 100%;
366
- overflow-x: auto;
367
- }
368
-
369
- .error-code-block pre {
370
- margin: 0;
371
- padding: 1rem;
372
- background-color: #1e1e1e;
373
- border-radius: 8px;
374
- overflow-x: auto;
375
- }
376
-
377
- .error-code-block code {
378
- font-family: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', monospace;
379
- font-size: 0.8rem;
380
- line-height: 1.1;
381
- }
382
-
383
- .error-code-block .code-line,
384
- .error-code-block .error-line {
385
- display: block;
386
- white-space: pre;
387
- }
388
-
389
- .error-code-block .code-line {
390
- color: #d4d4d4;
391
- }
392
-
393
- .error-code-block .error-line {
394
- background-color: rgba(220, 38, 38, 0.3);
395
- color: #fca5a5;
396
- margin: 0 -1rem;
397
- padding: 0 1rem;
398
- }
399
-
400
- .error-code-block .line-number {
401
- color: #6b7280;
402
- user-select: none;
403
- margin-right: 1rem;
404
- display: inline-block;
405
- min-width: 3rem;
406
- text-align: right;
407
- }
408
-
409
- .error-code-block .error-line .line-number {
410
- color: #f87171;
411
- }
412
-
413
- @media (prefers-color-scheme: dark) {
414
- .error-header h3 {
415
- color: #f87171;
416
- }
417
-
418
- .error-location {
419
- color: #9ca3af;
420
- }
421
- }
@@ -1,188 +0,0 @@
1
- /* Mermaid diagrams with svg-pan-zoom */
2
- .mermaid {
3
- width: 100%;
4
- height: 70vh;
5
- min-height: 400px;
6
- border: 1px solid var(--pico-muted-border-color, #ddd);
7
- border-radius: 4px;
8
- overflow: hidden;
9
- }
10
-
11
- .mermaid svg {
12
- display: block;
13
- }
14
-
15
- /* Shared SVG zoom controls (used by mermaid and graphviz) */
16
- .svg-zoom-controls {
17
- position: absolute;
18
- bottom: 12px;
19
- right: 12px;
20
- display: flex;
21
- gap: 6px;
22
- z-index: 10;
23
- }
24
-
25
- .svg-zoom-btn {
26
- display: flex;
27
- align-items: center;
28
- justify-content: center;
29
- width: 36px;
30
- height: 36px;
31
- padding: 0;
32
- border: 1px solid #ccc;
33
- border-radius: 6px;
34
- background: #fff;
35
- color: #333;
36
- cursor: pointer;
37
- transition: all 0.15s ease;
38
- box-shadow: 0 1px 3px rgba(0,0,0,0.1);
39
- }
40
-
41
- .svg-zoom-btn:hover {
42
- background: #f0f0f0;
43
- border-color: #999;
44
- }
45
-
46
- .svg-zoom-btn:active {
47
- background: #e0e0e0;
48
- }
49
-
50
- .svg-zoom-btn svg {
51
- width: 20px;
52
- height: 20px;
53
- }
54
-
55
- @media (prefers-color-scheme: dark) {
56
- .svg-zoom-btn {
57
- background: #2a2a2a;
58
- border-color: #555;
59
- color: #eee;
60
- }
61
-
62
- .svg-zoom-btn:hover {
63
- background: #3a3a3a;
64
- border-color: #777;
65
- }
66
-
67
- .svg-zoom-btn:active {
68
- background: #444;
69
- }
70
- }
71
-
72
- /* Mermaid layer colors (ArchiMate-inspired) */
73
- /* These styles target nodes with :::layerName class syntax */
74
-
75
- /* Light mode (default) */
76
- :root {
77
- /* Motivation - purple */
78
- --layer-motivation-fill: #E1BEE7;
79
- --layer-motivation-stroke: #7B1FA2;
80
- --layer-motivation-text: #000;
81
- /* Strategy - orange */
82
- --layer-strategy-fill: #FFCC80;
83
- --layer-strategy-stroke: #E65100;
84
- --layer-strategy-text: #000;
85
- /* Business - yellow */
86
- --layer-business-fill: #FFF59D;
87
- --layer-business-stroke: #F9A825;
88
- --layer-business-text: #000;
89
- /* Application - blue */
90
- --layer-application-fill: #81D4FA;
91
- --layer-application-stroke: #0277BD;
92
- --layer-application-text: #000;
93
- /* Technology - green */
94
- --layer-technology-fill: #C5E1A5;
95
- --layer-technology-stroke: #558B2F;
96
- --layer-technology-text: #000;
97
- }
98
-
99
- /* Dark mode - darker fills with light text */
100
- @media (prefers-color-scheme: dark) {
101
- :root {
102
- /* Motivation - deep purple */
103
- --layer-motivation-fill: #6A1B9A;
104
- --layer-motivation-stroke: #CE93D8;
105
- --layer-motivation-text: #F3E5F5;
106
- /* Strategy - deep orange */
107
- --layer-strategy-fill: #BF360C;
108
- --layer-strategy-stroke: #FFAB91;
109
- --layer-strategy-text: #FBE9E7;
110
- /* Business - amber/brown */
111
- --layer-business-fill: #FF8F00;
112
- --layer-business-stroke: #FFE082;
113
- --layer-business-text: #000;
114
- /* Application - deep blue */
115
- --layer-application-fill: #0277BD;
116
- --layer-application-stroke: #81D4FA;
117
- --layer-application-text: #E1F5FE;
118
- /* Technology - deep green */
119
- --layer-technology-fill: #33691E;
120
- --layer-technology-stroke: #AED581;
121
- --layer-technology-text: #F1F8E9;
122
- }
123
- }
124
-
125
- /* Motivation layer nodes */
126
- .mermaid .node.motivation > rect,
127
- .mermaid .node.motivation > polygon,
128
- .mermaid .node.motivation > circle {
129
- fill: var(--layer-motivation-fill) !important;
130
- stroke: var(--layer-motivation-stroke) !important;
131
- }
132
- .mermaid .node.motivation .label,
133
- .mermaid .node.motivation .label * {
134
- fill: var(--layer-motivation-text) !important;
135
- color: var(--layer-motivation-text) !important;
136
- }
137
-
138
- /* Strategy layer nodes */
139
- .mermaid .node.strategy > rect,
140
- .mermaid .node.strategy > polygon,
141
- .mermaid .node.strategy > circle {
142
- fill: var(--layer-strategy-fill) !important;
143
- stroke: var(--layer-strategy-stroke) !important;
144
- }
145
- .mermaid .node.strategy .label,
146
- .mermaid .node.strategy .label * {
147
- fill: var(--layer-strategy-text) !important;
148
- color: var(--layer-strategy-text) !important;
149
- }
150
-
151
- /* Business layer nodes */
152
- .mermaid .node.business > rect,
153
- .mermaid .node.business > polygon,
154
- .mermaid .node.business > circle {
155
- fill: var(--layer-business-fill) !important;
156
- stroke: var(--layer-business-stroke) !important;
157
- }
158
- .mermaid .node.business .label,
159
- .mermaid .node.business .label * {
160
- fill: var(--layer-business-text) !important;
161
- color: var(--layer-business-text) !important;
162
- }
163
-
164
- /* Application layer nodes */
165
- .mermaid .node.application > rect,
166
- .mermaid .node.application > polygon,
167
- .mermaid .node.application > circle {
168
- fill: var(--layer-application-fill) !important;
169
- stroke: var(--layer-application-stroke) !important;
170
- }
171
- .mermaid .node.application .label,
172
- .mermaid .node.application .label * {
173
- fill: var(--layer-application-text) !important;
174
- color: var(--layer-application-text) !important;
175
- }
176
-
177
- /* Technology layer nodes */
178
- .mermaid .node.technology > rect,
179
- .mermaid .node.technology > polygon,
180
- .mermaid .node.technology > circle {
181
- fill: var(--layer-technology-fill) !important;
182
- stroke: var(--layer-technology-stroke) !important;
183
- }
184
- .mermaid .node.technology .label,
185
- .mermaid .node.technology .label * {
186
- fill: var(--layer-technology-text) !important;
187
- color: var(--layer-technology-text) !important;
188
- }