|
7 | 7 | */ |
8 | 8 |
|
9 | 9 | .graphiql-markdown-description, |
10 | | -.graphiql-markdown-deprecation, |
11 | | -.CodeMirror-hint-information-description, |
12 | | -.CodeMirror-hint-information-deprecation-reason, |
13 | | -.CodeMirror-info .info-description, |
14 | | -.CodeMirror-info .info-deprecation { |
| 10 | +.graphiql-markdown-deprecation { |
15 | 11 | & blockquote { |
16 | 12 | margin-left: 0; |
17 | 13 | margin-right: 0; |
|
68 | 64 | } |
69 | 65 | } |
70 | 66 |
|
71 | | -.graphiql-markdown-description, |
72 | | -.CodeMirror-hint-information-description, |
73 | | -.CodeMirror-info .info-description { |
| 67 | +.graphiql-markdown-description { |
74 | 68 | & a { |
75 | 69 | color: hsl(var(--color-primary)); |
76 | 70 | text-decoration: none; |
|
95 | 89 | } |
96 | 90 | } |
97 | 91 |
|
98 | | -.graphiql-markdown-deprecation, |
99 | | -.CodeMirror-hint-information-deprecation-reason, |
100 | | -.CodeMirror-info .info-deprecation { |
| 92 | +.graphiql-markdown-deprecation { |
101 | 93 | & a { |
102 | 94 | color: hsl(var(--color-warning)); |
103 | 95 | text-decoration: underline; |
|
120 | 112 | .graphiql-markdown-preview > :not(:first-child) { |
121 | 113 | display: none; |
122 | 114 | } |
123 | | - |
124 | | -/** |
125 | | - * We show deprecations in the following places: |
126 | | - * - In the hint tooltip when typing in the operation editor. |
127 | | - * - In the info tooltip when hovering over a field in the operation editor. |
128 | | - */ |
129 | | - |
130 | | -.CodeMirror-hint-information-deprecation, |
131 | | -.CodeMirror-info .info-deprecation { |
132 | | - background-color: hsla(var(--color-warning), var(--alpha-background-light)); |
133 | | - border: 1px solid hsl(var(--color-warning)); |
134 | | - border-radius: var(--border-radius-4); |
135 | | - color: hsl(var(--color-warning)); |
136 | | - margin-top: var(--px-12); |
137 | | - padding: var(--px-6) var(--px-8); |
138 | | -} |
139 | | - |
140 | | -.CodeMirror-hint-information-deprecation-label, |
141 | | -.CodeMirror-info .info-deprecation-label { |
142 | | - font-size: var(--font-size-hint); |
143 | | - font-weight: var(--font-weight-medium); |
144 | | -} |
145 | | - |
146 | | -.CodeMirror-hint-information-deprecation-reason, |
147 | | -.CodeMirror-info .info-deprecation-reason { |
148 | | - margin-top: var(--px-6); |
149 | | -} |
0 commit comments