| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533 |
- body {
- background-color: #dee3e7;
- color: black;
- font-family: sans-serif;
- margin: 0;
- padding: 0;
- text-align: center;
- }
- dialog {
- box-shadow: 0 0 6px 0 #444;
- max-width: 600px;
- padding: 1em;
- text-align: left;
- }
- fieldset {
- display: grid;
- grid-template-columns: repeat(auto-fit, 160px);
- grid-template-rows: auto auto auto auto;
- grid-gap: 1em;
- padding: 0;
- text-align: center;
- justify-content: center;
- border: 0;
- }
- #sidebar-toggle-wrapper {
- display: inline;
- }
- h1 {
- display: inline;
- font-size: small;
- padding-left: .5em;
- }
- #sidebar-toggler-button {
- top: 1em;
- left: 0.5em;
- height: 2em;
- width: 2em;
- background-color: white;
- text-align: center;
- display: inline-grid;
- place-items: center;
- padding: .2em;
- box-shadow: 0 0 5px 0 #444;
- color: #666;
- }
- #sidebar-toggler-button:hover,
- #sidebar-toggler-button:focus {
- color: black;
- cursor: pointer;
- }
- footer,
- footer a {
- color: black;
- }
- nav.sidebar {
- background-color: white;
- position: absolute;
- width: 180px;
- height: 100vh;
- left: 0;
- top: 0;
- transition: 0.5s ease;
- box-shadow: 0 0 10px 0 #444;
- z-index: 3;
- display: flex;
- flex-direction: column;
- }
- #navigation-links {
- padding-top: 4em;
- flex-grow: 1;
- }
- #supplemental-links {
- flex-grow: 0;
- }
- input:checked ~ nav.sidebar {
- left: -250px;
- }
- nav ul {
- margin: 0;
- padding: 0;
- }
- nav ul li {
- list-style: none;
- text-align: left;
- border-bottom: 1px inset black;
- }
- nav ul li a {
- display: block;
- padding-left: 1em;
- padding-top: 0.5em;
- padding-bottom: 0.5em;
- user-select: none;
- }
- nav ul li a:hover {
- color: black;
- background-color: #efefef;
- cursor: pointer;
- }
- nav.topbar {
- background-color: white;
- }
- nav.topbar ul li {
- display: inline-block;
- }
- table {
- background-color: white;
- border-collapse: collapse;
- width: 100%;
- box-shadow: 0 0 5px 0 #444;
- }
- th,
- td {
- border: 1px solid #efefef;
- text-align: left;
- padding: 0.6em;
- }
- th:first-child {
- width: 5%;
- }
- tr:hover td {
- background-color: beige;
- }
- legend {
- padding-top: 1em;
- }
- span.icon {
- display: block;
- font-size: 3em;
- }
- .action-header span.icon,
- tr.log-row span.icon {
- display: inline-block;
- padding-right: 0.2em;
- vertical-align: middle;
- }
- .error {
- background-color: salmon;
- }
- div.error {
- padding: 1em;
- }
- .title.temporary-status-message {
- color: gray;
- }
- div.entity {
- background-color: white;
- box-shadow: 0 0 10px 0 #444;
- display: grid;
- grid-column: auto / span 2;
- grid-row: auto / span 2;
- grid-template-rows: auto min-content;
- grid-template-columns: minmax(min-content, auto);
- }
- h2 {
- display: inline-block;
- font-size: 1em;
- margin-top: 0;
- }
- div.entity h2 {
- grid-column: 1 / span all;
- }
- details {
- display: inline-block;
- }
- details[open] {
- margin-top: 1em;
- display: block;
- }
- /* General Buttons */
- button,
- input[type="submit"]
- {
- padding: 1em;
- color: black;
- text-align: center;
- border: 1px solid #999;
- background-color: white;
- box-shadow: 0 0 6px 0 #aaa;
- user-select: none;
- }
- /* Action Buttons */
- action-button {
- display: flex;
- flex-direction: column;
- }
- action-button button {
- flex-grow: 1;
- width: 100%;
- z-index: 2;
- }
- action-button details {
- flex-grow: 1;
- }
- action-button details[open] {
- margin-top: 0;
- }
- action-button details summary div {
- display: inline-flex;
- }
- action-button details summary div span:first-child {
- flex-grow: 1;
- }
- .action-button-footer {
- display: flex;
- text-align: left;
- font-size: smaller;
- background-color: #efefef;
- border-top: 0;
- border-left: 1px solid #666;
- border-right: 1px solid #666;
- border-bottom: 1px solid #666;
- overflow: auto;
- }
- execution-button {
- display: inline-block;
- margin-right: .2em;
- margin-left: .2em;
- margin-top: .2em;
- }
- execution-button button {
- margin-top: 0.2em;
- margin-bottom: 0.2em;
- }
- /* Button states */
- button:hover,
- input[type="submit"]:hover {
- box-shadow: 0 0 10px 0 #666;
- cursor: pointer;
- }
- button:focus,
- input[type="submit"]:focus {
- outline: 1px solid black;
- }
- button:disabled,
- input[type="submit"]:disabled {
- color: gray;
- background-color: #333;
- cursor: not-allowed;
- }
- /* Button animations */
- .action-failed {
- transition: 1s;
- background-color: red;
- }
- .action-success {
- transition: 1s;
- background-color: limegreen;
- }
- .action-nonzero-exit {
- animation: kf-action-nonzero-exit 1s;
- transition: 1s;
- background-color: orange;
- }
- .action-timeout {
- transition: 1s;
- background-color: cyan;
- }
- .action-blocked {
- transition: 1s;
- background-color: purple;
- color: white;
- }
- img.logo {
- width: 1em;
- height: 1em;
- vertical-align: middle;
- }
- main {
- padding: 1em;
- }
- body.has-sidebar main {
- padding-top: 3em;
- }
- summary {
- cursor: pointer;
- }
- form div.wrapper {
- background-color: white;
- text-align: left;
- }
- label {
- min-width: 20%;
- text-align: right;
- display: inline-block;
- padding-right: 1em;
- }
- #perma-widget {
- position: absolute;
- top: 1em;
- left: 1em;
- z-index: 9;
- }
- #perma-widget label {
- display: inline;
- }
- input {
- padding: 0.6em;
- }
- input:invalid {
- outline: 2px solid red;
- }
- form .wrapper span.icon {
- display: inline-block;
- vertical-align: middle;
- }
- form input[type="submit"]:first-child {
- margin-right: 1em;
- }
- button[name="cancel"]:hover {
- background-color: salmon;
- color: black;
- }
- input[name="start"]:hover {
- background-color: #aceaac;
- color: black;
- }
- span.argument-description {
- margin-left: 1em;
- }
- p.argument-wrapper {
- display: flex;
- }
- form div.buttons {
- text-align: right;
- }
- pre {
- border: 1px solid gray;
- padding: 1em;
- min-height: 1em;
- }
- td.exit-code {
- text-align: center;
- }
- input.invalid {
- background-color: salmon;
- }
- #available-version {
- background-color: #aceaac;
- padding: 0.2em;
- border-radius: 1em;
- }
- span.tag {
- background-color: lightgray;
- border-radius: 0.6em;
- padding: 0.2em;
- }
- div.toolbar {
- padding: .4em;
- text-align: left;
- background-color: #efefef;
- border: 1px solid #999;
- border-bottom: 0;
- display: flex;
- flex-direction: row;
- }
- div.toolbar * {
- margin-right: 1em;
- }
- @media screen and (width <= 600px) {
- fieldset {
- grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
- }
- label {
- text-align: left;
- margin-bottom: .6em;
- font-weight: bold;
- min-width: auto;
- }
- p.argument-wrapper {
- flex-direction: column;
- }
- span.argument-description {
- margin-left: 0;
- margin-top: .6em;
- }
- }
- @media (prefers-color-scheme: dark) {
- body {
- background-color: #333;
- color: white;
- }
- dialog {
- background-color: #222;
- color: white;
- }
- form div.wrapper {
- background-color: #222;
- }
- button,
- input[type="submit"],
- #sidebar-toggler-button {
- border: 1px solid #666;
- background-color: #222;
- box-shadow: 0 0 6px 0 #444;
- color: white;
- }
- #sidebar-toggler-button:focus,
- #sidebar-toggler-button:hover
- {
- color: white;
- }
- nav {
- background-color: #111;
- color: white;
- }
- footer,
- footer a {
- color: gray;
- }
- nav ul li a:hover {
- background-color: #666;
- color: white;
- }
- .action-button-footer {
- background-color: #111;
- }
- button:disabled {
- background-color: black;
- }
- table,
- td,
- th {
- border: 1px solid gray;
- }
- td,
- tr {
- background-color: #222;
- color: white;
- }
- tr:hover td {
- background-color: #666;
- }
- div.toolbar {
- background-color: black;
- }
- }
|