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 @@ -1268,12 +1268,11 @@ h4 > .notable-traits {
1268
1268
}
1269
1269
1270
1270
# copy-path {
1271
+ background : initial;
1271
1272
margin-left : 10px ;
1272
1273
padding : 0 ;
1273
1274
padding-left : 2px ;
1274
- }
1275
- # copy-path > img {
1276
- margin-bottom : 2px ;
1275
+ border : 0 ;
1277
1276
}
1278
1277
1279
1278
# theme-choices {
Original file line number Diff line number Diff line change @@ -516,20 +516,29 @@ kbd {
516
516
box-shadow-color : # c6cbd1 ;
517
517
}
518
518
519
- # theme-picker , # settings-menu , # help-button , # copy-path {
519
+ # theme-picker , # settings-menu , # help-button {
520
520
border-color : # 5c6773 ;
521
521
background-color : # 0f1419 ;
522
522
color : # fff ;
523
523
}
524
524
525
- # theme-picker > img , # settings-menu > img , # copy-path > img {
525
+ # theme-picker > img , # settings-menu > img {
526
526
filter : invert (100 );
527
527
}
528
528
529
+ # copy-path {
530
+ color : # fff ;
531
+ }
532
+ # copy-path > img {
533
+ filter : invert (70% );
534
+ }
535
+ # copy-path : hover > img {
536
+ filter : invert (100% );
537
+ }
538
+
529
539
# theme-picker : hover , # theme-picker : focus ,
530
540
# settings-menu : hover , # settings-menu : focus ,
531
- # help-button : hover , # help-button : focus ,
532
- # copy-path : hover , # copy-path : focus {
541
+ # help-button : hover , # help-button : focus {
533
542
border-color : # e0e0e0 ;
534
543
}
535
544
Original file line number Diff line number Diff line change @@ -396,19 +396,28 @@ kbd {
396
396
box-shadow-color : # c6cbd1 ;
397
397
}
398
398
399
- # theme-picker , # settings-menu , # help-button , # copy-path {
399
+ # theme-picker , # settings-menu , # help-button {
400
400
border-color : # e0e0e0 ;
401
401
background : # f0f0f0 ;
402
402
color : # 000 ;
403
403
}
404
404
405
405
# theme-picker : hover , # theme-picker : focus ,
406
406
# settings-menu : hover , # settings-menu : focus ,
407
- # help-button : hover , # help-button : focus ,
408
- # copy-path : hover , # copy-path : focus {
407
+ # help-button : hover , # help-button : focus {
409
408
border-color : # ffb900 ;
410
409
}
411
410
411
+ # copy-path {
412
+ color : # 999 ;
413
+ }
414
+ # copy-path > img {
415
+ filter : invert (50% );
416
+ }
417
+ # copy-path : hover > img {
418
+ filter : invert (65% );
419
+ }
420
+
412
421
# theme-choices {
413
422
border-color : # e0e0e0 ;
414
423
background-color : # 353535 ;
Original file line number Diff line number Diff line change @@ -388,18 +388,27 @@ kbd {
388
388
box-shadow-color : # c6cbd1 ;
389
389
}
390
390
391
- # theme-picker , # settings-menu , # help-button , # copy-path {
391
+ # theme-picker , # settings-menu , # help-button {
392
392
border-color : # e0e0e0 ;
393
393
background-color : # fff ;
394
394
}
395
395
396
396
# theme-picker : hover , # theme-picker : focus ,
397
397
# settings-menu : hover , # settings-menu : focus ,
398
- # help-button : hover , # help-button : focus ,
399
- # copy-path : hover , # copy-path : focus {
398
+ # help-button : hover , # help-button : focus {
400
399
border-color : # 717171 ;
401
400
}
402
401
402
+ # copy-path {
403
+ color : # 999 ;
404
+ }
405
+ # copy-path > img {
406
+ filter : invert (50% );
407
+ }
408
+ # copy-path : hover > img {
409
+ filter : invert (35% );
410
+ }
411
+
403
412
# theme-choices {
404
413
border-color : # ccc ;
405
414
background-color : # fff ;
You can’t perform that action at this time.
0 commit comments