| 1 |
@import 'mediawiki.skin.variables.less'; |
| 2 |
@import '../mmv.variables.less'; |
| 3 |
@import 'mediawiki.mixins.less'; |
| 4 |
@import '../mmv.mixins.less'; |
| 5 |
|
| 6 |
@button-vertical-padding: 20px; |
| 7 |
@button-height: 25px; |
| 8 |
@repo-button-width: 50px; |
| 9 |
|
| 10 |
// The buttons need to be positioned to the bottom right corner of .mw-mmv-title-contain, and |
| 11 |
// other text in that element must not overlap them. Their width is not known (depends on the |
| 12 |
// translation) so we float them to the right and calculate the top margin required to make them |
| 13 |
// full height. |
| 14 |
.mw-mmv-stripe-button { |
| 15 |
float: right; |
| 16 |
|
| 17 |
&.empty { |
| 18 |
display: none; |
| 19 |
} |
| 20 |
|
| 21 |
&.mw-mmv-description-page-button { |
| 22 |
margin: 7px 10px; |
| 23 |
} |
| 24 |
|
| 25 |
&.mw-mmv-description-page-button .cdx-button__icon { |
| 26 |
.cdx-mixin-css-icon( @cdx-icon-article, @param-is-button-icon: true ); |
| 27 |
} |
| 28 |
|
| 29 |
&.mw-mmv-description-page-button.mw-mmv-repo-button-commons .cdx-button__icon { |
| 30 |
.cdx-mixin-css-icon( @cdx-icon-logo-wikimedia-commons, @param-is-button-icon: true ); |
| 31 |
} |
| 32 |
} |