style.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  1. body {
  2. background-color: #dee3e7;
  3. color: black;
  4. text-align: center;
  5. font-family: sans-serif;
  6. padding: 0;
  7. margin: 0;
  8. }
  9. dialog {
  10. min-width: 600px;
  11. text-align: left;
  12. padding: 1em;
  13. box-shadow: 0 0 6px 0 #444;
  14. }
  15. fieldset {
  16. padding: 0;
  17. }
  18. fieldset#root-group {
  19. display: grid;
  20. grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  21. grid-template-rows: auto auto auto auto;
  22. grid-gap: 1em;
  23. text-align: center;
  24. border: 0;
  25. }
  26. #sidebar-toggle-wrapper {
  27. display: inline;
  28. }
  29. h1 {
  30. display: inline;
  31. padding-left: .5em;
  32. font-size: small;
  33. }
  34. label#sidebar-toggler-button {
  35. top: 1em;
  36. left: 0.5em;
  37. height: 2em;
  38. width: 2em;
  39. background-color: white;
  40. text-align: center;
  41. display: inline-grid;
  42. place-items: center;
  43. padding: .2em;
  44. box-shadow: 0 0 5px 0 #444;
  45. color: #666;
  46. }
  47. label#sidebar-toggler-button:hover,
  48. label#sidebar-toggler-button:focus {
  49. color: black;
  50. cursor: pointer;
  51. }
  52. aside {
  53. position: absolute;
  54. width: 180px;
  55. height: 100%;
  56. left: 0;
  57. top: 0;
  58. padding-top: 4em;
  59. transition: 0.5s ease;
  60. background-color: white;
  61. border: 0 0 10px 0;
  62. box-shadow: 0 0 10px 0 #444;
  63. }
  64. input:checked ~ aside {
  65. left: -250px;
  66. }
  67. aside ul {
  68. padding: 0;
  69. margin: 0;
  70. }
  71. aside ul li {
  72. list-style: none;
  73. text-align: left;
  74. padding-left: 1em;
  75. padding-top: 0.5em;
  76. padding-bottom: 0.5em;
  77. border-bottom: 1px inset black;
  78. }
  79. aside ul li:hover {
  80. color: black;
  81. background-color: #efefef;
  82. cursor: pointer;
  83. }
  84. table {
  85. background-color: white;
  86. border-collapse: collapse;
  87. width: 100%;
  88. box-shadow: 0 0 5px 0 #444;
  89. }
  90. th,
  91. td {
  92. border: 1px solid #efefef;
  93. text-align: left;
  94. padding: 0.6em;
  95. }
  96. th:first-child {
  97. width: 5%;
  98. }
  99. tr:hover td {
  100. background-color: beige;
  101. }
  102. legend {
  103. padding-top: 1em;
  104. }
  105. span[role="icon"] {
  106. display: block;
  107. font-size: 3em;
  108. vertical-align: middle;
  109. }
  110. .action-header span[role="icon"],
  111. tr.log-row span[role="icon"] {
  112. display: inline-block;
  113. padding-right: 0.2em;
  114. }
  115. .error {
  116. background-color: salmon;
  117. }
  118. div.error {
  119. padding: 1em;
  120. }
  121. .title.temporary-status-message {
  122. color: gray;
  123. }
  124. div.entity {
  125. background-color: white;
  126. box-shadow: 0 0 10px 0 #444;
  127. display: grid;
  128. grid-column: auto / span 2;
  129. grid-row: auto / span 2;
  130. grid-template-rows: auto min-content;
  131. grid-template-columns: minmax(min-content, auto);
  132. }
  133. h2 {
  134. margin-top: 0;
  135. font-size: 1em;
  136. display: inline-block;
  137. }
  138. div.entity h2 {
  139. grid-column: 1 / span all;
  140. }
  141. /* Buttons */
  142. button,
  143. input[type="submit"] {
  144. padding: 1em;
  145. color: black;
  146. text-align: center;
  147. border: 1px solid #999;
  148. background-color: white;
  149. box-shadow: 0 0 6px 0 #aaa;
  150. user-select: none;
  151. }
  152. button:hover,
  153. input[type="submit"]:hover {
  154. box-shadow: 0 0 10px 0 #666;
  155. cursor: pointer;
  156. }
  157. button:focus,
  158. input[type="submit"]:focus {
  159. outline: 1px solid black;
  160. }
  161. button:disabled,
  162. input[type="submit"]:disabled {
  163. color: gray;
  164. background-color: #333;
  165. cursor: not-allowed;
  166. }
  167. div.executions button {
  168. margin-top: .2em;
  169. margin-bottom: .2em;
  170. }
  171. fieldset#section-switcher {
  172. border: 0;
  173. text-align: right;
  174. margin-bottom: 1em;
  175. }
  176. fieldset#section-switcher button {
  177. padding: 1em;
  178. color: black;
  179. display: table-cell;
  180. text-align: center;
  181. border: 1px solid #999;
  182. background-color: white;
  183. box-shadow: 0 0 6px 0 #aaa;
  184. user-select: none;
  185. cursor: pointer;
  186. }
  187. fieldset#root-group action-button button {
  188. width: 100%;
  189. height: 100%;
  190. }
  191. fieldset#section-switcher button:first-child {
  192. border-radius: 1em 0 0 1em;
  193. }
  194. fieldset#section-switcher button:last-child {
  195. border-radius: 0 1em 1em 0;
  196. }
  197. button.active-section {
  198. font-weight: bold;
  199. }
  200. /* Button animations */
  201. .action-failed {
  202. animation: kf-action-failed 1s;
  203. }
  204. @keyframes kf-action-failed {
  205. 20% { background-color: red; }
  206. }
  207. .action-success {
  208. animation: kf-action-success 1s;
  209. }
  210. @keyframes kf-action-success {
  211. 20% { background-color: limegreen; }
  212. }
  213. .action-nonzero-exit {
  214. animation: kf-action-nonzero-exit 1s;
  215. }
  216. @keyframes kf-action-nonzero-exit {
  217. 20% { background-color: orange; }
  218. }
  219. .action-timeout {
  220. animation: kf-action-timeout 1s;
  221. }
  222. @keyframes kf-action-timeout {
  223. 20% { background-color: cyan; }
  224. }
  225. .action-blocked {
  226. animation: kf-action-blocked 1s;
  227. }
  228. @keyframes kf-action-blocked {
  229. 20% { background-color: purple; }
  230. }
  231. footer,
  232. footer a {
  233. color: black;
  234. }
  235. img.logo {
  236. width: 1em;
  237. height: 1em;
  238. vertical-align: middle;
  239. }
  240. main {
  241. padding: 1em;
  242. padding-top: 3em;
  243. }
  244. summary {
  245. cursor: pointer;
  246. }
  247. details {
  248. display: inline-block;
  249. }
  250. details[open] {
  251. margin-top: 1em;
  252. display: block;
  253. }
  254. form div.wrapper {
  255. background-color: white;
  256. text-align: left;
  257. }
  258. label {
  259. width: 20%;
  260. text-align: right;
  261. display: inline-block;
  262. padding-right: 1em;
  263. }
  264. #perma-widget {
  265. position: absolute;
  266. top: 1em;
  267. left: 1em;
  268. z-index: 2;
  269. }
  270. #perma-widget label {
  271. display: inline;
  272. }
  273. input {
  274. padding: 0.6em;
  275. }
  276. input:invalid {
  277. outline: 2px solid red;
  278. }
  279. form .wrapper span.icon {
  280. display: inline-block;
  281. vertical-align: middle;
  282. }
  283. form input[type="submit"]:first-child {
  284. margin-right: 1em;
  285. }
  286. button[name="cancel"]:hover {
  287. background-color: salmon;
  288. }
  289. input[name="start"]:hover {
  290. background-color: #aceaac;
  291. }
  292. span.argument-description {
  293. margin-left: 1em;
  294. }
  295. form div.buttons {
  296. text-align: right;
  297. }
  298. pre {
  299. border: 1px solid gray;
  300. padding: 1em;
  301. min-height: 1em;
  302. }
  303. td.exit-code {
  304. text-align: center;
  305. }
  306. input.invalid {
  307. background-color: salmon;
  308. }
  309. #available-version {
  310. background-color: #aceaac;
  311. padding: 0.2em;
  312. border-radius: 1em;
  313. }
  314. span.tag {
  315. background-color: lightgray;
  316. border-radius: 0.6em;
  317. padding: 0.2em;
  318. }
  319. @media (prefers-color-scheme: dark) {
  320. body {
  321. background-color: #333;
  322. color: white;
  323. }
  324. form.action-arguments {
  325. background-color: #333;
  326. }
  327. form div.wrapper {
  328. background-color: #222;
  329. }
  330. button,
  331. input[type="submit"] {
  332. border: 1px solid #666;
  333. background-color: #222;
  334. box-shadow: 0 0 6px 0 #444;
  335. color: white;
  336. }
  337. button:disabled {
  338. background-color: black;
  339. }
  340. table,
  341. td,
  342. th {
  343. border: 1px solid gray;
  344. }
  345. td,
  346. tr {
  347. background-color: #222;
  348. color: white;
  349. }
  350. tr:hover td {
  351. background-color: #666;
  352. }
  353. footer,
  354. footer a {
  355. color: gray;
  356. }
  357. }