Style commit-like entities
This commit is contained in:
parent
7ecd812b11
commit
4bdca4d3c8
4 changed files with 22 additions and 37 deletions
|
|
@ -232,49 +232,34 @@ nav a:hover {
|
||||||
background-color: #ddd;
|
background-color: #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Commit */
|
/* Commit-like entities */
|
||||||
|
|
||||||
/*
|
.commit-like dl {
|
||||||
|
|
||||||
.commit * {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.commit dl {
|
|
||||||
display: grid;
|
display: grid;
|
||||||
grid: auto-flow / max-content 1fr;
|
grid: auto-flow / max-content 1fr;
|
||||||
column-gap: 1ch;
|
column-gap: 1ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.commit .hash {
|
.commit-like dl, .commit-like dt, .commit-like dd {
|
||||||
color: #b70;
|
margin: 0;
|
||||||
font-weight: bold;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.commit pre {
|
.commit-like pre {
|
||||||
margin: 1em 0ch 1em 4ch;
|
margin: 1em 0ch 1em 4ch;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
*/
|
.commit-like.commit .title {
|
||||||
|
color: #b70;
|
||||||
/* Worker */
|
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
.worker * {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.worker dl {
|
|
||||||
display: grid;
|
|
||||||
grid: auto-flow / max-content 1fr;
|
|
||||||
column-gap: 1ch;
|
|
||||||
}
|
|
||||||
|
|
||||||
.worker .name {
|
|
||||||
color: #380;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
*/
|
.commit-like.run .title {
|
||||||
|
color: #07e;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.commit-like.worker .title {
|
||||||
|
color: #380;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@
|
||||||
|
|
||||||
<h2>Commit</h2>
|
<h2>Commit</h2>
|
||||||
|
|
||||||
<div>
|
<div class="commit-like commit">
|
||||||
<span>commit {{ hash }}</span>
|
<span class="title">commit {{ hash }}</span>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Author:</dt>
|
<dt>Author:</dt>
|
||||||
<dd>{{ author }}</dd>
|
<dd>{{ author }}</dd>
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
<h2>Run</h2>
|
<h2>Run</h2>
|
||||||
|
|
||||||
<div>
|
<div class="commit-like run">
|
||||||
<span>run {{ id }}</span>
|
<span class="title">run {{ id }}</span>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Commit:</dt>
|
<dt>Commit:</dt>
|
||||||
<dd>{{ commit|safe }}</dd>
|
<dd>{{ commit|safe }}</dd>
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
<h2>Worker</h2>
|
<h2>Worker</h2>
|
||||||
|
|
||||||
<div>
|
<div class="commit-like worker">
|
||||||
<span>worker {{ name }}</span>
|
<span class="title">worker {{ name }}</span>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>Connected:</dt>
|
<dt>Connected:</dt>
|
||||||
<dd>{{ connected }}</dd>
|
<dd>{{ connected }}</dd>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue