style.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779
  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. font-family: sans-serif;
  37. display: grid;
  38. grid-template-columns: repeat(auto-fit, 180px);
  39. grid-auto-rows: 1fr;
  40. grid-gap: 1em;
  41. padding: 0;
  42. text-align: center;
  43. justify-content: center;
  44. border: 0;
  45. }
  46. footer {
  47. font-size: smaller;
  48. }
  49. footer span {
  50. display: inline-block;
  51. }
  52. a {
  53. color: black;
  54. }
  55. nav ul li a {
  56. display: block;
  57. padding: 0.5em 1em;
  58. user-select: none;
  59. text-decoration: none;
  60. font-size: small;
  61. }
  62. a:focus {
  63. background-color: black;
  64. color: white;
  65. outline: 1px solid black;
  66. }
  67. nav ul li a:hover {
  68. background-color: #efefef;
  69. color: black;
  70. cursor: pointer;
  71. border: 0;
  72. outline: 0;
  73. }
  74. nav ul li a.selected {
  75. background-color: #c4cdd4;
  76. color: black;
  77. outline: 0;
  78. }
  79. #sidebar-toggler-button {
  80. height: 2em;
  81. width: 2em;
  82. text-align: center;
  83. display: inline-grid;
  84. place-items: center;
  85. margin-left: 1em;
  86. padding: 0;
  87. }
  88. .userinfo {
  89. padding-right: 1em;
  90. font-size: small;
  91. }
  92. .userinfo svg, .userinfo span {
  93. vertical-align: middle;
  94. }
  95. nav {
  96. left: -250px;
  97. }
  98. nav.topbar {
  99. display: flex;
  100. flex-direction: row;
  101. place-content: end;
  102. border-radius: .5em;
  103. padding-right: 1em;
  104. padding-left: 1em;
  105. flex-grow: 1;
  106. }
  107. nav.sidebar {
  108. background-color: white;
  109. position: fixed;
  110. width: 180px;
  111. height: 100dvh;
  112. top: 0;
  113. transition: left 0.5s ease, visibility 0.5s ease;
  114. box-shadow: 0 0 10px 0 #444;
  115. z-index: -1;
  116. flex-direction: column;
  117. display: flex;
  118. visibility: hidden;
  119. }
  120. nav.sidebar.shown {
  121. visibility: visible;
  122. left: 0;
  123. }
  124. .sidebar #navigation-links {
  125. padding-top: 4em;
  126. flex-grow: 1;
  127. }
  128. #supplemental-links {
  129. flex-grow: 0;
  130. }
  131. h1 {
  132. display: inline;
  133. font-size: small;
  134. padding-left: .5em;
  135. flex-grow: 1;
  136. margin: 0;
  137. }
  138. dialog h1 {
  139. padding-left: 0;
  140. }
  141. nav ul {
  142. margin: 0;
  143. padding: 0;
  144. }
  145. nav.topbar ul {
  146. display: inline-block;
  147. }
  148. nav.topbar ul li {
  149. display: inline-block;
  150. font-size: small;
  151. }
  152. nav.topbar ul li a {
  153. border-radius: .5em;
  154. }
  155. nav.sidebar ul li {
  156. list-style: none;
  157. text-align: left;
  158. border-bottom: 1px solid #ccc;
  159. }
  160. table {
  161. background-color: white;
  162. border-collapse: collapse;
  163. width: 100%;
  164. }
  165. th,
  166. td {
  167. border-top: 1px solid #efefef;
  168. text-align: left;
  169. padding: 0.6em;
  170. }
  171. th:first-child {
  172. width: 5%;
  173. }
  174. tr:hover td {
  175. background-color: beige;
  176. }
  177. legend {
  178. font-family: sans-serif;
  179. padding-top: 1em;
  180. text-align: center;
  181. width: 100%;
  182. padding-bottom: 1em;
  183. font-weight: bold;
  184. }
  185. span.icon {
  186. display: block;
  187. font-size: 3em;
  188. }
  189. span.icon img {
  190. width: 1em;
  191. }
  192. .action-header {
  193. display: flex;
  194. align-items: center;
  195. }
  196. .action-header span.icon,
  197. tr.log-row span.icon {
  198. display: inline-block;
  199. padding-right: 0.2em;
  200. vertical-align: middle;
  201. }
  202. .error {
  203. background-color: salmon;
  204. color: black;
  205. }
  206. .title.temporary-status-message {
  207. color: gray;
  208. }
  209. h2 {
  210. display: inline-block;
  211. font-size: 1em;
  212. margin-top: 0;
  213. flex-grow: 1;
  214. }
  215. div.entity h2 {
  216. grid-column: 1 / span all;
  217. }
  218. details {
  219. display: inline-block;
  220. flex-grow: 1;
  221. }
  222. /* General Buttons */
  223. button,
  224. input[type="submit"]
  225. {
  226. font-family: sans-serif;
  227. padding: 1em;
  228. color: black;
  229. text-align: center;
  230. border: 1px solid #999;
  231. background-color: white;
  232. box-shadow: 0 0 6px 0 #aaa;
  233. user-select: none;
  234. transition: background-color 1s ease, color .3s ease;
  235. }
  236. input[type="checkbox"] {
  237. justify-self: baseline;
  238. }
  239. fieldset button {
  240. border-radius: .7em;
  241. }
  242. /* Action Buttons */
  243. action-button {
  244. display: flex;
  245. flex-direction: column;
  246. }
  247. action-button button {
  248. flex-grow: 1;
  249. width: 100%;
  250. z-index: 1;
  251. }
  252. span.title {
  253. display: inline;
  254. }
  255. action-button details {
  256. flex-grow: 1;
  257. }
  258. action-button details[open] {
  259. margin-top: 0;
  260. }
  261. action-button details summary div {
  262. display: inline-flex;
  263. }
  264. action-button details summary div span:first-child {
  265. flex-grow: 1;
  266. }
  267. .action-button-footer {
  268. text-align: left;
  269. font-size: smaller;
  270. overflow: auto;
  271. }
  272. execution-button {
  273. display: inline-block;
  274. margin-right: .2em;
  275. margin-left: .2em;
  276. margin-top: .2em;
  277. }
  278. execution-button button {
  279. margin-top: 0.2em;
  280. margin-bottom: 0.2em;
  281. }
  282. /* Button states */
  283. button:hover,
  284. input[type="submit"]:hover {
  285. box-shadow: 0 0 10px 0 #666;
  286. cursor: pointer;
  287. }
  288. button:focus,
  289. input[type="submit"]:focus {
  290. outline: 1px solid black;
  291. }
  292. button:disabled,
  293. input[type="submit"]:disabled {
  294. color: #3c3c3c;
  295. background-color: #cecece;
  296. cursor: not-allowed;
  297. }
  298. .action-status {
  299. padding: .4em;
  300. border-radius: .4em;
  301. }
  302. .action-failed {
  303. background-color: #e78284;
  304. }
  305. .action-success {
  306. background-color: #a6d189;
  307. color: black;
  308. }
  309. .action-nonzero-exit {
  310. background-color: #ef9f76;
  311. color: black;
  312. }
  313. .action-timeout {
  314. background-color: #99d1db;
  315. color: black;
  316. }
  317. .action-blocked {
  318. background-color: #ca9ee6;
  319. color: black;
  320. }
  321. img.logo {
  322. width: 1em;
  323. height: 1em;
  324. vertical-align: middle;
  325. }
  326. main {
  327. padding: 1em;
  328. padding-top: 3.5em;
  329. flex-grow: 1;
  330. }
  331. summary {
  332. cursor: pointer;
  333. }
  334. form div.wrapper {
  335. background-color: white;
  336. text-align: left;
  337. }
  338. label {
  339. text-align: right;
  340. display: inline-block;
  341. }
  342. header {
  343. text-align: left;
  344. display: flex;
  345. flex-direction: row;
  346. z-index: 3;
  347. align-items: center;
  348. padding-bottom: .2em;
  349. padding-top: 1em;
  350. position: fixed;
  351. background-color: #dee3e7;
  352. width: 100vw;
  353. }
  354. input {
  355. font-family: sans-serif;
  356. padding: 0.6em;
  357. }
  358. input:invalid {
  359. outline: 2px solid red;
  360. }
  361. form .wrapper span.icon {
  362. display: inline-block;
  363. vertical-align: middle;
  364. }
  365. button[name="cancel"]:hover {
  366. background-color: salmon;
  367. color: black;
  368. }
  369. input[name="start"]:hover {
  370. background-color: #aceaac;
  371. color: black;
  372. }
  373. div.arguments {
  374. display: grid;
  375. 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 */
  376. grid-template-rows: auto;
  377. grid-gap: 1em;
  378. align-items: center;
  379. }
  380. p.argument-wrapper {
  381. display: flex;
  382. }
  383. div.buttons {
  384. display: flex;
  385. justify-content: end;
  386. gap: 1em;
  387. }
  388. input.invalid {
  389. background-color: salmon;
  390. }
  391. #available-version {
  392. background-color: #aceaac;
  393. padding: 0.2em;
  394. border-radius: 1em;
  395. }
  396. span.tag {
  397. border-radius: 0.4em;
  398. margin-top: .2em;
  399. margin-right: .2em;
  400. display: inline-block;
  401. background-color: lightgray;
  402. padding: .4em;
  403. color: black;
  404. }
  405. span.annotation {
  406. display: inline-block;
  407. margin-top: .2em;
  408. margin-right: .2em;
  409. }
  410. span.annotation-key {
  411. padding: 0.4em;
  412. border-radius: 0.4em 0 0 .4em;
  413. display: inline-block;
  414. background-color: lightgray;
  415. color: #666;
  416. }
  417. span.annotation-value {
  418. padding: 0.4em;
  419. border-radius: 0 .4em .4em 0;
  420. display: inline-block;
  421. background-color: lightgray;
  422. color: black;
  423. }
  424. .box-shadow {
  425. box-shadow: 0 0 5px 0 #444;
  426. background-color: #fff;
  427. text-align: left;
  428. }
  429. .border-radius {
  430. border-radius: .7em;
  431. }
  432. .box-shadow p {
  433. padding: .6em;
  434. margin: 0;
  435. }
  436. div.toolbar {
  437. padding: .4em;
  438. text-align: left;
  439. background-color: #fff;
  440. display: flex;
  441. flex-direction: row;
  442. }
  443. div.display {
  444. border: 1px solid #666;
  445. box-shadow: 0 0 6px 0 #aaa;
  446. border-radius: .7em;
  447. display: flex;
  448. align-items: center;
  449. place-content: center center;
  450. flex-direction: column;
  451. font-size: small;
  452. }
  453. #execution-dialog-xterm {
  454. flex-grow: 1;
  455. }
  456. .padded-content {
  457. padding: 1em;
  458. }
  459. .padded-content-sides {
  460. padding-left: 1em;
  461. padding-right: 1em;
  462. }
  463. .ta-left {
  464. text-align: left;
  465. }
  466. .xterm {
  467. padding: 1em;
  468. }
  469. .flex-col {
  470. display: flex;
  471. flex-direction: column;
  472. }
  473. label.input-with-icons {
  474. border: 1px solid #ccc;
  475. display: flex;
  476. flex-direction: row;
  477. align-items: center;
  478. }
  479. label.input-with-icons input {
  480. border: 0;
  481. padding: .6em;
  482. flex-grow: 1;
  483. }
  484. label.input-with-icons svg {
  485. font-size: 1.5em;
  486. }
  487. label.input-with-icons button {
  488. border: 0;
  489. background-color: transparent;
  490. padding-top: 0;
  491. padding-bottom: 0;
  492. box-shadow: none;
  493. transition: color .3s ease;
  494. }
  495. label.input-with-icons button:disabled {
  496. display: none;
  497. }
  498. #content-login hr {
  499. border: 0;
  500. border-top: 1px dashed #ccc;
  501. }
  502. #content-login button {
  503. display: block;
  504. width: 100%;
  505. grid-column: 1 / span 3;
  506. margin-bottom: 1em;
  507. font-weight: bold;
  508. background-color: #ced3d7;
  509. }
  510. #content-login button:last-child {
  511. margin-bottom: 0;
  512. }
  513. #content-login ul {
  514. list-style: none;
  515. padding: 0;
  516. }
  517. #content-login form {
  518. width: auto;
  519. place-self: center;
  520. }
  521. .oauth2-icon {
  522. font-size: 1.8em;
  523. vertical-align: middle;
  524. }
  525. @media screen and (width <= 600px) {
  526. fieldset {
  527. grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  528. }
  529. label {
  530. text-align: left;
  531. margin-bottom: .6em;
  532. font-weight: bold;
  533. }
  534. p.argument-wrapper {
  535. flex-direction: column;
  536. }
  537. div.arguments {
  538. grid-template-columns: auto;
  539. }
  540. dialog {
  541. border-left: 0;
  542. border-right: 0;
  543. margin-left: 0;
  544. margin-right: 0;
  545. width: 100vw;
  546. max-width: 100vw;
  547. }
  548. .xterm {
  549. margin-left: 0;
  550. margin-right: 0;
  551. width: fit-content;
  552. }
  553. }
  554. @media (prefers-color-scheme: dark) {
  555. body, header {
  556. background-color: #333;
  557. color: white;
  558. }
  559. .box-shadow {
  560. box-shadow: 0 0 6px 0 #625c5c;
  561. background-color: #222;
  562. }
  563. dialog {
  564. background-color: #222;
  565. color: white;
  566. }
  567. form div.wrapper {
  568. background-color: #222;
  569. }
  570. label.input-with-icons {
  571. border: 1px solid #666;
  572. background-color: #383838;
  573. }
  574. input {
  575. background-color: #383838;
  576. color: white;
  577. }
  578. button,
  579. input[type="submit"] {
  580. border: 1px solid #666;
  581. background-color: #222;
  582. box-shadow: 0 0 6px 0 #444;
  583. color: white;
  584. }
  585. button:focus,
  586. input[type="submit"]:focus {
  587. outline: 2px solid #72B7F4;
  588. }
  589. footer {
  590. color: #bbb;
  591. }
  592. a, a:visited {
  593. color: #bbb;
  594. }
  595. a:focus {
  596. background-color: #72B7F4;
  597. color: black;
  598. outline: 1px solid #72B7F4;
  599. }
  600. nav.sidebar {
  601. background-color: #111;
  602. color: white;
  603. }
  604. nav.sidebar ul li {
  605. border-bottom: 1px solid #3e3e3e;
  606. }
  607. nav ul li a:hover {
  608. background-color: #1b5988;
  609. color: white;
  610. }
  611. nav ul li a.selected {
  612. background-color: #0c3351;
  613. color: white;
  614. }
  615. button:disabled {
  616. background-color: black;
  617. }
  618. table,
  619. td,
  620. th {
  621. border-top: 1px solid gray;
  622. }
  623. td,
  624. tr {
  625. background-color: #222;
  626. color: white;
  627. }
  628. tr:hover td {
  629. background-color: #1b5988;
  630. }
  631. div.toolbar {
  632. background-color: black;
  633. }
  634. div.display {
  635. box-shadow: 0 0 6px 0 #444;
  636. }
  637. #content-login button {
  638. background-color: #000;
  639. border: 1px solid #666;
  640. color: white;
  641. }
  642. }