Files
Oxicloud/static/css/layout/content.css
T

76 lines
1.4 KiB
CSS
Raw Normal View History

/* ── Scrollbar ── */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: var(--color-bg-surface);
}
::-webkit-scrollbar-thumb {
background: var(--color-accent);
border-radius: 3px;
}
* {
scrollbar-width: thin;
scrollbar-color: var(--color-accent) var(--color-bg-surface);
}
/* Content area */
.content-area {
2026-04-07 22:48:59 +02:00
flex-grow: 1;
padding: 20px;
overflow-y: scroll;
scrollbar-gutter: stable;
}
.page-title {
2026-04-07 22:48:59 +02:00
font-size: 24px;
font-weight: bold;
margin-bottom: 20px;
color: var(--color-text);
}
2026-04-08 10:38:36 +02:00
.page-sticky-header {
position: sticky;
margin: 0px;
padding: 10px 0px;
top: -20px; /* due to padding top of content-area */
background-color: var(--color-bg-page);
z-index: 100; /* ensure header is above image preview */
}
.actions-bar {
2026-04-07 22:48:59 +02:00
display: flex;
justify-content: space-between;
margin: 0 0 12px;
height: 60px;
padding: 10px;
}
.action-buttons {
2026-04-07 22:48:59 +02:00
display: flex;
gap: 12px;
}
.empty-state {
2026-04-07 22:48:59 +02:00
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px;
text-align: center;
color: var(--color-content-muted);
2026-04-07 22:48:59 +02:00
width: 100%;
height: 300px;
grid-column: 1 / -1;
}
2026-03-25 18:49:38 +01:00
/* invisible element, permits building of drag element without altering display */
.drag-preview {
2026-04-07 22:48:59 +02:00
position: absolute;
top: -9999px;
left: -9999px;
pointer-events: none;
width: 360px;
2026-03-25 18:49:38 +01:00
}