]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/static/css/themes/ayu.css
Migrate tooltip style to CSS variables
[rust.git] / src / librustdoc / html / static / css / themes / ayu.css
index c644b8413cc0fec012e31c20b2fd48c3c8ca9518..0e4dacb28f7cd0911b1855998bd4f49df402363f 100644 (file)
@@ -65,6 +65,8 @@ Original by Dempfi (https://github.com/dempfi/ayu)
        --test-arrow-hover-background-color: rgba(57, 175, 215, 0.368);
        --target-background-color: rgba(255, 236, 164, 0.06);
        --target-border-color: rgba(255, 180, 76, 0.85);
+       --tooltip-background-color: #314559;
+       --tooltip-color: #c5c5c5;
        --rust-logo-filter: drop-shadow(1px 0 0px #fff)
                drop-shadow(0 1px 0 #fff)
                drop-shadow(-1px 0 0 #fff)
@@ -160,19 +162,6 @@ details.rustdoc-toggle > summary::before {
        color: #788797;
 }
 
-.tooltip::after {
-       background-color: #314559;
-       color: #c5c5c5;
-}
-
-.tooltip::before {
-       border-color: transparent #314559 transparent transparent;
-}
-
-.notable-traits-tooltiptext {
-       background-color: #314559;
-}
-
 #titles > button.selected {
        background-color: #141920 !important;
        border-bottom: 1px solid #ffb44c !important;