style.css 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594
  1. body {
  2. background-color: #dee3e7;
  3. color: black;
  4. font-family: sans-serif;
  5. margin: 0;
  6. padding: 0;
  7. text-align: center;
  8. display: flex;
  9. flex-direction: column;
  10. }
  11. dialog {
  12. box-shadow: 0 0 6px 0 #444;
  13. max-width: 600px;
  14. min-width: 60%;
  15. text-align: left;
  16. padding: 0;
  17. }
  18. dialog.big {
  19. max-width: 100vw;
  20. width: 100vw;
  21. height: 100vh;
  22. border: none;
  23. margin: 0;
  24. }
  25. fieldset {
  26. display: grid;
  27. grid-template-columns: repeat(auto-fit, 180px);
  28. grid-auto-rows: 1fr;
  29. grid-gap: 1em;
  30. padding: 0;
  31. text-align: center;
  32. justify-content: center;
  33. border: 0;
  34. }
  35. footer {
  36. font-size: smaller;
  37. }
  38. footer span {
  39. display: inline-block;
  40. }
  41. a {
  42. color: black;
  43. }
  44. nav ul li a {
  45. display: block;
  46. padding: 0.5em 1em;
  47. user-select: none;
  48. text-decoration: none;
  49. }
  50. a:focus {
  51. background-color: black;
  52. color: white;
  53. outline: 1px solid black;
  54. }
  55. nav ul li a:hover {
  56. background-color: #efefef;
  57. color: black;
  58. cursor: pointer;
  59. }
  60. #sidebar-toggler-button {
  61. height: 2em;
  62. width: 2em;
  63. text-align: center;
  64. display: inline-grid;
  65. place-items: center;
  66. margin-left: 1em;
  67. padding: 0;
  68. }
  69. #username {
  70. margin-right: 1em;
  71. font-size: small;
  72. }
  73. nav {
  74. display: none;
  75. left: -250px;
  76. }
  77. nav.topbar {
  78. display: flex;
  79. flex-direction: row;
  80. place-content: end;
  81. border-radius: .5em;
  82. padding-right: 1em;
  83. padding-left: 1em;
  84. flex-grow: 1;
  85. }
  86. nav.sidebar {
  87. background-color: white;
  88. position: fixed;
  89. width: 180px;
  90. height: 100dvh;
  91. top: 0;
  92. transition: left 0.5s ease;
  93. box-shadow: 0 0 10px 0 #444;
  94. z-index: -1;
  95. flex-direction: column;
  96. display: flex;
  97. }
  98. nav.shown {
  99. left: 0;
  100. }
  101. .sidebar #navigation-links {
  102. padding-top: 4em;
  103. flex-grow: 1;
  104. }
  105. #supplemental-links {
  106. flex-grow: 0;
  107. }
  108. h1 {
  109. display: inline;
  110. font-size: small;
  111. padding-left: .5em;
  112. flex-grow: 1;
  113. }
  114. nav ul {
  115. margin: 0;
  116. padding: 0;
  117. }
  118. nav.topbar ul {
  119. display: inline-block;
  120. }
  121. nav.topbar ul li {
  122. display: inline-block;
  123. font-size: small;
  124. }
  125. nav.topbar ul li a {
  126. border-radius: .5em;
  127. }
  128. nav.sidebar ul li {
  129. list-style: none;
  130. text-align: left;
  131. border-bottom: 1px inset black;
  132. }
  133. table {
  134. background-color: white;
  135. border-collapse: collapse;
  136. width: 100%;
  137. box-shadow: 0 0 5px 0 #444;
  138. }
  139. th,
  140. td {
  141. border: 1px solid #efefef;
  142. text-align: left;
  143. padding: 0.6em;
  144. }
  145. th:first-child {
  146. width: 5%;
  147. }
  148. tr:hover td {
  149. background-color: beige;
  150. }
  151. legend {
  152. padding-top: 1em;
  153. text-align: center;
  154. width: 100%;
  155. padding-bottom: 1em;
  156. font-weight: bold;
  157. }
  158. span.icon {
  159. display: block;
  160. font-size: 3em;
  161. }
  162. .action-header {
  163. display: flex;
  164. align-items: center;
  165. }
  166. .action-header span.icon,
  167. tr.log-row span.icon {
  168. display: inline-block;
  169. padding-right: 0.2em;
  170. vertical-align: middle;
  171. }
  172. .error {
  173. background-color: salmon;
  174. color: black;
  175. }
  176. .title.temporary-status-message {
  177. color: gray;
  178. }
  179. h2 {
  180. display: inline-block;
  181. font-size: 1em;
  182. margin-top: 0;
  183. flex-grow: 1;
  184. }
  185. div.entity h2 {
  186. grid-column: 1 / span all;
  187. }
  188. details {
  189. display: inline-block;
  190. }
  191. details[open] {
  192. margin-top: 1em;
  193. display: block;
  194. }
  195. /* General Buttons */
  196. button,
  197. input[type="submit"]
  198. {
  199. padding: 1em;
  200. color: black;
  201. text-align: center;
  202. border: 1px solid #999;
  203. background-color: white;
  204. box-shadow: 0 0 6px 0 #aaa;
  205. user-select: none;
  206. transition: background-color 1s ease, color 1s ease;
  207. }
  208. fieldset button {
  209. border-radius: .7em;
  210. }
  211. /* Action Buttons */
  212. action-button {
  213. display: flex;
  214. flex-direction: column;
  215. }
  216. action-button button {
  217. flex-grow: 1;
  218. width: 100%;
  219. z-index: 1;
  220. }
  221. span.title {
  222. display: inline;
  223. }
  224. action-button details {
  225. flex-grow: 1;
  226. }
  227. action-button details[open] {
  228. margin-top: 0;
  229. }
  230. action-button details summary div {
  231. display: inline-flex;
  232. }
  233. action-button details summary div span:first-child {
  234. flex-grow: 1;
  235. }
  236. .action-button-footer {
  237. text-align: left;
  238. font-size: smaller;
  239. overflow: auto;
  240. }
  241. execution-button {
  242. display: inline-block;
  243. margin-right: .2em;
  244. margin-left: .2em;
  245. margin-top: .2em;
  246. }
  247. execution-button button {
  248. margin-top: 0.2em;
  249. margin-bottom: 0.2em;
  250. }
  251. /* Button states */
  252. button:hover,
  253. input[type="submit"]:hover {
  254. box-shadow: 0 0 10px 0 #666;
  255. cursor: pointer;
  256. }
  257. button:focus,
  258. input[type="submit"]:focus {
  259. outline: 1px solid black;
  260. }
  261. button:disabled,
  262. input[type="submit"]:disabled {
  263. color: #3c3c3c;
  264. background-color: #cecece;
  265. cursor: not-allowed;
  266. }
  267. .action-failed {
  268. background-color: red;
  269. }
  270. .action-success {
  271. background-color: limegreen;
  272. }
  273. .action-nonzero-exit {
  274. background-color: orange;
  275. }
  276. .action-timeout {
  277. background-color: cyan;
  278. }
  279. .action-blocked {
  280. background-color: purple;
  281. color: white;
  282. }
  283. img.logo {
  284. width: 1em;
  285. height: 1em;
  286. vertical-align: middle;
  287. }
  288. main {
  289. padding: 1em;
  290. padding-top: 3.5em;
  291. }
  292. summary {
  293. cursor: pointer;
  294. }
  295. form div.wrapper {
  296. background-color: white;
  297. text-align: left;
  298. }
  299. label {
  300. min-width: 20%;
  301. text-align: right;
  302. display: inline-block;
  303. padding-right: 1em;
  304. }
  305. header {
  306. text-align: left;
  307. display: flex;
  308. flex-direction: row;
  309. z-index: 3;
  310. align-items: center;
  311. padding-bottom: .2em;
  312. padding-top: 1em;
  313. position: fixed;
  314. background-color: #dee3e7;
  315. width: 100vw;
  316. }
  317. input {
  318. padding: 0.6em;
  319. }
  320. input:invalid {
  321. outline: 2px solid red;
  322. }
  323. form .wrapper span.icon {
  324. display: inline-block;
  325. vertical-align: middle;
  326. }
  327. button[name="cancel"]:hover {
  328. background-color: salmon;
  329. color: black;
  330. }
  331. input[name="start"]:hover {
  332. background-color: #aceaac;
  333. color: black;
  334. }
  335. span.argument-description {
  336. margin-left: 1em;
  337. }
  338. p.argument-wrapper {
  339. display: flex;
  340. }
  341. div.buttons {
  342. display: flex;
  343. justify-content: end;
  344. gap: 1em;
  345. }
  346. td.exit-code {
  347. text-align: center;
  348. }
  349. input.invalid {
  350. background-color: salmon;
  351. }
  352. #available-version {
  353. background-color: #aceaac;
  354. padding: 0.2em;
  355. border-radius: 1em;
  356. }
  357. span.tag {
  358. background-color: lightgray;
  359. border-radius: 0.6em;
  360. padding: 0.2em;
  361. }
  362. div.toolbar {
  363. padding: .4em;
  364. text-align: left;
  365. background-color: #efefef;
  366. border: 1px solid #999;
  367. border-bottom: 0;
  368. display: flex;
  369. flex-direction: row;
  370. }
  371. div.toolbar * {
  372. margin-right: 1em;
  373. }
  374. div.display {
  375. border: 1px solid #666;
  376. box-shadow: 0 0 6px 0 #aaa;
  377. border-radius: .7em;
  378. display: flex;
  379. align-items: center;
  380. place-content: center center;
  381. flex-direction: column;
  382. font-size: small;
  383. }
  384. #execution-dialog-xterm {
  385. overflow: scroll;
  386. }
  387. .padded-content {
  388. padding: 1em;
  389. }
  390. .xterm {
  391. padding: 1em;
  392. }
  393. @media screen and (width <= 600px) {
  394. fieldset {
  395. grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  396. }
  397. label {
  398. text-align: left;
  399. margin-bottom: .6em;
  400. font-weight: bold;
  401. min-width: auto;
  402. }
  403. p.argument-wrapper {
  404. flex-direction: column;
  405. }
  406. span.argument-description {
  407. margin-left: 0;
  408. margin-top: .6em;
  409. }
  410. dialog {
  411. border-left: 0;
  412. border-right: 0;
  413. margin-left: 0;
  414. margin-right: 0;
  415. width: 100vw;
  416. max-width: 100vw;
  417. }
  418. .xterm {
  419. margin-left: 0;
  420. margin-right: 0;
  421. width: fit-content;
  422. }
  423. }
  424. @media (prefers-color-scheme: dark) {
  425. body, header {
  426. background-color: #333;
  427. color: white;
  428. }
  429. dialog {
  430. background-color: #222;
  431. color: white;
  432. }
  433. form div.wrapper {
  434. background-color: #222;
  435. }
  436. button,
  437. input[type="submit"] {
  438. border: 1px solid #666;
  439. background-color: #222;
  440. box-shadow: 0 0 6px 0 #444;
  441. color: white;
  442. }
  443. button:focus,
  444. input[type="submit"]:focus {
  445. outline: 2px solid #72B7F4;
  446. }
  447. footer {
  448. color: #bbb;
  449. }
  450. a, a:visited {
  451. color: #bbb;
  452. }
  453. a:focus {
  454. background-color: #72B7F4;
  455. color: black;
  456. outline: 1px solid #72B7F4;
  457. }
  458. nav.sidebar {
  459. background-color: #111;
  460. color: white;
  461. }
  462. nav ul li a:hover {
  463. background-color: #666;
  464. color: white;
  465. }
  466. button:disabled {
  467. background-color: black;
  468. }
  469. table,
  470. td,
  471. th {
  472. border: 1px solid gray;
  473. }
  474. td,
  475. tr {
  476. background-color: #222;
  477. color: white;
  478. }
  479. tr:hover td {
  480. background-color: #666;
  481. }
  482. div.toolbar {
  483. background-color: black;
  484. }
  485. div.display {
  486. box-shadow: 0 0 6px 0 #444;
  487. }
  488. }