2010-06-14 10:46:14 +05:30
|
|
|
/*
|
|
|
|
#
|
|
|
|
# Gramps - a GTK+/GNOME based genealogy program
|
|
|
|
#
|
2011-11-22 11:00:29 +05:30
|
|
|
# Copyright (C) 2011 Rob G. Healey <robhealey1@gmail.com>
|
2010-06-14 10:46:14 +05:30
|
|
|
#
|
|
|
|
# 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 2 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, write to the Free Software
|
2014-08-09 07:59:07 +05:30
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2010-06-14 10:46:14 +05:30
|
|
|
#
|
|
|
|
#
|
2011-11-22 11:00:29 +05:30
|
|
|
###################################################### */
|
2011-11-22 16:48:07 +05:30
|
|
|
body#FamilyMap {
|
|
|
|
background-color: #000;
|
2011-11-28 10:12:44 +05:30
|
|
|
padding: 0 14px;
|
2011-07-26 10:42:15 +05:30
|
|
|
}
|
2011-12-13 10:28:49 +05:30
|
|
|
|
|
|
|
/* Family Maps
|
|
|
|
------------------------------------------------------ */
|
|
|
|
#map_canvas {
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
border: solid 4px #000;
|
2020-01-17 16:16:40 +05:30
|
|
|
margin: 20px auto;
|
2017-11-22 14:57:40 +05:30
|
|
|
width: 800px;
|
2018-01-18 13:33:11 +05:30
|
|
|
height: 400px;
|
|
|
|
max-width: 90%;
|
|
|
|
max-height: 90%;
|
2011-12-13 10:28:49 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
/* Place Maps
|
|
|
|
------------------------------------------------------ */
|
|
|
|
div#place_canvas {
|
|
|
|
margin-left: 210px;
|
|
|
|
border: solid 4px #000;
|
|
|
|
width: 500px;
|
|
|
|
height: 400px;
|
2018-01-18 13:33:11 +05:30
|
|
|
max-width: 90%;
|
|
|
|
max-height: 90%;
|
2011-12-13 10:28:49 +05:30
|
|
|
}
|
2011-08-02 14:40:49 +05:30
|
|
|
button#drop {
|
2011-11-22 16:48:07 +05:30
|
|
|
background-color: purple;
|
2011-11-28 10:12:44 +05:30
|
|
|
color: #FFF;
|
|
|
|
font: bold .8em sans-serif;
|
|
|
|
padding: 10px;
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-left: 10px;
|
|
|
|
border: solid 4px #00029D;
|
|
|
|
}
|
|
|
|
|
2011-12-13 10:28:49 +05:30
|
|
|
/* Subsection: References
|
2011-11-28 10:12:44 +05:30
|
|
|
------------------------------------------------------ */
|
2011-12-13 10:28:49 +05:30
|
|
|
div#FamilyMapDetail div#references table.infolist {
|
2011-12-06 15:48:29 +05:30
|
|
|
width: 100%;
|
|
|
|
}
|
2011-12-13 13:01:46 +05:30
|
|
|
div#FamilyMapDetail div#references table.infolist tbody tr td.ColumnPlace {
|
2019-12-14 16:25:16 +05:30
|
|
|
width: 70%;
|
2011-12-06 15:48:29 +05:30
|
|
|
}
|
2019-07-07 22:55:42 +05:30
|
|
|
|
|
|
|
|
|
|
|
/* Subsection: popup
|
|
|
|
------------------------------------------------------ */
|
2019-12-14 16:25:16 +05:30
|
|
|
#map_canvas .ol-popup {
|
2019-07-07 22:55:42 +05:30
|
|
|
position: absolute;
|
|
|
|
background-color: white;
|
|
|
|
-webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
|
|
|
|
filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
|
2019-12-15 14:29:58 +05:30
|
|
|
padding: 5px;
|
|
|
|
border-radius: 8px;
|
2019-07-07 22:55:42 +05:30
|
|
|
border: 2px solid #111111;
|
2019-12-15 14:29:58 +05:30
|
|
|
bottom: 8px;
|
|
|
|
left: -10px;
|
|
|
|
min-width: 500px;
|
2019-07-07 22:55:42 +05:30
|
|
|
}
|
2019-12-14 16:25:16 +05:30
|
|
|
#map_canvas .ol-popup:after, #map_canvas .ol-popup:before {
|
2019-07-07 22:55:42 +05:30
|
|
|
top: 100%;
|
|
|
|
border: solid transparent;
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2019-12-14 16:25:16 +05:30
|
|
|
#map_canvas .ol-popup:after {
|
2019-07-07 22:55:42 +05:30
|
|
|
border-top-color: white;
|
|
|
|
border-width: 10px;
|
|
|
|
left: 48px;
|
|
|
|
margin-left: -10px;
|
|
|
|
}
|
2019-12-14 16:25:16 +05:30
|
|
|
#map_canvas .ol-popup:before {
|
2019-07-07 22:55:42 +05:30
|
|
|
border-top-color: #cccccc;
|
|
|
|
border-width: 11px;
|
|
|
|
left: 48px;
|
|
|
|
margin-left: -11px;
|
|
|
|
}
|
2019-12-14 16:25:16 +05:30
|
|
|
#map_canvas .ol-popup-closer {
|
2019-07-07 22:55:42 +05:30
|
|
|
text-decoration: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 2px;
|
|
|
|
right: 8px;
|
|
|
|
}
|
2019-12-15 14:29:58 +05:30
|
|
|
#map_canvas .ol-popup-title {
|
|
|
|
background-color: #ededed;
|
|
|
|
padding: 0 0.5em;
|
2019-07-07 22:55:42 +05:30
|
|
|
}
|
2019-12-15 14:29:58 +05:30
|
|
|
#map_canvas .ol-popup-content {
|
|
|
|
color: #111;
|
|
|
|
font: bold 0.9em sans-serif;
|
|
|
|
max-height: 200px;
|
2019-12-14 16:25:16 +05:30
|
|
|
overflow-y: auto;
|
2019-12-15 14:29:58 +05:30
|
|
|
padding: 0 0.5em 15px 0.5em;
|
|
|
|
}
|
|
|
|
#map_canvas .ol-popup-content a {
|
|
|
|
color: #111;
|
|
|
|
}
|
|
|
|
#map_canvas .ol-popup-content a:visited {
|
|
|
|
color: green;
|
|
|
|
}
|
|
|
|
#map_canvas .ol-popup-content a:hover {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
#map_canvas .ol-popup-closer:after {
|
|
|
|
content: "✖";
|
2019-12-14 16:25:16 +05:30
|
|
|
}
|
|
|
|
#map_canvas .ol-control {
|
|
|
|
position: absolute;
|
|
|
|
background-color: rgba(255,255,255,0.1);
|
|
|
|
bottom: .1em;
|
|
|
|
left: .1em;
|
|
|
|
height: 4%;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: 1px;
|
|
|
|
margin-bottom: 1px;
|
|
|
|
padding-left: 1px;
|
|
|
|
}
|
|
|
|
#map_canvas .ol-rotate {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#map_canvas .ol-zoom, #map_canvas .ol-zoom-in, #map_canvas .ol-zoom-out {
|
|
|
|
top: .5em;
|
|
|
|
left: .5em;
|
|
|
|
border-left-width: 1px;
|
|
|
|
padding-left: 1px;
|
|
|
|
padding-right: 1px;
|
|
|
|
}
|
|
|
|
#map_canvas .ol-attribution ul {
|
|
|
|
list-style-type: none;
|
|
|
|
font-size:0.8em;
|
|
|
|
float: left;
|
|
|
|
margin-top: 1px;
|
|
|
|
margin-bottom: 1px;
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
#map_canvas .ol-attribution li {
|
|
|
|
float: left;
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
#map_canvas .ol-attribution button {
|
|
|
|
display: none;
|
|
|
|
}
|