Files
q-edit/style.css
T
2025-08-24 12:21:12 -04:00

380 lines
6.5 KiB
CSS

@font-face {
font-family: 'Lexend';
src: url('Lexend-Regular.ttf') format('truetype');
}
body {
font-family: 'Lexend', sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #0f1a2e;
color: #c9d2d9;
}
header {
background-color: #070d19;
color: #c9d2d9;
text-align: center;
padding: 1rem 0;
}
header h1 {
margin: 0;
}
main {
width: 95%;
margin: 20px auto;
padding: 20px;
background-color: #2d3749;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 25px;
}
section {
margin-bottom: 20px;
}
section h2 {
background-color: #070d19;
color: #c9d2d9;
padding: 10px;
margin-top: 0;
border-radius: 20px;
}
section h3 {
background-color: #070d19;
color: #c9d2d9;
padding: 5px;
margin-top: 0;
border-radius: 15px;
}
a {
color: #008fd5;
}
p, table {
margin: 10px 0;
}
table {
width: 100%;
}
span {
vertical-align: middle;
}
th, td {
text-align: left;
padding: 8px;
border: 1px solid #4c5154;
vertical-align: middle;
}
span.clickable-delete {
color: #008fd5;
cursor: pointer;
text-decoration: underline;
}
span.clickable-delete:hover {
color: tomato;
cursor: pointer;
text-decoration: underline;
}
span.clickable-metadata {
color: #008fd5; /* Blue color for links */
cursor: pointer;
text-decoration: underline;
}
span.clickable-metadata:hover {
color: #ffaa00; /* Hover color (you can choose another if preferred) */
cursor: pointer;
text-decoration: underline;
}
th {
background-color: #0f1a2e;
}
tr:nth-child(odd) {
background-color: #3d4452;
}
footer {
text-align: center;
padding: 20px;
background-color: #070d19;
color: #c9d2d9;
position: fixed;
bottom: 0;
width: 100%;
}
button {
background-color: #008fd5;
color: #c9d2d9;
padding: 10px 10px;
border: none;
cursor: pointer;
border-radius: 15px;
vertical-align: middle;
}
select {
background-color: #008fd5;
color: #c9d2d9;
padding: 5px 5px;
border: none;
cursor: pointer;
border-radius: 10px;
vertical-align: middle;
}
img {
margin-right: 5px;
vertical-align: middle;
}
.filter-checkbox label {
margin-right: 20px;
}
.pagination-controls {
max-width: 100%; overflow-x: auto; white-space: nowrap; display: block; margin: 10px 0;
text-align: center;
color: #c9d2d9;
}
.pagination-controls a, .pagination-controls span {
margin: 0 5px;
color: #008fd5;
cursor: pointer;
text-decoration: underline;
}
.pagination-controls a:hover {
color: #ffaa00;
}
.pagination-controls .current-page {
text-decoration: none;
font-weight: bold;
cursor: default;
color: #c9d2d9;
}
#volume-table td {
text-align: right;
font-family: monospace
}
#menu-list {
text-align: center;
}
#search-button {
padding: 5px 10px;
border-radius: 10px;
margin-right: 10px;
}
#info-details, #account-details, #content-details p {
text-align: center;
}
#user-info {
padding: 10px;
}
#user-details p, #wallet-info h3, #wallet-info p {
margin: 5px 0;
}
#user-avatar {
width: 100px;
height: 100px;
margin-top: 10px;
}
#login-prompt {
text-align: center;
}
/* Header auth area (name switcher) */
header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem;
text-align: left;
}
#auth-controls {
display: flex;
align-items: center;
gap: 10px;
}
.auth-button {
background-color: #1f6feb;
color: #fff;
border: none;
border-radius: 8px;
padding: 8px 12px;
font-size: 14px;
cursor: pointer;
}
.auth-button[disabled] {
opacity: 0.6;
cursor: not-allowed;
}
.name-switcher {
display: flex;
align-items: center;
gap: 8px;
}
.name-select {
background-color: #0f1a2e;
color: #c9d2d9;
border: 1px solid #4c5154;
border-radius: 8px;
padding: 6px 10px;
font-size: 14px;
}
.visually-hidden {
position: absolute;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden; clip: rect(0 0 0 0);
white-space: nowrap; border: 0;
}
/* Global loading overlay + spinner */
#loading-overlay {
position: fixed;
inset: 0;
display: none; /* toggled to flex in JS */
align-items: center;
justify-content: center;
flex-direction: column;
gap: 10px;
background: rgba(7, 13, 25, 0.85);
z-index: 1000;
}
.spinner-img {
width: 72px;
height: 72px;
animation: qdn-spin 1.1s linear infinite;
filter: drop-shadow(0 0 8px rgba(0,0,0,0.35));
}
.spinner-label {
font-size: 14px;
opacity: 0.9;
}
@keyframes qdn-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
/* Improved image preview sizing */
img.preview-image {
max-height: 320px;
max-width: 100%;
height: auto;
width: auto;
object-fit: contain;
cursor: zoom-in;
}
/* Image viewer overlay */
#image-viewer-overlay {
position: fixed;
inset: 0;
display: none; /* toggled via JS */
align-items: center;
justify-content: center;
background: rgba(0,0,0,0.9);
z-index: 1100;
}
#image-viewer-overlay img {
max-width: 95vw;
max-height: 95vh;
object-fit: contain;
box-shadow: 0 0 20px rgba(0,0,0,0.6);
border-radius: 6px;
cursor: zoom-out;
}
#image-viewer-overlay .close-hint {
position: absolute;
bottom: 18px;
color: #c9d2d9;
font-size: 13px;
opacity: 0.8;
}
/* Identifier action icons */
.action-icon {
width: 15px;
height: 15px;
vertical-align: middle;
margin-left: 6px;
cursor: pointer;
filter: drop-shadow(0 0 2px rgba(0,0,0,0.25));
}
.identifier-text {
margin-right: 4px;
}
/* Service filter chips */
.chips-container {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 6px;
}
.chip {
display: inline-flex;
align-items: center;
gap: 6px;
border: 1px solid #4c5154;
color: #c9d2d9;
background: #0f1a2e;
padding: 4px 10px;
border-radius: 999px;
cursor: pointer;
user-select: none;
font-size: 13px;
}
.chip .count {
background: #1f6feb;
color: #fff;
border-radius: 999px;
padding: 0 6px;
font-size: 12px;
line-height: 18px;
}
.chip.selected {
border-color: #1f6feb;
background: #12345a;
}
/* Compact jump-to-page controls */
.jump-to-page { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; }
.jump-to-page input[type="number"] { width: 80px; padding: 2px 6px; }
.jump-to-page button { padding: 2px 8px; }