| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- body {
- background-color: #efefef;
- color: black;
- text-align: center;
- font-family: sans-serif;
- padding: 0;
- margin: 0;
- }
- .group {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
- grid-template-rows: auto auto auto auto;
- padding: 1em;
- grid-gap: 1em;
- text-align: center;
- }
- .error {
- background-color: salmon;
- padding: 1em;
- }
- div.entity {
- background-color: #222;
- box-shadow: 0 0 10px 0 #444;
- display: grid;
- grid-column: auto / span 2;
- grid-row: auto / span 2;
- grid-template-rows: auto min-content;
- grid-template-columns: minmax(min-content, auto);
- }
- div.entity h2 {
- grid-column: 1 / span all;
- }
- button {
- padding: 1em;
- color: black;
- display: table-cell;
- text-align: center;
- border: 1px solid #999;
- background-color: #dee3e7;
- box-shadow: 0 0 6px 0 #aaa;
- user-select: none;
- }
- button.good {
- background-color: limegreen;
- }
- button:hover {
- box-shadow: 0 0 10px 0 #666;
- cursor: pointer;
- }
- button:disabled {
- color: gray;
- background-color: black;
- cursor: not-allowed;
- }
- span.icon {
- font-size: 3em;
- }
- .actionFailed {
- animation: kfActionFailed 1s;
- }
- @keyframes kfActionFailed {
- 0% { background-color: black; }
- 20% { background-color: red; }
- 0% { background-color: inherit; }
- }
- .actionSuccess {
- animation: kfActionSuccess 1s;
- }
- @keyframes kfActionSuccess {
- 0% { background-color: black; }
- 20% { background-color: green; }
- 0% { background-color: inherit; }
- }
- .actionNonZeroExit {
- animation: kfActionNonZeroExit 1s;
- }
- @keyframes kfActionNonZeroExit {
- 0% { background-color: black; }
- 20% { background-color: blue; }
- 0% { background-color: inherit; }
- }
- .actionTimeout {
- animation: kfActionTimeout 1s;
- }
- @keyframes kfActionTimeout {
- 0% { background-color: black; }
- 20% { background-color: cyan; }
- 0% { background-color: inherit; }
- }
- footer, footer a {
- color: gray;
- }
- img.logo {
- width: 1em;
- height: 1em;
- vertical-align: middle;
- }
- @media (max-width: 320px) {
- .group {
- grid-template-columns: auto;
- background-color: red;
- grid-gap: 0;
- padding: 0;
- }
- }
- @media (prefers-color-scheme: dark) {
- body {
- background-color: #333;
- color: white;
- }
- button {
- border: 1px solid #666;
- background-color: #222;
- box-shadow: 0 0 6px 0 #444;
- color: white;
- }
- }
|