hesamation's picture
graph fixed, working on click even
675149c
raw
history blame
7.53 kB
* {
padding: 0px;
margin: 0px;
}
.cf:before, .cf:after {
content: "";
display: table;
}
.cf:after {
clear: both;
}
.cf {
zoom: 1;
}
html, body {
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
font-size: 12px;
font-family: Helvetica, Arial, sans-serif;
line-height: 1.25em;
}
.sigma-parent {
position: relative;
height: 100%;
}
.sigma-expand {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: #fff;
background-position: center center;
background-repeat: no-repeat;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
canvas#sigma_bg_1 {
display: none;
}
#attributepane {
display: none;
position: absolute;
height: auto;
right: 0;
top: 0;
bottom: 0;
width: 240px;
background-color: #fff;
margin: 0;
z-index: 1;
border-left: 1px solid #ccc;
overflow: auto;
padding: 0px;
padding-bottom: 60px;
box-shadow: -3px 0px 8px rgba(0, 0, 0, 0.15);
}
#attributepane .text {
padding: 10px;
}
#attributepane .headertext {
color: #fff;
background-color: #444;
margin: 0;
padding: 10px;
font-weight: bold;
position: sticky;
top: 0;
z-index: 2;
}
#attributepane .returntext {
color: #1f77b4;
cursor: pointer;
margin-top: 10px;
padding: 5px;
border-top: 1px solid #ddd;
font-weight: bold;
}
#attributepane .returntext:hover {
text-decoration: underline;
}
.nodeattributes {
padding: 5px 0;
}
.nodeattributes .name {
font-size: 16px;
font-weight: bold;
margin-bottom: 10px;
}
.nodeattributes .data div {
margin-bottom: 5px;
}
.nodeattributes .p {
font-weight: bold;
margin: 10px 0 5px 0;
}
.nodeattributes .link ul {
list-style: none;
margin: 0;
padding: 0;
}
.nodeattributes .link ul li {
margin-bottom: 5px;
}
.nodeattributes .link ul li a {
color: #1f77b4;
text-decoration: none;
}
.nodeattributes .link ul li a:hover {
text-decoration: underline;
}
#attributepane .close {
padding-left: 14px;
margin-top: 10px;
}
#attributepane .close .c {
border-top: 2px solid #999;
padding: 10px 0 14px 0;
}
#attributepane .nodeattributes {
display: block;
height: 85%;
overflow-y: auto;
overflow-x: hidden;
border-bottom: 1px solid #999;
}
#attributepane .name {
font-size: 14px;
cursor: default;
padding-bottom: 10px;
padding-top: 18px;
font-weight: bold;
}
#attributepane .data {
margin-bottom: 10px;
}
#attributepane .link {
padding: 0 0 0 4px;
}
#attributepane .link li {
padding-top: 2px;
cursor: pointer;
list-style: none;
}
#attributepane .p {
padding-top: 10px;
font-weight: bold;
font-size: 14px;
}
.left-close {
cursor: pointer;
padding-left: 31px;
line-height: 36px;
background-repeat: no-repeat;
margin-bottom: 25px;
font-weight: bold;
font-size: 14px;
}
#developercontainer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
text-align: left;
font-size: 11px;
color: #777;
background: rgba(255, 255, 255, 0.8);
z-index: 20;
padding: 5px 10px;
border-top: 1px solid #ddd;
}
#maintitle {
width: 100%;
text-align: center;
margin-top: 10px;
}
#maintitle h1 {
font-size: 20px;
}
#mainpanel {
position: absolute;
top: 10px;
left: 10px;
width: 250px;
padding: 10px;
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
z-index: 20;
max-height: calc(100% - 40px);
overflow-y: auto;
}
#mainpanel .col {
margin-bottom: 20px;
}
#title {
font-size: 24px;
font-weight: bold;
margin-bottom: 5px;
}
#titletext {
margin-bottom: 15px;
line-height: 1.5;
}
.info {
padding: 5px 0;
}
.info a {
color: #0000CC;
text-decoration: none;
}
.info a:hover {
text-decoration: underline;
}
#legend {
margin-top: 15px;
margin-bottom: 15px;
display: block;
}
.legend-item {
display: flex;
align-items: center;
margin-bottom: 5px;
}
.legend-color {
width: 16px;
height: 16px;
border-radius: 3px;
margin-right: 8px;
display: inline-block;
}
.legend-line {
width: 24px;
height: 2px;
background-color: #666;
margin-right: 8px;
display: inline-block;
}
.legend-label {
display: inline-block;
font-size: 13px;
}
#search {
margin-top: 10px;
}
#search input {
border: 1px solid #ccc;
padding: 5px 7px;
width: 80%;
box-sizing: border-box;
margin-bottom: 5px;
}
#search-button {
display: flex;
align-items: center;
justify-content: center;
width: 30px;
background-color: #1f77b4;
color: white;
border-radius: 0 4px 4px 0;
cursor: pointer;
}
.state {
display: inline-block;
width: 14px;
height: 14px;
background-position: -131px -13px;
margin-right: 5px;
cursor: pointer;
}
.results {
margin-top: 10px;
}
.results a {
display: block;
padding: 5px 0;
color: #1f77b4;
text-decoration: none;
}
.results a:hover {
text-decoration: underline;
}
.select-wrapper {
position: relative;
margin-bottom: 10px;
}
.select-wrapper select {
width: 100%;
padding: 5px;
border: 1px solid #ccc;
background-color: #fff;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
cursor: pointer;
}
.select-wrapper:after {
content: "";
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
border-style: solid;
border-width: 5px 5px 0 5px;
border-color: #999 transparent transparent transparent;
pointer-events: none;
}
#attributeselect, #coloringselect, #atlasselect {
margin-top: 15px;
padding-bottom: 10px;
}
.select {
border: 1px solid #ccc;
padding: 5px 7px;
width: 100%;
box-sizing: border-box;
margin-bottom: 5px;
cursor: pointer;
background: #f5f5f5;
position: relative;
}
.list {
margin-top: 5px;
max-height: 200px;
overflow-y: auto;
display: none;
border: 1px solid #eee;
background: #fff;
}
.list a {
display: block;
padding: 5px;
text-decoration: none;
color: #000;
border-bottom: 1px solid #eee;
}
.list a:hover {
background: #f5f5f5;
}
#colorLegend {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
margin-top: 10px;
}
#zoom {
position: absolute;
bottom: 40px;
right: 10px;
z-index: 20;
background: rgba(255, 255, 255, 0.8);
border: 1px solid #ccc;
border-radius: 3px;
padding: 5px;
}
#zoom .z {
display: inline-block;
width: 24px;
height: 24px;
border: 1px solid #ccc;
margin: 0 2px;
text-align: center;
cursor: pointer;
font-weight: bold;
font-size: 18px;
line-height: 24px;
border-radius: 3px;
background: #fff;
}
#zoom .z:hover {
background: #f5f5f5;
}
#zoom .z[rel="in"]:before {
content: "+";
}
#zoom .z[rel="out"]:before {
content: "-";
}
#zoom .z[rel="center"]:before {
content: "⌂";
}
#key-features {
margin-bottom: 15px;
}
#key-features ul {
padding-left: 20px;
}
#node-info {
position: absolute;
background: rgba(255, 255, 255, 0.8);
padding: 5px 10px;
border: 1px solid #ccc;
border-radius: 3px;
font-size: 12px;
z-index: 10;
display: none;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.search-wrapper {
display: flex;
}
#search-input {
flex: 1;
padding: 6px 10px;
border: 1px solid #ccc;
border-radius: 4px 0 0 4px;
}
#search-button {
display: flex;
align-items: center;
justify-content: center;
width: 30px;
background-color: #1f77b4;
color: white;
border-radius: 0 4px 4px 0;
cursor: pointer;
}
.col {
margin-bottom: 20px;
}