mirror of
https://codeberg.org/danielsiepmann/news-reader-php.git
synced 2024-11-23 04:36:09 +01:00
Daniel Siepmann
a4e4f5da0d
Add new read link to each entry. If entry was read the link will be replaced with an unread link. Clicking the link will mark the entry as read or unread. Afterwards a redirect to referrer happens. If it is unkown, for whatever reason, fallback to start. Flash messages are added and rendered to let user know what happened. Also respect already read entries when opening a feed. WIP: Still need to adjust entry listing for buckets. Still need to add tests for new feature. Still need to add new start page to show newest unread entries from all buckets.
20 lines
547 B
SCSS
20 lines
547 B
SCSS
body > aside {
|
|
ul {
|
|
list-style: none;
|
|
color: var(--color-black-dark);
|
|
margin: var(--spacing-elements);
|
|
|
|
li {
|
|
padding: var(--spacing-small-elements);
|
|
}
|
|
|
|
&.success {
|
|
background-color: var(--color-green-dark);
|
|
border: var(--color-green-light) solid var(--width-border-default);
|
|
}
|
|
&.notice {
|
|
background-color: var(--color-yellow-dark);
|
|
border: var(--color-yellow-light) solid var(--width-border-default);
|
|
}
|
|
}
|
|
}
|