@@ -245,6 +245,10 @@ nav.sub {
245
245
.content .highlighted .tymethod {background-color : # c6afb3 ; }
246
246
.content .highlighted .type {background-color : # c6afb3 ; }
247
247
248
+ .docblock .short p {
249
+ display : inline;
250
+ }
251
+
248
252
.docblock .short .nowrap {
249
253
display : block;
250
254
overflow : hidden;
@@ -337,11 +341,16 @@ nav.sub {
337
341
/* Shift "where ..." part of method definition down a line */
338
342
.content .method .where {display : block; }
339
343
/* Bit of whitespace to indent it */
340
- .content .method .where ::before {content : ' ' ; }
344
+ .content .method .where ::before {content : ' ' ; }
341
345
342
- .content .methods . docblock {margin-left : 40px ; }
346
+ .content .methods > div {margin-left : 40px ; }
343
347
344
- .content .impl-items .docblock {margin-left : 40px ; }
348
+ .content .impl-items .docblock , .content .impl-items .stability {
349
+ margin-left : 40px ;
350
+ }
351
+ .content .impl-items .method , .content .impl-items .type {
352
+ margin-left : 20px ;
353
+ }
345
354
346
355
nav {
347
356
border-bottom : 1px solid# e0e0e0 ;
@@ -468,30 +477,31 @@ a {
468
477
padding : 20px ;
469
478
}
470
479
471
- .stability {
472
- border-left : 6px solid;
473
- padding : 3px 6px ;
474
- border-radius : 3px ;
480
+ em .stab .unstable {background : # FFF5D6 ;border-color : # FFC600 ; }
481
+ em .stab .deprecated {background : # F3DFFF ;border-color : # 7F0087 ; }
482
+ em .stab {
483
+ display : inline-block;
484
+ border-width : 1px ;
485
+ border-style : solid;
486
+ padding : 3px ;
487
+ margin-bottom : 5px ;
488
+ font-size : 90% ;
489
+ font-style : normal;
475
490
}
476
-
477
- h1 .stability {
478
- text-transform : lowercase;
479
- font-weight : 400 ;
480
- margin-left : 14px ;
481
- padding : 4px 10px ;
491
+ em .stab p {
492
+ display : inline;
482
493
}
483
494
484
- .impl-items .stability , .methods .stability {
485
- margin-right : 20px ;
495
+ .module-item .stab {
496
+ border-width : 0 ;
497
+ padding : 0 ;
498
+ margin : 0 ;
499
+ background : inherit!important ;
486
500
}
487
501
488
- .stability .Deprecated {border-color : # A071A8 ;color : # 82478C ; }
489
- .stability .Experimental {border-color : # D46D6A ;color : # AA3C39 ; }
490
- .stability .Unstable {border-color : # D4B16A ;color : # AA8439 ; }
491
- .stability .Stable {border-color : # 54A759 ;color : # 2D8632 ; }
492
- .stability .Frozen {border-color : # 009431 ;color : # 007726 ; }
493
- .stability .Locked {border-color : # 0084B6 ;color : # 00668c ; }
494
- .stability .Unmarked {border-color : # BBBBBB ; }
502
+ .module-item .unstable {
503
+ opacity : 0.65 ;
504
+ }
495
505
496
506
td .summary-column {
497
507
width : 100% ;
@@ -500,11 +510,6 @@ td.summary-column {
500
510
.summary {
501
511
padding-right : 0px ;
502
512
}
503
- .summary .Deprecated {background-color : # A071A8 ; }
504
- .summary .Experimental {background-color : # D46D6A ; }
505
- .summary .Unstable {background-color : # D4B16A ; }
506
- .summary .Stable {background-color : # 54A759 ; }
507
- .summary .Unmarked {background-color : # BBBBBB ; }
508
513
509
514
: target {background : # FDFFD3 ; }
510
515
.line-numbers : target {background-color : transparent; }
@@ -555,9 +560,9 @@ pre.rust { position: relative; }
555
560
.collapse-toggle {
556
561
font-weight : 300 ;
557
562
position : absolute;
558
- left : 13 px ;
563
+ left : -23 px ;
559
564
color : # 999 ;
560
- margin- top: 2 px ;
565
+ top : 0 ;
561
566
}
562
567
563
568
.toggle-wrapper > .collapse-toggle {