]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #74501 - lzutao:css_run_border, r=GuillaumeGomez
authorManish Goregaokar <manishsmail@gmail.com>
Mon, 20 Jul 2020 19:30:22 +0000 (12:30 -0700)
committerGitHub <noreply@github.com>
Mon, 20 Jul 2020 19:30:22 +0000 (12:30 -0700)
Ayu theme: Use different background color for Run button

Make it clearer that there is a button Run there.

Demo in https://github.com/rust-lang/rust/pull/74501#issuecomment-660597377 .

src/librustdoc/html/static/themes/ayu.css

index e0ab7170ea8772d0bc5816d6d557f03d6f3b551f..6acf4e3e1c080ac39ee3bb991afb4bf78ceccd61 100644 (file)
@@ -318,12 +318,12 @@ a.test-arrow {
        font-size: 100%;
        color: #788797;
        border-radius: 4px;
-       background-color: rgba(255, 255, 255, 0);
+       background-color: rgba(57, 175, 215, 0.09);
 }
 
 a.test-arrow:hover {
-       background-color: rgba(242, 151, 24, 0.05);
-       color: #ffb44c;
+       background-color: rgba(57, 175, 215, 0.368);
+       color: #c5c5c5;
 }
 
 .toggle-label {