File tree Expand file tree Collapse file tree 4 files changed +39
-13
lines changed
src/librustdoc/html/static Expand file tree Collapse file tree 4 files changed +39
-13
lines changed Original file line number Diff line number Diff line change @@ -1268,12 +1268,11 @@ h4 > .notable-traits {
12681268}
12691269
12701270# copy-path {
1271+ background : initial;
12711272 margin-left : 10px ;
12721273 padding : 0 ;
12731274 padding-left : 2px ;
1274- }
1275- # copy-path > img {
1276- margin-bottom : 2px ;
1275+ border : 0 ;
12771276}
12781277
12791278# theme-choices {
Original file line number Diff line number Diff line change @@ -516,20 +516,29 @@ kbd {
516516 box-shadow-color : # c6cbd1 ;
517517}
518518
519- # theme-picker , # settings-menu , # help-button , # copy-path {
519+ # theme-picker , # settings-menu , # help-button {
520520 border-color : # 5c6773 ;
521521 background-color : # 0f1419 ;
522522 color : # fff ;
523523}
524524
525- # theme-picker > img , # settings-menu > img , # copy-path > img {
525+ # theme-picker > img , # settings-menu > img {
526526 filter : invert (100 );
527527}
528528
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+
529539# theme-picker : hover , # theme-picker : focus ,
530540# 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 {
533542 border-color : # e0e0e0 ;
534543}
535544
Original file line number Diff line number Diff line change @@ -396,19 +396,28 @@ kbd {
396396 box-shadow-color : # c6cbd1 ;
397397}
398398
399- # theme-picker , # settings-menu , # help-button , # copy-path {
399+ # theme-picker , # settings-menu , # help-button {
400400 border-color : # e0e0e0 ;
401401 background : # f0f0f0 ;
402402 color : # 000 ;
403403}
404404
405405# theme-picker : hover , # theme-picker : focus ,
406406# 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 {
409408 border-color : # ffb900 ;
410409}
411410
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+
412421# theme-choices {
413422 border-color : # e0e0e0 ;
414423 background-color : # 353535 ;
Original file line number Diff line number Diff line change @@ -388,18 +388,27 @@ kbd {
388388 box-shadow-color : # c6cbd1 ;
389389}
390390
391- # theme-picker , # settings-menu , # help-button , # copy-path {
391+ # theme-picker , # settings-menu , # help-button {
392392 border-color : # e0e0e0 ;
393393 background-color : # fff ;
394394}
395395
396396# theme-picker : hover , # theme-picker : focus ,
397397# 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 {
400399 border-color : # 717171 ;
401400}
402401
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+
403412# theme-choices {
404413 border-color : # ccc ;
405414 background-color : # fff ;
You can’t perform that action at this time.
0 commit comments