Skip to content

Commit efc0a82

Browse files
saravmajesticclaude
andcommitted
docs: re-sync from help-docs — restore CLI-auth privacy section + telemetry/llms accuracy [docs-sync]
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011fcN8kPwzjDeBysYUzKfJU
1 parent 54a8f32 commit efc0a82

81 files changed

Lines changed: 4298 additions & 862 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 37 additions & 0 deletions
Loading
Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
/* Firecrawl-style "Copy page" split-button. Themed with Material's
2+
CSS vars so it adapts to slate/default palettes automatically. */
3+
4+
.ak-copy-page {
5+
position: relative;
6+
float: right;
7+
display: inline-flex;
8+
align-items: stretch;
9+
margin: 0 0 0.75rem 1rem;
10+
font-family: var(--md-text-font-family, inherit);
11+
font-size: 0.7rem;
12+
z-index: 3;
13+
}
14+
15+
.ak-copy-page__main,
16+
.ak-copy-page__toggle {
17+
background: var(--md-default-bg-color);
18+
color: var(--md-default-fg-color);
19+
border: 1px solid var(--md-default-fg-color--lightest);
20+
cursor: pointer;
21+
display: inline-flex;
22+
align-items: center;
23+
font: inherit;
24+
line-height: 1;
25+
transition: background-color 0.15s ease, border-color 0.15s ease;
26+
}
27+
28+
.ak-copy-page__main {
29+
gap: 0.4rem;
30+
padding: 0.45rem 0.7rem;
31+
border-radius: 0.4rem 0 0 0.4rem;
32+
font-weight: 500;
33+
}
34+
35+
.ak-copy-page__toggle {
36+
padding: 0.45rem 0.45rem;
37+
border-left: none;
38+
border-radius: 0 0.4rem 0.4rem 0;
39+
}
40+
41+
.ak-copy-page__main:hover,
42+
.ak-copy-page__toggle:hover,
43+
.ak-copy-page__toggle[aria-expanded='true'] {
44+
background: var(--md-default-fg-color--lightest);
45+
border-color: var(--md-default-fg-color--lighter);
46+
}
47+
48+
.ak-copy-page__main svg,
49+
.ak-copy-page__toggle svg {
50+
flex: 0 0 auto;
51+
opacity: 0.85;
52+
}
53+
54+
.ak-copy-page__menu {
55+
position: absolute;
56+
top: calc(100% + 6px);
57+
right: 0;
58+
min-width: 280px;
59+
background: var(--md-default-bg-color);
60+
border: 1px solid var(--md-default-fg-color--lightest);
61+
border-radius: 0.55rem;
62+
padding: 0.3rem;
63+
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35),
64+
0 2px 6px rgba(0, 0, 0, 0.18);
65+
display: flex;
66+
flex-direction: column;
67+
gap: 0.1rem;
68+
z-index: 10;
69+
}
70+
71+
.ak-copy-page__menu[hidden] {
72+
display: none;
73+
}
74+
75+
[data-md-color-scheme='default'] .ak-copy-page__menu {
76+
box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12),
77+
0 2px 6px rgba(15, 23, 42, 0.06);
78+
}
79+
80+
.ak-copy-page__menu button {
81+
background: none;
82+
border: none;
83+
color: var(--md-default-fg-color);
84+
cursor: pointer;
85+
text-align: left;
86+
font: inherit;
87+
padding: 0.55rem 0.6rem;
88+
border-radius: 0.4rem;
89+
display: grid;
90+
grid-template-columns: 32px 1fr;
91+
gap: 0.7rem;
92+
align-items: center;
93+
width: 100%;
94+
}
95+
96+
.ak-copy-page__menu button:hover {
97+
background: var(--md-default-fg-color--lightest);
98+
}
99+
100+
.ak-copy-page__menu-icon {
101+
display: inline-flex;
102+
align-items: center;
103+
justify-content: center;
104+
width: 32px;
105+
height: 32px;
106+
border-radius: 0.4rem;
107+
background: var(--md-default-fg-color--lightest);
108+
}
109+
110+
.ak-copy-page__menu-icon svg {
111+
opacity: 0.9;
112+
}
113+
114+
.ak-copy-page__menu-text {
115+
display: flex;
116+
flex-direction: column;
117+
line-height: 1.2;
118+
min-width: 0;
119+
}
120+
121+
.ak-copy-page__menu-text strong {
122+
font-weight: 600;
123+
font-size: 0.72rem;
124+
display: inline-flex;
125+
align-items: center;
126+
gap: 0.25rem;
127+
}
128+
129+
.ak-copy-page__menu-text em {
130+
font-style: normal;
131+
font-size: 0.6rem;
132+
opacity: 0.65;
133+
margin-top: 2px;
134+
}
135+
136+
.ak-copy-page__ext {
137+
font-size: 0.6rem;
138+
opacity: 0.6;
139+
}
140+
141+
/* Make sure floats inside the article don't bleed past the footer. */
142+
.md-content__inner::after {
143+
content: '';
144+
display: block;
145+
clear: both;
146+
}
147+
148+
/* On narrow screens, full-width the menu so it never overflows the viewport. */
149+
@media (max-width: 480px) {
150+
.ak-copy-page {
151+
float: none;
152+
display: flex;
153+
margin: 0 0 0.75rem 0;
154+
}
155+
.ak-copy-page__menu {
156+
left: 0;
157+
right: auto;
158+
min-width: 0;
159+
width: 100%;
160+
}
161+
}

0 commit comments

Comments
 (0)