mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-12 20:02:28 +08:00
style(next): recent changes list: use sticky headers
This commit is contained in:
parent
bf1c834454
commit
c5c991f1b1
@ -1293,6 +1293,14 @@ body .calendar-dropdown-widget .calendar-body a:hover {
|
|||||||
* Recent changes list
|
* Recent changes list
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.recent-changes-dialog .modal-body {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.recent-changes-content {
|
||||||
|
margin: var(--bs-modal-padding);
|
||||||
|
}
|
||||||
|
|
||||||
.recent-changes-content small {
|
.recent-changes-content small {
|
||||||
color: var(--muted-text-color);
|
color: var(--muted-text-color);
|
||||||
}
|
}
|
||||||
@ -1303,10 +1311,14 @@ body .calendar-dropdown-widget .calendar-body a:hover {
|
|||||||
|
|
||||||
/* Date headings */
|
/* Date headings */
|
||||||
.recent-changes-content > div > b {
|
.recent-changes-content > div > b {
|
||||||
|
position: sticky;
|
||||||
display: block;
|
display: block;
|
||||||
|
top: 0;
|
||||||
|
background: var(--modal-background-color);
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
.recent-changes-content ul {
|
.recent-changes-content ul {
|
||||||
@ -1318,11 +1330,13 @@ body .calendar-dropdown-widget .calendar-body a:hover {
|
|||||||
/* Timeline items */
|
/* Timeline items */
|
||||||
.recent-changes-content ul li,
|
.recent-changes-content ul li,
|
||||||
.recent-changes-content > div > b {
|
.recent-changes-content > div > b {
|
||||||
position: relative;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-left: var(--timeline-right-gap);
|
padding-left: var(--timeline-right-gap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.recent-changes-content ul li {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
/* Timeline connector */
|
/* Timeline connector */
|
||||||
.recent-changes-content ul li::before,
|
.recent-changes-content ul li::before,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user