style.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782
  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. transition: none;
  225. font-weight: bold;
  226. border-radius: .7em;
  227. box-shadow: none;
  228. font-size: 1em;
  229. padding: 0.6em 1em;
  230. border: 1px solid #ccc;
  231. font-family: sans-serif;
  232. color: black;
  233. text-align: center;
  234. background-color: white;
  235. user-select: none;
  236. }
  237. action-button {
  238. display: flex;
  239. flex-direction: column;
  240. }
  241. action-button button {
  242. font-size: .85em;
  243. font-weight: normal;
  244. flex-grow: 1;
  245. width: 100%;
  246. z-index: 1;
  247. padding: 1em;
  248. box-shadow: 0 0 6px 0 #aaa;
  249. transition: background-color 1s ease, color .3s ease;
  250. }
  251. execution-button button {
  252. margin-top: 0.2em;
  253. margin-bottom: 0.2em;
  254. }
  255. button:focus {
  256. outline: 1px solid black;
  257. }
  258. button:hover {
  259. background-color: #ececec;
  260. color: black;
  261. cursor: pointer;
  262. }
  263. button:disabled {
  264. color: #3c3c3c;
  265. background-color: #cecece;
  266. cursor: not-allowed;
  267. text-decoration: line-through;
  268. }
  269. button[name="cancel"]:hover {
  270. background-color: salmon;
  271. color: black;
  272. }
  273. button[name="start"]:hover {
  274. background-color: #aceaac;
  275. color: black;
  276. }
  277. action-button button:hover {
  278. box-shadow: 0 0 10px 0 #666;
  279. }
  280. span.title {
  281. display: inline;
  282. }
  283. action-button details {
  284. flex-grow: 1;
  285. }
  286. action-button details[open] {
  287. margin-top: 0;
  288. }
  289. action-button details summary div {
  290. display: inline-flex;
  291. }
  292. action-button details summary div span:first-child {
  293. flex-grow: 1;
  294. }
  295. .action-button-footer {
  296. text-align: left;
  297. font-size: smaller;
  298. overflow: auto;
  299. }
  300. execution-button {
  301. display: inline-block;
  302. margin-right: .2em;
  303. margin-left: .2em;
  304. margin-top: .2em;
  305. }
  306. .action-status {
  307. padding: .4em;
  308. border-radius: .4em;
  309. }
  310. .action-failed {
  311. background-color: #e78284;
  312. }
  313. .action-success {
  314. background-color: #a6d189;
  315. color: black;
  316. }
  317. .action-nonzero-exit {
  318. background-color: #ef9f76;
  319. color: black;
  320. }
  321. .action-timeout {
  322. background-color: #99d1db;
  323. color: black;
  324. }
  325. .action-blocked {
  326. background-color: #ca9ee6;
  327. color: black;
  328. }
  329. img.logo {
  330. width: 1em;
  331. height: 1em;
  332. vertical-align: middle;
  333. }
  334. main {
  335. padding: 1em;
  336. padding-top: 3.5em;
  337. flex-grow: 1;
  338. }
  339. summary {
  340. cursor: pointer;
  341. }
  342. form div.wrapper {
  343. background-color: white;
  344. text-align: left;
  345. }
  346. label {
  347. text-align: right;
  348. display: inline-block;
  349. }
  350. header {
  351. text-align: left;
  352. display: flex;
  353. flex-direction: row;
  354. z-index: 3;
  355. align-items: center;
  356. padding-bottom: .2em;
  357. padding-top: 1em;
  358. position: fixed;
  359. background-color: #dee3e7;
  360. width: 100vw;
  361. }
  362. input {
  363. font-family: sans-serif;
  364. padding: 0.6em;
  365. border: 1px solid #ccc;
  366. border-radius: .4em;
  367. }
  368. input:invalid {
  369. outline: 2px solid red;
  370. }
  371. input[type="checkbox"] {
  372. justify-self: baseline;
  373. }
  374. form .wrapper span.icon {
  375. display: inline-block;
  376. vertical-align: middle;
  377. }
  378. div.arguments {
  379. display: grid;
  380. 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 */
  381. grid-template-rows: auto;
  382. grid-gap: 1em;
  383. align-items: center;
  384. }
  385. p.argument-wrapper {
  386. display: flex;
  387. }
  388. div.buttons {
  389. display: flex;
  390. justify-content: end;
  391. gap: 1em;
  392. }
  393. input.invalid {
  394. background-color: salmon;
  395. }
  396. #available-version {
  397. background-color: #aceaac;
  398. padding: 0.2em;
  399. border-radius: 1em;
  400. }
  401. span.tag {
  402. border-radius: 0.4em;
  403. margin-top: .2em;
  404. margin-right: .2em;
  405. display: inline-block;
  406. background-color: lightgray;
  407. padding: .4em;
  408. color: black;
  409. }
  410. span.annotation {
  411. display: inline-block;
  412. margin-top: .2em;
  413. margin-right: .2em;
  414. }
  415. span.annotation-key {
  416. padding: 0.4em;
  417. border-radius: 0.4em 0 0 .4em;
  418. display: inline-block;
  419. background-color: lightgray;
  420. color: #666;
  421. }
  422. span.annotation-value {
  423. padding: 0.4em;
  424. border-radius: 0 .4em .4em 0;
  425. display: inline-block;
  426. background-color: lightgray;
  427. color: black;
  428. }
  429. .box-shadow {
  430. box-shadow: 0 0 5px 0 #444;
  431. background-color: #fff;
  432. text-align: left;
  433. }
  434. .border-radius {
  435. border-radius: .7em;
  436. }
  437. .box-shadow p {
  438. padding: .6em;
  439. margin: 0;
  440. }
  441. div.toolbar {
  442. padding: .4em;
  443. text-align: left;
  444. background-color: #fff;
  445. display: flex;
  446. flex-direction: row;
  447. }
  448. div.display {
  449. border: 1px solid #666;
  450. box-shadow: 0 0 6px 0 #aaa;
  451. border-radius: .7em;
  452. display: flex;
  453. align-items: center;
  454. place-content: center center;
  455. flex-direction: column;
  456. font-size: small;
  457. }
  458. #execution-dialog-xterm {
  459. flex-grow: 1;
  460. }
  461. .padded-content {
  462. padding: 1em;
  463. }
  464. .padded-content-sides {
  465. padding-left: 1em;
  466. padding-right: 1em;
  467. }
  468. .ta-left {
  469. text-align: left;
  470. }
  471. .xterm {
  472. padding: 1em;
  473. }
  474. .flex-col {
  475. display: flex;
  476. flex-direction: column;
  477. }
  478. label.input-with-icons {
  479. border: 1px solid #ccc;
  480. display: flex;
  481. flex-direction: row;
  482. align-items: center;
  483. }
  484. label.input-with-icons input {
  485. border: 0;
  486. padding: .6em;
  487. flex-grow: 1;
  488. }
  489. label.input-with-icons svg {
  490. font-size: 1.5em;
  491. }
  492. label.input-with-icons button {
  493. border: 0;
  494. background-color: transparent;
  495. padding-top: 0;
  496. padding-bottom: 0;
  497. box-shadow: none;
  498. transition: color .3s ease;
  499. }
  500. label.input-with-icons button:disabled {
  501. display: none;
  502. }
  503. #content-login hr {
  504. border: 0;
  505. border-top: 1px dashed #ccc;
  506. }
  507. #content-login button {
  508. width: 100%;
  509. grid-column: 1 / span 3;
  510. margin-bottom: 1em;
  511. }
  512. #content-login button:last-child {
  513. margin-bottom: 0;
  514. }
  515. #content-login ul {
  516. list-style: none;
  517. padding: 0;
  518. }
  519. #content-login form {
  520. width: auto;
  521. place-self: center;
  522. }
  523. .oauth2-icon {
  524. font-size: 1.8em;
  525. vertical-align: middle;
  526. }
  527. @media screen and (width <= 600px) {
  528. fieldset {
  529. grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  530. }
  531. label {
  532. text-align: left;
  533. margin-bottom: .6em;
  534. font-weight: bold;
  535. }
  536. p.argument-wrapper {
  537. flex-direction: column;
  538. }
  539. div.arguments {
  540. grid-template-columns: auto;
  541. }
  542. dialog {
  543. border-left: 0;
  544. border-right: 0;
  545. margin-left: 0;
  546. margin-right: 0;
  547. width: 100vw;
  548. max-width: 100vw;
  549. }
  550. .xterm {
  551. margin-left: 0;
  552. margin-right: 0;
  553. width: fit-content;
  554. }
  555. }
  556. @media (prefers-color-scheme: dark) {
  557. body, header {
  558. background-color: #333;
  559. color: white;
  560. }
  561. .box-shadow {
  562. box-shadow: 0 0 6px 0 #625c5c;
  563. background-color: #222;
  564. }
  565. dialog {
  566. background-color: #222;
  567. color: white;
  568. }
  569. form div.wrapper {
  570. background-color: #222;
  571. }
  572. label.input-with-icons {
  573. border: 1px solid #666;
  574. background-color: #383838;
  575. }
  576. input {
  577. background-color: #383838;
  578. color: white;
  579. border: 1px solid #666;
  580. }
  581. button {
  582. border: 1px solid #666;
  583. background-color: #222;
  584. color: white;
  585. }
  586. action-button button {
  587. box-shadow: 0 0 6px 0 #444;
  588. }
  589. button:focus {
  590. outline: 2px solid #72B7F4;
  591. }
  592. button:disabled {
  593. background-color: black;
  594. }
  595. button:hover {
  596. background-color: #444;
  597. color: white;
  598. }
  599. footer {
  600. color: #bbb;
  601. }
  602. a, a:visited {
  603. color: #bbb;
  604. }
  605. a:focus {
  606. background-color: #72B7F4;
  607. color: black;
  608. outline: 1px solid #72B7F4;
  609. }
  610. nav.sidebar {
  611. background-color: #111;
  612. color: white;
  613. }
  614. nav.sidebar ul li {
  615. border-bottom: 1px solid #3e3e3e;
  616. }
  617. nav ul li a:hover {
  618. background-color: #1b5988;
  619. color: white;
  620. }
  621. nav ul li a.selected {
  622. background-color: #0c3351;
  623. color: white;
  624. }
  625. table,
  626. td,
  627. th {
  628. border-top: 1px solid gray;
  629. }
  630. td,
  631. tr {
  632. background-color: #222;
  633. color: white;
  634. }
  635. tr:hover td {
  636. background-color: #1b5988;
  637. }
  638. div.toolbar {
  639. background-color: black;
  640. }
  641. div.display {
  642. box-shadow: 0 0 6px 0 #444;
  643. }
  644. }