mediawiki-extensions-Multim.../resources/mmv/ui/mmv.ui.dialog.less
Simon Legner 8419e548a4 Use Codex colors to fix dark mode
Bug: T363776
Change-Id: Iab9a7ffc7dd707c453522fab25c4bb6061645616
2024-05-04 12:04:25 +03:00

48 lines
1 KiB
Plaintext

@import 'mediawiki.skin.variables.less';
@import '../mmv.variables.less';
@import '../mmv.mixins.less';
@background-color: @background-color-neutral;
@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: @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-copy {
/* @embed */
background-image: url( img/pasting.svg );
background-size: contain;
background-position: right center;
background-repeat: no-repeat;
cursor: pointer;
&:hover {
/* @embed */
background-image: url( img/pasting-hover.svg );
text-decoration: none;
}
}
.mw-mmv-dialog-warning {
background-color: @background-color-warning-subtle;
}
}