cd93533b7c
Signed-off-by: Gato <cedric@goutailler-olivier.fr>
242 lines
3.7 KiB
CSS
242 lines
3.7 KiB
CSS
.section-header {
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.07em;
|
|
color: #6b7280;
|
|
background-color: #f9fafb;
|
|
}
|
|
|
|
.comment-item {
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px solid #f3f4f6;
|
|
}
|
|
|
|
.comment-item:last-of-type {
|
|
border-bottom: none;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.comment-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.comment-date {
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
color: #374151;
|
|
}
|
|
|
|
.comment-edited {
|
|
font-size: 0.75rem;
|
|
color: #9ca3af;
|
|
font-style: italic;
|
|
}
|
|
|
|
.comment-actions {
|
|
margin-left: auto;
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.comment-action-btn {
|
|
border: none;
|
|
background: none;
|
|
font-size: 0.75rem;
|
|
color: #6b7280;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
}
|
|
|
|
.comment-action-btn:hover {
|
|
color: #111827;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.comment-action-delete:hover {
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.comment-text {
|
|
font-size: 0.875rem;
|
|
line-height: 1.6;
|
|
color: #374151;
|
|
}
|
|
|
|
.comment-text :is(h1, h2, h3, h4) {
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.25rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.comment-text p {
|
|
margin-bottom: 0.4rem;
|
|
}
|
|
|
|
.comment-text p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.comment-text code {
|
|
background: #f3f4f6;
|
|
border-radius: 0.25rem;
|
|
padding: 0.1em 0.35em;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.comment-new {
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
/* --- Issues liées --- */
|
|
|
|
.linked-issues {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.linked-issue-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
background: #f8fafc;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 6px;
|
|
padding: 0.2rem 0.5rem;
|
|
max-width: fit-content;
|
|
}
|
|
|
|
.linked-issue-type-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 3px;
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.linked-issue-name {
|
|
font-size: 0.8rem;
|
|
color: #1d4ed8;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.linked-issue-name:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.linked-issue-status {
|
|
font-size: 0.68rem;
|
|
font-weight: 600;
|
|
padding: 0.1em 0.4em;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.linked-issue-unlink {
|
|
border: none;
|
|
background: none;
|
|
color: #9ca3af;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
line-height: 1;
|
|
padding: 0;
|
|
margin-left: 0.1rem;
|
|
}
|
|
|
|
.linked-issue-unlink:hover {
|
|
color: #b91c1c;
|
|
}
|
|
|
|
/* --- Boutons d'action liée --- */
|
|
|
|
.comment-link-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.comment-link-btn {
|
|
border: none;
|
|
background: none;
|
|
font-size: 0.75rem;
|
|
color: #6b7280;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.comment-link-btn:hover {
|
|
color: #1d4ed8;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* --- Formulaire création tâche --- */
|
|
|
|
.comment-task-form {
|
|
background: #f8fafc;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 6px;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
/* --- Dropdown lier issue existante --- */
|
|
|
|
.comment-link-form {
|
|
background: #f8fafc;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 6px;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.link-issue-list {
|
|
margin-top: 0.4rem;
|
|
max-height: 180px;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.15rem;
|
|
}
|
|
|
|
.link-issue-option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
background: #fff;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 4px;
|
|
padding: 0.3rem 0.5rem;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
|
|
.link-issue-option:hover {
|
|
background: #eff6ff;
|
|
border-color: #bfdbfe;
|
|
}
|
|
|
|
.link-issue-option-name {
|
|
font-size: 0.8rem;
|
|
color: #111827;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.link-issue-empty {
|
|
font-size: 0.78rem;
|
|
color: #9ca3af;
|
|
padding: 0.4rem 0;
|
|
text-align: center;
|
|
}
|