Files
Bonsai-webapp/src/app/issues/issue-detail/issue-detail.css
T
2026-05-23 09:39:59 +02:00

183 lines
2.8 KiB
CSS

:host {
display: block;
}
/* Section headers */
.section-header {
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.07em;
color: #6b7280;
background-color: #f9fafb;
}
/* Field labels */
.field-label {
display: block;
font-size: 0.78rem;
font-weight: 600;
color: #374151;
margin-bottom: 0.3rem;
}
/* Title input */
.title-input::placeholder {
color: #9ca3af;
font-weight: 400;
}
/* More menu */
.more-wrapper {
position: relative;
}
.more-menu {
position: absolute;
right: 0;
top: calc(100% + 0.35rem);
min-width: 10rem;
z-index: 10;
}
/* Dependency badges */
.dep-badge {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.3rem 0.6rem;
background: #f3f4f6;
border: 1px solid #e5e7eb;
border-radius: 999px;
font-size: 0.85rem;
color: #374151;
}
.dep-id {
font-weight: 700;
color: #6b7280;
font-size: 0.78rem;
}
.dep-remove {
border: none;
background: transparent;
color: #9ca3af;
font-size: 1rem;
line-height: 1;
cursor: pointer;
padding: 0;
border-radius: 50%;
width: 1.1rem;
height: 1.1rem;
display: flex;
align-items: center;
justify-content: center;
}
.dep-remove:hover {
color: #b91c1c;
background: #fee2e2;
}
.dep-select {
flex: 1;
min-width: 200px;
}
.composed-issue-item {
cursor: pointer;
transition: background-color 0.1s;
}
.composed-issue-item:hover {
background-color: #f9fafb;
}
/* Description */
.description-textarea {
min-height: 40rem;
resize: vertical;
}
.description-preview {
min-height: 7rem;
white-space: pre-wrap;
font-size: 0.9rem;
color: #374151;
cursor: text;
border-radius: 0.375rem;
padding: 0.25rem 0.35rem;
line-height: 1.6;
}
.description-preview:hover {
background: #f9fafb;
}
.description-placeholder {
color: #9ca3af;
}
.markdown-body {
font-size: 0.9rem;
line-height: 1.7;
color: #374151;
}
.markdown-body :is(h1, h2, h3, h4, h5, h6) {
margin-top: 1rem;
margin-bottom: 0.4rem;
font-weight: 700;
line-height: 1.3;
}
.markdown-body h1 { font-size: 1.4rem; }
.markdown-body h2 { font-size: 1.2rem; }
.markdown-body h3 { font-size: 1rem; }
.markdown-body p {
margin-bottom: 0.6rem;
}
.markdown-body ul,
.markdown-body ol {
padding-left: 1.4rem;
margin-bottom: 0.6rem;
}
.markdown-body code {
background: #f3f4f6;
border-radius: 0.25rem;
padding: 0.1em 0.35em;
font-size: 0.85em;
}
.markdown-body pre {
background: #f3f4f6;
border-radius: 0.4rem;
padding: 0.75rem 1rem;
overflow-x: auto;
margin-bottom: 0.6rem;
}
.markdown-body pre code {
background: none;
padding: 0;
}
.markdown-body blockquote {
border-left: 3px solid #d1d5db;
padding-left: 0.75rem;
color: #6b7280;
margin: 0 0 0.6rem;
}
.markdown-body a {
color: #2563eb;
}
.markdown-body > *:last-child {
margin-bottom: 0;
}