driverMatrix.css
1.77 KB
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
/* css for driver matrix view */
#ov-driver-matrix h2 {
display: inline-block;
}
#ov-driver-matrix .driver-matrix {
/* FIXME: demo only, need a proper scrolling solution */
height: 600px;
overflow: scroll;
}
#ov-driver-matrix table {
margin-left: 20px;
}
#ov-driver-matrix .table-header-rotated {
border-collapse: collapse;
}
#ov-driver-matrix .table-header-rotated td {
width: 24px;
}
#ov-driver-matrix .table-header-rotated td.xmark {
background-color: rgba(200, 85, 85, 0.5);
}
#ov-driver-matrix .table-header-rotated td {
text-align: center;
padding: 2px 5px;
border: 1px solid #ccc;
}
#ov-driver-matrix .table-header-rotated th.rotate {
height: 140px;
white-space: nowrap;
font-size: 10pt;
}
#ov-driver-matrix .table-header-rotated th.rotate > div {
-webkit-transform: translate(25px, 51px) rotate(-45deg);
transform: translate(25px, 51px) rotate(-45deg);
width: 30px;
}
#ov-driver-matrix .table-header-rotated th.rotate > div > span {
border-bottom: 1px solid #ccc;
padding: 5px 10px;
}
#ov-driver-matrix .table-header-rotated th.row-header {
padding: 0 10px;
border-bottom: 1px solid #ccc;
text-align: right;
}
/* Panel Styling */
#ov-driver-matrix-item-details-panel.floatpanel {
position: absolute;
top: 115px;
}
.light #ov-driver-matrix-item-details-panel.floatpanel {
background-color: rgb(229, 234, 237);
}
.dark #ov-driver-matrix-item-details-panel.floatpanel {
background-color: #3A4042;
}
#ov-driver-matrix-item-details-panel h3 {
margin: 0;
font-size: large;
}
#ov-driver-matrix-item-details-panel h4 {
margin: 0;
}
#ov-driver-matrix-item-details-panel td {
padding: 5px;
}
#ov-driver-matrix-item-details-panel td.label {
font-style: italic;
opacity: 0.8;
}