2023-01-16 16:56:16 +01:00
|
|
|
:root {
|
|
|
|
--darwin-titlebar-height: 36px;
|
|
|
|
}
|
|
|
|
|
2023-01-10 17:28:27 +01:00
|
|
|
html,
|
|
|
|
body {
|
|
|
|
height: 100vh;
|
|
|
|
overflow: hidden;
|
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
cursor: default;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 15px;
|
2023-01-16 16:56:16 +01:00
|
|
|
background-color: rgba(0, 0, 0, 0);
|
2023-01-10 17:28:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
vertical-align: middle;
|
|
|
|
box-sizing: border-box;
|
2023-01-13 16:56:48 +01:00
|
|
|
overscroll-behavior: none;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
touch-action: none;
|
2023-01-10 17:28:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2023-01-16 20:07:56 +01:00
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
|
|
|
p:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
2023-01-10 17:28:27 +01:00
|
|
|
}
|
2023-01-15 16:49:08 +01:00
|
|
|
p strong {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
2023-01-10 17:28:27 +01:00
|
|
|
|
|
|
|
.loading {
|
|
|
|
cursor: wait;
|
|
|
|
}
|
|
|
|
|
|
|
|
.field {
|
|
|
|
display: flex;
|
|
|
|
white-space: nowrap;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
.field > * {
|
|
|
|
padding: 0.5rem;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-right: none;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
2023-01-17 15:56:55 +01:00
|
|
|
background-color: #fff;
|
2023-01-10 17:28:27 +01:00
|
|
|
}
|
|
|
|
.field .label {
|
|
|
|
background-color: #eee;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
.field > :first-child {
|
|
|
|
border-top-left-radius: 10px;
|
|
|
|
border-bottom-left-radius: 10px;
|
|
|
|
}
|
|
|
|
.field > :last-child {
|
|
|
|
border-right: 1px solid #ccc;
|
|
|
|
border-top-right-radius: 10px;
|
|
|
|
border-bottom-right-radius: 10px;
|
|
|
|
}
|
|
|
|
.field > input,
|
|
|
|
.field > textarea {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
.field > textarea:focus,
|
|
|
|
.field > input:focus {
|
|
|
|
outline: none;
|
|
|
|
border-color: #00008b;
|
|
|
|
box-shadow: 0 0 0 3px rgba(0, 0, 139, 0.2);
|
|
|
|
}
|
|
|
|
.field > input.invalid,
|
|
|
|
.field > textarea.invalid {
|
|
|
|
background-color: rgba(255, 80, 80, 0.3);
|
|
|
|
border-color: rgb(255, 80, 80);
|
|
|
|
}
|
2023-01-17 15:56:55 +01:00
|
|
|
.field > span.checkbox {
|
|
|
|
text-align: center;
|
|
|
|
min-width: 75px;
|
|
|
|
}
|
2023-01-10 17:28:27 +01:00
|
|
|
|
|
|
|
.btn {
|
|
|
|
background-color: #00008b;
|
|
|
|
padding: 0.5rem;
|
|
|
|
border-radius: 10px;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.btn:focus {
|
|
|
|
box-shadow: 0 0 0 3px rgba(0, 0, 139, 0.2);
|
|
|
|
outline: none;
|
|
|
|
}
|
2023-01-10 20:22:57 +01:00
|
|
|
.btn.danger {
|
|
|
|
background-color: #c00;
|
|
|
|
}
|
|
|
|
.btn.danger:focus {
|
|
|
|
box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.2);
|
|
|
|
}
|
2023-01-10 17:28:27 +01:00
|
|
|
.btn:disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
.btn svg {
|
|
|
|
height: 15px;
|
|
|
|
width: auto;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
|
|
|
|
code, .code {
|
|
|
|
font-family: Menlo, monospace;
|
|
|
|
}
|
2023-01-13 16:56:48 +01:00
|
|
|
|
|
|
|
@keyframes flashGreen {
|
|
|
|
0% { color: #0d0; }
|
|
|
|
100% { color: unset; }
|
|
|
|
}
|
|
|
|
.flash-green {
|
|
|
|
animation: 1s ease-out 0s 1 flashGreen;
|
|
|
|
}
|