style.css 4.8 KB

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