style.css 8.9 KB

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