feat(DataMaps): add DataMaps init styles

This commit is contained in:
alistair3149 2024-07-11 17:49:19 -04:00
parent 29637e89ac
commit 46c139ac86
No known key found for this signature in database
2 changed files with 36 additions and 0 deletions

View file

@ -389,6 +389,7 @@
"+ext.CodeMirror.mode.mediawiki": "skinStyles/extensions/CodeMirror/ext.CodeMirror.mode.mediawiki.less",
"+ext.CodeMirror.visualEditor": "skinStyles/extensions/CodeMirror/ext.CodeMirror.visualEditor.less",
"+ext.CommentStreams": "skinStyles/extensions/CommentStreams/ext.CommentStreams.less",
"+ext.datamaps.core.styles": "skinStyles/extensions/DataMaps/ext.datamaps.core.styles.less",
"+ext.datamaps.leaflet": "skinStyles/lib/leaflet/leaflet.less",
"+ext.discussionTools.init.styles": "skinStyles/extensions/DiscussionTools/ext.discussionTools.init.styles.less",
"+ext.discussionTools.ReplyWidget": "skinStyles/extensions/DiscussionTools/ext.discussionTools.ReplyWidget.less",

View file

@ -0,0 +1,35 @@
/*
* Citizen
*
* SkinStyles for Extension:DataMaps
* Module: ext.datamaps.core.styles
* Version: 0.17.7 9c448d3
*
* Date: 2024-07-11
*/
/* early.less */
.ext-datamaps-container {
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);
}
}
/* Status.less */
.ext-datamaps-container-status {
font-size: var(--font-size-x-large);
> :not( .oo-ui-widget ) {
background: transparent;
color: var(--color-subtle);
}
&[ data-severity='error' ] > :not( .oo-ui-widget ) {
background: var(--background-color-destructive-subtle);
color: var(--color-emphasized);
}
}