mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-23 22:13:38 +00:00
feat(DataMaps): ✨ add DataMaps init styles
This commit is contained in:
parent
29637e89ac
commit
46c139ac86
|
@ -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",
|
||||
|
|
35
skinStyles/extensions/DataMaps/ext.datamaps.core.styles.less
Normal file
35
skinStyles/extensions/DataMaps/ext.datamaps.core.styles.less
Normal 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);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue