-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathheatmap-styles.css
139 lines (112 loc) · 2.68 KB
/
heatmap-styles.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
/* Some basic page styling */
body {
font-family: sans-serif;
max-width: 90%;
margin: auto;
padding: 20px;
}
header {
display: flex;
}
#heatmap {
overflow: auto;
}
#heatmap table {
border-collapse: collapse;
min-width: 100%
}
#heatmap th {
background-color: #00144d;
color: #fff;
}
#heatmap td {
min-width: 3em;
padding: 0;
font-size: .8rem;
line-height: 1.2;
border: none;
border-top: 1px solid grey;
}
#heatmap tr {
background: #fff;
}
th[data-sort=float] {
/* Something you can count on */
height: 250px;
white-space: nowrap;
position: relative;
}
th[data-sort]:hover {
opacity: .7;
cursor: pointer;
}
th[data-sort]:after {
font-weight: 400;
content: '\21C5';
position: absolute;
bottom: 0;
}
th[data-sort]:hover:after {
font-weight: 700;
}
th[data-sort=float] > div {
transform:
translate(30px, 95px)
rotate(270deg);
width: 0;
}
th[data-sort=float] > div > span {
padding: 5px 10px;
}
.heatmap__cell--number {
position: relative;
}
.heatmap__cell--number span {
display: none;
}
.heatmap__cell--number:hover span {
position: absolute;
display: inline-block;
color: black;
background: rgba(255, 255, 255, .5);
min-width: 100%;
top: 0;
left: 0;
cursor: pointer;
}
#heatmap th {
position: relative
}
/* 13. Basic Styling with CSS */
#dose-graph-wrapper {
background-color: #fff;
display: none;
overflow: visible !important;
}
.jquery-modal #dose-graph-wrapper {
display: block;
}
/* Style the lines by removing the fill and applying a stroke */
.line {
fill: none;
stroke: #090080;
stroke-width: 3;
}
.overlay {
fill: none;
pointer-events: all;
}
/* Style the dots by assigning a fill and stroke */
.dot {
fill: #090080;
stroke: #fff;
}
.focus circle {
fill: none;
stroke: steelblue;
}
.heatmap-caption {
width: 340px;
margin-left: auto;
margin-right: 0;
}