eclipse/cmd/eclipse-httpd/style.css

131 lines
2.7 KiB
CSS
Raw Normal View History

2024-01-19 05:27:15 +00:00
/*
* Copyright (C) 2024 Umorpha Systems
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
2024-01-18 02:08:47 +00:00
/* General ********************************************************************/
body {
font-family: sans-serif;
margin: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}
2024-01-18 04:15:20 +00:00
* {
box-sizing: border-box;
}
2024-01-19 05:22:24 +00:00
iframe {
box-sizing: content-box;
}
2024-01-18 04:15:20 +00:00
2024-01-18 02:47:08 +00:00
body > header {
padding: 0 20px;
border-bottom: solid 1px black;
}
body > article {
flex-grow: 2;
padding: 20px;
}
2024-01-18 02:08:47 +00:00
body > footer {
border-top: solid 1px black;
background-color: #fafafa;
padding: 8px 20px;
}
body > footer a {
color: #0063c4;
text-decoration: none;
}
body > footer a:hover,
body > footer a:active,
body > footer a:focus {
text-decoration: underline;
}
2024-01-23 01:31:22 +00:00
tt, pre {
background-color: #ddddff;
}
table.job-triggers {
border-spacing: 0;
border-radius: 0.8em;
border: solid 1px black;
overflow: hidden;
}
table.job-triggers td {
padding: 0.4em;
}
table.job-triggers td:not(:last-child) {
border-right: solid 1px black;
}
table.job-triggers tr:not(:last-child) td {
border-bottom: solid 1px black;
}
2024-01-18 04:15:20 +00:00
/* Jobs page ******************************************************************/
2024-01-18 02:08:47 +00:00
table.jobs {
border-collapse: collapse;
2024-01-27 00:07:31 +00:00
height: 1px; /* makes the "height: 100%" bits below work, idk */
2024-01-18 02:08:47 +00:00
}
2024-01-18 04:15:20 +00:00
table.jobs > thead > tr > th,
table.jobs > tbody > tr > td {
2024-01-18 02:08:47 +00:00
border: solid 1px black;
2024-01-18 04:15:20 +00:00
}
table.jobs > thead > tr > th,
table.jobs > tbody > tr > td > a {
2024-01-18 02:08:47 +00:00
padding: 0.2em;
}
2024-01-18 04:15:20 +00:00
table.jobs > tbody > tr > td {
padding: 0;
2024-01-27 00:07:31 +00:00
height: 100%;
2024-01-18 04:15:20 +00:00
}
table.jobs > tbody > tr:nth-child(odd) > td {
2024-01-18 02:08:47 +00:00
background-color: #eeeeee;
}
2024-01-18 04:15:20 +00:00
table.jobs > tbody > tr > td > a {
text-decoration: none;
display: block;
width: 100%;
height: 100%;
color: black;
}
table.jobs > tbody > tr:hover > td > a {
background-color: #AAAAF3;
}
2024-01-18 21:17:26 +00:00
table.jobs > tbody > tr > td.job-status { text-align: center; }
table.jobs > tbody > tr.job-new > td.job-status { background-color: yellow; }
table.jobs > tbody > tr.job-running > td.job-status { background-color: blue; }
table.jobs > tbody > tr.job-succeeded > td.job-status { background-color: green; }
table.jobs > tbody > tr.job-failed > td.job-status { background-color: red; }
table.jobs > tbody > tr.job-error > td { background-color: red; }
2024-01-18 04:15:20 +00:00
/* Job page *******************************************************************/
dl.job dt::after {
content: ":";
}
dl.job dd.job-status.job-new { background-color: yellow; }
dl.job dd.job-status.job-running { background-color: blue; }
dl.job dd.job-status.job-succeeded { background-color: green; }
dl.job dd.job-status.job-failed { background-color: red; }
dl.job dd.job-status.job-error { background-color: red; }
iframe {
width: 100%;
}