style.css 7.8 KB

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