Dokumentit: kokousmuistiot, kansiorakenne, sub-tabit, asiakaslinkkaus
- Uusi dokumenttityyppi "kokousmuistio" jolla inline tekstieditori (ei tiedostopohjainen) - document_versions.content -sarake kokousmuistioiden tekstin tallennukseen - Sub-tabit Dokumentit-välilehdelle (Kaikki / Kokoukset) Tekniikka-mallin mukaan - Kansiorakenne: document_folders-taulu, kansionavigaatio breadcrumbsilla - Uudet API-endpointit: document_folders, document_folder_save/delete, document_content_save, document_move - Asiakasprofiilin Dokumentit-osio: näyttää linkitetyt dokumentit + pikanapit luontiin - Asiakasprofiilista voi avata dokumentin suoraan tai luoda uuden linkitettynä asiakkaaseen Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
46
style.css
46
style.css
@@ -1599,11 +1599,57 @@ span.empty {
|
||||
.doc-category.cat-ohje { background: #d1fae5; color: #065f46; }
|
||||
.doc-category.cat-raportti { background: #ede9fe; color: #5b21b6; }
|
||||
.doc-category.cat-muu { background: #f3f4f6; color: #374151; }
|
||||
.doc-category.cat-kokousmuistio { background: #fce7f3; color: #9d174d; }
|
||||
|
||||
#doc-versions-table tbody tr:hover {
|
||||
background: #f0f7ff !important;
|
||||
}
|
||||
|
||||
/* Dokumenttikansiot */
|
||||
.doc-folder-item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
padding: 0.45rem 0.85rem;
|
||||
background: #f3f4f6;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 500;
|
||||
color: #374151;
|
||||
transition: background 0.15s, border-color 0.15s;
|
||||
}
|
||||
.doc-folder-item:hover { background: #e5e7eb; }
|
||||
|
||||
#doc-breadcrumbs a { color: var(--primary-color); text-decoration: none; font-weight: 500; }
|
||||
#doc-breadcrumbs a:hover { text-decoration: underline; }
|
||||
#doc-breadcrumbs .bc-sep { color: #aaa; margin: 0 0.25rem; }
|
||||
|
||||
#doc-inline-content {
|
||||
border: 1px solid #d1d5db;
|
||||
border-radius: 8px;
|
||||
padding: 1rem;
|
||||
font-size: 0.95rem;
|
||||
resize: vertical;
|
||||
width: 100%;
|
||||
font-family: inherit;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* Asiakasprofiilin dokumentit */
|
||||
.customer-doc-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0.5rem 0;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
.customer-doc-item:last-child { border-bottom: none; }
|
||||
.customer-doc-item a { color: var(--primary-color); text-decoration: none; font-weight: 500; }
|
||||
.customer-doc-item a:hover { text-decoration: underline; }
|
||||
|
||||
/* ==================== LAITETILAT ==================== */
|
||||
.laitetilat-grid {
|
||||
display: grid;
|
||||
|
||||
Reference in New Issue
Block a user