mediawiki-extensions-OATHAuth/modules/recovery/ext.oauth.recovery.less
Reedy ffb7da7a45 Add copy button for recovery codes
Bug: T354028
Co-Authored-by: TheDJ <hartman.wiki@gmail.com>
Change-Id: I3edf9f698aa1f7f5a9881516027a65a88ea1cac4
2024-11-11 18:34:01 +00:00

22 lines
486 B
Plaintext

@import 'mediawiki.skin.variables.less';
.mw-oathauth-recoverycodes-download-icon {
.cdx-mixin-css-icon( @cdx-icon-download, @param-is-button-icon: true );
}
.mw-oathauth-recoverycodes-copy-button {
&.cdx-button {
margin-right: @spacing-horizontal-button;
margin-inline-end: @spacing-horizontal-button;
}
.cdx-button__icon {
.cdx-mixin-css-icon( @cdx-icon-copy, @param-is-button-icon: true );
}
.client-nojs &,
&:not( .clipboard-api-supported ) {
display: none;
}
}