summaryrefslogtreecommitdiff
path: root/resources/css
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2022-01-31 12:25:30 +0000
committerGreg Roach <greg@subaqua.co.uk>2022-01-31 12:25:30 +0000
commit84df6051daf6e0d91b745b7adc42f92ae7be49ab (patch)
treefea981ae958d781fa48898bdf3f3c668fc40c391 /resources/css
parent04a72e8f85a8cc0f85d1c2f6c21b8274b75a1554 (diff)
downloadwebtrees-84df6051daf6e0d91b745b7adc42f92ae7be49ab.tar.gz
webtrees-84df6051daf6e0d91b745b7adc42f92ae7be49ab.tar.bz2
webtrees-84df6051daf6e0d91b745b7adc42f92ae7be49ab.zip
Move map-related CSS to the core CSS files
Diffstat (limited to 'resources/css')
-rw-r--r--resources/css/_base.css1
-rw-r--r--resources/css/_chart-pedigree-map.css12
-rw-r--r--resources/css/_tab-places.css33
-rw-r--r--resources/css/administration.css5
4 files changed, 51 insertions, 0 deletions
diff --git a/resources/css/_base.css b/resources/css/_base.css
index 2baa412273..16d3ebaa13 100644
--- a/resources/css/_base.css
+++ b/resources/css/_base.css
@@ -28,6 +28,7 @@
@import "_pages.css";
@import "_sortable.css";
@import "_tab-album.css";
+@import "_tab-places.css";
@import "_tab-relatives.css";
/* Some icons need to be reversed on right-to-left pages */
diff --git a/resources/css/_chart-pedigree-map.css b/resources/css/_chart-pedigree-map.css
index 831a9f4ef0..c4ade14ad7 100644
--- a/resources/css/_chart-pedigree-map.css
+++ b/resources/css/_chart-pedigree-map.css
@@ -18,3 +18,15 @@
*
* wt-chart, wt-chart-pedigree-map
*/
+.wt-pedigree-map-wrapper {
+ height: 70vh;
+}
+
+.wt-pedigree-map-map {
+ height: 100%;
+}
+
+.wt-pedigree-map-sidebar {
+ height: 100%;
+ overflow-y: auto;
+}
diff --git a/resources/css/_tab-places.css b/resources/css/_tab-places.css
new file mode 100644
index 0000000000..a45a04d426
--- /dev/null
+++ b/resources/css/_tab-places.css
@@ -0,0 +1,33 @@
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2021 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/*
+ * Close relatives tab
+ *
+ * wt-tabs-individual
+ * +--- wt-tab-places
+ */
+.wt-places-tab-wrapper {
+ height: 70vh
+}
+
+.wt-places-tab-map {
+ height: 100%
+}
+
+.wt-places-tab-sidebar {
+ height: 100%;
+ overflow-y: auto;
+}
diff --git a/resources/css/administration.css b/resources/css/administration.css
index 721c0e35f4..7b732978a5 100644
--- a/resources/css/administration.css
+++ b/resources/css/administration.css
@@ -56,6 +56,11 @@ h4 {
}
}
+/* Location edit maps */
+.wt-location-edit-map {
+ height: 55vh;
+}
+
/* Raw GEDCOM data */
.gedcom-data {
white-space: pre-wrap;