forked from vicapow/bart-employees-in-d3
/
style.css
88 lines (88 loc) · 1.52 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
body{ margin: 0; font-family: helvetica; }
button, select { outline: none;}
.node { fill: black; }
#controls{
text-align: center;
font-size: 20px;
font-weight: bold;
}
#source{
position: absolute;
right: 10px;
bottom: 10px;
}
#title{
width: 100%;
}
.vis{
position: absolute;
left: 0px;
top: 0px;
z-index: -10;
}
#title h1{
text-align: center;
margin: 10px;
}
circle { stroke: none; }
.node.active circle {
stroke-width: 1;
stroke: white;
}
.node.highlighted circle {
stroke: black;
stroke-width: 15;
stroke-opacity: 0.5;
}
.tooltip{ display: none; }
.tooltip .bg{ opacity: 0.7; }
.tooltip text{
fill: white;
}
active.tooltip{
display: inherit;
}
.node text{
text-anchor: middle;
fill: black;
}
select{ font-size: 20px; }
.sort-by{
/* border: 1px solid #999;
background-color: green;
-webkit-appearance: none;
padding: 5px;
border-radius: 0px;*/
}
.share-left{ margin-top: 20px; position: absolute; left: 20px;}
.share-right{ margin-top: 20px; position: absolute; right: 10px;}
.fb-share-right{ margin-top: 50px; position: absolute; right: 35px;}
@media (max-width: 900px) {
h1, #controls{
float: left;
margin-left: 20px;
}
.share-left{
left: inherit;
right: 20px;
top: 60px;
}
}
@media(max-width: 400px){
.share-left, .share-right, .fb-share-right{
display: none;
}
h1{
display: none;
}
#controls{
font-size: 10px;
position: absolute;
top: inherit;
bottom: 5px;
}
#controls select{ width: 100px;}
#source{
display: none;
}
}