2023-04-27 20:39:40 +00:00
|
|
|
.vector-icon {
|
|
|
|
.cdx-mixin-css-icon-background( );
|
|
|
|
.cdx-mixin-css-icon-size( );
|
|
|
|
.cdx-mixin-css-icon-alignment( );
|
|
|
|
font-size: 14px;
|
2024-02-21 23:45:34 +00:00
|
|
|
|
|
|
|
// 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} ) )';
|
2023-04-27 20:39:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// 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( );
|
2024-02-21 23:45:34 +00:00
|
|
|
|
|
|
|
// Temporary fix for https://phabricator.wikimedia.org/T356540
|
|
|
|
background-size: ~'calc( max( @{size-icon-x-small}, @{min-size-icon-x-small} ) )';
|
2023-04-27 20:39:40 +00:00
|
|
|
}
|