mirror of
https://github.com/lone-cloud/prism
synced 2026-06-03 08:43:10 -07:00
195 lines
2.4 KiB
CSS
195 lines
2.4 KiB
CSS
/* CSS Reset */
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
line-height: 1.5;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
img,
|
|
picture,
|
|
video,
|
|
canvas,
|
|
svg {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
input,
|
|
button,
|
|
textarea,
|
|
select {
|
|
font: inherit;
|
|
}
|
|
|
|
p,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
/* Styles */
|
|
body {
|
|
font-family: system-ui;
|
|
max-width: 50rem;
|
|
margin: 1.25rem auto;
|
|
padding: 1.25rem;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.card {
|
|
background: white;
|
|
border-radius: 0.5rem;
|
|
padding: 1.25rem;
|
|
margin-bottom: 1.25rem;
|
|
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.status {
|
|
display: flex;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.status-item {
|
|
padding: 0.625rem 1rem;
|
|
border-radius: 0.25rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.status-ok {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
}
|
|
|
|
.status-error {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
}
|
|
|
|
.endpoint-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
max-height: 18.75rem;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.endpoint-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0.5rem 0.75rem;
|
|
background: #f8f9fa;
|
|
border-radius: 0.25rem;
|
|
margin-bottom: 0.375rem;
|
|
}
|
|
|
|
.endpoint-name {
|
|
font-size: 1.1em;
|
|
flex: 1;
|
|
}
|
|
|
|
.btn-delete {
|
|
padding: 0.375rem 0.75rem;
|
|
background: #dc3545;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 0.25rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-delete:hover {
|
|
background: #c82333;
|
|
}
|
|
|
|
.btn-cancel {
|
|
margin-top: 1rem;
|
|
padding: 0.5rem 1rem;
|
|
background: #6c757d;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 0.25rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-cancel:hover {
|
|
background: #5a6268;
|
|
}
|
|
|
|
.unlink-details {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.unlink-summary {
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.unlink-instructions {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.unlink-instructions ol {
|
|
margin-left: 1.25rem;
|
|
}
|
|
|
|
.qr-instructions {
|
|
font-size: 1.05em;
|
|
}
|
|
|
|
.qr-container {
|
|
margin-top: 1rem;
|
|
width: 18.75rem;
|
|
height: 18.75rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.qr-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.link-button {
|
|
display: inline-block;
|
|
padding: 0.625rem 1.25rem;
|
|
background: #8159b8;
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 0.25rem;
|
|
margin-top: 0.625rem;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.link-button:hover {
|
|
background: #6b4a99;
|
|
}
|
|
|
|
.loading {
|
|
color: #666;
|
|
}
|
|
|
|
.loading-subtitle {
|
|
font-size: 0.875rem;
|
|
color: #666;
|
|
margin-top: 0.5rem;
|
|
}
|