dealroom/static/styles.css

134 lines
2.6 KiB
CSS

/* Deal Room Custom Styles */
/* HTMX Loading States */
.htmx-request {
opacity: 0.6;
}
.htmx-request.htmx-indicator {
opacity: 1;
}
/* Custom Components */
.deal-room-gradient {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.file-drop-zone {
border: 2px dashed #cbd5e0;
border-radius: 0.5rem;
transition: all 0.3s ease;
}
.file-drop-zone:hover {
border-color: #667eea;
background-color: #f8fafc;
}
.file-drop-zone.dragover {
border-color: #667eea;
background-color: #edf2f7;
border-style: solid;
}
/* Document Icons */
.doc-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
border-radius: 0.25rem;
font-size: 0.75rem;
font-weight: 600;
color: white;
}
.doc-icon.pdf { background-color: #e53e3e; }
.doc-icon.doc { background-color: #3182ce; }
.doc-icon.xlsx { background-color: #38a169; }
.doc-icon.ppt { background-color: #d69e2e; }
.doc-icon.default { background-color: #718096; }
/* Activity Feed */
.activity-item {
position: relative;
padding-left: 2rem;
}
.activity-item::before {
content: '';
position: absolute;
left: 0.5rem;
top: 0.5rem;
width: 0.5rem;
height: 0.5rem;
border-radius: 50%;
background-color: #667eea;
}
.activity-item:not(:last-child)::after {
content: '';
position: absolute;
left: 0.75rem;
top: 1rem;
width: 0.125rem;
height: calc(100% + 1rem);
background-color: #e2e8f0;
}
/* Permissions Badges */
.permission-badge {
display: inline-flex;
align-items: center;
padding: 0.125rem 0.5rem;
border-radius: 0.375rem;
font-size: 0.75rem;
font-weight: 500;
}
.permission-badge.read { background-color: #bee3f8; color: #2a69ac; }
.permission-badge.write { background-color: #c6f6d5; color: #276749; }
.permission-badge.delete { background-color: #fed7d7; color: #c53030; }
.permission-badge.manage { background-color: #e9d8fd; color: #553c9a; }
/* Custom Scrollbars */
.custom-scrollbar::-webkit-scrollbar {
width: 0.5rem;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: #f1f5f9;
border-radius: 0.25rem;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #cbd5e0;
border-radius: 0.25rem;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #a0aec0;
}
/* Responsive Utilities */
@media (max-width: 768px) {
.mobile-hidden {
display: none;
}
.mobile-full {
width: 100%;
}
}
/* Print Styles */
@media print {
.no-print {
display: none !important;
}
.print-break {
page-break-before: always;
}
}