mediawiki-extensions-Multim.../resources/mmv/ui/mmv.ui.dialog.less
Simon Legner e0d3db89cd Fix dialog background color
Use background-color-base instead of background-color-neutral.

Bug: T363776
Change-Id: Id954acdc07a33ae7bb1a0f57367b87b1d867bb0c
2024-05-09 21:47:20 +03:00

69 lines
1.1 KiB
Plaintext

@import 'mediawiki.skin.variables.less';
@import '../mmv.variables.less';
@import '../mmv.mixins.less';
@background-color: @background-color-base;
@dialog-width: 450px;
@box-shadow-dialog: @box-shadow-color-base;
.mw-mmv-dialog {
position: fixed;
right: 58px;
display: none;
width: @dialog-width;
height: @dialog-height;
background-color: @background-color;
box-shadow: @box-shadow-dialog;
border-radius: 2px; // @border-radius-base
z-index: 1004;
.mw-mmv-dialog-down-arrow {
right: 48px;
background-color: @background-color;
width: @arrow-size;
height: @arrow-size;
.rotate( -45deg );
position: fixed;
}
.mw-mmv-dialog-warning {
background-color: @background-color-warning-subtle;
}
.mw-mmv-pt-0 {
padding-top: 0;
}
.mw-mmv-pb-0 {
padding-bottom: 0;
}
.mw-mmv-mt-75 {
margin-top: @spacing-75;
}
.mw-mmv-mb-75 {
margin-bottom: @spacing-75;
}
.mw-mmv-pb-150 {
padding-bottom: @spacing-150;
}
.mw-mmv-gap-50 {
gap: @spacing-50;
}
.mw-mmv-flex {
display: flex;
}
.mw-mmv-flex-grow-1 {
flex-grow: 1;
}
.cdx-button__icon--copy {
.cdx-mixin-css-icon( @cdx-icon-copy, @param-is-button-icon: true );
}
}