style.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569
  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. padding: 1em;
  16. text-align: left;
  17. }
  18. dialog.big {
  19. max-width: 100%;
  20. width: calc(100vw - 2em);
  21. height: 100vh;
  22. border: none;
  23. }
  24. fieldset {
  25. display: grid;
  26. grid-template-columns: repeat(auto-fit, 180px);
  27. grid-auto-rows: 1fr;
  28. grid-gap: 1em;
  29. padding: 0;
  30. text-align: center;
  31. justify-content: center;
  32. border: 0;
  33. }
  34. footer {
  35. font-size: smaller;
  36. }
  37. footer span {
  38. display: inline-block;
  39. }
  40. a {
  41. color: black;
  42. }
  43. nav ul li a {
  44. display: block;
  45. padding: 0.5em 1em;
  46. user-select: none;
  47. }
  48. a:focus {
  49. background-color: black;
  50. color: white;
  51. outline: 1px solid black;
  52. }
  53. nav ul li a:hover {
  54. background-color: #efefef;
  55. color: black;
  56. cursor: pointer;
  57. }
  58. #sidebar-toggler-button {
  59. height: 2em;
  60. width: 2em;
  61. text-align: center;
  62. display: inline-grid;
  63. place-items: center;
  64. padding: 0;
  65. }
  66. nav {
  67. display: none;
  68. left: -250px;
  69. }
  70. nav.topbar {
  71. display: flex;
  72. flex-direction: row;
  73. place-content: end;
  74. border-radius: .5em;
  75. padding-right: 1em;
  76. padding-left: 1em;
  77. flex-grow: 1;
  78. }
  79. nav.sidebar {
  80. background-color: white;
  81. position: fixed;
  82. width: 180px;
  83. height: 100dvh;
  84. top: 0;
  85. transition: left 0.5s ease;
  86. box-shadow: 0 0 10px 0 #444;
  87. z-index: -1;
  88. flex-direction: column;
  89. display: flex;
  90. }
  91. nav.shown {
  92. left: 0;
  93. }
  94. .sidebar #navigation-links {
  95. padding-top: 4em;
  96. flex-grow: 1;
  97. }
  98. #supplemental-links {
  99. flex-grow: 0;
  100. }
  101. h1 {
  102. display: inline;
  103. font-size: small;
  104. padding-left: .5em;
  105. }
  106. nav ul {
  107. margin: 0;
  108. padding: 0;
  109. }
  110. nav.topbar ul {
  111. display: inline-block;
  112. }
  113. nav.topbar ul li {
  114. display: inline-block;
  115. font-size: small;
  116. }
  117. nav.topbar ul li a {
  118. border-radius: .5em;
  119. }
  120. nav.sidebar ul li {
  121. list-style: none;
  122. text-align: left;
  123. border-bottom: 1px inset black;
  124. }
  125. table {
  126. background-color: white;
  127. border-collapse: collapse;
  128. width: 100%;
  129. box-shadow: 0 0 5px 0 #444;
  130. }
  131. th,
  132. td {
  133. border: 1px solid #efefef;
  134. text-align: left;
  135. padding: 0.6em;
  136. }
  137. th:first-child {
  138. width: 5%;
  139. }
  140. tr:hover td {
  141. background-color: beige;
  142. }
  143. legend {
  144. padding-top: 1em;
  145. text-align: center;
  146. width: 100%;
  147. padding-bottom: 1em;
  148. font-weight: bold;
  149. }
  150. span.icon {
  151. display: block;
  152. font-size: 3em;
  153. }
  154. .action-header {
  155. display: flex;
  156. align-items: center;
  157. }
  158. .action-header span.icon,
  159. tr.log-row span.icon {
  160. display: inline-block;
  161. padding-right: 0.2em;
  162. vertical-align: middle;
  163. }
  164. .error {
  165. background-color: salmon;
  166. }
  167. .title.temporary-status-message {
  168. color: gray;
  169. }
  170. div.entity {
  171. background-color: white;
  172. box-shadow: 0 0 10px 0 #444;
  173. display: grid;
  174. grid-column: auto / span 2;
  175. grid-row: auto / span 2;
  176. grid-template-rows: auto min-content;
  177. grid-template-columns: minmax(min-content, auto);
  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. }
  191. details[open] {
  192. margin-top: 1em;
  193. display: block;
  194. }
  195. /* General Buttons */
  196. button,
  197. input[type="submit"]
  198. {
  199. padding: 1em;
  200. color: black;
  201. text-align: center;
  202. border: 1px solid #999;
  203. background-color: white;
  204. box-shadow: 0 0 6px 0 #aaa;
  205. user-select: none;
  206. transition: background-color 1s ease, color 1s ease;
  207. }
  208. fieldset button {
  209. border-radius: .7em;
  210. }
  211. /* Action Buttons */
  212. action-button {
  213. display: flex;
  214. flex-direction: column;
  215. }
  216. action-button button {
  217. flex-grow: 1;
  218. width: 100%;
  219. z-index: 1;
  220. }
  221. span.title {
  222. display: inline;
  223. }
  224. action-button details {
  225. flex-grow: 1;
  226. }
  227. action-button details[open] {
  228. margin-top: 0;
  229. }
  230. action-button details summary div {
  231. display: inline-flex;
  232. }
  233. action-button details summary div span:first-child {
  234. flex-grow: 1;
  235. }
  236. .action-button-footer {
  237. text-align: left;
  238. font-size: smaller;
  239. overflow: auto;
  240. }
  241. execution-button {
  242. display: inline-block;
  243. margin-right: .2em;
  244. margin-left: .2em;
  245. margin-top: .2em;
  246. }
  247. execution-button button {
  248. margin-top: 0.2em;
  249. margin-bottom: 0.2em;
  250. }
  251. /* Button states */
  252. button:hover,
  253. input[type="submit"]:hover {
  254. box-shadow: 0 0 10px 0 #666;
  255. cursor: pointer;
  256. }
  257. button:focus,
  258. input[type="submit"]:focus {
  259. outline: 1px solid black;
  260. }
  261. button:disabled,
  262. input[type="submit"]:disabled {
  263. color: #3c3c3c;
  264. background-color: #cecece;
  265. cursor: not-allowed;
  266. }
  267. .action-failed {
  268. background-color: red;
  269. }
  270. .action-success {
  271. background-color: limegreen;
  272. }
  273. .action-nonzero-exit {
  274. background-color: orange;
  275. }
  276. .action-timeout {
  277. background-color: cyan;
  278. }
  279. .action-blocked {
  280. background-color: purple;
  281. color: white;
  282. }
  283. img.logo {
  284. width: 1em;
  285. height: 1em;
  286. vertical-align: middle;
  287. }
  288. main {
  289. padding: 1em;
  290. padding-top: 3.5em;
  291. }
  292. summary {
  293. cursor: pointer;
  294. }
  295. form div.wrapper {
  296. background-color: white;
  297. text-align: left;
  298. }
  299. label {
  300. min-width: 20%;
  301. text-align: right;
  302. display: inline-block;
  303. padding-right: 1em;
  304. }
  305. header {
  306. text-align: left;
  307. display: flex;
  308. flex-direction: row;
  309. z-index: 3;
  310. align-items: center;
  311. padding-left: 1em;
  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. form input[type="submit"]:first-child {
  329. margin-right: 1em;
  330. }
  331. button[name="cancel"]:hover {
  332. background-color: salmon;
  333. color: black;
  334. }
  335. input[name="start"]:hover {
  336. background-color: #aceaac;
  337. color: black;
  338. }
  339. span.argument-description {
  340. margin-left: 1em;
  341. }
  342. p.argument-wrapper {
  343. display: flex;
  344. }
  345. form div.buttons {
  346. text-align: right;
  347. }
  348. pre {
  349. border: 1px solid gray;
  350. padding: 1em;
  351. min-height: 1em;
  352. overflow: auto;
  353. text-align: left;
  354. }
  355. td.exit-code {
  356. text-align: center;
  357. }
  358. input.invalid {
  359. background-color: salmon;
  360. }
  361. #available-version {
  362. background-color: #aceaac;
  363. padding: 0.2em;
  364. border-radius: 1em;
  365. }
  366. span.tag {
  367. background-color: lightgray;
  368. border-radius: 0.6em;
  369. padding: 0.2em;
  370. }
  371. div.toolbar {
  372. padding: .4em;
  373. text-align: left;
  374. background-color: #efefef;
  375. border: 1px solid #999;
  376. border-bottom: 0;
  377. display: flex;
  378. flex-direction: row;
  379. }
  380. div.toolbar * {
  381. margin-right: 1em;
  382. }
  383. @media screen and (width <= 600px) {
  384. fieldset {
  385. grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  386. }
  387. label {
  388. text-align: left;
  389. margin-bottom: .6em;
  390. font-weight: bold;
  391. min-width: auto;
  392. }
  393. p.argument-wrapper {
  394. flex-direction: column;
  395. }
  396. span.argument-description {
  397. margin-left: 0;
  398. margin-top: .6em;
  399. }
  400. dialog {
  401. border-left: 0;
  402. border-right: 0;
  403. width: 100%;
  404. }
  405. }
  406. @media (prefers-color-scheme: dark) {
  407. body {
  408. background-color: #333;
  409. color: white;
  410. }
  411. dialog {
  412. background-color: #222;
  413. color: white;
  414. }
  415. form div.wrapper {
  416. background-color: #222;
  417. }
  418. button,
  419. input[type="submit"] {
  420. border: 1px solid #666;
  421. background-color: #222;
  422. box-shadow: 0 0 6px 0 #444;
  423. color: white;
  424. }
  425. button:focus,
  426. input[type="submit"]:focus {
  427. outline: 2px solid #72B7F4;
  428. }
  429. footer {
  430. color: #bbb;
  431. }
  432. a, a:visited {
  433. color: #bbb;
  434. }
  435. a:focus {
  436. background-color: #72B7F4;
  437. color: black;
  438. outline: 1px solid #72B7F4;
  439. }
  440. nav.sidebar {
  441. background-color: #111;
  442. color: white;
  443. }
  444. nav ul li a:hover {
  445. background-color: #666;
  446. color: white;
  447. }
  448. button:disabled {
  449. background-color: black;
  450. }
  451. table,
  452. td,
  453. th {
  454. border: 1px solid gray;
  455. }
  456. td,
  457. tr {
  458. background-color: #222;
  459. color: white;
  460. }
  461. tr:hover td {
  462. background-color: #666;
  463. }
  464. div.toolbar {
  465. background-color: black;
  466. }
  467. }