Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
157 lines (156 loc) · 3.39 KB
/
Copy pathstyle.css
File metadata and controls
157 lines (156 loc) · 3.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
#banner * {
/* Default banner showed white text on yellow in our theme */
color: rgb(67, 66, 64);
}
/*
* Enterprise architecture diagram (snippets/enterprise-architecture.jsx).
* Adapted from components/SelfHostingArchitecture.module.css in
* https://github.com/langfuse/langfuse-docs. Copyright (c) 2022-2025 Langfuse GmbH.
* Used under the MIT License; see the full notice in snippets/enterprise-architecture.jsx.
*/
.oh-arch {
--oh-arch-bg: #fbf9f6;
--oh-arch-surface: #f2ede5;
--oh-arch-card: #ffffff;
--oh-arch-line: #e2dbd0;
--oh-arch-text: #1c1b19;
--oh-arch-text-secondary: #6b675f;
--oh-arch-text-tertiary: #a39e93;
--oh-arch-accent: #ffe165;
--oh-arch-hover: #99873c;
margin: 1.5rem 0;
border: 1px solid var(--oh-arch-line);
border-radius: 12px;
background: var(--oh-arch-bg);
color: var(--oh-arch-text);
overflow: hidden;
}
.dark .oh-arch {
--oh-arch-bg: #111416;
--oh-arch-surface: #171b1e;
--oh-arch-card: #1c2124;
--oh-arch-line: #2d3337;
--oh-arch-text: #f1efe9;
--oh-arch-text-secondary: #a3a19a;
--oh-arch-text-tertiary: #6f726f;
--oh-arch-hover: #ffe165;
}
.oh-arch-header {
padding: 18px 20px 0;
}
.oh-arch-eyebrow,
.oh-arch-label {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 10px;
font-weight: 500;
letter-spacing: 0.08em;
color: var(--oh-arch-text-secondary);
fill: var(--oh-arch-text-secondary);
}
.oh-arch-eyebrow {
text-transform: uppercase;
}
.oh-arch-scroll {
overflow-x: auto;
scrollbar-width: thin;
}
.oh-arch-diagram {
display: block;
width: 100%;
min-width: 640px;
height: auto;
}
.oh-arch-boundary {
fill: var(--oh-arch-surface);
stroke: var(--oh-arch-line);
stroke-dasharray: 5 5;
}
.oh-arch-card {
fill: var(--oh-arch-card);
stroke: var(--oh-arch-line);
transition: stroke 150ms ease;
}
.oh-arch-service:hover .oh-arch-card,
.oh-arch-service:focus-visible .oh-arch-card {
stroke: var(--oh-arch-hover);
stroke-width: 2;
}
.oh-arch-service:focus-visible {
outline: none;
}
.oh-arch-icon {
color: var(--oh-arch-text-secondary);
}
.oh-arch-name {
fill: var(--oh-arch-text);
font-size: 15px;
font-weight: 600;
letter-spacing: -0.025em;
}
.oh-arch-detail {
fill: var(--oh-arch-text-secondary);
font-size: 12px;
}
.oh-arch-accent {
fill: var(--oh-arch-accent);
}
.oh-arch-app-paths,
.oh-arch-worker-paths,
.oh-arch-external-paths,
.oh-arch-arrows {
fill: none;
stroke-width: 1.5;
stroke-linecap: round;
stroke-linejoin: round;
}
.oh-arch-app-paths {
stroke: var(--oh-arch-text);
}
.oh-arch-worker-paths,
.oh-arch-external-paths,
.oh-arch-arrows {
stroke: var(--oh-arch-text-tertiary);
}
.oh-arch-external-paths {
stroke-dasharray: 4 6;
}
.oh-arch-caption {
border-top: 1px solid var(--oh-arch-line);
padding: 16px 20px;
font-size: 12px;
line-height: 1.6;
color: var(--oh-arch-text-secondary);
}
.oh-arch-legend {
display: flex;
flex-wrap: wrap;
gap: 8px 20px;
}
.oh-arch-legend span {
display: flex;
align-items: center;
gap: 8px;
}
.oh-arch-legend i {
display: inline-block;
width: 18px;
border-top: 2px solid;
}
.oh-arch-key-app {
color: var(--oh-arch-text);
}
.oh-arch-key-worker,
.oh-arch-key-external {
color: var(--oh-arch-text-tertiary);
}
.oh-arch-legend .oh-arch-key-external {
border-top-style: dashed;
}
.oh-arch-caption p {
margin: 8px 0 0;
}
@media (prefers-reduced-motion: reduce) {
.oh-arch-card {
transition: none;
}
}