style.css 11 KB

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