-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Expand file tree
/
Copy pathschema-documentation.css
More file actions
92 lines (79 loc) · 2.06 KB
/
Copy pathschema-documentation.css
File metadata and controls
92 lines (79 loc) · 2.06 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
.graphiql-doc-explorer-schema-overview {
display: flex;
flex-direction: column;
padding: var(--px-8) 0;
}
/* Eyebrow section headers — matches FieldsList header style */
.graphiql-doc-explorer-schema-section-header {
padding: var(--px-6) var(--px-16) var(--px-4);
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
color: oklch(var(--fg-subtle));
}
.graphiql-doc-explorer-schema-section-header--types {
margin-top: var(--px-12);
}
.graphiql-doc-explorer-schema-type-count {
color: oklch(var(--fg-dim));
font-weight: 500;
}
/* Root type rows */
.graphiql-doc-explorer-schema-root-row {
display: flex;
align-items: center;
gap: var(--px-6);
padding: 5px var(--px-16);
background: transparent;
border: none;
cursor: pointer;
text-align: left;
width: 100%;
font-family: var(--font-family-mono);
font-size: 12px;
transition: background var(--transition-fast);
&:hover {
background: oklch(var(--bg-subtle));
}
&:focus-visible {
outline: 2px solid oklch(var(--accent-blue));
outline-offset: -2px;
}
}
.graphiql-doc-explorer-schema-root-label {
color: oklch(var(--fg-default));
}
.graphiql-doc-explorer-schema-root-colon {
color: oklch(var(--fg-muted));
}
/* Root operation types are always objects (composite). Plain spans, not
TypeLink anchors, so they need an explicit color. */
.graphiql-doc-explorer-schema-root-row .graphiql-doc-explorer-type-name {
color: oklch(var(--type-composite));
}
/* All-types rows */
.graphiql-doc-explorer-schema-type-row {
display: flex;
align-items: center;
gap: var(--px-8);
padding: 4px var(--px-16);
background: transparent;
border: none;
cursor: pointer;
text-align: left;
width: 100%;
transition: background var(--transition-fast);
&:hover {
background: oklch(var(--bg-subtle));
}
&:focus-visible {
outline: 2px solid oklch(var(--accent-blue));
outline-offset: -2px;
}
}
.graphiql-doc-explorer-schema-type-name {
font-family: var(--font-family-mono);
font-size: 12px;
color: oklch(var(--fg-default));
}