1*75f2a483SDavid Drury/** 2*75f2a483SDavid Drury * webtrees: online genealogy 3*75f2a483SDavid Drury * Copyright (C) 2023 webtrees development team 4*75f2a483SDavid Drury * This program is free software: you can redistribute it and/or modify 5*75f2a483SDavid Drury * it under the terms of the GNU General Public License as published by 6*75f2a483SDavid Drury * the Free Software Foundation, either version 3 of the License, or 7*75f2a483SDavid Drury * (at your option) any later version. 8*75f2a483SDavid Drury * This program is distributed in the hope that it will be useful, 9*75f2a483SDavid Drury * but WITHOUT ANY WARRANTY; without even the implied warranty of 10*75f2a483SDavid Drury * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11*75f2a483SDavid Drury * GNU General Public License for more details. 12*75f2a483SDavid Drury * You should have received a copy of the GNU General Public License 13*75f2a483SDavid Drury * along with this program. If not, see <http://www.gnu.org/licenses/>. 14*75f2a483SDavid Drury */ 15*75f2a483SDavid Drury 16*75f2a483SDavid Drury :root { 17*75f2a483SDavid Drury --wt-map-height: 70vh; 18*75f2a483SDavid Drury } 19*75f2a483SDavid Drury 20*75f2a483SDavid Drury/* 21*75f2a483SDavid Drury * Formatting for LeafletJS based maps. 22*75f2a483SDavid Drury */ 23*75f2a483SDavid Drury 24*75f2a483SDavid Drury.leaflet-control-layers-selector { 25*75f2a483SDavid Drury margin-right: 2px; 26*75f2a483SDavid Drury} 27*75f2a483SDavid Drury 28*75f2a483SDavid Drury/* Default is 12px - a bit too small */ 29*75f2a483SDavid Drury.leaflet-container { 30*75f2a483SDavid Drury font-size: 0.8rem; 31*75f2a483SDavid Drury} 32*75f2a483SDavid Drury 33*75f2a483SDavid Drury/* No way to target parents-only... */ 34*75f2a483SDavid Drury.leaflet-layerstree-header-name { 35*75f2a483SDavid Drury font-weight: bold; 36*75f2a483SDavid Drury} 37*75f2a483SDavid Drury 38*75f2a483SDavid Drury.leaflet-layerstree-node .leaflet-layerstree-node .leaflet-layerstree-header-name { 39*75f2a483SDavid Drury font-weight: normal; 40*75f2a483SDavid Drury} 41*75f2a483SDavid Drury 42*75f2a483SDavid Drury.wt-map { 43*75f2a483SDavid Drury height: var(--wt-map-height); 44*75f2a483SDavid Drury} 45*75f2a483SDavid Drury 46*75f2a483SDavid Drury:fullscreen .wt-map { 47*75f2a483SDavid Drury height: 100%; 48*75f2a483SDavid Drury} 49*75f2a483SDavid Drury 50*75f2a483SDavid Drury.wt-map-sidebar { 51*75f2a483SDavid Drury height: var(--wt-map-height); 52*75f2a483SDavid Drury overflow-y: auto; 53*75f2a483SDavid Drury} 54*75f2a483SDavid Drury 55*75f2a483SDavid Drury:fullscreen .wt-map-sidebar { 56*75f2a483SDavid Drury height: 100%; 57*75f2a483SDavid Drury} 58