style.css 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610
  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. flex-grow: 1;
  191. }
  192. details[open] {
  193. margin-top: 1em;
  194. display: block;
  195. }
  196. /* General Buttons */
  197. button,
  198. input[type="submit"]
  199. {
  200. padding: 1em;
  201. color: black;
  202. text-align: center;
  203. border: 1px solid #999;
  204. background-color: white;
  205. box-shadow: 0 0 6px 0 #aaa;
  206. user-select: none;
  207. transition: background-color 1s ease, color 1s ease;
  208. }
  209. fieldset button {
  210. border-radius: .7em;
  211. }
  212. /* Action Buttons */
  213. action-button {
  214. display: flex;
  215. flex-direction: column;
  216. }
  217. action-button button {
  218. flex-grow: 1;
  219. width: 100%;
  220. z-index: 1;
  221. }
  222. span.title {
  223. display: inline;
  224. }
  225. action-button details {
  226. flex-grow: 1;
  227. }
  228. action-button details[open] {
  229. margin-top: 0;
  230. }
  231. action-button details summary div {
  232. display: inline-flex;
  233. }
  234. action-button details summary div span:first-child {
  235. flex-grow: 1;
  236. }
  237. .action-button-footer {
  238. text-align: left;
  239. font-size: smaller;
  240. overflow: auto;
  241. }
  242. execution-button {
  243. display: inline-block;
  244. margin-right: .2em;
  245. margin-left: .2em;
  246. margin-top: .2em;
  247. }
  248. execution-button button {
  249. margin-top: 0.2em;
  250. margin-bottom: 0.2em;
  251. }
  252. /* Button states */
  253. button:hover,
  254. input[type="submit"]:hover {
  255. box-shadow: 0 0 10px 0 #666;
  256. cursor: pointer;
  257. }
  258. button:focus,
  259. input[type="submit"]:focus {
  260. outline: 1px solid black;
  261. }
  262. button:disabled,
  263. input[type="submit"]:disabled {
  264. color: #3c3c3c;
  265. background-color: #cecece;
  266. cursor: not-allowed;
  267. }
  268. .action-failed {
  269. background-color: red;
  270. }
  271. .action-success {
  272. background-color: limegreen;
  273. }
  274. .action-nonzero-exit {
  275. background-color: orange;
  276. }
  277. .action-timeout {
  278. background-color: cyan;
  279. }
  280. .action-blocked {
  281. background-color: purple;
  282. color: white;
  283. }
  284. img.logo {
  285. width: 1em;
  286. height: 1em;
  287. vertical-align: middle;
  288. }
  289. main {
  290. padding: 1em;
  291. padding-top: 3.5em;
  292. }
  293. summary {
  294. cursor: pointer;
  295. }
  296. form div.wrapper {
  297. background-color: white;
  298. text-align: left;
  299. }
  300. label {
  301. min-width: 20%;
  302. text-align: right;
  303. display: inline-block;
  304. padding-right: 1em;
  305. }
  306. header {
  307. text-align: left;
  308. display: flex;
  309. flex-direction: row;
  310. z-index: 3;
  311. align-items: center;
  312. padding-bottom: .2em;
  313. padding-top: 1em;
  314. position: fixed;
  315. background-color: #dee3e7;
  316. width: 100vw;
  317. }
  318. input {
  319. padding: 0.6em;
  320. }
  321. input:invalid {
  322. outline: 2px solid red;
  323. }
  324. form .wrapper span.icon {
  325. display: inline-block;
  326. vertical-align: middle;
  327. }
  328. button[name="cancel"]:hover {
  329. background-color: salmon;
  330. color: black;
  331. }
  332. input[name="start"]:hover {
  333. background-color: #aceaac;
  334. color: black;
  335. }
  336. span.argument-description {
  337. margin-left: 1em;
  338. }
  339. p.argument-wrapper {
  340. display: flex;
  341. place-items: center;
  342. }
  343. div.buttons {
  344. display: flex;
  345. justify-content: end;
  346. gap: 1em;
  347. }
  348. td.exit-code {
  349. text-align: center;
  350. }
  351. input.invalid {
  352. background-color: salmon;
  353. }
  354. #available-version {
  355. background-color: #aceaac;
  356. padding: 0.2em;
  357. border-radius: 1em;
  358. }
  359. span.tag {
  360. background-color: lightgray;
  361. border-radius: 0.6em;
  362. padding: 0.2em;
  363. }
  364. div.toolbar {
  365. padding: .4em;
  366. text-align: left;
  367. background-color: #efefef;
  368. border: 1px solid #999;
  369. border-bottom: 0;
  370. display: flex;
  371. flex-direction: row;
  372. }
  373. div.toolbar * {
  374. margin-right: 1em;
  375. }
  376. div.display {
  377. border: 1px solid #666;
  378. box-shadow: 0 0 6px 0 #aaa;
  379. border-radius: .7em;
  380. display: flex;
  381. align-items: center;
  382. place-content: center center;
  383. flex-direction: column;
  384. font-size: small;
  385. }
  386. #execution-dialog-output {
  387. display: flex;
  388. flex-direction: row;
  389. justify-content: start;
  390. }
  391. #execution-dialog-xterm {
  392. overflow: auto;
  393. }
  394. .xterm .xterm-viewport {
  395. overflow-y: auto !important;
  396. }
  397. .padded-content {
  398. padding: 1em;
  399. }
  400. .ta-left {
  401. text-align: left;
  402. }
  403. .xterm {
  404. padding: 1em;
  405. }
  406. @media screen and (width <= 600px) {
  407. fieldset {
  408. grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  409. }
  410. label {
  411. text-align: left;
  412. margin-bottom: .6em;
  413. font-weight: bold;
  414. min-width: auto;
  415. }
  416. p.argument-wrapper {
  417. flex-direction: column;
  418. }
  419. span.argument-description {
  420. margin-left: 0;
  421. margin-top: .6em;
  422. }
  423. dialog {
  424. border-left: 0;
  425. border-right: 0;
  426. margin-left: 0;
  427. margin-right: 0;
  428. width: 100vw;
  429. max-width: 100vw;
  430. }
  431. .xterm {
  432. margin-left: 0;
  433. margin-right: 0;
  434. width: fit-content;
  435. }
  436. }
  437. @media (prefers-color-scheme: dark) {
  438. body, header {
  439. background-color: #333;
  440. color: white;
  441. }
  442. dialog {
  443. background-color: #222;
  444. color: white;
  445. }
  446. form div.wrapper {
  447. background-color: #222;
  448. }
  449. button,
  450. input[type="submit"] {
  451. border: 1px solid #666;
  452. background-color: #222;
  453. box-shadow: 0 0 6px 0 #444;
  454. color: white;
  455. }
  456. button:focus,
  457. input[type="submit"]:focus {
  458. outline: 2px solid #72B7F4;
  459. }
  460. footer {
  461. color: #bbb;
  462. }
  463. a, a:visited {
  464. color: #bbb;
  465. }
  466. a:focus {
  467. background-color: #72B7F4;
  468. color: black;
  469. outline: 1px solid #72B7F4;
  470. }
  471. nav.sidebar {
  472. background-color: #111;
  473. color: white;
  474. }
  475. nav ul li a:hover {
  476. background-color: #666;
  477. color: white;
  478. }
  479. button:disabled {
  480. background-color: black;
  481. }
  482. table,
  483. td,
  484. th {
  485. border: 1px solid gray;
  486. }
  487. td,
  488. tr {
  489. background-color: #222;
  490. color: white;
  491. }
  492. tr:hover td {
  493. background-color: #666;
  494. }
  495. div.toolbar {
  496. background-color: black;
  497. }
  498. div.display {
  499. box-shadow: 0 0 6px 0 #444;
  500. }
  501. }