style.css 6.1 KB

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