diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index accd60930697..26c1eb5389fa 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -290,20 +290,21 @@ p:last-child { button { /* Buttons on Safari have different default padding than other platforms. Make them the same. */ padding: 1px 6px; + /* Opinionated tweak: use pointer cursor as clickability signifier. */ + cursor: pointer; } +/* end tweaks for normalize.css 8 */ + button#toggle-all-docs { padding: 0; background: none; border: none; - cursor: pointer; /* iOS button gradient: https://stackoverflow.com/q/5438567 */ -webkit-appearance: none; opacity: 1; } -/* end tweaks for normalize.css 8 */ - .rustdoc { display: flex; flex-direction: row; @@ -1305,7 +1306,6 @@ a.test-arrow:hover { #titles > button { text-align: center; font-size: 1.125rem; - cursor: pointer; border: 0; border-top: 2px solid; flex: 1; @@ -1345,7 +1345,6 @@ a.test-arrow:hover { font-weight: bold; background: none; color: inherit; - cursor: pointer; text-align: center; border: none; outline: none; @@ -1367,7 +1366,6 @@ a.test-arrow:hover { #settings-menu > a, #help-button > a, #copy-path { width: 33px; - cursor: pointer; line-height: 1.5; } @@ -1796,7 +1794,6 @@ in storage.js z-index: 10; border-top-right-radius: 3px; border-bottom-right-radius: 3px; - cursor: pointer; border: 1px solid; border-left: 0; } @@ -1967,7 +1964,6 @@ in storage.js position: absolute; top: 0.25em; z-index: 1; - cursor: pointer; padding: 0; background: none; border: none;