File tree 4 files changed +39
-13
lines changed
src/librustdoc/html/static
4 files changed +39
-13
lines changed Original file line number Diff line number Diff line change @@ -1262,12 +1262,11 @@ h4 > .notable-traits {
1262
1262
}
1263
1263
1264
1264
# copy-path {
1265
+ background : initial;
1265
1266
margin-left : 10px ;
1266
1267
padding : 0 ;
1267
1268
padding-left : 2px ;
1268
- }
1269
- # copy-path > img {
1270
- margin-bottom : 2px ;
1269
+ border : 0 ;
1271
1270
}
1272
1271
1273
1272
# theme-choices {
Original file line number Diff line number Diff line change @@ -502,20 +502,29 @@ kbd {
502
502
box-shadow-color : # c6cbd1 ;
503
503
}
504
504
505
- # theme-picker , # settings-menu , # help-button , # copy-path {
505
+ # theme-picker , # settings-menu , # help-button {
506
506
border-color : # 5c6773 ;
507
507
background-color : # 0f1419 ;
508
508
color : # fff ;
509
509
}
510
510
511
- # theme-picker > img , # settings-menu > img , # copy-path > img {
511
+ # theme-picker > img , # settings-menu > img {
512
512
filter : invert (100 );
513
513
}
514
514
515
+ # copy-path {
516
+ color : # fff ;
517
+ }
518
+ # copy-path > img {
519
+ filter : invert (70% );
520
+ }
521
+ # copy-path : hover > img {
522
+ filter : invert (100% );
523
+ }
524
+
515
525
# theme-picker : hover , # theme-picker : focus ,
516
526
# settings-menu : hover , # settings-menu : focus ,
517
- # help-button : hover , # help-button : focus ,
518
- # copy-path : hover , # copy-path : focus {
527
+ # help-button : hover , # help-button : focus {
519
528
border-color : # e0e0e0 ;
520
529
}
521
530
Original file line number Diff line number Diff line change @@ -392,19 +392,28 @@ kbd {
392
392
box-shadow-color : # c6cbd1 ;
393
393
}
394
394
395
- # theme-picker , # settings-menu , # help-button , # copy-path {
395
+ # theme-picker , # settings-menu , # help-button {
396
396
border-color : # e0e0e0 ;
397
397
background : # f0f0f0 ;
398
398
color : # 000 ;
399
399
}
400
400
401
401
# theme-picker : hover , # theme-picker : focus ,
402
402
# settings-menu : hover , # settings-menu : focus ,
403
- # help-button : hover , # help-button : focus ,
404
- # copy-path : hover , # copy-path : focus {
403
+ # help-button : hover , # help-button : focus {
405
404
border-color : # ffb900 ;
406
405
}
407
406
407
+ # copy-path {
408
+ color : # 999 ;
409
+ }
410
+ # copy-path > img {
411
+ filter : invert (50% );
412
+ }
413
+ # copy-path : hover > img {
414
+ filter : invert (65% );
415
+ }
416
+
408
417
# theme-choices {
409
418
border-color : # e0e0e0 ;
410
419
background-color : # 353535 ;
Original file line number Diff line number Diff line change @@ -384,18 +384,27 @@ kbd {
384
384
box-shadow-color : # c6cbd1 ;
385
385
}
386
386
387
- # theme-picker , # settings-menu , # help-button , # copy-path {
387
+ # theme-picker , # settings-menu , # help-button {
388
388
border-color : # e0e0e0 ;
389
389
background-color : # fff ;
390
390
}
391
391
392
392
# theme-picker : hover , # theme-picker : focus ,
393
393
# settings-menu : hover , # settings-menu : focus ,
394
- # help-button : hover , # help-button : focus ,
395
- # copy-path : hover , # copy-path : focus {
394
+ # help-button : hover , # help-button : focus {
396
395
border-color : # 717171 ;
397
396
}
398
397
398
+ # copy-path {
399
+ color : # 999 ;
400
+ }
401
+ # copy-path > img {
402
+ filter : invert (50% );
403
+ }
404
+ # copy-path : hover > img {
405
+ filter : invert (35% );
406
+ }
407
+
399
408
# theme-choices {
400
409
border-color : # ccc ;
401
410
background-color : # fff ;
You can’t perform that action at this time.
0 commit comments