2024-09-28 15:35:43 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
|
|
|
|
2024-09-10 19:19:06 +00:00
|
|
|
/**
|
|
|
|
* Adapted from https://www.mediawiki.org/wiki/MediaWiki:Gadget-site-tpl-copy.css
|
|
|
|
* Original author: Krinkle
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* https://doc.wikimedia.org/oojs-ui/master/demos/ (2023-11-13)
|
|
|
|
* https://design.wikimedia.org/style-guide/components/buttons.html
|
|
|
|
*/
|
|
|
|
.mw-highlight-copy--bound button {
|
|
|
|
position: absolute;
|
|
|
|
top: -1em;
|
|
|
|
right: -0.9em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 5px 7px;
|
|
|
|
border-radius: 2px;
|
2024-09-28 15:35:43 +00:00
|
|
|
background: @background-color-base;
|
|
|
|
color: @color-progressive;
|
|
|
|
border: 1px solid @border-color-muted;
|
2024-09-10 19:19:06 +00:00
|
|
|
|
2024-09-29 11:14:07 +00:00
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
color: @color-progressive--hover;
|
|
|
|
background: @background-color-interactive-subtle;
|
|
|
|
border-color: @border-color-progressive--hover;
|
|
|
|
}
|
2024-09-10 19:19:06 +00:00
|
|
|
|
2024-09-29 11:14:07 +00:00
|
|
|
&:active {
|
|
|
|
color: @color-progressive--active;
|
|
|
|
background: @background-color-interactive;
|
|
|
|
border-color: @border-color-progressive--active;
|
|
|
|
}
|
2024-09-10 19:19:06 +00:00
|
|
|
}
|