From 9db1f9215c69f25edce4695f7a878f4d9d5abd01 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 11 Jul 2024 21:50:12 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=91=B7=20lint=20code=20to=20MediaWi?= =?UTF-8?q?ki=20standards?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Check commit and GitHub actions for more details --- .../DataMaps/ext.datamaps.core.styles.less | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/skinStyles/extensions/DataMaps/ext.datamaps.core.styles.less b/skinStyles/extensions/DataMaps/ext.datamaps.core.styles.less index 338efdca..dd679424 100644 --- a/skinStyles/extensions/DataMaps/ext.datamaps.core.styles.less +++ b/skinStyles/extensions/DataMaps/ext.datamaps.core.styles.less @@ -8,28 +8,29 @@ * Date: 2024-07-11 */ - /* early.less */ +/* early.less */ .ext-datamaps-container { + border-color: transparent !important; // Needed to override OOUI styles box-shadow: none; - border-color: transparent !important; // Needed to override OOUI styles } .ext-datamaps-container-content { - .ext-datamaps-container-leaflet { - background: var(--color-surface-3); - } + .ext-datamaps-container-leaflet { + background: var( --color-surface-3 ); + } } /* Status.less */ .ext-datamaps-container-status { - font-size: var(--font-size-x-large); - > :not( .oo-ui-widget ) { - background: transparent; - color: var(--color-subtle); - } + font-size: var( --font-size-x-large ); - &[ data-severity='error' ] > :not( .oo-ui-widget ) { - background: var(--background-color-destructive-subtle); - color: var(--color-emphasized); - } + > :not( .oo-ui-widget ) { + color: var( --color-subtle ); + background: transparent; + } + + &[ data-severity='error' ] > :not( .oo-ui-widget ) { + color: var( --color-emphasized ); + background: var( --background-color-destructive-subtle ); + } }