Repository navigation
Expand file tree
/
Copy pathangular.css
More file actions
217 lines (188 loc) · 5.13 KB
/
Copy pathangular.css
File metadata and controls
217 lines (188 loc) · 5.13 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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
/* angular.mvcprogrammer.com — angular.css
Additions to the shared styles.css for the Angular edition: this edition's palette, the boot
screen shown until the app bootstraps, the component host elements, and form validation state.
Component styles are not used anywhere in this edition: Angular would inject them as inline
<style> elements, which the site's Content Security Policy forbids, so every rule lives in this
one file. */
/* ---------- Palette ----------
Navy and brass: a cool, faintly blue page with navy buttons and a goldenrod hover in light mode;
a true navy page after dark, with muted brass for buttons and links and a paler gold on hover.
Only the design tokens from styles.css are overridden; light-dark() picks the value for the active
color scheme (styles.css declares color-scheme: light dark on :root), so one declaration covers
both themes and no rule is repeated. Text, buttons, and the dark-mode hover clear WCAG AA; the
light-mode hover is a transient state and sits below it, as on the default edition. */
:root {
--bg: light-dark(#f3f5fa, #0f1b33);
--bg-alt: light-dark(#e6ebf5, #0a1428);
--surface: light-dark(#ffffff, #182744);
--text: light-dark(#121c33, #e6ecf7);
--text-muted: light-dark(#4d5873, #a7b3cc);
--border: light-dark(#d3dbea, #2b3b5c);
--accent: light-dark(#1b365d, #e3b04b);
--accent-hover: light-dark(#122745, #ecc36c);
--accent-contrast: light-dark(#ffffff, #14213d);
--accent-soft: light-dark(rgba(27, 54, 93, 0.10), rgba(227, 176, 75, 0.16));
--hover: light-dark(#b7791f, #f2cd7a);
--hover-soft: light-dark(rgba(183, 121, 31, 0.12), rgba(242, 205, 122, 0.18));
--hover-contrast: light-dark(#ffffff, #14213d);
}
/* Angular wraps each component in its host element. With display: contents the wrappers leave the
box tree, so the sticky header, the flex rows, and the grids see the same children the static
markup gives them. */
app-root,
app-icon,
app-icon-sprite,
app-site-header,
app-site-footer,
app-social-links,
app-experience-timeline,
app-demo-dialog,
app-hero-section,
app-about-section,
app-quote-section,
app-services-section,
app-portfolio-section,
app-resume-section,
app-contact-section,
app-colophon-section,
app-home,
app-ensemble,
app-nexus,
app-not-found {
display: contents;
}
.app-loading {
min-height: 100vh;
display: grid;
place-content: center;
justify-items: center;
gap: 1rem;
text-align: center;
color: var(--text-muted);
font-family: var(--font-sans);
}
.app-loading .brand-mark {
width: 2.5rem;
height: 2.5rem;
}
.app-loading-text {
margin: 0;
font-size: 0.95rem;
}
/* Reactive forms mark controls they have validated; only a failed field the visitor has touched needs a visible cue. */
.contact-form input.ng-invalid.ng-touched,
.contact-form select.ng-invalid.ng-touched,
.contact-form textarea.ng-invalid.ng-touched {
border-color: var(--hover);
}
/* ---------- The unlisted /ensemble and /nexus pages ----------
A document rendered with the site's type: a collapsible reading path, two tables, and graded chips. */
/* The title block: the raw helpers put the h1 at margin 0 and pull the intro up by half a rem,
which crowds three lines together; here each gets its own air, and the gap before the first
details matches the gap above every later h2. */
.jd .eyebrow {
margin-bottom: 1rem;
}
.jd h1 {
margin: 0 0 1.5rem;
}
.jd .section-intro {
max-width: 60rem;
margin: 0 0 2.5rem;
line-height: 1.6;
}
.jd h2 {
margin-top: 2.5rem;
}
.jd h3 {
margin-top: 1.5rem;
font-size: 1.125rem;
}
.jd p {
max-width: 60rem;
margin-bottom: 1rem;
line-height: 1.65;
}
.jd-case {
margin: 1.75rem 0 2.25rem;
}
.jd-takeaway {
font-size: 1.0625rem;
}
.jd-points {
max-width: 60rem;
padding-left: 1.25rem;
}
.jd-points li {
margin-bottom: 0.85rem;
line-height: 1.6;
}
.jd-details {
margin: 1.5rem 0;
padding: 0 1.25rem;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface);
}
.jd-summary {
padding: 1rem 0;
font-weight: 600;
cursor: pointer;
}
.jd-details[open] .jd-summary {
border-bottom: 1px solid var(--border);
margin-bottom: 1rem;
}
.jd-list li {
margin-bottom: 1rem;
line-height: 1.6;
}
.jd-table-wrap {
overflow-x: auto;
margin: 1rem 0 1.5rem;
}
.jd-table {
width: 100%;
border-collapse: collapse;
font-size: 0.9375rem;
}
.jd-table th,
.jd-table td {
padding: 0.85rem 0.75rem;
line-height: 1.55;
border-top: 1px solid var(--border);
text-align: left;
vertical-align: top;
}
.jd-table th {
font-family: var(--font-mono);
font-size: 0.75rem;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-muted);
}
.jd-table td:first-child {
font-weight: 600;
min-width: 11rem;
}
.jd-grade {
display: inline-block;
padding: 0.15rem 0.6rem;
border-radius: 999px;
font-family: var(--font-mono);
font-size: 0.75rem;
white-space: nowrap;
border: 1px solid var(--border);
}
.jd-grade.is-yes {
color: var(--accent-contrast);
background: var(--accent);
border-color: var(--accent);
}
.jd-grade.is-near {
color: var(--text);
background: var(--accent-soft);
}
.jd-grade.is-no {
color: var(--text-muted);
}