forked from forgejo/forgejo
Issue and Pulls lists rework (#13594)
* Issue and Pulls lists rework Reorganized and restyled the issue and pull request lists. * color and layout tweaks * use new issue list on dashboard as well * move pagination into template * misc tweaks * fix label hover * fix milestone list * fix discrepancies between issue and milestone list, add new 'merge' helper * fmt * simplify merge helper * remove whitespace * fix startIndex * further simplify dict merging * rename helper to 'mergeinto' for clarity * allow bottom-row to wrap Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
parent
00ec651270
commit
6d93a3ab18
12 changed files with 342 additions and 479 deletions
|
@ -76,6 +76,7 @@
|
|||
/* target-based colors */
|
||||
--color-body: #ffffff;
|
||||
--color-text: #212121;
|
||||
--color-text-light: #444444;
|
||||
--color-box-header: #f7f7f7;
|
||||
--color-box-body: #ffffff;
|
||||
--color-timeline: #ececec;
|
||||
|
@ -141,6 +142,15 @@ strong {
|
|||
font-weight: 500;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--color-body);
|
||||
overflow-y: auto;
|
||||
|
@ -448,7 +458,7 @@ a:hover,
|
|||
color: var(--color-red) !important;
|
||||
|
||||
a {
|
||||
color: var(--color-red) !important;
|
||||
color: inherit !important;
|
||||
|
||||
&:hover {
|
||||
color: #e67777 !important;
|
||||
|
@ -457,19 +467,19 @@ a:hover,
|
|||
}
|
||||
|
||||
&.blue {
|
||||
color: var(--color-primary-dark-1) !important;
|
||||
color: var(--color-primary) !important;
|
||||
|
||||
a {
|
||||
color: var(--color-primary) !important;
|
||||
color: inherit !important;
|
||||
|
||||
&:hover {
|
||||
color: var(--color-primary-dark-2) !important;
|
||||
color: var(--color-primary-dark-1) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.black {
|
||||
color: #444444;
|
||||
color: var(--color-body);
|
||||
|
||||
&:hover {
|
||||
color: #000000;
|
||||
|
@ -477,13 +487,13 @@ a:hover,
|
|||
}
|
||||
|
||||
&.grey {
|
||||
color: var(--color-grey) !important;
|
||||
color: var(--color-text-light) !important;
|
||||
|
||||
a {
|
||||
color: #444444 !important;
|
||||
color: inherit !important;
|
||||
|
||||
&:hover {
|
||||
color: #000000 !important;
|
||||
color: var(--color-primary) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue