toolkit/exemples/treemap/design.css
author Nicolas Sauret <nicolas.sauret@iri.centrepompidou.fr>
Thu, 10 Apr 2014 14:20:23 +0200
changeset 47 c0b4a8b5a012
child 50 f68ecaf5265e
permissions -rw-r--r--
add toolkit.html + démonstrateurs

@CHARSET "ISO-8859-1";

/* -- General style -- */

body {
	width: 960px;
	font: 14px Helvetica Neue;
	text-rendering: optimizeLegibility;
	overflow-y: scroll;
	z-index: 1;
	position: relative;
}

h1 {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: .3em;
}


/* -- Streamgraph Style -- */

#streamgraphTimeline {
  font: 10px sans-serif;
  margin: 10px 0;
}

svg path {
	position: relative;
}

/* -- Treemap style -- */

#treemap {
  margin: 30px 0;
}

.cell {
    border: 1px solid white;
    font: 15px/17px sans-serif;
    overflow: hidden;
    position: absolute;
    text-indent: 0px;
}
.cell.selected {
    border-color: black;
    z-index: 5;
}
.details {
    background: none repeat scroll 0 0 white;
    border: 1px solid black;
    border-radius: 7px 0 0 0;
    display: none;
    margin: 10px 0px 0px 10px;
    padding: 10px;
    position: absolute;
    width: 200px;
    z-index: 10;
}
.details .size {
    font-weight: bold;
}
.details .name {
    font-weight: bold;
    margin-left: 10px;
}

.title {
	font-weight: bold;
	z-index: 2;
	position: absolute;
	background-color: white;
	text-align: center;
	top: 0px;
	left: 0px;
	margin: 0px;
	opacity: 0.4;
};

.img {
	position: relative;
}

/* -- Style for the selectors -- */

div.selecteur {
	width: 5px;
	height: 50px;
	z-index: 2;
	position: absolute;
	background-color: #FFFFFF;
	opacity: 0.5;
	border-style: solid;
	border-color: #000000;
	border-width: 2px 0px;
}

div.selecteur.gauche {
	border-left-width: 2px;
}

div.selecteur.droite {
	border-right-width: 2px;
}

div.selection {
	background: black;
	height: 3px;
	z-index: 2;
	position: absolute;
	opacity: 1;
}

div.cache {
	background-color:#000000;
	opacity:0.3;
	z-index: 2;
	position: absolute;
}

div.cache.droite {
}

div.cache.gauche {
	width: 0px;
}

/* -- streamgraph -- */

#streamgraphTimeline div.selecteur {
	height: 50px; 
}

#streamgraphTimeline div.selection {
	height: 5px; 
}

#streamgraphTimeline div.cache {
	height: 50px; 
}

.time-unit {
	border-width: 0 1px 1px;
	border-style: solid;
	border-color: black;
	display: inline-block;
	margin-right:	1px;
	padding: 1px;
	text-align: center;
	width: 85px;
}

#streamgraphTimeline .curseur {
	height: 50px;
	width: 1px;
	background: black;
	z-index: 5;
	position: absolute;
}