mediawiki-extensions-Visual.../modules/editcheck/EditCheck.less
Ed Sanders 3ece481e71 Implement add a reference edit check
Change-Id: I4cebc5bbaa34300d1c5bb5fde8277269b14779c9
2023-08-16 17:19:28 +01:00

36 lines
731 B
Plaintext

/* Toolbar */
.ve-ui-toolbar-group-title {
font-weight: bold;
flex: 5 !important; /* stylelint-disable-line declaration-no-important */
line-height: 3em;
}
/* Context item */
.ve-ui-editCheckContextItem {
> .ve-ui-linearContextItem-head {
background: #fce7fe;
}
&-actions {
margin-top: 16px;
}
}
/* Selections */
.ve-ce-surface-selections-editCheck .ve-ce-surface-selection {
opacity: 0.2;
}
.ve-ce-surface-selections-editCheck .ve-ce-surface-selection > div {
mix-blend-mode: darken;
// Adjust target colours to account for 50% opacity
background: ( #fce7fe - 0.8 * ( #fff ) ) / 0.2;
// border: 1px solid ( ( #d02aac - 0.8 * ( #fff ) ) / 0.2 );
border-radius: 2px;
padding: 2px;
margin: -2px 0 0 -2px;
}