summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-20 12:30:22 -0700
committerGitHub <noreply@github.com>2020-07-20 12:30:22 -0700
commite0fae890ce56fba3dfc32f270b368e69bd7f3cf3 (patch)
tree963dfea762666e78c77bcbbf570605cd7e28059e
parent6a4276d30c87233bc6dad983ae91c7a9181fc91a (diff)
parent0eff3d5d886a2290b4557a4438efe8a6aa6cfba7 (diff)
downloadrust-e0fae890ce56fba3dfc32f270b368e69bd7f3cf3.tar.gz
Rollup merge of #74501 - lzutao:css_run_border, r=GuillaumeGomez
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 .
-rw-r--r--src/librustdoc/html/static/themes/ayu.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/html/static/themes/ayu.css b/src/librustdoc/html/static/themes/ayu.css
index e0ab7170ea8..6acf4e3e1c0 100644
--- a/src/librustdoc/html/static/themes/ayu.css
+++ b/src/librustdoc/html/static/themes/ayu.css
@@ -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 {