Simon Hunt | a2b11a5 | 2016-02-22 22:05:47 -0800 | [diff] [blame] | 1 | /* css for driver matrix view */ |
Thomas Vachuska | bbf1050 | 2015-12-09 13:41:58 -0800 | [diff] [blame] | 2 | |
| 3 | #ov-driver-matrix h2 { |
| 4 | display: inline-block; |
| 5 | } |
| 6 | |
Simon Hunt | 59f598c | 2016-03-04 15:15:13 -0800 | [diff] [blame] | 7 | #ov-driver-matrix .driver-matrix { |
| 8 | /* FIXME: demo only, need a proper scrolling solution */ |
| 9 | height: 600px; |
| 10 | overflow: scroll; |
| 11 | } |
| 12 | |
Simon Hunt | a2b11a5 | 2016-02-22 22:05:47 -0800 | [diff] [blame] | 13 | #ov-driver-matrix table { |
| 14 | margin-left: 20px; |
| 15 | } |
| 16 | |
| 17 | #ov-driver-matrix .table-header-rotated { |
| 18 | border-collapse: collapse; |
| 19 | } |
| 20 | #ov-driver-matrix .table-header-rotated td { |
Simon Hunt | 59f598c | 2016-03-04 15:15:13 -0800 | [diff] [blame] | 21 | width: 24px; |
Simon Hunt | a2b11a5 | 2016-02-22 22:05:47 -0800 | [diff] [blame] | 22 | } |
| 23 | #ov-driver-matrix .table-header-rotated td.xmark { |
Simon Hunt | 59f598c | 2016-03-04 15:15:13 -0800 | [diff] [blame] | 24 | background-color: rgba(200, 85, 85, 0.5); |
Simon Hunt | a2b11a5 | 2016-02-22 22:05:47 -0800 | [diff] [blame] | 25 | } |
| 26 | #ov-driver-matrix .table-header-rotated td { |
| 27 | text-align: center; |
| 28 | padding: 2px 5px; |
| 29 | border: 1px solid #ccc; |
| 30 | } |
| 31 | #ov-driver-matrix .table-header-rotated th.rotate { |
| 32 | height: 140px; |
| 33 | white-space: nowrap; |
Simon Hunt | 59f598c | 2016-03-04 15:15:13 -0800 | [diff] [blame] | 34 | font-size: 10pt; |
Simon Hunt | a2b11a5 | 2016-02-22 22:05:47 -0800 | [diff] [blame] | 35 | } |
| 36 | #ov-driver-matrix .table-header-rotated th.rotate > div { |
| 37 | -webkit-transform: translate(25px, 51px) rotate(-45deg); |
| 38 | transform: translate(25px, 51px) rotate(-45deg); |
| 39 | width: 30px; |
| 40 | } |
| 41 | #ov-driver-matrix .table-header-rotated th.rotate > div > span { |
| 42 | border-bottom: 1px solid #ccc; |
| 43 | padding: 5px 10px; |
| 44 | } |
| 45 | #ov-driver-matrix .table-header-rotated th.row-header { |
| 46 | padding: 0 10px; |
| 47 | border-bottom: 1px solid #ccc; |
| 48 | text-align: right; |
| 49 | } |
| 50 | |
| 51 | |
Thomas Vachuska | bbf1050 | 2015-12-09 13:41:58 -0800 | [diff] [blame] | 52 | /* Panel Styling */ |
| 53 | #ov-driver-matrix-item-details-panel.floatpanel { |
| 54 | position: absolute; |
| 55 | top: 115px; |
| 56 | } |
| 57 | |
| 58 | .light #ov-driver-matrix-item-details-panel.floatpanel { |
| 59 | background-color: rgb(229, 234, 237); |
| 60 | } |
| 61 | .dark #ov-driver-matrix-item-details-panel.floatpanel { |
| 62 | background-color: #3A4042; |
| 63 | } |
| 64 | |
| 65 | #ov-driver-matrix-item-details-panel h3 { |
| 66 | margin: 0; |
| 67 | font-size: large; |
| 68 | } |
| 69 | |
| 70 | #ov-driver-matrix-item-details-panel h4 { |
| 71 | margin: 0; |
| 72 | } |
| 73 | |
| 74 | #ov-driver-matrix-item-details-panel td { |
| 75 | padding: 5px; |
| 76 | } |
| 77 | #ov-driver-matrix-item-details-panel td.label { |
| 78 | font-style: italic; |
| 79 | opacity: 0.8; |
| 80 | } |
Simon Hunt | a2b11a5 | 2016-02-22 22:05:47 -0800 | [diff] [blame] | 81 | |