2 background-color: #353535;
10 border-bottom-color: #d2d2d2;
13 border-bottom-color: #d2d2d2;
17 background-color: #353535;
21 background: rgba
(0, 0, 0, 0);
24 .docblock code, .docblock-short code {
25 background-color: #2A2A2A;
27 pre
, .rustdoc
.source
.example-wrap
{
28 background-color: #2A2A2A;
32 background-color: #505050;
35 .logo-container.rust-logo > img {
36 filter: drop-shadow
(1px 0 0px #fff)
37 drop-shadow
(0 1px 0 #fff)
38 drop-shadow
(-1px 0 0 #fff)
39 drop-shadow
(0 -1px 0 #fff)
42 /* Improve the scrollbar display on firefox */
44 scrollbar-color: rgb
(64, 65, 67) #717171;
47 scrollbar-color: rgba
(32,34,37,.6) transparent
;
50 /* Improve the scrollbar display on webkit-based browsers */
51 ::-webkit-scrollbar-track
{
52 background-color: #717171;
54 ::-webkit-scrollbar-thumb
{
55 background-color: rgba
(32, 34, 37, .6);
57 .sidebar::-webkit-scrollbar-track {
58 background-color: #717171;
60 .sidebar::-webkit-scrollbar-thumb {
61 background-color: rgba
(32, 34, 37, .6);
65 background-color: #333;
69 background-color: #353535;
79 border-bottom-color: #DDD;
83 border-top-color: #777;
84 border-bottom-color: #777;
91 .line-numbers span { color: #3B91E2; }
92 .line-numbers .line-highlighted {
93 background-color: #0a042f !important
;
96 .docblock h1, .docblock h2, .docblock h3, .docblock h4, .docblock h5, .docblock h6 {
97 border-bottom-color: #DDD;
100 .docblock table td, .docblock table th {
104 .content
.method
.where
,
106 .content .where.fmt-newline {
110 .search-results a:hover {
111 background-color: #777;
114 .search-results a:focus {
115 color: #eee !important
;
116 background-color: #616161;
118 .search-results a:focus span { color: #eee !important
; }
119 a
.result-trait:focus
{ background-color: #013191; }
120 a
.result-traitalias:focus
{ background-color: #013191; }
122 a
.result-externcrate:focus
{ background-color: #afc6e4; }
123 a
.result-mod:focus
{ background-color: #803a1b; }
124 a
.result-externcrate:focus
{ background-color: #396bac; }
125 a
.result-enum:focus
{ background-color: #5b4e68; }
126 a
.result-struct:focus
{ background-color: #194e9f; }
127 a
.result-union:focus
{ background-color: #b7bd49; }
129 a
.result-method:focus
,
130 a
.result-tymethod:focus
{ background-color: #4950ed; }
131 a
.result-type:focus
{ background-color: #38902c; }
132 a
.result-foreigntype:focus
{ background-color: #b200d6; }
134 a
.result-derive:focus
,
135 a
.result-macro:focus
{ background-color: #217d1c; }
136 a
.result-constant:focus
,
137 a
.result-static:focus
{ background-color: #0063cc; }
138 a
.result-primitive:focus
{ background-color: #00708a; }
139 a
.result-keyword:focus
{ background-color: #884719; }
141 .content .item-info::before { color: #ccc; }
143 .content span.enum, .content a.enum, .block a.current.enum { color: #82b089; }
144 .content span.struct, .content a.struct, .block a.current.struct { color: #2dbfb8; }
145 .content span.type, .content a.type, .block a.current.type { color: #ff7f00; }
146 .content span.foreigntype, .content a.foreigntype, .block a.current.foreigntype { color: #dd7de8; }
147 .content span
.attr
, .content a
.attr
, .block a
.current
.attr
,
148 .content span
.derive
, .content a
.derive
, .block a
.current
.derive
,
149 .content span.macro, .content a.macro, .block a.current.macro { color: #09bd00; }
150 .content span.union, .content a.union, .block a.current.union { color: #a6ae37; }
151 .content span
.constant
, .content a
.constant
, .block a
.current
.constant
,
152 .content span.static, .content a.static, .block a.current.static { color: #82a5c9; }
153 .content span.primitive, .content a.primitive, .block a.current.primitive { color: #43aec7; }
154 .content span
.externcrate
,
155 .content span.mod, .content a.mod, .block a.current.mod { color: #bda000; }
156 .content span.trait, .content a.trait, .block a.current.trait { color: #b78cf2; }
157 .content span.traitalias, .content a.traitalias, .block a.current.traitalias { color: #b397da; }
158 .content span
.fn
, .content a
.fn
, .block a
.current
.fn
,
159 .content span
.method
, .content a
.method
, .block a
.current
.method
,
160 .content span
.tymethod
, .content a
.tymethod
, .block a
.current
.tymethod
,
161 .content .fnname{ color: #2BAB63; }
162 .content span.keyword, .content a.keyword, .block a.current.keyword { color: #de5249; }
164 pre
.rust
.comment
{ color: #8d8d8b; }
165 pre
.rust
.doccomment
{ color: #8ca375; }
168 border-bottom-color: #4e4e4e;
171 border-top-color: #eee;
172 border-bottom-color: #eee;
174 nav
.main
.separator
{
180 body
.source
.example-wrap pre
.rust a
{
184 .docblock:not
(.type-decl
) a:not
(.srclink
):not
(.test-arrow
),
185 .docblock-short
a:not
(.srclink
):not
(.test-arrow
), .item-info a
,
194 details
.rustdoc-toggle
> summary
.hideme
> span
,
195 details
.rustdoc-toggle
> summary::before
,
196 details
.undocumented
> summary::before
{
200 details
.rustdoc-toggle
> summary::before
,
201 details
.undocumented
> summary::before
{
202 filter: invert
(100%);
207 background-color: #f0f0f0;
209 box-shadow: 0 0 0 1px #000, 0 0 0 2px transparent
;
214 background-color: #f0f0f0;
215 box-shadow: 0 0 0 1px #000, 0 0 0 2px transparent
;
218 .search-input:focus {
219 border-color: #008dfd;
222 .search-input:disabled {
223 background-color: #c5c4c4;
226 #crate-search + .search-input:focus
{
227 box-shadow: 0 0 8px 4px #078dd8;
235 .stab.unstable { background: #FFF5D6; border-color: #FFC600; color: #2f2f2f; }
236 .stab.deprecated { background: #ffc4c4; border-color: #db7b7b; color: #2f2f2f; }
237 .stab.portability { background: #F3DFFF; border-color: #b07bdb; color: #2f2f2f; }
238 .stab.portability > code { background: none
; }
242 border-color: #bfbfbf;
245 #help span
.bottom
, #help span
.top
{
246 border-color: #bfbfbf;
250 border-color: #bfbfbf;
251 background: rgba
(0,0,0,0);
258 .result-name .primitive > i, .result-name .keyword > i {
262 .line-numbers :target { background-color: transparent
; }
264 /* Code highlighting */
265 pre
.rust
.kw
{ color: #ab8ac1; }
266 pre
.rust
.kw-2
, pre
.rust
.prelude-ty
{ color: #769acb; }
267 pre
.rust
.number
, pre
.rust
.string
{ color: #83a300; }
268 pre
.rust
.self
, pre
.rust
.bool-val
, pre
.rust
.prelude-val
,
269 pre
.rust
.attribute
, pre
.rust
.attribute
.ident
{ color: #ee6868; }
270 pre
.rust
.macro
, pre
.rust
.macro-nonterminal
{ color: #3E999F; }
271 pre
.rust
.lifetime
{ color: #d97f26; }
272 pre
.rust
.question-mark
{
276 .example-wrap > pre.line-number {
277 border-color: #4a4949;
281 background-color: rgba
(78, 139, 202, 0.2);
285 background-color: #4e8bca;
293 :target
, :target
> * {
294 background-color: #494a3d;
298 border-right: 3px solid
#bb7410;
302 border-left: 2px solid rgba
(255,0,0,.8);
305 pre
.compile_fail:hover
, .information:hover
+ pre
.compile_fail
{
306 border-left: 2px solid
#f00;
310 border-left: 2px solid rgba
(255,0,0,.8);
313 pre
.should_panic:hover
, .information:hover
+ pre
.should_panic
{
314 border-left: 2px solid
#f00;
318 border-left: 2px solid rgba
(255,142,0,.6);
321 pre
.ignore:hover
, .information:hover
+ pre
.ignore
{
322 border-left: 2px solid
#ff9200;
325 .tooltip.compile_fail {
326 color: rgba
(255,0,0,.8);
329 .information > .compile_fail:hover {
333 .tooltip.should_panic {
334 color: rgba
(255,0,0,.8);
337 .information > .should_panic:hover {
342 color: rgba
(255,142,0,.6);
345 .information > .ignore:hover {
354 background-color: #000;
360 border-color: transparent black transparent transparent
;
363 .notable-traits-tooltiptext {
364 background-color: #111;
368 .notable-traits-tooltiptext .notable {
369 border-bottom-color: #d2d2d2;
372 #titles > button:not
(.selected
) {
373 background-color: #252525;
374 border-top-color: #252525;
377 #titles > button:hover
, #titles
> button
.selected
{
378 border-top-color: #0089ff;
379 background-color: #353535;
382 #titles > button
> div
.count
{
386 @media (max-width: 700px) {
388 background-color: #505050;
389 border-bottom-color: #e0e0e0;
390 border-right-color: #e0e0e0;
394 background-color: #505050;
395 border-right-color: #000;
399 background-color: #505050;
400 border-bottom-color: #e0e0e0;
406 background-color: #fafbfc;
407 border-color: #d1d5da;
408 border-bottom-color: #c6cbd1;
409 box-shadow-color: #c6cbd1;
412 #theme-picker, #settings-menu
, #help-button
{
413 border-color: #e0e0e0;
418 #theme-picker:hover
, #
theme-picker:focus
,
419 #settings-menu:hover
, #
settings-menu:focus
,
420 #help-button:hover
, #
help-button:focus
{
421 border-color: #ffb900;
430 #copy-path:hover
> img
{
435 border-color: #e0e0e0;
436 background-color: #353535;
439 #theme-choices > button:not
(:first-child
) {
440 border-top-color: #e0e0e0;
443 #theme-choices > button:hover
, #theme-choices
> button:focus
{
444 background-color: #4e4e4e;
447 @media (max-width: 700px) {
454 background-color: #505050;
457 background-color: #606060;
460 .search-results .result-name span.alias {
463 .search-results .result-name span.grey {
468 background-color: #565656;
470 #sidebar-toggle:hover
{
471 background-color: #676767;
474 background-color: #565656;
476 #source-sidebar > .title
{
477 border-bottom-color: #ccc;
479 div
.files
> a:hover
, div
.name:hover
{
480 background-color: #444;
482 div
.files
> .selected
{
483 background-color: #333;
485 .setting-line > .title {
486 border-bottom-color: #ddd;