Model-Atlas / css /style.css
Eliahu's picture
Initial commit Model Atlas space
27e7d8e
* {
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: 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: #eee;
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: block;
display: none;
position:absolute;
height:auto;
bottom:0;
top:0;
right:0;
width: 240px;
background-color: #fff;
margin: 0;
word-wrap: break-word;
background-color:rgba(255,255,255,0.8);
border-left: 1px solid #ccc;
padding: 0px 18px 0px 18px;
z-index: 1;
}
#attributepane .text {
height:100%;
}
#attributepane .headertext {
color: #000;
margin-bottom: 5px;
height: 14px;
border-bottom: 1px solid #999;
padding: 0px 0 10px 0;
font-size:16px;
font-weight:bold;
}
#attributepane .returntext em {
background-image: url('../images/sprite.png');
background-repeat: no-repeat;
display: block;
width: 20px;
height: 20px;
background-position: -91px -13px;
float: left;
}
#attributepane .returntext span {
padding-left: 5px;
display: block;
}
#attributepane .close {
padding-left: 14px;
margin-top: 10px;
}
#attributepane .close .c {
border-top: 2px solid #999;
padding: 10px 0 14px 0;
}
#attributepane .close em {
background-image: url('../images/sprite.png');
background-repeat: no-repeat;
background-position: -11px -13px;
display: block;
width: 24px;
height: 16px;
float: left;
}
#attributepane .close span {
display: block;
width: 151px;
float: left;
}
#attributepane .nodeattributes {
display:block;
height:85%;
overflow-y: scroll;
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 {
}
#attributepane .data .plus {
background-repeat: no-repeat;
background-image: url('../images/sprite.png');
background-position: -171px -122px;
width: 22px;
height: 20px;
float: left;
display: block;
}
#attributepane .link {
padding: 0 0 0 4px;
}
#attributepane .link li {
padding-top: 2px;
cursor:pointer;
}
#attributepane .p {
padding-top: 10px;
font-weight: bold;
font-size:14px;
}
.left-close {
background-image: url('../images/fancybox_sprite.png');
margin-left:-37px;
z-index:99999;
cursor: pointer;
padding-left:31px;
line-height:36px;
background-repeat: no-repeat;
margin-bottom:25px;
font-weight: bold;
font-size:14px;
}
#developercontainer {
margin-left:25px;
margin-bottom:25px;
position:fixed;
bottom:0;
}
#jisc {
width: 71px;
height: 56px;
background-image: url('../images/jisc-logo-small.png');
background-repeat: no-repeat;
display:inline-block;
}
#jisc span {
display:none;
}
#oii {
width: 227px;
height: 56px;
background-image: url('../images/oii_text.png');
background-repeat: no-repeat;
display:inline-block;
margin-right:10px;
}
#oii span {
display:none;
}
#maintitle {
width: 100%;
height: 72px;
background-repeat: no-repeat;
margin-bottom:20px;
}
#maintitle h1 {
display: none;
}
#mainpanel {
margin-top: 50px;
margin-left: 25px;
background:#fff;
background-color:rgba(255,255,255,0.8);
border:1px solid #ccc;
z-index:20;
position:fixed;
top:0;
}
#mainpanel .b1 {
padding: 0px 0 0 0;
}
#mainpanel .col {
width: 240px;
padding: 18px 18px 18px 18px;
margin: 0;
}
#title {
font-weight: bold;
}
#titletext {
padding: 6px 0 10px 0;
}
#info {
padding-bottom:15px;
}
#search {
border-top: 1px solid #999;
padding: 20px 0 0px 2px;
}
#search input[name=search] {
border: 1px solid #999;
background-color: #fff;
padding: 5px 7px 4px 7px;
width: 205px;
color: #000;
}
#search input.empty {
color: #000;
}
#search .state {
width: 14px;
height: 14px;
background-image: url('../images/sprite.png');
float: right;
margin-top: 6px;
cursor: pointer;
background-position: -131px -13px;
}
#search .state.searching {
background-position: -11px -13px;
}
#search .results {
max-height: 300px; /* You can adjust this height as needed */
overflow-y: auto; /* Enables vertical scrolling */
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 4px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
padding: 5px;
}
#search .results b {
padding-left: 2px;
}
#search .results a {
display: block;
padding: 5px;
text-decoration: none;
color: #333;
}
#search .results a:hover {
background-color: #f5f5f5;
}
#attributeselect {
margin: 20px 0 13px 0 ;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#attributeselect .select {
border: 1px solid #999;
padding: 5px 7px 4px 7px;
color: #fff;
cursor: pointer;
background-color: #999;
background-image: url('../images/sprite.png');
background-repeat: no-repeat;
background-position: 200px -144px;
}
#attributeselect .close {
background-position: 200px -8px;
}
#attributeselect .list {
display: none;
border: 1px solid
#999;
padding: 6px;
height: 150px;
width: 226px;
overflow-y: scroll;
overflow-x: hidden;
background-color: #999;
/*position: relative;
left: 240px;
bottom: 164px;*/
position:absolute;
margin-left: 240px;
margin-top:-164px;
color: white;
}
#attributeselect .list a {
display:block;
padding: 2px;
text-decoration: none;
color: #fff;
}
#attributeselect .list a:hover {
background-color: #fff;
color: #000;
}
.link h2 {
font-size: 1em;
padding-top: 1em;
}
#mainpanel dl {
padding-bottom:10px;
}
#mainpanel h2 {
font-size:14px;
}
#mainpanel dt {
width: 20px;
height: 20px;
float: left;
background-repeat: no-repeat;
background-image: url('../images/sprite.png');
}
#legend dl {
}
#mainpanel h2 {
padding-bottom:10px;
}
#legend dd {
margin-bottom: 8px;
color: #000;
}
#mainpanel .infos dd {
margin-bottom: 12px;
}
#mainpanel .node {
background-position: -11px -119px;
}
#mainpanel .edge {
background-position: -51px -122px;
}
#mainpanel .colours {
background-image:url('../images/rainbow.png');
}
#legend .note {
margin-bottom: 8px;
}
#mainpanel .regions {
background-position: -171px -13px;
}
#mainpanel .download {
background-position: -51px -13px;
}
#mainpanel .moreinformation {
background: url('../images/info.png');
background-repeat: no-repeat;
margin-left: 5px;
}
#copyright {
margin:0 auto;
position: fixed;
right: 40px;
bottom: 25px;
z-index:0;
}
#copyright a {
color: #000;
}
#copyright .explanation {
display: none;
}
#zoom {
z-index:999;
position: fixed;
left: 45%;
bottom: 25px;
margin:0 auto;
padding: 0;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-align:left;
}
#zoom .z {
background:#fff;
background-color:rgba(255,255,255,0.7);
width: 60px;
height: 60px;
cursor: pointer;
border:1px solid #ccc;
float:left;
margin-right:4px;
background-repeat:no-repeat;
}
#zoom .z[rel=center] {
background-image: url('../images/zoom_reset.png');
background-position:center;
}
#zoom .z[rel=in] {
background-image: url('../images/zoom_in.png');
background-position:center;
}
#zoom .z[rel=out] {
background-image: url('../images/zoom_out.png');
background-position:center;
}
.line {
font-size: 12px;
color: #000;
text-decoration: none;
font-weight: bold;
cursor: pointer;
cursor: hand;
}
#information {
display: none;
background: #fff;
padding: 1px 10px 10px 10px;
}
#information h3 {
margin: 14px 0 4px 0;
}
#information p {
margin: 0 0 4px 0;
}
#information .button {
width: 14px;
height: 14px;
background-image: url('../images/sprite.png');
border: 1px solid #999;
display: inline-block;
*display: inline;
*zoom: 1;
}
#information .button span {
display: none;
}
#information .button.plus {
background-position: -91px -122px;
}
#information .button.moins {
background-position: -131px -122px;
}
#minify {
background-color: #fff;
padding: 4px 4px 4px 25px;
cursor: pointer;
background-image: url('../images/sprite.png');
background-repeat: no-repeat;
background-position: -167px -118px;
position: absolute;
top: 65px;
left: 15px;
display: none;
}
#minifier {
position: absolute;
width: 20px;
height: 16px;
background-image: url('../images/sprite.png');
background-repeat: no-repeat;
background-position: -45px -147px;
cursor: pointer;
display: none;
}
#colorLegend {
margin-top: 10px;
max-height: 200px;
overflow-y: auto;
}
#colorLegend ul {
list-style: none;
padding: 0;
margin: 0;
}
#colorLegend li {
margin-bottom: 5px;
font-size: 12px;
white-space: nowrap;
}
#coloringselect {
margin-top: 10px;
}
#coloringselect .list {
background-color: #fff;
border: 1px solid #ccc;
display: none;
max-height: 150px;
overflow-y: auto;
}
#coloringselect .list a {
display: block;
padding: 5px;
text-decoration: none;
}
#coloringselect .list a:hover {
background-color: #f0f0f0;
}
#coloringselect .select {
background-color: #fff;
border: 1px solid #ccc;
cursor: pointer;
padding: 5px;
position: relative;
}
#coloringselect .select.close:after {
content: '▲';
position: absolute;
right: 8px;
}
#coloringselect .select:after {
content: '▼';
position: absolute;
right: 8px;
}
#atlasselect {
margin-top: 10px;
}
#atlasselect .list {
background-color: #fff;
border: 1px solid #ccc;
display: none;
max-height: 150px;
overflow-y: auto;
}
#atlasselect .list a {
display: block;
padding: 5px;
text-decoration: none;
}
#atlasselect .list a:hover {
background-color: #f0f0f0;
}
#atlasselect .select {
background-color: #fff;
border: 1px solid #ccc;
cursor: pointer;
padding: 5px;
position: relative;
}
#atlasselect .select.close:after {
content: '▲';
position: absolute;
right: 8px;
}
#atlasselect .select:after {
content: '▼';
position: absolute;
right: 8px;
}