eclipse/cmd/eclipse-httpd/style.css

133 lines
2.7 KiB
CSS

/* General ********************************************************************/
body {
font-family: sans-serif;
margin: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}
* {
box-sizing: border-box;
}
body > header {
padding: 0 20px;
border-bottom: solid 1px black;
}
body > article {
flex-grow: 2;
padding: 20px;
}
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;
}
/* Jobs page ******************************************************************/
table.jobs {
border-collapse: collapse;
}
table.jobs > thead > tr > th,
table.jobs > tbody > tr > td {
border: solid 1px black;
}
table.jobs > thead > tr > th,
table.jobs > tbody > tr > td > a {
padding: 0.2em;
}
table.jobs > tbody > tr > td {
padding: 0;
}
table.jobs > tbody > tr:nth-child(odd) > td {
background-color: #eeeeee;
}
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;
}
table.jobs tt {
background-color: #ddddff;
}
table.jobs td.job-id { text-align: center }
table.jobs td.job-status { text-align: center; }
table.jobs tr.job-new td.job-status { background-color: yellow; }
table.jobs tr.job-running td.job-status { background-color: blue; }
table.jobs tr.job-succeeded td.job-status { background-color: green; }
table.jobs tr.job-failed td.job-status { background-color: red; }
table.jobs tr.job-error td { background-color: red; }
/* Job page *******************************************************************/
dl.job dt::after {
content: ":";
}
dl.job tt {
h background-color: #ddddff;
}
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%;
}
/* Triggers table *************************************************************/
/* (shared between the jobs page and the job page) */
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;
}
table.job-triggers tt {
background-color: #ddddff;
}