blob: f89293ae7ccd00455c7a259c275c8e7a1c12a381 [file] [log] [blame]
Sam Elliott45fb1c62020-06-02 18:18:54 +01001/* Copyright lowRISC contributors. */
2/* Licensed under the Apache License, Version 2.0, see LICENSE for details. */
3/* SPDX-License-Identifier: Apache-2.0 */
Srikrishna Iyerf578e7c2020-01-29 13:11:58 -08004
5/* CSS for reports.opentitan.org.
Cindy Chen1aff6652020-04-23 18:49:18 -07006 * This is referenced by all results published to the reports server for some basic styling.
Srikrishna Iyerf578e7c2020-01-29 13:11:58 -08007 */
8
9.results {
10 width: 80%;
11 max-width: 960px;
12 padding-left: 40px;
13 padding-right: 40px;
14 margin: 0 auto;
15 position: relative;
Srikrishna Iyerf578e7c2020-01-29 13:11:58 -080016 font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
Cindy Chen1aff6652020-04-23 18:49:18 -070017 padding-top: 15px;
Srikrishna Iyerf578e7c2020-01-29 13:11:58 -080018}
19
20.results p {
21 text-align: justify;
22}
23
24.results pre {
25 overflow-x: auto;
26 white-space: pre-wrap;
Srikrishna Iyerf578e7c2020-01-29 13:11:58 -080027}
28
29.results h1, .results h2, .results h3 {
30 text-align: center;
Cindy Chen1aff6652020-04-23 18:49:18 -070031 padding-bottom: 15px;
Srikrishna Iyerf578e7c2020-01-29 13:11:58 -080032}
33
34.results table {
35 width: 90%;
36 margin: 2% auto;
37 border: 1px solid #f2f2f2;
38 border-collapse: collapse;
39 text-align: center;
40 vertical-align: middle;
41 display: table;
Cindy Chen1aff6652020-04-23 18:49:18 -070042 table-layout: auto;
Srikrishna Iyerf578e7c2020-01-29 13:11:58 -080043}
44
45.results th {
46 padding-top: 12px;
47 padding-bottom: 12px;
48 background-color: #3D1067;
49 text-transform: uppercase;
50 color: white;
51}
52
53.results th, .results td {
54 border: 1px solid #f2f2f2;
55 padding: 8px;
56}
57
58.results tr:hover {
59 background-color: #f2f2f2;
60}
61
62.results tbody tr:nth-child(even) {
63 background: #f2f2f2;
64}
Srikrishna Iyer2a710a42020-02-10 10:39:15 -080065
66/* Color encoding for percentages. */
67.cna {
Cindy Chen1aff6652020-04-23 18:49:18 -070068 color: #000000;
Srikrishna Iyer2a710a42020-02-10 10:39:15 -080069 background-color: #f8f8f8;
70}
71
72.c0 {
73 color: #ffffff;
Srikrishna Iyer70239782020-02-27 16:08:02 -080074 background-color: #EF5757;
Srikrishna Iyer2a710a42020-02-10 10:39:15 -080075}
76
77.c1 {
78 color: #ffffff;
Srikrishna Iyer70239782020-02-27 16:08:02 -080079 background-color: #EF6D57;
Srikrishna Iyer2a710a42020-02-10 10:39:15 -080080}
81
82.c2 {
83 color: #000000;
Srikrishna Iyer70239782020-02-27 16:08:02 -080084 background-color: #EF8357;
Srikrishna Iyer2a710a42020-02-10 10:39:15 -080085}
86
87.c3 {
88 color: #000000;
Srikrishna Iyer70239782020-02-27 16:08:02 -080089 background-color: #EF9957;
Srikrishna Iyer2a710a42020-02-10 10:39:15 -080090}
91
92.c4 {
93 color: #000000;
Srikrishna Iyer70239782020-02-27 16:08:02 -080094 background-color: #EFAF57;
Srikrishna Iyer2a710a42020-02-10 10:39:15 -080095}
96
97.c5 {
98 color: #000000;
Srikrishna Iyer70239782020-02-27 16:08:02 -080099 background-color: #EFC557;
Srikrishna Iyer2a710a42020-02-10 10:39:15 -0800100}
101
102.c6 {
103 color: #000000;
Srikrishna Iyer70239782020-02-27 16:08:02 -0800104 background-color: #EFDB57;
Srikrishna Iyer2a710a42020-02-10 10:39:15 -0800105}
106
107.c7 {
108 color: #000000;
Srikrishna Iyer70239782020-02-27 16:08:02 -0800109 background-color: #ECEF57;
Srikrishna Iyer2a710a42020-02-10 10:39:15 -0800110}
111
112.c8 {
113 color: #000000;
Srikrishna Iyer70239782020-02-27 16:08:02 -0800114 background-color: #D6EF57;
Srikrishna Iyer2a710a42020-02-10 10:39:15 -0800115}
116
117.c9 {
118 color: #000000;
Srikrishna Iyer70239782020-02-27 16:08:02 -0800119 background-color: #C0EF57;
Srikrishna Iyer2a710a42020-02-10 10:39:15 -0800120}
121
122.c10 {
123 color: #000000;
Srikrishna Iyer70239782020-02-27 16:08:02 -0800124 background-color: #57EF57;
Srikrishna Iyer2a710a42020-02-10 10:39:15 -0800125}