2023-04-03 20:44:15 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
2020-04-18 04:13:01 +00:00
|
|
|
@import '../mmv.variables.less';
|
2023-05-10 01:33:44 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
2020-04-18 04:13:01 +00:00
|
|
|
@import '../mmv.mixins.less';
|
2014-04-01 01:41:57 +00:00
|
|
|
|
2014-07-02 23:20:41 +00:00
|
|
|
@button-vertical-padding: 20px;
|
2014-04-01 01:41:57 +00:00
|
|
|
@button-height: 25px;
|
2014-06-27 20:56:14 +00:00
|
|
|
@repo-button-width: 50px;
|
2014-04-01 01:41:57 +00:00
|
|
|
|
|
|
|
// The buttons need to be positioned to the bottom right corner of .mw-mmv-title-contain, and
|
|
|
|
// other text in that element must not overlap them. Their width is not known (depends on the
|
|
|
|
// translation) so we float them to the right and calculate the top margin required to make them
|
|
|
|
// full height.
|
|
|
|
.mw-mmv-stripe-button {
|
|
|
|
float: right;
|
|
|
|
|
2014-04-04 22:08:11 +00:00
|
|
|
&.empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-06-27 19:48:08 +00:00
|
|
|
&.mw-mmv-description-page-button {
|
|
|
|
margin: 7px 10px;
|
|
|
|
font-size: 1.3rem;
|
2014-06-27 20:56:14 +00:00
|
|
|
}
|
2014-04-01 01:41:57 +00:00
|
|
|
|
2023-06-27 19:48:08 +00:00
|
|
|
&.mw-mmv-description-page-button .cdx-button__icon {
|
|
|
|
.cdx-mixin-css-icon( @cdx-icon-article, @param-is-button-icon: true );
|
2014-06-27 20:56:14 +00:00
|
|
|
}
|
2014-09-05 18:50:33 +00:00
|
|
|
|
2023-06-27 19:48:08 +00:00
|
|
|
&.mw-mmv-description-page-button.mw-mmv-repo-button-commons .cdx-button__icon {
|
|
|
|
.cdx-mixin-css-icon( @cdx-icon-logo-wikimedia-commons, @param-is-button-icon: true );
|
2014-06-27 20:56:14 +00:00
|
|
|
}
|
2014-04-02 00:07:51 +00:00
|
|
|
}
|