style.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. body {
  2. background-color: #dee3e7;
  3. color: black;
  4. text-align: center;
  5. font-family: sans-serif;
  6. padding: 0;
  7. margin: 0;
  8. }
  9. fieldset {
  10. padding: 0;
  11. }
  12. fieldset#rootGroup {
  13. display: grid;
  14. grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  15. grid-template-rows: auto auto auto auto;
  16. grid-gap: 1em;
  17. text-align: center;
  18. border: 0;
  19. }
  20. fieldset#switcher {
  21. border: 0;
  22. text-align: right;
  23. margin-bottom: 1em;
  24. }
  25. fieldset#switcher button {
  26. padding: 1em;
  27. color: black;
  28. display: table-cell;
  29. text-align: center;
  30. border: 1px solid #999;
  31. background-color: white;
  32. box-shadow: 0 0 6px 0 #aaa;
  33. user-select: none;
  34. background-color: white;
  35. cursor: pointer;
  36. }
  37. fieldset#switcher button:first-child{
  38. border-radius: 1em 0em 0em 1em;
  39. }
  40. fieldset#switcher button:last-child{
  41. border-radius: 0 1em 1em 0;
  42. }
  43. table {
  44. background-color: white;
  45. border-collapse: collapse;
  46. width: 100%;
  47. box-shadow: 0 0 10px 0 #444;
  48. }
  49. th,
  50. td {
  51. border: 1px solid #efefef;
  52. text-align: left;
  53. padding: 0.6em;
  54. }
  55. th:first-child {
  56. width: 5%;
  57. }
  58. tr:hover td {
  59. background-color: beige;
  60. }
  61. button.activeSection {
  62. font-weight: bold;
  63. }
  64. legend {
  65. padding-top: 1em;
  66. }
  67. span[role="icon"] {
  68. display: block;
  69. font-size: 3em;
  70. vertical-align: middle;
  71. }
  72. form span[role="icon"],
  73. tr.logRow span[role="icon"] {
  74. display: inline-block;
  75. padding-right: 0.2em;
  76. }
  77. .error {
  78. background-color: salmon;
  79. padding: 1em;
  80. }
  81. .title.temporaryStatusMessage {
  82. color: gray;
  83. }
  84. div.entity {
  85. background-color: white;
  86. box-shadow: 0 0 10px 0 #444;
  87. display: grid;
  88. grid-column: auto / span 2;
  89. grid-row: auto / span 2;
  90. grid-template-rows: auto min-content;
  91. grid-template-columns: minmax(min-content, auto);
  92. }
  93. h2 {
  94. font-size: 1em;
  95. display: inline-block;
  96. }
  97. div.entity h2 {
  98. grid-column: 1 / span all;
  99. }
  100. button,
  101. input[type="submit"] {
  102. padding: 1em;
  103. color: black;
  104. text-align: center;
  105. border: 1px solid #999;
  106. background-color: white;
  107. box-shadow: 0 0 6px 0 #aaa;
  108. user-select: none;
  109. }
  110. button:hover,
  111. input[type="submit"]:hover {
  112. box-shadow: 0 0 10px 0 #666;
  113. cursor: pointer;
  114. }
  115. button:focus,
  116. input[type="submit"]:focus {
  117. outline: 1px solid black;
  118. }
  119. button:disabled,
  120. input[type="submit"]:disabled {
  121. color: gray;
  122. background-color: #333;
  123. cursor: not-allowed;
  124. }
  125. fieldset#switcher {
  126. border: 0;
  127. text-align: right;
  128. margin-bottom: 1em;
  129. }
  130. fieldset#switcher button:first-child {
  131. border-radius: 1em 0 0 1em;
  132. }
  133. fieldset#switcher button:last-child {
  134. border-radius: 0 1em 1em 0;
  135. }
  136. .actionFailed {
  137. animation: kfActionFailed 1s;
  138. }
  139. @keyframes kfActionFailed {
  140. 0% { background-color: black; }
  141. 20% { background-color: red; }
  142. 0% { background-color: inherit; }
  143. }
  144. .actionSuccess {
  145. animation: kfActionSuccess 1s;
  146. }
  147. @keyframes kfActionSuccess {
  148. 0% { background-color: black; }
  149. 20% { background-color: limegreen; }
  150. 0% { background-color: inherit; }
  151. }
  152. .actionNonZeroExit {
  153. animation: kfActionNonZeroExit 1s;
  154. }
  155. @keyframes kfActionNonZeroExit {
  156. 0% { background-color: black; }
  157. 20% { background-color: orange; }
  158. 0% { background-color: inherit; }
  159. }
  160. .actionTimeout {
  161. animation: kfActionTimeout 1s;
  162. }
  163. @keyframes kfActionTimeout {
  164. 0% { background-color: black; }
  165. 20% { background-color: cyan; }
  166. 0% { background-color: inherit; }
  167. }
  168. footer,
  169. footer a {
  170. color: black;
  171. }
  172. img.logo {
  173. width: 1em;
  174. height: 1em;
  175. vertical-align: middle;
  176. }
  177. @media (max-width: 320px) {
  178. fieldset {
  179. grid-template-columns: auto;
  180. grid-gap: 0;
  181. padding: 0;
  182. }
  183. }
  184. main {
  185. padding: 1em;
  186. }
  187. summary {
  188. cursor: pointer;
  189. }
  190. details {
  191. display: inline-block;
  192. }
  193. details[open] {
  194. margin-top: 1em;
  195. display: block;
  196. }
  197. form.actionArguments {
  198. position: absolute;
  199. top: 0;
  200. bottom: 0;
  201. left: 0;
  202. right: 0;
  203. padding: 1em;
  204. box-shadow: 0 0 6px 0 #aaa;
  205. background-color: #dee3e7;
  206. }
  207. form div.wrapper {
  208. border-radius: 1em;
  209. box-shadow: 0 0 10px 0 #444;
  210. background-color: white;
  211. border: 1px solid #999;
  212. text-align: left;
  213. padding: 1em;
  214. }
  215. label {
  216. width: 20%;
  217. text-align: right;
  218. display: inline-block;
  219. padding-right: 1em;
  220. }
  221. input {
  222. padding: 0.6em;
  223. }
  224. input:invalid {
  225. outline: 2px solid red;
  226. }
  227. form .wrapper span.icon {
  228. display: inline-block;
  229. vertical-align: middle;
  230. }
  231. form input[type="submit"]:first-child {
  232. margin-right: 1em;
  233. }
  234. button[name=cancel]:hover {
  235. background-color: salmon;
  236. }
  237. input[name=start]:hover {
  238. background-color: #aceaac;
  239. }
  240. form div.buttons {
  241. text-align: right;
  242. }
  243. pre {
  244. border: 1px solid gray;
  245. padding: 1em;
  246. min-height: 1em;
  247. }
  248. td.exitCode {
  249. text-align: center;
  250. }
  251. input.invalid {
  252. background-color: salmon;
  253. }
  254. #availableVersion {
  255. background-color: #aceaac;
  256. padding: 0.2em;
  257. border-radius: 1em;
  258. }
  259. @media (prefers-color-scheme: dark) {
  260. body {
  261. background-color: #333;
  262. color: white;
  263. }
  264. form.actionArguments {
  265. background-color: #333;
  266. }
  267. form div.wrapper {
  268. background-color: #222;
  269. }
  270. button,
  271. input[type="submit"] {
  272. border: 1px solid #666;
  273. background-color: #222;
  274. box-shadow: 0 0 6px 0 #444;
  275. color: white;
  276. }
  277. button:disabled {
  278. background-color: black;
  279. }
  280. table,
  281. td,
  282. th {
  283. border: 1px solid gray;
  284. }
  285. td,
  286. tr {
  287. background-color: #222;
  288. color: white;
  289. }
  290. tr:hover td {
  291. background-color: #666;
  292. }
  293. footer,
  294. footer a {
  295. color: gray;
  296. }
  297. }