style.css 6.1 KB

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