User:Kuhlau/CopyTitle.js: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 18: | Line 18: | ||
#title-copy-content , | #title-copy-content , | ||
#title-copy-all { | #title-copy-all { | ||
color: | color: var(--alt-link-color); | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
| Line 24: | Line 24: | ||
#title-copy-all:hover { | #title-copy-all:hover { | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
`); | `); | ||
| Line 42: | Line 41: | ||
id: 'title-copy-all', | id: 'title-copy-all', | ||
class: 'mw-list-item title-copy-button', | class: 'mw-list-item title-copy-button', | ||
text: 'Copy title | text: 'Copy title (namespace)' | ||
}).appendTo($('#mw-panel #p-navigation .vector-menu-content-list')); | }).appendTo($('#mw-panel #p-navigation .vector-menu-content-list')); | ||