|
6 | 6 | /* reset default styles for these elements */ |
7 | 7 | .ref i, |
8 | 8 | .ref span, |
| 9 | +.ref r, |
9 | 10 | .ref a{ |
10 | 11 | font-style: inherit; |
11 | 12 | font-weight: inherit; |
|
19 | 20 | } |
20 | 21 |
|
21 | 22 | /* meta content (used to generate tooltips) */ |
22 | | -.ref > div{ |
| 23 | +.ref > div, |
| 24 | +.ref > t{ |
23 | 25 | display: none; |
24 | 26 | } |
25 | 27 |
|
26 | 28 | /* show help cursor when mouse is over an entity with a tooltip */ |
27 | | -.ref [data-tip]{ |
| 29 | +.ref [data-tip], |
| 30 | +.ref [h]{ |
28 | 31 | cursor: help; |
29 | 32 | } |
30 | 33 |
|
31 | 34 | /* pointer if inside a link */ |
32 | | -.ref a > [data-tip]{ |
| 35 | +.ref a > [data-tip], |
| 36 | +.ref a > [h]{ |
33 | 37 | cursor: pointer; |
34 | 38 | } |
35 | 39 |
|
|
70 | 74 | margin: 20px 0 0 25px; |
71 | 75 | } |
72 | 76 |
|
73 | | -#rTip [data-cell]{ |
| 77 | +#rTip [data-cell], |
| 78 | +#rTip [c]{ |
74 | 79 | padding: 2px 7px; |
75 | 80 | } |
76 | 81 |
|
|
85 | 90 | color: #777; |
86 | 91 | } |
87 | 92 |
|
88 | | -#rTip [data-cell][data-varType]{ |
| 93 | +#rTip [data-cell][data-varType], |
| 94 | +#rTip [c][data-varType]{ |
89 | 95 | padding: 10px; |
90 | 96 | background: #333; |
91 | 97 | box-shadow: inset -1px 0 0 #444; |
|
94 | 100 | border-bottom-left-radius: 4px; |
95 | 101 | } |
96 | 102 |
|
97 | | -#rTip [data-cell][data-sub]{ |
| 103 | +#rTip [data-cell][data-sub], |
| 104 | +#rTip [c][data-sub]{ |
98 | 105 | padding: 8px 10px 10px 10px; |
99 | 106 | background: #333; |
100 | 107 | box-shadow: inset 0 1px 0 #444; |
|
103 | 110 | border-bottom-left-radius: 4px; |
104 | 111 | } |
105 | 112 |
|
106 | | -#rTip [data-table] [data-cell]:first-child{ |
| 113 | +#rTip [data-table] [data-cell]:first-child, |
| 114 | +#rTip [t] [c]:first-child{ |
107 | 115 | font: bold 11px Helvetica, Arial; |
108 | 116 | color: #888; |
109 | 117 | } |
110 | 118 |
|
111 | | -#rTip [data-table] [data-cell]:nth-child(2){ |
| 119 | +#rTip [data-table] [data-cell]:nth-child(2), |
| 120 | +#rTip [t] [c]:nth-child(2){ |
112 | 121 | color: #edd078; |
113 | 122 | } |
114 | 123 |
|
115 | 124 |
|
116 | 125 |
|
117 | 126 |
|
118 | 127 | /* base entity - can be nested */ |
119 | | -.ref span{ |
| 128 | +.ref span, .ref r{ |
120 | 129 | white-space: pre; |
121 | 130 | display: inline; |
122 | 131 | } |
|
178 | 187 | transform: rotate(90deg); |
179 | 188 | } |
180 | 189 |
|
181 | | -.ref [data-group]{ |
| 190 | +.ref [data-group], |
| 191 | +.ref [g]{ |
182 | 192 | display: none; |
183 | 193 | } |
184 | 194 |
|
185 | | -.ref [data-toggle][data-exp] ~ [data-group]{ |
| 195 | +.ref [data-toggle][data-exp] ~ [data-group], |
| 196 | +.ref [data-toggle][data-exp] ~ [g]{ |
186 | 197 | display: block; |
187 | 198 | } |
188 | 199 |
|
189 | 200 | /* group sections */ |
190 | | -.ref [data-table]{ |
| 201 | +.ref [data-table], |
| 202 | +.ref [t]{ |
191 | 203 | display: table; |
192 | 204 | } |
193 | 205 |
|
|
202 | 214 |
|
203 | 215 | /* emulate a table for displaying array & object members */ |
204 | 216 | /* section row */ |
205 | | -.ref [data-row]{ |
| 217 | +.ref [data-row], |
| 218 | +.ref [r]{ |
206 | 219 | display: table-row; |
207 | 220 | } |
208 | 221 |
|
209 | 222 | /* zebra-like rows */ |
210 | 223 | .ref [data-output] [data-row]:nth-child(odd){background: #f4f4f4;} |
211 | 224 | .ref [data-output] [data-row]:nth-child(even){background: #f9f9f9;} |
| 225 | +.ref [data-output] [r]:nth-child(odd){background: #f4f4f4;} |
| 226 | +.ref [data-output] [r]:nth-child(even){background: #f9f9f9;} |
212 | 227 |
|
213 | 228 | /* section cells */ |
214 | | -.ref [data-cell]{ |
| 229 | +.ref [data-cell], |
| 230 | +.ref [c]{ |
215 | 231 | display: table-cell; |
216 | 232 | width: auto; |
217 | 233 | vertical-align: top; |
|
220 | 236 |
|
221 | 237 | /* last cell of a row (forces table to adjust width like we want to) */ |
222 | 238 | .ref [data-output] [data-table], |
223 | | -.ref [data-output] [data-cell]:last-child{ |
| 239 | +.ref [data-output] [t], |
| 240 | +.ref [data-output] [data-cell]:last-child, |
| 241 | +.ref [data-output] [c]:last-child{ |
224 | 242 | width: 100%; |
225 | 243 | } |
226 | 244 |
|
|
232 | 250 | .ref [data-null], |
233 | 251 | .ref [data-unknown], |
234 | 252 | .ref [data-resource], |
235 | | -.ref [data-match]{ |
| 253 | +.ref [data-match], |
| 254 | +.ref [m]{ |
236 | 255 | font: bold 11px Helvetica, Arial; |
237 | 256 | color: #fff; |
238 | 257 | padding: 1px 3px; |
|
246 | 265 | } |
247 | 266 |
|
248 | 267 | /* string matches */ |
249 | | -.ref [data-match]{ |
| 268 | +.ref [data-match], |
| 269 | +.ref [m]{ |
250 | 270 | background-color: #d78035; |
251 | 271 | } |
252 | 272 |
|
|
356 | 376 | } |
357 | 377 |
|
358 | 378 | /* group info prefix */ |
359 | | -.ref [data-gLabel]{ |
| 379 | +.ref [data-gLabel], |
| 380 | +.ref [gl]{ |
360 | 381 | font: bold 11px Helvetica, Arial; |
361 | 382 | padding: 0 3px; |
362 | 383 | color: #333; |
|
373 | 394 | color: #444; |
374 | 395 | } |
375 | 396 |
|
376 | | -.ref [data-mod] span{ |
| 397 | +.ref [data-mod] span, |
| 398 | +.ref [data-mod] r{ |
377 | 399 | display: inline-block; |
378 | 400 | margin: 0 2px; |
379 | 401 | width: 14px; |
|
0 commit comments