Files
vault/klang/styles.css
T
2026-01-26 19:24:43 +00:00

1930 lines
32 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root {
color-scheme: dark;
font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
background-color: #0b0f14;
color: #e6edf6;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
background:
radial-gradient(circle at 20% 10%, rgba(50, 112, 124, 0.35), transparent 45%),
radial-gradient(circle at 80% 0%, rgba(24, 45, 67, 0.6), transparent 40%),
linear-gradient(130deg, #0b0f14 0%, #111826 45%, #0d1220 100%);
}
#root {
min-height: 100vh;
}
.app-shell {
min-height: 100vh;
padding-bottom: 80px;
}
.topbar {
position: sticky;
top: 0;
z-index: 10;
display: flex;
gap: 16px;
align-items: center;
padding: 18px 24px;
background: rgba(11, 15, 20, 0.92);
backdrop-filter: blur(14px);
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brand {
display: flex;
align-items: center;
gap: 12px;
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 12px;
color: rgba(230, 237, 246, 0.7);
}
.brand strong {
display: block;
font-size: 14px;
color: #e6edf6;
}
.brand span {
display: block;
margin-top: 2px;
}
.brand-mark {
width: 36px;
height: 36px;
border-radius: 12px;
display: grid;
place-items: center;
background: linear-gradient(130deg, #19a4a1, #0b6f84);
color: #061018;
font-weight: 700;
}
.topbar-actions {
display: flex;
align-items: center;
gap: 12px;
margin-left: auto;
}
.header-box-indicator {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 10px;
border-radius: 999px;
background: rgba(25, 164, 161, 0.18);
border: 1px solid rgba(25, 164, 161, 0.4);
color: rgba(230, 237, 246, 0.9);
font-size: 13px;
margin-left: auto;
}
.user-avatar {
background: #1c2735;
color: #e6edf6;
}
.layout {
display: grid;
grid-template-columns: 240px minmax(0, 1fr) 280px;
gap: 24px;
padding: 24px;
}
.sidebar,
.right-panel {
position: sticky;
top: 96px;
align-self: start;
height: fit-content;
}
.sidebar {
padding: 16px;
border-radius: 20px;
background: rgba(10, 17, 26, 0.85);
border: 1px solid rgba(255, 255, 255, 0.06);
}
.sidebar-title {
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 11px;
color: rgba(230, 237, 246, 0.55);
margin: 0 0 12px;
}
.sidebar-section {
margin-bottom: 16px;
}
.nav-list {
display: flex;
flex-direction: column;
gap: 6px;
}
.nav-button {
justify-content: flex-start;
color: rgba(230, 237, 246, 0.7);
}
.nav-button.active {
background: rgba(25, 164, 161, 0.15);
color: #e6edf6;
border-radius: 12px;
}
.button-stack {
display: flex;
flex-direction: column;
gap: 8px;
}
.session-card {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 12px;
align-items: center;
padding: 12px;
border-radius: 14px;
background: rgba(10, 17, 26, 0.7);
border: 1px solid rgba(255, 255, 255, 0.08);
text-align: left;
}
.sheet-card .session-card {
width: 100%;
height: 72px;
}
.session-card strong {
color: #2dd4bf;
}
.session-card .meta {
display: block;
font-size: 12px;
color: rgba(230, 237, 246, 0.6);
}
.session-list {
display: grid;
gap: 8px;
}
.sheet-card .session-list {
grid-template-columns: repeat(3, minmax(0, 1fr));
align-items: stretch;
}
.session-card.active {
border-color: rgba(25, 164, 161, 0.6);
box-shadow: 0 0 0 2px rgba(25, 164, 161, 0.15);
}
.session-card:focus-visible {
outline: 2px solid rgba(25, 164, 161, 0.6);
outline-offset: 2px;
}
.content {
display: flex;
flex-direction: column;
gap: 20px;
}
.section-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.section-header h1 {
margin: 0 0 4px;
font-size: 28px;
}
.section-header p {
margin: 0;
color: rgba(230, 237, 246, 0.6);
}
.section-actions {
display: flex;
align-items: center;
gap: 10px;
}
.section-stack {
display: flex;
flex-direction: column;
gap: 20px;
}
.stat-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 16px;
}
.stat-card {
background: rgba(14, 24, 35, 0.9);
border: 1px solid rgba(255, 255, 255, 0.04);
}
.stat-label {
margin: 0;
font-size: 12px;
color: rgba(230, 237, 246, 0.6);
}
.stat-value {
font-size: 24px;
font-weight: 600;
margin: 8px 0;
}
.stat-helper {
font-size: 12px;
color: rgba(25, 164, 161, 0.9);
}
.split-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 16px;
}
.wide-card,
.content-card,
.panel-card {
background: rgba(14, 24, 35, 0.92);
border: 1px solid rgba(255, 255, 255, 0.04);
}
.card-title-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.progress-row {
display: grid;
grid-template-columns: 120px 1fr;
gap: 12px;
align-items: center;
margin-top: 12px;
font-size: 12px;
color: rgba(230, 237, 246, 0.7);
}
.activity-list {
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 12px;
}
.activity-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 12px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.03);
font-size: 13px;
}
.activity-item span {
display: block;
font-size: 11px;
color: rgba(230, 237, 246, 0.55);
}
.content-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 16px;
}
.content-card h3 {
margin-top: 0;
}
.placeholder-block {
height: 120px;
border-radius: 14px;
background: linear-gradient(130deg, rgba(25, 164, 161, 0.2), rgba(23, 45, 64, 0.9));
}
.placeholder-table {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 12px;
}
.table-row {
display: grid;
grid-template-columns: 1fr auto auto;
gap: 12px;
align-items: center;
padding: 8px 12px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.03);
font-size: 13px;
}
.table-row.header {
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: rgba(230, 237, 246, 0.5);
}
.placeholder-tree {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 12px;
font-size: 13px;
color: rgba(230, 237, 246, 0.75);
}
.placeholder-tree .nested {
margin-left: 16px;
}
.queue-item {
display: grid;
gap: 8px;
margin-top: 12px;
padding: 10px 12px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.03);
font-size: 13px;
}
.queue-item span {
display: block;
font-size: 11px;
color: rgba(230, 237, 246, 0.5);
}
.tab-shell .p-tabview-nav {
background: transparent;
border-color: rgba(255, 255, 255, 0.08);
}
.tag-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 16px;
margin-top: 12px;
}
.tag-card {
background: rgba(255, 255, 255, 0.03);
}
.tag-title {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.settings-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 12px;
}
.token-chip {
display: inline-flex;
align-items: center;
padding: 6px 12px;
border-radius: 999px;
margin-right: 8px;
margin-top: 8px;
background: rgba(25, 164, 161, 0.18);
font-size: 12px;
}
.right-panel {
display: flex;
flex-direction: column;
gap: 16px;
}
.panel-card h3 {
margin-top: 0;
}
.status-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 8px;
font-size: 13px;
}
.summary {
display: flex;
flex-direction: column;
gap: 6px;
flex: 1 1 100%;
}
.summary-title {
font-size: 14px;
font-weight: 600;
color: rgba(230, 237, 246, 0.95);
margin: 0;
}
.summary-grid {
display: grid;
grid-template-columns: 140px 1fr;
column-gap: 12px;
row-gap: 6px;
font-size: 13px;
}
.summary-grid span {
color: var(--text-color-secondary);
font-size: 11px;
}
.step-actions {
width: 100%;
display: flex;
justify-content: flex-end;
}
.step-row {
width: 100%;
display: flex;
align-items: center;
gap: 8px;
}
.step-row .p-inputtext,
.step-row .p-dropdown {
flex: 1 1 220px;
min-width: 0;
}
.step-row-spacer {
flex: 1 1 auto;
}
.step-messages {
display: grid;
gap: 6px;
margin-top: 6px;
}
.p-messages {
margin: 5px 0;
}
.p-message {
min-height: 30px;
max-height: 30px;
padding: 4px 8px;
font-size: 12px;
overflow: hidden;
display: flex;
align-items: center;
}
.p-message-summary {
font-size: 12px;
line-height: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: inline-flex;
align-items: center;
}
.p-message-detail {
font-size: 11px;
line-height: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: inline-flex;
align-items: center;
}
.p-message-wrapper {
gap: 6px;
align-items: center;
flex-wrap: nowrap;
overflow: hidden;
min-width: 0;
flex: 1 1 auto;
}
.p-message-text {
display: inline-flex;
align-items: center;
gap: 6px;
min-width: 0;
}
.is-hidden {
display: none;
}
.panel-pill {
padding: 10px 12px;
border-radius: 12px;
margin-top: 8px;
background: rgba(255, 255, 255, 0.04);
font-size: 13px;
}
.capacity-row {
display: grid;
gap: 8px;
margin-top: 10px;
}
.capacity-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
font-size: 13px;
color: rgba(230, 237, 246, 0.9);
}
.capacity-meta {
font-size: 12px;
color: rgba(230, 237, 246, 0.6);
}
.capacity-bar .p-metergroup-meter {
background: linear-gradient(
90deg,
#39d98a 0%,
#e8d45a 45%,
#f2a94f 65%,
#b68bff 100%
);
background-size: calc(var(--capacity-scale, 1) * 100%) 100%;
background-position: left center;
}
.capacity-bar .p-metergroup-labels,
.capacity-bar .p-metergroup-label,
.capacity-bar .p-metergroup-label-type {
display: none;
}
.bottom-nav {
position: fixed;
bottom: 0;
left: 0;
right: 0;
display: none;
gap: 6px;
padding: 10px 12px 16px;
background: rgba(11, 15, 20, 0.95);
border-top: 1px solid rgba(255, 255, 255, 0.08);
z-index: 20;
grid-template-columns: repeat(6, minmax(0, 1fr));
}
.bottom-nav .p-button {
width: 100%;
min-width: 0;
display: grid;
place-items: center; /* bleibt */
gap: 4px;
background: transparent;
border: none;
color: rgba(230, 237, 246, 0.6);
font-size: 11px;
}
.bottom-nav .p-button > span {
display: flex;
align-items: center;
justify-content: center;
}
.bottom-nav .p-button.active {
color: #19a4a1;
}
@media (max-width: 550px) {
/* ❌ nur Text ausblenden */
.bottom-nav .p-button > span:not(.nav-icon) {
display: none;
}
/* ✅ Icon bleibt exakt zentriert */
.bottom-nav .nav-icon {
display: flex;
align-items: center;
justify-content: center;
}
}
@media (max-width: 1100px) {
.layout {
grid-template-columns: 220px minmax(0, 1fr);
}
.right-panel {
display: none;
}
}
@media (max-width: 1300px) {
.legacy .boxes-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 980px) {
.legacy .boxes-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 1200px) {
.split-grid {
grid-template-columns: 1fr;
}
.legacy .boxes-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 900px) {
.topbar-actions {
display: none;
}
.legacy .boxes-grid {
grid-template-columns: 1fr;
}
.legacy .boxes-grid .card {
flex-direction: column;
align-items: stretch;
}
.legacy .boxes-grid .box-actions-row {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
width: 100%;
}
.legacy .boxes-grid .box-actions-row > * {
width: 100%;
}
.sheet-card .session-list {
grid-template-columns: 1fr;
}
}
@media (max-width: 760px) {
.layout {
grid-template-columns: minmax(0, 1fr);
padding: 16px;
}
.sidebar {
display: none;
}
.section-header {
flex-direction: column;
align-items: flex-start;
}
.bottom-nav {
display: grid;
grid-template-columns: repeat(6, 1fr);
}
}
@media (max-width: 720px) {
.sheet-card .session-list {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 520px) {
.sheet-card .session-list {
grid-template-columns: 1fr;
}
}
.sheet-backdrop {
position: fixed;
inset: 0;
background: rgba(5, 8, 12, 0.6);
display: grid;
align-items: end;
z-index: 50;
}
.sheet-card {
background: #0f1622;
border-radius: 20px 20px 0 0;
padding: 20px 18px 28px;
border: 1px solid rgba(255, 255, 255, 0.08);
max-height: 80vh;
overflow-y: auto;
}
.drawer-system {
display: grid;
gap: 12px;
}
.drawer-tabs {
margin: 12px -18px -28px;
padding: 10px 12px 16px;
border-top: 1px solid rgba(255, 255, 255, 0.08);
background: rgba(11, 15, 20, 0.95);
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 6px;
}
.drawer-tab {
background: transparent;
border: none;
border-radius: 12px;
color: rgba(230, 237, 246, 0.6);
padding: 8px 10px;
font-size: 11px;
display: grid;
place-items: center;
gap: 4px;
width: 100%;
min-width: 0;
cursor: pointer;
}
.drawer-tab .nav-icon {
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.drawer-tab.active {
color: #19a4a1;
}
.drawer-system {
display: grid;
gap: 12px;
}
.sheet-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
.error {
background: rgba(80, 24, 32, 0.6);
color: #f4a7a7;
border: 1px solid rgba(242, 201, 201, 0.4);
border-radius: 10px;
padding: 10px 12px;
margin-bottom: 16px;
}
.muted {
color: rgba(230, 237, 246, 0.6);
}
.status {
background: #0f1520;
color: #e6edf6;
padding: 12px;
border-radius: 12px;
font-size: 12px;
overflow: auto;
border: 1px solid rgba(255, 255, 255, 0.08);
max-width: 100%;
white-space: pre-wrap;
word-break: break-word;
}
.legacy .card {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
padding: 12px;
margin-top: 12px;
cursor: pointer;
background: rgba(10, 17, 26, 0.7);
}
.legacy .card.selected {
border-color: rgba(25, 164, 161, 0.6);
box-shadow: 0 0 0 2px rgba(25, 164, 161, 0.15);
}
.legacy .card.compact {
padding: 10px;
margin-top: 10px;
}
.legacy .tags-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
@media (max-width: 1800px) {
.legacy .tags-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 1500px) {
.legacy .tags-grid {
grid-template-columns: 1fr;
}
}
.legacy .boxes-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.legacy .boxes-grid .card {
margin-top: 0;
}
@media (max-width: 1300px) {
.legacy .tags-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 1200px) {
.legacy .tags-grid {
grid-template-columns: 1fr;
}
.legacy .boxes-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 900px) {
.legacy .tags-grid {
grid-template-columns: 1fr;
}
.legacy .boxes-grid {
grid-template-columns: 1fr;
}
}
.legacy .stack {
display: flex;
flex-direction: column;
gap: 8px;
align-items: flex-end;
}
.legacy .stack-inline {
flex-direction: row;
align-items: center;
justify-content: flex-start;
flex-wrap: nowrap;
gap: 6px;
}
.legacy .tag-actions {
flex-direction: column;
align-items: flex-end;
gap: 6px;
}
.legacy .tag-actions-row {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: nowrap;
justify-content: flex-end;
}
.legacy .box-actions {
flex-direction: column;
align-items: flex-end;
gap: 6px;
}
.legacy .box-actions-row {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: nowrap;
justify-content: flex-end;
}
.legacy .box-actions .alias-input {
width: 100%;
max-width: none;
}
@media (max-width: 1800px) {
.legacy .boxes-grid .card {
flex-direction: column;
align-items: stretch;
}
.legacy .boxes-grid .box-actions-row {
display: grid;
grid-template-columns: 2fr 1fr 1fr;
gap: 8px;
width: 100%;
}
.legacy .boxes-grid .box-actions-row > * {
width: 100%;
}
.legacy .tags-grid .card {
flex-direction: column;
align-items: stretch;
}
.legacy .tags-grid .tag-actions-row {
display: grid;
grid-template-columns: 2fr 1fr 1fr;
gap: 8px;
width: 100%;
}
.legacy .tags-grid .tag-actions-row > * {
width: 100%;
}
}
.legacy .tag-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
width: 100%;
flex-wrap: nowrap;
}
.legacy .tags-grid .tag-row {
display: grid;
grid-template-columns: 1fr 2fr;
align-items: center;
gap: 12px;
}
.legacy .tags-grid .tag-actions {
width: 100%;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 8px;
}
.legacy .tags-grid .tag-actions-row {
width: 100%;
display: grid;
grid-template-columns: 2fr 1fr;
align-items: center;
gap: 8px;
}
.legacy .tags-grid .tag-actions-row .alias-input,
.legacy .tags-grid .tag-actions-row .p-dropdown {
width: 100%;
min-width: 0;
}
.legacy .tags-grid .tag-actions-row .icon-button {
width: 100%;
}
.upload-item-meta {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 8px;
width: 100%;
}
.upload-item-name {
text-align: left;
justify-self: start;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 100%;
}
.upload-item-size {
text-align: right;
white-space: nowrap;
}
.upload-item-footer {
width: 100%;
display: flex;
justify-content: flex-end;
gap: 12px;
padding-top: 8px;
color: rgba(230, 237, 246, 0.7);
font-size: 12px;
}
.upload-item-total {
text-align: right;
}
.upload-item-count {
text-align: right;
}
@media (max-width: 600px) {
.legacy .tags-grid .tag-row {
grid-template-columns: 1fr;
}
.legacy .boxes-grid .card {
flex-direction: column;
align-items: stretch;
}
.legacy .tags-grid .tag-actions-row {
grid-template-columns: 2fr 1fr;
}
.legacy .boxes-grid .box-actions-row {
grid-template-columns: 2fr 1fr 1fr;
}
}
.legacy .box-tag-row {
display: flex;
justify-content: space-between;
gap: 16px;
padding: 12px;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
margin-top: 12px;
background: rgba(10, 17, 26, 0.7);
}
.legacy .box-tag-actions {
display: flex;
align-items: flex-start;
}
.legacy .file-list {
margin: 8px 0 0;
padding-left: 18px;
color: rgba(230, 237, 246, 0.7);
font-size: 13px;
}
.legacy .file-list li {
margin-bottom: 4px;
}
.legacy .tag-info {
display: flex;
flex-direction: column;
gap: 4px;
}
.legacy .box-title {
display: flex;
align-items: center;
gap: 8px;
}
.legacy .alias-input:not(.p-inputtext),
.legacy input:not(.p-inputtext),
.modal-card input:not(.p-inputtext) {
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 8px;
padding: 6px 8px;
font-size: 12px;
min-width: 140px;
background: rgba(255, 255, 255, 0.04);
color: #e6edf6;
}
.legacy select,
.modal-card select {
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.12);
padding: 8px 10px;
min-width: 180px;
background: rgba(255, 255, 255, 0.04);
color: #e6edf6;
}
.legacy .tag-matrix {
display: grid;
gap: 8px;
overflow-x: auto;
}
.legacy .matrix-row {
display: grid;
grid-auto-flow: column;
grid-auto-columns: minmax(120px, 1fr);
gap: 8px;
align-items: center;
}
.legacy .matrix-row.header {
font-weight: 600;
color: rgba(230, 237, 246, 0.8);
}
.legacy .matrix-cell {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 10px;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 10px;
background: rgba(255, 255, 255, 0.03);
font-size: 12px;
}
.legacy .matrix-cell.toggle {
justify-content: center;
cursor: pointer;
width: 100%;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(255, 255, 255, 0.02);
transition: background 0.2s ease, border-color 0.2s ease;
}
.legacy .matrix-cell.toggle.is-blocked {
border-color: rgba(239, 68, 68, 0.45);
background: rgba(239, 68, 68, 0.08);
}
.legacy .matrix-cell.toggle.p-message {
width: 100%;
justify-content: center;
background: transparent;
border: 0;
padding: 0;
}
.legacy .matrix-cell.toggle.p-message .p-message-text {
justify-content: center;
width: 100%;
}
.legacy .matrix-cell.label {
font-weight: 600;
background: rgba(10, 17, 26, 0.8);
}
.legacy .meta {
font-size: 12px;
color: rgba(230, 237, 246, 0.55);
}
.legacy .pill {
background: rgba(25, 164, 161, 0.2);
color: #8fe3df;
padding: 4px 10px;
border-radius: 999px;
font-size: 12px;
}
.legacy .controls {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 12px;
}
.legacy .controls-inline {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.legacy button:not(.p-button),
.modal-card button:not(.p-button) {
border: 1px solid rgba(255, 255, 255, 0.1);
background: #1b2736;
color: #e6edf6;
padding: 8px 12px;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
}
.legacy button:not(.p-button):hover,
.modal-card button:not(.p-button):hover {
background: #233144;
}
.legacy .button-ghost,
.modal-card .button-ghost {
background: transparent;
color: rgba(230, 237, 246, 0.9);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.legacy .button-ghost:hover,
.modal-card .button-ghost:hover {
background: rgba(255, 255, 255, 0.06);
}
.icon-button {
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(10, 17, 26, 0.7);
color: #e6edf6;
padding: 6px 8px;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.icon-button:hover {
background: rgba(255, 255, 255, 0.08);
}
.icon-button.danger {
border-color: rgba(239, 68, 68, 0.55);
color: rgba(248, 113, 113, 0.95);
background: rgba(239, 68, 68, 0.12);
}
.icon-button.danger:hover {
background: rgba(239, 68, 68, 0.18);
}
.icon-button.upload {
position: relative;
overflow: hidden;
}
.icon-button:disabled {
cursor: not-allowed;
opacity: 0.4;
}
.modal-card .danger {
border: 1px solid rgba(239, 68, 68, 0.55);
background: rgba(239, 68, 68, 0.12);
color: rgba(248, 113, 113, 0.95);
}
.modal-card .danger:hover {
background: rgba(239, 68, 68, 0.18);
}
.icon-button.upload input {
position: absolute;
inset: 0;
opacity: 0;
cursor: pointer;
}
.panel-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 12px;
}
.explorer {
display: grid;
grid-template-columns: 260px 1fr;
grid-template-rows: 1fr auto;
gap: 0;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
overflow-x: auto;
overflow-y: hidden;
background: rgba(8, 12, 18, 0.7);
min-height: 200px;
align-items: stretch;
font-size: 13px;
}
.explorer-sidebar {
grid-row: 1;
padding: 12px;
display: flex;
flex-direction: column;
gap: 10px;
background: rgba(10, 17, 26, 0.85);
height: 100%;
}
.sidebar-toolbar {
display: flex;
align-items: center;
justify-content: flex-start;
border: 1px solid rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
padding: 0 10px;
min-height: 40px;
gap: 10px;
}
.sidebar-tree {
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 10px;
background: rgba(10, 17, 26, 0.8);
padding: 8px;
overflow: auto;
}
.sidebar-search {
flex: 1;
width: 100%;
border: 1px solid rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.04);
border-radius: 8px;
padding: 0 10px;
font-size: 13px;
color: #e6edf6;
min-width: 0;
height: 28px;
line-height: 28px;
}
.sidebar-search:focus {
outline: none;
border-color: rgba(25, 164, 161, 0.6);
box-shadow: 0 0 0 2px rgba(25, 164, 161, 0.2);
}
.explorer-toolbar,
.sidebar-toolbar {
height: 40px;
min-height: 40px;
box-shadow: 0 1px 2px rgba(16, 18, 22, 0.2);
align-items: center;
}
.explorer-actions.footer {
padding-top: 6px;
}
.explorer-main {
grid-row: 1;
display: flex;
flex-direction: column;
gap: 10px;
padding: 12px 14px 14px;
background: rgba(10, 17, 26, 0.7);
height: 100%;
}
.explorer-toolbar {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
padding: 0 10px;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 10px;
background: rgba(255, 255, 255, 0.03);
}
.explorer-toolbar .icon-button,
.explorer-toolbar label.icon-button {
width: 30px;
height: 30px;
padding: 0;
}
.explorer-toolbar .icon-button svg,
.explorer-toolbar label.icon-button svg {
display: block;
}
.explorer-path {
display: flex;
flex-wrap: wrap;
gap: 6px;
font-size: 13px;
color: rgba(230, 237, 246, 0.7);
align-items: center;
line-height: 1;
}
.breadcrumb-root {
font-weight: 600;
color: #e6edf6;
}
.path-link {
background: transparent;
border: none;
color: #e6edf6;
cursor: pointer;
padding: 0;
font-size: 13px;
font-weight: 600;
}
.path-link:hover,
.path-link:focus {
background: transparent;
color: #e6edf6;
outline: none;
}
.toolbar-actions {
margin-left: auto;
display: flex;
align-items: center;
gap: 6px;
}
.explorer-list {
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 10px;
background: rgba(10, 17, 26, 0.8);
overflow: hidden;
}
.explorer-row {
display: grid;
grid-template-columns: 2fr repeat(2, minmax(80px, 1fr));
gap: 12px;
align-items: center;
padding: 10px 12px;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
font-size: 13px;
}
.explorer-row.has-meta,
.explorer-list.has-meta .explorer-row {
grid-template-columns: 2fr repeat(4, minmax(100px, 1fr));
}
.explorer-row.header {
font-size: 13px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: rgba(230, 237, 246, 0.5);
background: rgba(255, 255, 255, 0.02);
}
.explorer-row.footer {
background: rgba(255, 255, 255, 0.02);
}
.explorer-row.selected {
background: rgba(25, 164, 161, 0.15);
}
.row-name {
display: flex;
align-items: center;
gap: 8px;
}
.row-icon {
display: inline-flex;
align-items: center;
}
.footer-count {
font-weight: 600;
color: rgba(230, 237, 246, 0.9);
}
.explorer-footer {
grid-column: 1 / -1;
padding: 8px 12px;
font-size: 13px;
color: rgba(230, 237, 246, 0.6);
border-top: 1px solid rgba(255, 255, 255, 0.06);
background: rgba(10, 17, 26, 0.8);
}
.tree-node {
display: flex;
flex-direction: column;
gap: 4px;
}
.tree-label {
display: inline-block;
user-select: none;
cursor: pointer;
}
.depth-1 .tree-row {
margin-left: 16px;
}
.depth-2 .tree-row {
margin-left: 32px;
}
.depth-3 .tree-row {
margin-left: 48px;
}
.depth-4 .tree-row {
margin-left: 64px;
}
.depth-5 .tree-row {
margin-left: 80px;
}
.tree-row {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 8px;
border-radius: 8px;
cursor: pointer;
color: rgba(230, 237, 246, 0.75);
}
.tree-row.active {
background: rgba(25, 164, 161, 0.18);
color: #e6edf6;
}
.tree-caret {
border: none;
background: transparent;
color: rgba(230, 237, 246, 0.7);
padding: 0;
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
flex: 0 0 18px;
cursor: pointer;
}
.tree-caret.disabled {
width: 18px;
flex: 0 0 18px;
}
.tree-icon.folder {
color: rgba(25, 164, 161, 0.9);
}
.tree-label {
flex: 1;
}
.tree-tag-count {
background: rgba(25, 164, 161, 0.2);
padding: 2px 6px;
border-radius: 999px;
font-size: 11px;
}
.upload-status {
display: grid;
gap: 8px;
padding: 10px 12px;
margin-bottom: 12px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.04);
}
.upload-progress {
width: 100%;
height: 6px;
background: rgba(255, 255, 255, 0.1);
border-radius: 999px;
overflow: hidden;
}
.upload-progress div {
height: 100%;
background: linear-gradient(120deg, #19a4a1, #11709c);
}
.modal-backdrop {
position: fixed;
inset: 0;
background: rgba(5, 8, 12, 0.7);
display: flex;
align-items: center;
justify-content: center;
z-index: 90;
backdrop-filter: blur(6px);
}
.modal-card {
background: #0f1622;
color: #e6edf6;
border-radius: 14px;
padding: 20px;
width: min(520px, 92vw);
border: 1px solid rgba(255, 255, 255, 0.08);
display: grid;
gap: 12px;
position: relative;
z-index: 91;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
max-height: 90vh;
overflow: auto;
visibility: visible;
opacity: 1;
}
.modal-card.modal-upload {
width: min(1040px, 96vw);
}
.modal-card.modal-tag-delete {
width: min(760px, 96vw);
overflow: visible;
}
.modal-actions {
display: flex;
justify-content: flex-end;
gap: 8px;
margin-top: 6px;
flex-wrap: nowrap;
}
.modal-header h3 {
margin: 0;
}
.modal-body {
display: grid;
gap: 10px;
}
.modal-label {
font-size: 12px;
color: rgba(230, 237, 246, 0.6);
}
@media (max-width: 960px) {
.explorer {
grid-template-columns: 1fr;
}
.explorer-sidebar {
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
}
.player-shell {
display: grid;
gap: 16px;
}
.player-header {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 16px;
align-items: center;
padding: 14px;
border-radius: 16px;
background: rgba(255, 255, 255, 0.04);
}
.player-cover {
width: 86px;
height: 86px;
border-radius: 16px;
background: linear-gradient(135deg, #ff7a18, #af002d 60%, #319197);
box-shadow: 0 10px 20px rgba(5, 8, 12, 0.4);
}
.player-meta h3 {
margin: 0 0 6px;
font-size: 20px;
}
.player-meta p {
margin: 0 0 6px;
color: rgba(230, 237, 246, 0.6);
font-size: 12px;
}
.player-sub {
display: flex;
gap: 12px;
font-size: 12px;
color: rgba(230, 237, 246, 0.6);
}
.player-controls {
display: grid;
grid-auto-flow: column;
gap: 8px;
align-items: center;
justify-content: end;
background: rgba(255, 255, 255, 0.06);
padding: 10px;
border-radius: 14px;
}
.player-btn {
border: none;
background: transparent;
color: rgba(230, 237, 246, 0.8);
width: 36px;
height: 36px;
border-radius: 50%;
display: grid;
place-items: center;
cursor: pointer;
}
.player-btn.primary {
background: rgba(230, 237, 246, 0.12);
color: #e6edf6;
width: 42px;
height: 42px;
}
.player-btn:hover {
background: rgba(255, 255, 255, 0.12);
}
.volume-wrap {
position: relative;
}
.volume-popover {
position: absolute;
right: 0;
bottom: 46px;
background: rgba(10, 17, 26, 0.95);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 12px;
padding: 10px 12px;
display: grid;
gap: 8px;
align-items: center;
justify-items: center;
z-index: 5;
}
.volume-label {
font-size: 11px;
color: rgba(230, 237, 246, 0.7);
min-width: 2ch;
text-align: center;
}
.player-progress {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 12px;
align-items: center;
font-size: 12px;
color: rgba(230, 237, 246, 0.6);
}
.player-nfc {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.player-nfc input {
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 8px;
padding: 8px 10px;
background: rgba(255, 255, 255, 0.04);
color: #e6edf6;
}
.player-nfc button {
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(10, 17, 26, 0.7);
color: #e6edf6;
padding: 8px 12px;
border-radius: 8px;
cursor: pointer;
}
.player-list {
border-radius: 16px;
border: 1px solid rgba(255, 255, 255, 0.08);
overflow: hidden;
}
.player-row {
display: grid;
grid-template-columns: 40px 2fr 1fr 80px;
gap: 12px;
align-items: center;
padding: 10px 12px;
font-size: 13px;
background: rgba(10, 17, 26, 0.65);
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
cursor: pointer;
user-select: none;
}
.player-row.header {
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 11px;
color: rgba(230, 237, 246, 0.5);
background: rgba(255, 255, 255, 0.03);
}
.player-row.empty {
color: rgba(230, 237, 246, 0.6);
}
.player-row.active {
background: rgb(45 212 191 / 12%);
color: #f6d08c;
}
.player-row.active span {
color: inherit;
}
@media (max-width: 900px) {
.player-header {
grid-template-columns: 1fr;
justify-items: start;
}
.player-controls {
width: 100%;
justify-content: start;
}
}
.modal-long-button .p-button-label {
white-space: nowrap;
}