Narrative web: New features (#842)

* Narrative: Don't use event links if no event pages

+ some pylint changes

* map popup links must be visible for all stylesheet

* Narrative web: add scrollbar in popup content

* Narweb: Some improvement in popup

* Narweb: remove unused variable.
This commit is contained in:
Serge Noiraud
2019-12-15 09:59:58 +01:00
committed by GitHub
parent ac37f11b87
commit 3938fac0d4
5 changed files with 35 additions and 18 deletions

View File

@@ -975,7 +975,6 @@ table.calendar {
.calendar td.highlight div.date {
color: #36220B;
background-color: #FFC35E;
vertical-align: middle;
}
/* Calendar : Previous-Next Month */
@@ -985,7 +984,6 @@ table.calendar {
.calendar td.next div.date {
color: #FFC35E;
background-color: #FFFBE7;
vertical-align: middle;
}
/* Calendar : Full Year */

View File

@@ -75,12 +75,12 @@ div#FamilyMapDetail div#references table.infolist tbody tr td.ColumnPlace {
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));
padding: 15px;
border-radius: 10px;
padding: 5px;
border-radius: 8px;
border: 2px solid #111111;
bottom: 12px;
left: -50px;
min-width: 450px;
bottom: 8px;
left: -10px;
min-width: 500px;
}
#map_canvas .ol-popup:after, #map_canvas .ol-popup:before {
top: 100%;
@@ -108,13 +108,29 @@ div#FamilyMapDetail div#references table.infolist tbody tr td.ColumnPlace {
top: 2px;
right: 8px;
}
#map_canvas .ol-popup-title {
background-color: #ededed;
padding: 0 0.5em;
}
#map_canvas .ol-popup-content {
color: #111;
font: bold 0.9em sans-serif;
max-height: 200px;
overflow-y: auto;
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: "✖";
}
#popup-content {
max-height: 250px;
overflow-y: auto;
}
#map_canvas .ol-control {
position: absolute;
background-color: rgba(255,255,255,0.1);