Commit 48764f55 authored by Marc Duez's avatar Marc Duez

css : move css from html skeleton to vidjil object

parent 68a45abf
......@@ -53,6 +53,15 @@ ul {
position: fixed;
z-index: 1;
}
.scatterplot,
.graph {
-khtml-user-select: none;
-webkit-user-select: none;
-moz-user-select: -moz-none;
-ms-user-select: none;
user-select: none;
overflow: hidden;
}
#mid-container {
position: fixed;
top: 28px;
......@@ -62,11 +71,6 @@ ul {
width: calc(100% - 12px);
overflow: hidden;
background: #000000;
-khtml-user-select: none;
-webkit-user-select: none;
-moz-user-select: -moz-none;
-ms-user-select: none;
user-select: none;
margin: 6px;
}
#right-container {
......@@ -94,7 +98,6 @@ ul {
#visu2 {
height: 50%;
width: 100%;
overflow: hidden;
}
#visu2 {
max-height: calc(100% - 6px);
......
......@@ -53,6 +53,15 @@ ul {
position: fixed;
z-index: 1;
}
.scatterplot,
.graph {
-khtml-user-select: none;
-webkit-user-select: none;
-moz-user-select: -moz-none;
-ms-user-select: none;
user-select: none;
overflow: hidden;
}
#mid-container {
position: fixed;
top: 28px;
......@@ -62,11 +71,6 @@ ul {
width: calc(100% - 12px);
overflow: hidden;
background: #ffffff;
-khtml-user-select: none;
-webkit-user-select: none;
-moz-user-select: -moz-none;
-ms-user-select: none;
user-select: none;
margin: 6px;
}
#right-container {
......@@ -94,7 +98,6 @@ ul {
#visu2 {
height: 50%;
width: 100%;
overflow: hidden;
}
#visu2 {
max-height: calc(100% - 6px);
......
......@@ -77,6 +77,15 @@ ul{
z-index:1;
}
.scatterplot, .graph{
-khtml-user-select: none;
-webkit-user-select: none;
-moz-user-select: -moz-none;
-ms-user-select: none;
user-select: none;
overflow:hidden;
}
#mid-container {
position : fixed;
top : 28px;
......@@ -86,11 +95,6 @@ ul{
width: calc(~"100%" - @margin + @margin);
overflow: hidden;
background: @background;
-khtml-user-select: none;
-webkit-user-select: none;
-moz-user-select: -moz-none;
-ms-user-select: none;
user-select: none;
margin: @margin;
}
......@@ -120,7 +124,6 @@ ul{
#visu, #visu2 {
height : 50%;
width : 100%;
overflow:hidden;
}
#visu2 {
......
......@@ -121,6 +121,7 @@ Graph.prototype = {
var self = this;
this.vis = d3.select("#" + this.id)
.attr("class", "graph")
.append("svg:svg")
.attr("id", this.id + "_svg")
.on("mouseup", function () {
......
......@@ -164,6 +164,7 @@ ScatterPlot.prototype = {
var self = this;
this.label_container = d3.select("#" + this.id)
.attr("class", "scatterplot")
.append("div")
.attr("id", this.id + "_label_container")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment