|
23 | 23 | <link id="styleHighlight" rel="stylesheet" href="https://rust-lang.github.io/mdBook/highlight.css">
|
24 | 24 | <link id="styleNight" rel="stylesheet" href="https://rust-lang.github.io/mdBook/tomorrow-night.css" disabled="true">
|
25 | 25 | <link id="styleAyu" rel="stylesheet" href="https://rust-lang.github.io/mdBook/ayu-highlight.css" disabled="true">
|
26 |
| - <style> |
27 |
| - blockquote { font-size: 1em; } |
28 |
| - [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak { display: none !important; } |
29 |
| - |
30 |
| - .dropdown-menu { |
31 |
| - color: var(--fg); |
32 |
| - background: var(--theme-popup-bg); |
33 |
| - border: 1px solid var(--theme-popup-border); |
34 |
| - } |
35 |
| - |
36 |
| - .dropdown-menu .divider { |
37 |
| - background-color: var(--theme-popup-border); |
38 |
| - } |
39 |
| - |
40 |
| - .dropdown-menu .checkbox { |
41 |
| - display: block; |
42 |
| - white-space: nowrap; |
43 |
| - margin: 0; |
44 |
| - } |
45 |
| - .dropdown-menu .checkbox label { |
46 |
| - padding: 3px 20px; |
47 |
| - width: 100%; |
48 |
| - } |
49 |
| - |
50 |
| - .dropdown-menu .checkbox input { |
51 |
| - position: relative; |
52 |
| - margin: 0 0.5rem 0; |
53 |
| - padding: 0; |
54 |
| - } |
55 |
| - |
56 |
| - .dropdown-menu .checkbox:hover { |
57 |
| - background-color: var(--theme-hover); |
58 |
| - } |
59 |
| - |
60 |
| - div.panel div.panel-body button { |
61 |
| - background: var(--searchbar-bg); |
62 |
| - color: var(--searchbar-fg); |
63 |
| - border-color: var(--theme-popup-border); |
64 |
| - } |
65 |
| - |
66 |
| - div.panel div.panel-body button:hover { |
67 |
| - box-shadow: 0 0 3px var(--searchbar-shadow-color); |
68 |
| - } |
69 |
| - |
70 |
| - div.panel div.panel-body button.open { |
71 |
| - filter: brightness(90%); |
72 |
| - } |
73 |
| - |
74 |
| - .dropdown-toggle .badge { |
75 |
| - background-color: #777; |
76 |
| - } |
77 |
| - |
78 |
| - .panel-heading { cursor: pointer; } |
79 |
| - |
80 |
| - .panel-title { display: flex; flex-wrap: wrap;} |
81 |
| - .panel-title .label { display: inline-block; } |
82 |
| - |
83 |
| - .panel-title-name { flex: 1; min-width: 400px;} |
84 |
| - .panel-title-name span { vertical-align: bottom; } |
85 |
| - |
86 |
| - .panel .panel-title-name .anchor { display: none; } |
87 |
| - .panel:hover .panel-title-name .anchor { display: inline;} |
88 |
| - |
89 |
| - .search-control { |
90 |
| - margin-top: 15px; |
91 |
| - } |
92 |
| - |
93 |
| - @media (min-width: 992px) { |
94 |
| - .search-control { |
95 |
| - margin-top: 0; |
96 |
| - } |
97 |
| - } |
98 |
| - |
99 |
| - @media (min-width: 405px) { |
100 |
| - #upper-filters { |
101 |
| - display: flex; |
102 |
| - flex-wrap: wrap; |
103 |
| - } |
104 |
| - } |
105 |
| - |
106 |
| - @media (max-width: 430px) { |
107 |
| - /* Turn the version filter list to the left */ |
108 |
| - #version-filter-selector { |
109 |
| - right: 0; |
110 |
| - left: auto; |
111 |
| - } |
112 |
| - } |
113 |
| - |
114 |
| - @media (max-width: 412px) { |
115 |
| - #upper-filters, |
116 |
| - .panel-body .search-control { |
117 |
| - padding-right: 8px; |
118 |
| - padding-left: 8px; |
119 |
| - } |
120 |
| - } |
121 |
| - |
122 |
| - .label { |
123 |
| - padding-top: 0.3em; |
124 |
| - padding-bottom: 0.3em; |
125 |
| - } |
126 |
| - |
127 |
| - .label-lint-group { |
128 |
| - min-width: 8em; |
129 |
| - } |
130 |
| - .label-lint-level { |
131 |
| - min-width: 4em; |
132 |
| - } |
133 |
| - |
134 |
| - .label-lint-level-allow { |
135 |
| - background-color: #5cb85c; |
136 |
| - } |
137 |
| - .label-lint-level-warn { |
138 |
| - background-color: #f0ad4e; |
139 |
| - } |
140 |
| - .label-lint-level-deny { |
141 |
| - background-color: #d9534f; |
142 |
| - } |
143 |
| - .label-lint-level-none { |
144 |
| - background-color: #777777; |
145 |
| - opacity: 0.5; |
146 |
| - } |
147 |
| - |
148 |
| - .label-group-deprecated { |
149 |
| - opacity: 0.5; |
150 |
| - } |
151 |
| - |
152 |
| - .label-doc-folding { |
153 |
| - color: #000; |
154 |
| - background-color: #fff; |
155 |
| - border: 1px solid var(--theme-popup-border); |
156 |
| - } |
157 |
| - .label-doc-folding:hover { |
158 |
| - background-color: #e6e6e6; |
159 |
| - } |
160 |
| - |
161 |
| - .lint-doc-md > h3 { |
162 |
| - border-top: 1px solid var(--theme-popup-border); |
163 |
| - padding: 10px 15px; |
164 |
| - margin: 0 -15px; |
165 |
| - font-size: 18px; |
166 |
| - } |
167 |
| - .lint-doc-md > h3:first-child { |
168 |
| - border-top: none; |
169 |
| - padding-top: 0px; |
170 |
| - } |
171 |
| - |
172 |
| - @media (max-width:749px) { |
173 |
| - .lint-additional-info-container { |
174 |
| - display: flex; |
175 |
| - flex-flow: column; |
176 |
| - } |
177 |
| - .lint-additional-info-item + .lint-additional-info-item { |
178 |
| - border-top: 1px solid var(--theme-popup-border); |
179 |
| - } |
180 |
| - } |
181 |
| - @media (min-width:750px) { |
182 |
| - .lint-additional-info-container { |
183 |
| - display: flex; |
184 |
| - flex-flow: row; |
185 |
| - } |
186 |
| - .lint-additional-info-item + .lint-additional-info-item { |
187 |
| - border-left: 1px solid var(--theme-popup-border); |
188 |
| - } |
189 |
| - } |
190 |
| - |
191 |
| - .lint-additional-info-item { |
192 |
| - display: inline-flex; |
193 |
| - min-width: 200px; |
194 |
| - flex-grow: 1; |
195 |
| - padding: 9px 5px 5px 15px; |
196 |
| - } |
197 |
| - |
198 |
| - .label-applicability { |
199 |
| - background-color: #777777; |
200 |
| - margin: auto 5px; |
201 |
| - } |
202 |
| - |
203 |
| - .label-version { |
204 |
| - background-color: #777777; |
205 |
| - margin: auto 5px; |
206 |
| - font-family: monospace; |
207 |
| - } |
208 |
| - |
209 |
| - details { |
210 |
| - border-radius: 4px; |
211 |
| - padding: .5em .5em 0; |
212 |
| - } |
213 |
| - |
214 |
| - code { |
215 |
| - white-space: pre !important; |
216 |
| - } |
217 |
| - |
218 |
| - summary { |
219 |
| - font-weight: bold; |
220 |
| - margin: -.5em -.5em 0; |
221 |
| - padding: .5em; |
222 |
| - display: revert; |
223 |
| - } |
224 |
| - |
225 |
| - details[open] { |
226 |
| - padding: .5em; |
227 |
| - } |
228 |
| - </style> |
229 |
| - <style> |
230 |
| - /* Expanding the mdBoom theme*/ |
231 |
| - .light { |
232 |
| - --inline-code-bg: #f6f7f6; |
233 |
| - } |
234 |
| - .rust { |
235 |
| - --inline-code-bg: #f6f7f6; |
236 |
| - } |
237 |
| - .coal { |
238 |
| - --inline-code-bg: #1d1f21; |
239 |
| - } |
240 |
| - .navy { |
241 |
| - --inline-code-bg: #1d1f21; |
242 |
| - } |
243 |
| - .ayu { |
244 |
| - --inline-code-bg: #191f26; |
245 |
| - } |
246 |
| - |
247 |
| - .theme-dropdown { |
248 |
| - position: absolute; |
249 |
| - margin: 0.7em; |
250 |
| - z-index: 10; |
251 |
| - } |
252 |
| - |
253 |
| - /* Applying the mdBook theme */ |
254 |
| - .theme-icon { |
255 |
| - text-align: center; |
256 |
| - width: 2em; |
257 |
| - height: 2em; |
258 |
| - line-height: 2em; |
259 |
| - border: solid 1px var(--icons); |
260 |
| - border-radius: 5px; |
261 |
| - user-select: none; |
262 |
| - cursor: pointer; |
263 |
| - } |
264 |
| - .theme-icon:hover { |
265 |
| - background: var(--theme-hover); |
266 |
| - } |
267 |
| - .theme-choice { |
268 |
| - display: none; |
269 |
| - list-style: none; |
270 |
| - border: 1px solid var(--theme-popup-border); |
271 |
| - border-radius: 5px; |
272 |
| - color: var(--fg); |
273 |
| - background: var(--theme-popup-bg); |
274 |
| - padding: 0 0; |
275 |
| - overflow: hidden; |
276 |
| - } |
277 |
| - |
278 |
| - .theme-dropdown.open .theme-choice { |
279 |
| - display: block; |
280 |
| - } |
281 |
| - |
282 |
| - .theme-choice > li { |
283 |
| - padding: 5px 10px; |
284 |
| - font-size: 0.8em; |
285 |
| - user-select: none; |
286 |
| - cursor: pointer; |
287 |
| - } |
288 |
| - |
289 |
| - .theme-choice > li:hover { |
290 |
| - background: var(--theme-hover); |
291 |
| - } |
292 |
| - |
293 |
| - .alert { |
294 |
| - color: var(--fg); |
295 |
| - background: var(--theme-hover); |
296 |
| - border: 1px solid var(--theme-popup-border); |
297 |
| - } |
298 |
| - .page-header { |
299 |
| - border-color: var(--theme-popup-border); |
300 |
| - } |
301 |
| - .panel-default > .panel-heading { |
302 |
| - background: var(--theme-hover); |
303 |
| - color: var(--fg); |
304 |
| - border: 1px solid var(--theme-popup-border); |
305 |
| - } |
306 |
| - .panel-default > .panel-heading:hover { |
307 |
| - filter: brightness(90%); |
308 |
| - } |
309 |
| - .list-group-item { |
310 |
| - background: 0%; |
311 |
| - border: 1px solid var(--theme-popup-border); |
312 |
| - } |
313 |
| - .panel, pre, hr { |
314 |
| - background: var(--bg); |
315 |
| - border: 1px solid var(--theme-popup-border); |
316 |
| - } |
317 |
| - |
318 |
| - #version-filter-selector .checkbox { |
319 |
| - display: flex; |
320 |
| - } |
321 |
| - |
322 |
| - #version-filter { |
323 |
| - min-width: available; |
324 |
| - } |
325 |
| - |
326 |
| - #version-filter li label { |
327 |
| - padding-right: 0; |
328 |
| - width: 35%; |
329 |
| - } |
330 |
| - |
331 |
| - .version-filter-input { |
332 |
| - height: 60%; |
333 |
| - width: 30%; |
334 |
| - text-align: center; |
335 |
| - border: none; |
336 |
| - border-bottom: 1px solid #000000; |
337 |
| - } |
338 |
| - |
339 |
| - #filter-label, .filter-clear { |
340 |
| - background: var(--searchbar-bg); |
341 |
| - color: var(--searchbar-fg); |
342 |
| - border-color: var(--theme-popup-border); |
343 |
| - filter: brightness(95%); |
344 |
| - } |
345 |
| - #filter-label:hover, .filter-clear:hover { |
346 |
| - filter: brightness(90%); |
347 |
| - } |
348 |
| - .filter-input { |
349 |
| - background: var(--searchbar-bg); |
350 |
| - color: var(--searchbar-fg); |
351 |
| - border-color: var(--theme-popup-border); |
352 |
| - } |
353 |
| - |
354 |
| - .filter-input::-webkit-input-placeholder, |
355 |
| - .filter-input::-moz-placeholder { |
356 |
| - color: var(--searchbar-fg); |
357 |
| - opacity: 30%; |
358 |
| - } |
359 |
| - |
360 |
| - .expansion-group { |
361 |
| - margin-top: 15px; |
362 |
| - padding: 0px 8px; |
363 |
| - display: flex; |
364 |
| - flex-wrap: nowrap; |
365 |
| - } |
366 |
| - |
367 |
| - @media (min-width: 992px) { |
368 |
| - .expansion-group { |
369 |
| - margin-top: 0; |
370 |
| - padding: 0px 15px; |
371 |
| - } |
372 |
| - } |
373 |
| - |
374 |
| - .expansion-control { |
375 |
| - width: 50%; |
376 |
| - } |
377 |
| - |
378 |
| - :not(pre) > code { |
379 |
| - color: var(--inline-code-color); |
380 |
| - background-color: var(--inline-code-bg); |
381 |
| - } |
382 |
| - html { |
383 |
| - scrollbar-color: var(--scrollbar) var(--bg); |
384 |
| - } |
385 |
| - body { |
386 |
| - background: var(--bg); |
387 |
| - color: var(--fg); |
388 |
| - } |
389 |
| - |
390 |
| - </style> |
| 26 | + <link rel="stylesheet" href="style.css"> |
391 | 27 | </head>
|
392 | 28 | <body ng-app="clippy" ng-controller="lintList">
|
393 | 29 | <div theme-dropdown class="theme-dropdown">
|
|
0 commit comments