ffmap-backend/html/force.css
2012-06-04 20:23:19 +02:00

138 lines
2.5 KiB
CSS

.node ellipse {
fill: #fff;
stroke-width: 2.5px;
}
.node text {
font-size: 10px;
color: #333;
}
line.link {
stroke: #333;
stroke-opacity: 1;
}
.strength {
font-size: 10px;
fill: #C83771;
}
#chart, #chart svg {
display: block;
vertical-align: middle;
}
#chart {
background-image: url(gplaypattern.png);
position: relative;
}
.node.marked ellipse {
stroke: #C83771 !important;
stroke-width: 5px;
}
.node.highlight ellipse {
fill: #FFF0B3;
}
#nodeinfo, #controlpanel {
position: absolute;
background: #fff;
border: 1px solid #ddd;
padding: 0.5em;
font-family: arial, helvatica;
}
#nodeinfo {
top: 10px;
left: 10px;
}
#controlpanel {
top: 10px;
right: 10px;
}
#nodeinfo h1, p {
color: #555;
}
#nodeinfo h1 {
font-size: 10pt;
margin: 0 0 0.5em;
}
#nodeinfo p {
font-size: 10pt;
margin: 0;
}
.btn {
color: #6e6e6e;
font: bold 12px Helvetica, Arial, sans-serif;
text-decoration: none;
padding: 7px 12px;
position: relative;
display: inline-block;
text-shadow: 0 1px 0 #fff;
-webkit-transition: border-color .218s;
-moz-transition: border .218s;
-o-transition: border-color .218s;
transition: border-color .218s;
background: #f3f3f3;
background: -webkit-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
background: -moz-linear-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
border: solid 1px #dcdcdc;
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
margin-right: 10px;
}
.btn:hover {
color: #333;
border-color: #999;
-moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2) -webkit-box-shadow:0 2px 5px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.btn:active {
color: #000;
border-color: #444;
}
.btn.left {
-webkit-border-top-right-radius: 0;
-moz-border-radius-topright: 0;
border-top-right-radius: 0;
-webkit-border-bottom-right-radius: 0;
-moz-border-radius-bottomright: 0;
border-bottom-right-radius: 0;
margin: 0;
}
.btn.middle {
border-left: solid 1px #f3f3f3;
margin: 0;
border-left: solid 1px rgba(255, 255, 255, 0);
}
.btn.right {
-webkit-border-top-left-radius: 0;
-moz-border-radius-topleft: 0;
border-top-left-radius: 0;
-webkit-border-bottom-left-radius: 0;
-moz-border-radius-bottomleft: 0;
border-bottom-left-radius: 0;
border-left: solid 1px #f3f3f3;
border-left: solid 1px rgba(255, 255, 255, 0);
}
.btn.active {
background: #C83771;
color: #fff;
text-shadow: none;
}