mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-03 19:57:19 +00:00
d60a644264
Temporarily hard-codes some CSS background rules after Codex's CSS-icon mixins stopped supplying them upstream (after changing to use mask-image in icons). Bug: T358160 Change-Id: I13be424c58b105472ef22f14e4381693f2985cd8
23 lines
759 B
Plaintext
23 lines
759 B
Plaintext
.vector-icon {
|
|
.cdx-mixin-css-icon-background( );
|
|
.cdx-mixin-css-icon-size( );
|
|
.cdx-mixin-css-icon-alignment( );
|
|
font-size: 14px;
|
|
|
|
// Temporary fix for https://phabricator.wikimedia.org/T356540
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: ~'calc( max( @{size-icon-medium}, @{min-size-icon-medium} ) )';
|
|
}
|
|
|
|
// Temporary generic small icon class
|
|
// FIXME: Replace with proper Codex CSS icon usage in T338403
|
|
.vector-icon--x-small {
|
|
.cdx-mixin-css-icon-background( @size-icon-x-small );
|
|
.cdx-mixin-css-icon-size( @size-icon-x-small );
|
|
.cdx-mixin-css-icon-alignment( );
|
|
|
|
// Temporary fix for https://phabricator.wikimedia.org/T356540
|
|
background-size: ~'calc( max( @{size-icon-x-small}, @{min-size-icon-x-small} ) )';
|
|
}
|