other changes

This commit is contained in:
Michael Murtaugh
2019-07-10 09:04:59 +02:00
parent 5ac253c712
commit 7e379b97c9
7 changed files with 447 additions and 238 deletions

305
style.css
View File

@@ -78,17 +78,16 @@ body {
margin: 0;
padding: 0;
background: #f1f2f3;
/*overflow: hidden;*/
overflow: hidden;
}
.links line {
stroke: #aaa;
/*stroke: none;*/
}
.links line.active2 {
stroke: red;
stroke: magenta;
}
.links line.history {
@@ -96,11 +95,11 @@ body {
}
.active {
stroke: red;
stroke: magenta;
}
.category circle {
fill: yellow;
fill: cyan;
}
.web circle {
@@ -134,11 +133,11 @@ svg g.page {
svg g.page text {
visibility: hidden;
fill: #222;
font: 12px sans-serif;
font: 9px sans-serif;
}
svg g.active text {
visibility: visible;
/*visibility: visible;*/
}
svg g.mouse text {
@@ -150,85 +149,81 @@ use {
stroke: black;
}
.highlight use {
fill: #FFF;
stroke: cyan;
}
.active use {
/* animation-transform: 2;*/
animation-duration: 2s;
animation-name: pulse;
animation-iteration-count: infinite;
}
@keyframes pulse {
0% {
transform: scale(1, 1);
}
50% {
transform: scale(1.5, 1.5);
}
100% {
transform: scale(1, 1);
}
}
.active use {
fill: #FFF;
stroke: red;
stroke: magenta;
}
.active text {
stroke: black;
stroke: none;
}
.active2 use {
fill: #FFF;
stroke: red;
stroke: magenta;
}
.highlight use {
fill: #FFF;
stroke: orange;
}
/* Categories */
#cats .head {
#cats .body {
display: none;
}
#cats .placeholder {
min-width: 100%;
text-align: center;
color: gray;
font-weight: bold;
font-size: 12px;
}
#cats.expanded .body {
display: block;
}
#cats.expanded .placeholder {
display: none;
}
#cats {
display: none;
/*display: none;*/
position: absolute;
left: 10px;
bottom: 10px;
}
#cats .ocontents {
background: #FFFFFFFF;
display: none;
border-radius: 30px;
/*padding: 5px;*/
/*box-sizing: border-box;*/
}
#cats.expanded .ocontents {
display: block;
border-radius: 24px;
padding: 10px;
font-size: 12px;
min-width: 16px;
min-height: 16px;
box-shadow: 0 3px 3px 3px rgba(255, 0, 255, 0.44);
}
/* showall class */
#cats div.cat {
display: none;
}
#cats div.cat span.spacing {
display: none;
}
#cats div.cat.icon {
display: block;
}
#cats.showall div.cat {
display: block;
}
#cats.showall div.cat span.spacing {
display: inline;
}
#cats .contents {
overflow: auto;
height: 50vh;
min-width: 300px;
}
#cats .contents .scroll {}
#cats .botright {
position: absolute;
right: 0;
bottom: 0;
}
#cats .botright .thumb {
position: absolute;
left: 0;
bottom: 0;
width: 32px;
height: 32px;
background: #FFFFFFDD;
}
#cats div.cat span.icon {
position: relative;
top: 4px;
@@ -237,8 +232,10 @@ use {
height: 18px;
background-repeat: no-repeat;
margin-right: 4px;
background-position: center center;
}
#cats div.cat span.count {
display: none;
padding: 0px 3px;
background: #DDD;
color: #444;
@@ -249,74 +246,31 @@ use {
color: black;
text-decoration: none;
}
#cats div.cat.highlight a {
color: cyan;
}
#cats hr {
color: white;
}
#page {
position: absolute;
left: 0; right: 0; top: 0;
height: 160vh;
text-align: center;
position: absolute;
left: 0; right: 50%;
top: 0;
bottom: 0;
}
#page.touched {
background: #444;
}
#bottompane {
position: absolute;
top: 60vh;
left: 0; right: 0;
height: 100vh;
z-index: 2;
}
#bottompane #bottompage {
position: absolute;
left: 0; right: 0;
margin: 0 auto;
max-width: 800px;
background: white;
border: 1px solid #E6E6E6;
border-radius: 10px;
display: inline-block;
width: 100%;
height: 100%;
}
#bottompane #menubar {
height: 48px;
width: 100%;
}
#wikiframediv {
position: absolute;
left: 0; top: 48px;
left: 50%; top: 0;
right: 0; bottom: 0;
}
#bottompane iframe {
border: none;
width: 100%;
height: 100%;
#wikiframediv iframe {
width: 100%;
height: 100%;
border: none;
}
#debug {
width: 300px;
font-size: 10px;
height: 8em;
overflow: auto;
position: absolute; left: 10px; top: 10px; z-index:23
}
#searchinput {
min-width: 220px;
font-family: "combinedregular";
font-size: 11px;
}
#menubar {
text-align: center;
}
#menubar img {
position: relative;
top: 10px;
}
/* MEDIAWIKI PAGE */
.header-container {
@@ -326,9 +280,114 @@ use {
iframe form.header {
display: none;
}
ul#page-actions {
/*ul#page-actions {
display: none;
}
*/
a.talk {
display:none;
}
}
/* control positioning */
.leaflet-control {
position: relative;
z-index: 800;
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
pointer-events: auto;
font-size: 12px;
}
.leaflet-control {
float: left;
clear: both;
}
/* general toolbar styles */
.leaflet-bar {
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
}
.leaflet-bar a,
.leaflet-bar a:hover {
background-color: #fff;
border-bottom: 1px solid #ccc;
width: 26px;
height: 26px;
line-height: 26px;
display: block;
text-align: center;
text-decoration: none;
color: black;
}
.leaflet-bar a,
.leaflet-control-layers-toggle {
background-position: 50% 50%;
background-repeat: no-repeat;
display: block;
}
.leaflet-bar a:hover {
background-color: #f4f4f4;
}
.leaflet-bar a:first-child {
}
.leaflet-bar a:last-child {
border-bottom: none;
}
.leaflet-bar a.leaflet-disabled {
cursor: default;
background-color: #f4f4f4;
color: #bbb;
}
/* zoom controls */
.zoom-controls {
position: absolute;
left: 10px;
top: 10px;
z-index: 10000;
}
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
font: Combined;
font-size: 24px;
line-height: 20px;
text-indent: 1px;
box-shadow: 0 3px 3px 3px rgba(255, 0, 255, 0.44);
background-color: #ffffff;
}
@media only screen and (max-width: 600px) {
body {
overflow: auto;
}
#container {
position: absolute;
left: 0; top: 0;
right: 0;
height: 160vh;
}
#page {
position: absolute;
left: 0; top: 0;
height: 60vh;
width: 100vw;
}
#wikiframediv {
position: absolute;
left: 0; top: 60vh;
height: 100vh;
width: 100vw;
}
}