Files
speedBB/resources/js/index.css
2025-12-29 18:19:24 +01:00

420 lines
8.1 KiB
CSS

:root {
--bb-ink: #0e121b;
--bb-ink-muted: #5b6678;
--bb-cream: #f7f2ea;
--bb-sand: #f0e6d6;
--bb-teal: #157a6e;
--bb-gold: #e4a634;
--bb-peach: #f4c7a3;
--bb-border: #e0d7c7;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
color: var(--bb-ink);
background: var(--bb-page-bg, radial-gradient(circle at 10% 20%, #fff6e9 0%, #f4e7d5 40%, #e8d9c5 100%));
min-height: 100vh;
}
h1, h2, h3, h4, h5 {
font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
letter-spacing: -0.02em;
}
a {
color: inherit;
text-decoration: none;
}
.bb-shell {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.bb-nav {
backdrop-filter: blur(10px);
background: rgba(247, 242, 234, 0.9);
border-bottom: 1px solid var(--bb-border);
}
.bb-hero {
background: linear-gradient(135deg, rgba(21, 122, 110, 0.08), rgba(228, 166, 52, 0.1));
border: 1px solid var(--bb-border);
border-radius: 18px;
padding: 2.5rem;
box-shadow: 0 18px 40px rgba(14, 18, 27, 0.08);
}
.bb-card {
border: 1px solid var(--bb-border);
border-radius: 16px;
background: #fffaf4;
box-shadow: 0 12px 24px rgba(14, 18, 27, 0.06);
}
.bb-chip {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.2rem 0.6rem;
border-radius: 999px;
background: var(--bb-sand);
font-size: 0.85rem;
color: var(--bb-ink-muted);
}
.bb-section-title {
display: flex;
align-items: center;
gap: 0.6rem;
}
.bb-section-title::before {
content: "";
width: 16px;
height: 16px;
border-radius: 4px;
background: var(--bb-teal);
}
.bb-muted {
color: var(--bb-ink-muted);
}
.bb-form {
background: #fff;
border: 1px dashed var(--bb-border);
border-radius: 16px;
padding: 1.2rem;
}
.bb-forum-row {
background: rgba(255, 255, 255, 0.04);
transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.bb-forum-row:hover {
border-color: var(--bb-accent, #f29b3f);
box-shadow: 0 10px 24px rgba(14, 18, 27, 0.2);
transform: translateY(-1px);
}
.bb-forum-link {
color: inherit;
}
.bb-footer {
margin-top: auto;
padding: 2rem 0;
color: var(--bb-ink-muted);
font-size: 0.9rem;
}
[data-bs-theme="dark"] {
--bb-ink: #e6e8eb;
--bb-ink-muted: #9aa4b2;
--bb-border: #2a2f3a;
--bb-page-bg: radial-gradient(circle at 10% 20%, #141823 0%, #10131a 45%, #0b0e14 100%);
}
[data-bs-theme="dark"] .bb-nav {
background: rgba(15, 18, 26, 0.9);
}
[data-bs-theme="dark"] .bb-hero {
background: linear-gradient(135deg, rgba(21, 122, 110, 0.12), rgba(228, 166, 52, 0.08));
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
[data-bs-theme="dark"] .bb-card,
[data-bs-theme="dark"] .bb-form {
background: #171b22;
border-color: #2a2f3a;
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}
[data-bs-theme="light"] .bb-forum-row {
background: #fff;
}
[data-bs-theme="dark"] .bb-chip {
background: #20252f;
color: #c7cdd7;
}
[data-bs-theme="dark"] .bb-icon {
background: rgba(21, 122, 110, 0.24);
}
[data-bs-theme="dark"] .bb-icon--forum {
background: rgba(228, 166, 52, 0.25);
color: #e0b26b;
}
[data-bs-theme="dark"] .bb-collapse-toggle {
background: #0f1218;
color: var(--bb-accent, #f29b3f);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.bb-collapse-toggle {
color: var(--bb-accent, #f29b3f);
}
[data-bs-theme="dark"] .btn-outline-dark {
color: #e6e8eb;
border-color: #3a4150;
}
[data-bs-theme="dark"] .btn-outline-dark:hover,
[data-bs-theme="dark"] .btn-outline-dark:focus {
color: #0f1218;
background-color: #e6e8eb;
border-color: #e6e8eb;
}
.nav-tabs .nav-link {
color: var(--bb-accent, #f29b3f);
}
.nav-tabs .nav-link.active {
color: inherit;
}
.bb-version {
font-weight: 600;
}
.bb-version-label {
color: var(--bb-accent, #f29b3f);
}
.bb-version-value {
color: #fff;
}
.bb-load-time {
font-weight: 600;
}
.bb-load-label {
color: inherit;
}
.bb-load-value {
color: #fff;
}
.bb-user-actions {
display: flex;
justify-content: flex-end;
padding: 0 0.35rem;
}
[data-bs-theme="dark"] .rdt_Pagination {
display: none;
}
.bb-pagination {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.75rem 1rem;
border-top: 1px solid var(--bb-border);
background: transparent;
gap: 1rem;
flex-wrap: wrap;
}
.bb-pagination-actions {
display: flex;
align-items: center;
gap: 0.35rem;
}
.bb-pagination-actions button {
border: 1px solid var(--bb-accent, #f29b3f);
background: transparent;
color: var(--bb-accent, #f29b3f);
padding: 0.35rem 0.6rem;
border-radius: 8px;
min-width: 32px;
}
.bb-pagination-actions button.is-active {
background: var(--bb-accent, #f29b3f);
color: #0e121b;
}
.bb-pagination-actions button:disabled {
opacity: 0.4;
}
.bb-accent-button {
background: var(--bb-accent, #f29b3f);
border-color: var(--bb-accent, #f29b3f);
color: #0e121b;
}
.bb-accent-button:hover,
.bb-accent-button:focus {
background: color-mix(in srgb, var(--bb-accent, #f29b3f) 85%, #000);
border-color: color-mix(in srgb, var(--bb-accent, #f29b3f) 85%, #000);
color: #0e121b;
}
.modal-content .modal-header {
background: #0f1218;
color: #e6e8eb;
border-bottom: 0;
justify-content: flex-start;
gap: 1rem;
position: relative;
}
.modal-content .modal-title {
position: absolute;
left: 50%;
transform: translateX(-50%);
margin: 0;
}
.modal-content .modal-header .btn-close {
filter: none;
opacity: 1;
background: #ff5f57;
border-radius: 999px;
width: 14px;
height: 14px;
padding: 0;
margin: 0;
order: -1;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.modal-content .modal-header .btn-close::before,
.modal-content .modal-header .btn-close::after {
display: none;
}
[data-bs-theme="dark"] .rdt_Pagination button,
[data-bs-theme="dark"] .rdt_Pagination button svg {
color: var(--bb-accent, #f29b3f);
fill: var(--bb-accent, #f29b3f);
}
[data-bs-theme="dark"] .rdt_Pagination button:disabled,
[data-bs-theme="dark"] .rdt_Pagination button:disabled svg {
color: color-mix(in srgb, var(--bb-accent, #f29b3f) 55%, #000);
fill: color-mix(in srgb, var(--bb-accent, #f29b3f) 55%, #000);
}
.bb-acp {
max-width: 1880px;
}
.bb-icon {
width: 44px;
height: 44px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(21, 122, 110, 0.14);
color: var(--bb-teal);
font-size: 1.35rem;
position: relative;
}
.bb-icon--forum {
background: rgba(228, 166, 52, 0.18);
color: #a0601c;
}
.bb-action-group .btn {
background: var(--bb-accent, #f29b3f);
border-color: var(--bb-accent, #f29b3f);
color: #0e121b;
padding: 0.55rem 0.75rem;
font-size: 1rem;
}
.bb-action-group .btn:disabled {
opacity: 1;
color: #0e121b;
}
.bb-action-group .btn:hover,
.bb-action-group .btn:focus {
background: color-mix(in srgb, var(--bb-accent, #f29b3f) 85%, #000);
border-color: color-mix(in srgb, var(--bb-accent, #f29b3f) 85%, #000);
}
.bb-drag-handle {
font-size: 1.2rem;
line-height: 1;
}
.bb-drag-item {
transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.bb-dragging {
box-shadow: 0 12px 24px rgba(14, 18, 27, 0.22);
transform: translateY(-2px);
opacity: 0.85;
}
.bb-drop-target {
border: 2px dashed rgba(21, 122, 110, 0.75);
background-color: rgba(21, 122, 110, 0.08);
background-image: linear-gradient(
45deg,
rgba(21, 122, 110, 0.25) 25%,
transparent 25%,
transparent 50%,
rgba(21, 122, 110, 0.25) 50%,
rgba(21, 122, 110, 0.25) 75%,
transparent 75%,
transparent
);
background-size: 18px 18px;
animation: bb-marching-ants 1s linear infinite;
}
@keyframes bb-marching-ants {
0% {
background-position: 0 0;
}
100% {
background-position: 18px 18px;
}
}
.bb-collapse-toggle {
width: 20px;
height: 20px;
display: inline-flex;
align-items: center;
justify-content: center;
border: 0;
background: transparent;
color: var(--bb-ink-muted);
padding: 0;
position: absolute;
right: -6px;
bottom: -6px;
background: #fff;
border-radius: 50%;
box-shadow: 0 2px 6px rgba(14, 18, 27, 0.12);
}
.bb-collapse-toggle:hover {
color: var(--bb-ink);
}