Page MenuHomeWickedGov Phorge

button.less
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

button.less

@import 'mediawiki.skin.variables.less';
@import 'mediawiki.mixins.less';
/* stylelint-disable no-descending-specificity */
// Used to center the contents of buttons, i.e. section collapse buttons
.cdx-button {
.mf-icon + span:not( :empty ) {
margin-left: 8px;
}
}
.mf-button-flush-left {
&.cdx-button {
.cdx-mixin-button-layout-flush( 'start', true );
}
&.cdx-button--size-large {
.cdx-mixin-button-layout-flush( 'start', true, 'large' );
}
}
.mf-button-flush-right {
&.cdx-button {
.cdx-mixin-button-layout-flush( 'end', true );
}
&.cdx-button--size-large {
.cdx-mixin-button-layout-flush( 'end', true, 'large' );
}
}
// TODO: Replace with Codex Button group
// Extra specificity so that it overrides .cdx-button--fake-button rules.
.mf-button-block.cdx-button--fake-button {
border-radius: 0;
width: 100%;
margin-left: auto;
margin-right: auto;
// Integer value prevents off-by-1px vertical alignment
line-height: 30px;
span {
display: block;
margin-left: auto;
margin-right: auto;
}
}

File Metadata

Mime Type
text/plain
Expires
Tue, Aug 18, 16:02 (3 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e1/07/6e311aef7189e1020e352d7b263e
Default Alt Text
button.less (1 KB)

Event Timeline