mirror of
https://github.com/progval/irctest.git
synced 2025-04-06 23:39:46 +00:00
Produce a dashboard website after running tests (#152)
This commit is contained in:
60
irctest/dashboard/style.css
Normal file
60
irctest/dashboard/style.css
Normal file
@ -0,0 +1,60 @@
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
background-color: #121212;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
}
|
||||
a {
|
||||
filter: invert(0.85) hue-rotate(180deg);
|
||||
}
|
||||
}
|
||||
|
||||
/* Only 1px solid border between cells */
|
||||
table.test-matrix {
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table.test-matrix td {
|
||||
text-align: center;
|
||||
border: 1px solid grey;
|
||||
}
|
||||
|
||||
/* Make link take the whole cell */
|
||||
table.test-matrix td a {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Test matrix colors */
|
||||
table.test-matrix .deselected {
|
||||
background-color: grey;
|
||||
}
|
||||
table.test-matrix .success {
|
||||
background-color: green;
|
||||
}
|
||||
table.test-matrix .skipped {
|
||||
background-color: yellow;
|
||||
}
|
||||
table.test-matrix .failure {
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
/* Rotate headers, thanks to https://css-tricks.com/rotated-table-column-headers/ */
|
||||
th.job-name {
|
||||
height: 140px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
th.job-name > div {
|
||||
transform:
|
||||
translate(28px, 50px)
|
||||
rotate(315deg);
|
||||
width: 40px;
|
||||
}
|
||||
th.job-name > div > span {
|
||||
border-bottom: 1px solid grey;
|
||||
padding-left: 0px;
|
||||
}
|
Reference in New Issue
Block a user