mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-20 04:26:53 +00:00
78 lines
1.4 KiB
SCSS
78 lines
1.4 KiB
SCSS
// Styles for GitHub-rendered release notes (body_html)
|
|
:host ::ng-deep .release-notes-body {
|
|
// Repeats the version heading
|
|
> h2:first-child {
|
|
display: none;
|
|
}
|
|
|
|
// Section labels e.g. "Bug Fixes"
|
|
> h3 {
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
margin-top: 1rem;
|
|
margin-bottom: 0.375rem;
|
|
}
|
|
|
|
ul {
|
|
padding-left: 1.25rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
li {
|
|
margin-bottom: 0.25rem;
|
|
|
|
&::marker {
|
|
color: var(--bs-secondary-color);
|
|
}
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
a.user-mention {
|
|
color: var(--bs-secondary-color);
|
|
}
|
|
|
|
details {
|
|
margin-bottom: 0.75rem;
|
|
|
|
> summary {
|
|
color: var(--bs-secondary-color);
|
|
font-size: 0.875rem;
|
|
cursor: pointer;
|
|
margin-bottom: 0.375rem;
|
|
}
|
|
}
|
|
|
|
// Keep the link underline off code, where it hides underscores
|
|
// e.g. PAPERLESS_ALLOWED_HOSTS
|
|
a code {
|
|
display: inline-block;
|
|
}
|
|
|
|
// GitHub alerts, e.g. > [!NOTE]
|
|
.markdown-alert {
|
|
background-color: color-mix(in srgb, var(--bs-primary) 8%, transparent);
|
|
border-left: 0.25rem solid var(--bs-primary);
|
|
border-radius: var(--bs-border-radius);
|
|
padding: 0.75rem 1rem;
|
|
margin-bottom: 1rem;
|
|
|
|
> :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.markdown-alert-title {
|
|
color: var(--bs-primary);
|
|
font-weight: 600;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
}
|