ci: 👷 lint code to MediaWiki standards

Check commit and GitHub actions for more details
This commit is contained in:
github-actions 2024-07-11 21:50:12 +00:00
parent 46c139ac86
commit 9db1f9215c

View file

@ -8,28 +8,29 @@
* Date: 2024-07-11 * Date: 2024-07-11
*/ */
/* early.less */ /* early.less */
.ext-datamaps-container { .ext-datamaps-container {
border-color: transparent !important; // Needed to override OOUI styles
box-shadow: none; box-shadow: none;
border-color: transparent !important; // Needed to override OOUI styles
} }
.ext-datamaps-container-content { .ext-datamaps-container-content {
.ext-datamaps-container-leaflet { .ext-datamaps-container-leaflet {
background: var(--color-surface-3); background: var( --color-surface-3 );
} }
} }
/* Status.less */ /* Status.less */
.ext-datamaps-container-status { .ext-datamaps-container-status {
font-size: var(--font-size-x-large); font-size: var( --font-size-x-large );
> :not( .oo-ui-widget ) {
background: transparent;
color: var(--color-subtle);
}
&[ data-severity='error' ] > :not( .oo-ui-widget ) { > :not( .oo-ui-widget ) {
background: var(--background-color-destructive-subtle); color: var( --color-subtle );
color: var(--color-emphasized); background: transparent;
} }
&[ data-severity='error' ] > :not( .oo-ui-widget ) {
color: var( --color-emphasized );
background: var( --background-color-destructive-subtle );
}
} }