MediaWiki:Kartographer.less

/* =======================

       DOOGLE MAPS
 ======================== */

// pls see the note at MediaWiki:Kartographer.css before updating from here //@import 'MediaWiki:Common.less/variables.less'

// footer in fullscreen .mw-kartographer-mapDialog-foot { background-color: var(--body-light); border-color: var(--body-mid); }

.mw-kartographer-interactive { // fullscreen wrapper .leaflet-container { color: var(--text-color); }

.leaflet-popup-content { a, a:visited, a:hover, a:active { color: var(--link-color); } a.new a.new:visited { color: var(--redlink-color); }

p { margin-bottom: 5px; font-size: 14px; line-height: 1.4em; } } }

// popup eg when clicking pins .leaflet-popup-content-wrapper { background-color: var(--body-light); color: var(--text-color); }

.leaflet-popup-tip { border-top-color: var(--body-light); }

/* == Label styles == */

// Mixin for colored labels .lbl-bg-mixin(@lbl-background, @lbl-text, @lbl-link) { background: @lbl-background; color: @lbl-text; text-shadow: none;

body.wgl-theme-dark &, body.wgl-theme-browntown & { color: @lbl-text; }

a, a:visited, a:active, a:hover, a.mw-selflink.selflink { color: @lbl-text;

body.wgl-theme-dark &, body.wgl-theme-browntown & { color: @lbl-text; } }

&.leaflet-tooltip-left::before { display: block; border-left-color: @lbl-background; } &.leaflet-tooltip-right::before { display: block; border-right-color: @lbl-background; } &.leaflet-tooltip-top::before { display: block; border-top-color: @lbl-background; } &.leaflet-tooltip-bottom::before { display: block; border-bottom-color: @lbl-background; } }

// the mixins are quite large - only importing one class .leaflet-vis-tooltip { // &.lbl-bg-gray, &.lbl-bg-grey { .lbl-bg-mixin(@mystic, @river-bed, @shuttle-gray); } }