change links that could perform actions to buttons
This commit is contained in:
parent
9b6dbd422c
commit
8367413e84
10 changed files with 95 additions and 40 deletions
|
@ -55,13 +55,19 @@
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="item-meta-icons">
|
<ul class="item-meta-icons">
|
||||||
<li class="item-meta-icons-refresh">
|
<li class="item-meta-icons-refresh">
|
||||||
<a href="{{ route "refreshFeed" "feedID" .ID }}">{{ icon "refresh" }}<span class="icon-label">{{ t "menu.refresh_feed" }}</span></a>
|
<a href="{{ route "refreshFeed" "feedID" .ID }}"
|
||||||
|
role="button"
|
||||||
|
aria-describedby="feed-title-{{ .ID }}">{{ icon "refresh" }}<span class="icon-label">{{ t "menu.refresh_feed" }}</span></a>
|
||||||
</li>
|
</li>
|
||||||
<li class="item-meta-icons-edit">
|
<li class="item-meta-icons-edit">
|
||||||
<a href="{{ route "editFeed" "feedID" .ID }}">{{ icon "edit" }}<span class="icon-label">{{ t "menu.edit_feed" }}</span></a>
|
<a href="{{ route "editFeed" "feedID" .ID }}"
|
||||||
|
role="button"
|
||||||
|
aria-describedby="feed-title-{{ .ID }}">{{ icon "edit" }}<span class="icon-label">{{ t "menu.edit_feed" }}</span></a>
|
||||||
</li>
|
</li>
|
||||||
<li class="item-meta-icons-remove">
|
<li class="item-meta-icons-remove">
|
||||||
<a href="#"
|
<a href="#"
|
||||||
|
role="button"
|
||||||
|
aria-describedby="feed-title-{{ .ID }}"
|
||||||
data-confirm="true"
|
data-confirm="true"
|
||||||
data-label-question="{{ t "confirm.question" }}"
|
data-label-question="{{ t "confirm.question" }}"
|
||||||
data-label-yes="{{ t "confirm.yes" }}"
|
data-label-yes="{{ t "confirm.yes" }}"
|
||||||
|
@ -72,6 +78,8 @@
|
||||||
{{ if .UnreadCount }}
|
{{ if .UnreadCount }}
|
||||||
<li class="item-meta-icons-mark-as-read">
|
<li class="item-meta-icons-mark-as-read">
|
||||||
<a href="#"
|
<a href="#"
|
||||||
|
role="button"
|
||||||
|
aria-describedby="feed-title-{{ .ID }}"
|
||||||
data-confirm="true"
|
data-confirm="true"
|
||||||
data-label-question="{{ t "confirm.question" }}"
|
data-label-question="{{ t "confirm.question" }}"
|
||||||
data-label-yes="{{ t "confirm.yes" }}"
|
data-label-yes="{{ t "confirm.yes" }}"
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<a href="{{ route "import" }}">{{ icon "feed-import" }}{{ t "menu.import" }}</a>
|
<a href="{{ route "import" }}">{{ icon "feed-import" }}{{ t "menu.import" }}</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ route "refreshAllFeeds" }}">{{ icon "refresh" }}{{ t "menu.refresh_all_feeds" }}</a>
|
<a role="button" href="{{ route "refreshAllFeeds" }}">{{ icon "refresh" }}{{ t "menu.refresh_all_feeds" }}</a>
|
||||||
</li>
|
</li>
|
||||||
</ul></nav>
|
</ul></nav>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
<ul class="item-meta-icons">
|
<ul class="item-meta-icons">
|
||||||
<li class="item-meta-icons-read">
|
<li class="item-meta-icons-read">
|
||||||
<a href="#"
|
<a href="#"
|
||||||
|
role="button"
|
||||||
|
aria-describedby="entry-title-{{ .entry.ID }}"
|
||||||
title="{{ t "entry.status.title" }}"
|
title="{{ t "entry.status.title" }}"
|
||||||
data-toggle-status="true"
|
data-toggle-status="true"
|
||||||
data-label-loading="{{ t "entry.state.saving" }}"
|
data-label-loading="{{ t "entry.state.saving" }}"
|
||||||
|
@ -28,6 +30,8 @@
|
||||||
</li>
|
</li>
|
||||||
<li class="item-meta-icons-star">
|
<li class="item-meta-icons-star">
|
||||||
<a href="#"
|
<a href="#"
|
||||||
|
role="button"
|
||||||
|
aria-describedby="entry-title-{{ .entry.ID }}"
|
||||||
data-toggle-bookmark="true"
|
data-toggle-bookmark="true"
|
||||||
data-bookmark-url="{{ route "toggleBookmark" "entryID" .entry.ID }}"
|
data-bookmark-url="{{ route "toggleBookmark" "entryID" .entry.ID }}"
|
||||||
data-label-loading="{{ t "entry.state.saving" }}"
|
data-label-loading="{{ t "entry.state.saving" }}"
|
||||||
|
@ -39,11 +43,15 @@
|
||||||
{{ if .entry.ShareCode }}
|
{{ if .entry.ShareCode }}
|
||||||
<li class="item-meta-icons-share">
|
<li class="item-meta-icons-share">
|
||||||
<a href="{{ route "sharedEntry" "shareCode" .entry.ShareCode }}"
|
<a href="{{ route "sharedEntry" "shareCode" .entry.ShareCode }}"
|
||||||
|
role="button"
|
||||||
|
aria-describedby="entry-title-{{ .entry.ID }}"
|
||||||
title="{{ t "entry.shared_entry.title" }}"
|
title="{{ t "entry.shared_entry.title" }}"
|
||||||
target="_blank">{{ icon "share" }}<span class="icon-label">{{ t "entry.shared_entry.label" }}</span></a>
|
target="_blank">{{ icon "share" }}<span class="icon-label">{{ t "entry.shared_entry.label" }}</span></a>
|
||||||
</li>
|
</li>
|
||||||
<li class="item-meta-icons-delete">
|
<li class="item-meta-icons-delete">
|
||||||
<a href="#"
|
<a href="#"
|
||||||
|
role="button"
|
||||||
|
aria-describedby="entry-title-{{ .entry.ID }}"
|
||||||
data-confirm="true"
|
data-confirm="true"
|
||||||
data-url="{{ route "unshareEntry" "entryID" .entry.ID }}"
|
data-url="{{ route "unshareEntry" "entryID" .entry.ID }}"
|
||||||
data-label-question="{{ t "confirm.question" }}"
|
data-label-question="{{ t "confirm.question" }}"
|
||||||
|
@ -55,6 +63,8 @@
|
||||||
{{ if .hasSaveEntry }}
|
{{ if .hasSaveEntry }}
|
||||||
<li>
|
<li>
|
||||||
<a href="#"
|
<a href="#"
|
||||||
|
role="button"
|
||||||
|
aria-describedby="entry-title-{{ .entry.ID }}"
|
||||||
title="{{ t "entry.save.title" }}"
|
title="{{ t "entry.save.title" }}"
|
||||||
data-save-entry="true"
|
data-save-entry="true"
|
||||||
data-save-url="{{ route "saveEntry" "entryID" .entry.ID }}"
|
data-save-url="{{ route "saveEntry" "entryID" .entry.ID }}"
|
||||||
|
@ -65,6 +75,8 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<li class="item-meta-icons-external-url">
|
<li class="item-meta-icons-external-url">
|
||||||
<a href="{{ .entry.URL | safeURL }}"
|
<a href="{{ .entry.URL | safeURL }}"
|
||||||
|
role="button"
|
||||||
|
aria-describedby="entry-title-{{ .entry.ID }}"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
referrerpolicy="no-referrer"
|
referrerpolicy="no-referrer"
|
||||||
|
@ -73,6 +85,8 @@
|
||||||
{{ if .entry.CommentsURL }}
|
{{ if .entry.CommentsURL }}
|
||||||
<li class="item-meta-icons-comments">
|
<li class="item-meta-icons-comments">
|
||||||
<a href="{{ .entry.CommentsURL | safeURL }}"
|
<a href="{{ .entry.CommentsURL | safeURL }}"
|
||||||
|
role="button"
|
||||||
|
aria-describedby="entry-title-{{ .entry.ID }}"
|
||||||
title="{{ t "entry.comments.title" }}"
|
title="{{ t "entry.comments.title" }}"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
|
|
|
@ -78,10 +78,16 @@
|
||||||
</div>
|
</div>
|
||||||
<ul id="header-menu">
|
<ul id="header-menu">
|
||||||
<li {{ if eq .menu "unread" }}class="active"{{ end }} title="{{ t "tooltip.keyboard_shortcuts" "g u" }}">
|
<li {{ if eq .menu "unread" }}class="active"{{ end }} title="{{ t "tooltip.keyboard_shortcuts" "g u" }}">
|
||||||
<a href="{{ route "unread" }}" data-page="unread">{{ t "menu.unread" }}
|
<a href="{{ route "unread" }}"
|
||||||
{{ if gt .countUnread 0 }}
|
data-page="unread"
|
||||||
<span class="unread-counter-wrapper">(<span class="unread-counter">{{ .countUnread }}</span>)</span>
|
{{ if gt .countUnread 0 }}
|
||||||
{{ end }}
|
aria-label="{{ t "menu.unread" }}, {{ t "page.unread.total" }}: {{ .countUnread }}"
|
||||||
|
{{ end }}
|
||||||
|
>
|
||||||
|
{{ t "menu.unread" }}
|
||||||
|
{{ if gt .countUnread 0 }}
|
||||||
|
<span class="unread-counter-wrapper" aria-hidden="true">(<span class="unread-counter">{{ .countUnread }}</span>)</span>
|
||||||
|
{{ end }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li {{ if eq .menu "starred" }}class="active"{{ end }} title="{{ t "tooltip.keyboard_shortcuts" "g b" }}">
|
<li {{ if eq .menu "starred" }}class="active"{{ end }} title="{{ t "tooltip.keyboard_shortcuts" "g b" }}">
|
||||||
|
@ -96,7 +102,7 @@
|
||||||
<span class="error-feeds-counter-wrapper">(<span class="error-feeds-counter">{{ .countErrorFeeds }}</span>)</span>
|
<span class="error-feeds-counter-wrapper">(<span class="error-feeds-counter">{{ .countErrorFeeds }}</span>)</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ route "addSubscription" }}" title="{{ t "tooltip.keyboard_shortcuts" "+" }}">
|
<a href="{{ route "addSubscription" }}" title="{{ t "tooltip.keyboard_shortcuts" "+" }}" aria-label="{{ t "menu.add_feed" }}">
|
||||||
(+)
|
(+)
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{{ define "title"}}{{ t "page.starred.title" }} ({{ .total }}){{ end }}
|
{{ define "title"}}{{ t "page.starred.title" }} ({{ .total }}){{ end }}
|
||||||
|
|
||||||
{{ define "page_header"}}
|
{{ define "page_header"}}
|
||||||
<section class="page-header" aria-labelledby="page-header-title">
|
<section class="page-header" aria-labelledby="page-header-title page-header-title-count">
|
||||||
<h1 id="page-header-title" dir="auto">
|
<h1 id="page-header-title" dir="auto">
|
||||||
{{ t "page.starred.title" }}
|
{{ t "page.starred.title" }}
|
||||||
<span aria-hidden="true"> ({{ .total }})</span>
|
<span aria-hidden="true"> ({{ .total }})</span>
|
||||||
</h1>
|
</h1>
|
||||||
<span class="sr-only">{{ t "page.starred.total" }}: {{ .total }}</span>
|
<span id="page-header-title-count" class="sr-only">{{ t "page.starred.total" }}: {{ .total }}</span>
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{{ define "title"}}{{ t "page.categories.title" }} ({{ .total }}){{ end }}
|
{{ define "title"}}{{ t "page.categories.title" }} ({{ .total }}){{ end }}
|
||||||
|
|
||||||
{{ define "page_header"}}
|
{{ define "page_header"}}
|
||||||
<section class="page-header" aria-labelledby="page-header-title">
|
<section class="page-header" aria-labelledby="page-header-title page-header-title-count">
|
||||||
<h1 id="page-header-title" dir="auto">
|
<h1 id="page-header-title" dir="auto">
|
||||||
{{ t "page.categories.title" }}
|
{{ t "page.categories.title" }}
|
||||||
<span aria-hidden="true"> ({{ .total }})</span>
|
<span aria-hidden="true"> ({{ .total }})</span>
|
||||||
</h1>
|
</h1>
|
||||||
<span class="sr-only">{{ t "page.categories.total" }}: {{ .total }}</span>
|
<span id="page-header-title-count" class="sr-only">{{ t "page.categories.total" }}: {{ .total }}</span>
|
||||||
<nav aria-label="{{ t "page.categories.title" }} {{ t "menu.title" }}">
|
<nav aria-label="{{ t "page.categories.title" }} {{ t "menu.title" }}">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
|
@ -29,13 +29,13 @@
|
||||||
>
|
>
|
||||||
<header id="category-title-{{ .ID }}" class="item-header" dir="auto">
|
<header id="category-title-{{ .ID }}" class="item-header" dir="auto">
|
||||||
<h2 class="item-title">
|
<h2 class="item-title">
|
||||||
<a href="{{ route "categoryEntries" "categoryID" .ID }}">{{ .Title }}</a>
|
<a href="{{ route "categoryEntries" "categoryID" .ID }}" aria-label="{{ .Title }}, {{ t "page.categories.unread_counter" }}: {{ .TotalUnread }}">
|
||||||
<span aria-hidden="true">(</span>
|
{{ .Title }}
|
||||||
<span class="sr-only">
|
<span class="category-item-total" aria-hidden="true">
|
||||||
{{ t "page.categories.unread_counter" }}:
|
(<span class="sr-only">{{ t "page.categories.unread_counter" }}: </span>{{ .TotalUnread }})
|
||||||
</span>
|
</span>
|
||||||
<span>{{ .TotalUnread }}</span>
|
</a>
|
||||||
<span aria-hidden="true">)</span>
|
|
||||||
</h2>
|
</h2>
|
||||||
</header>
|
</header>
|
||||||
<div class="item-meta">
|
<div class="item-meta">
|
||||||
|
@ -57,6 +57,8 @@
|
||||||
{{ if eq (deRef .FeedCount) 0 }}
|
{{ if eq (deRef .FeedCount) 0 }}
|
||||||
<li class="item-meta-icons-delete">
|
<li class="item-meta-icons-delete">
|
||||||
<a href="#"
|
<a href="#"
|
||||||
|
role="button"
|
||||||
|
aria-describedby="category-title-{{ .ID }}"
|
||||||
data-confirm="true"
|
data-confirm="true"
|
||||||
data-label-question="{{ t "confirm.question" }}"
|
data-label-question="{{ t "confirm.question" }}"
|
||||||
data-label-yes="{{ t "confirm.yes" }}"
|
data-label-yes="{{ t "confirm.yes" }}"
|
||||||
|
@ -68,6 +70,8 @@
|
||||||
{{ if gt (deRef .TotalUnread) 0 }}
|
{{ if gt (deRef .TotalUnread) 0 }}
|
||||||
<li class="item-meta-icons-mark-as-read">
|
<li class="item-meta-icons-mark-as-read">
|
||||||
<a href="#"
|
<a href="#"
|
||||||
|
role="button"
|
||||||
|
aria-describedby="category-title-{{ .ID }}"
|
||||||
data-confirm="true"
|
data-confirm="true"
|
||||||
data-label-question="{{ t "confirm.question" }}"
|
data-label-question="{{ t "confirm.question" }}"
|
||||||
data-label-yes="{{ t "confirm.yes" }}"
|
data-label-yes="{{ t "confirm.yes" }}"
|
||||||
|
|
|
@ -1,17 +1,18 @@
|
||||||
{{ define "title"}}{{ t "page.history.title" }} ({{ .total }}){{ end }}
|
{{ define "title"}}{{ t "page.history.title" }} ({{ .total }}){{ end }}
|
||||||
|
|
||||||
{{ define "page_header"}}
|
{{ define "page_header"}}
|
||||||
<section class="page-header" aria-labelledby="page-header-title">
|
<section class="page-header" aria-labelledby="page-header-title page-header-title-count">
|
||||||
<h1 id="page-header-title">
|
<h1 id="page-header-title">
|
||||||
{{ t "page.history.title" }}
|
{{ t "page.history.title" }}
|
||||||
<span aria-hidden="true">({{ .total }})</span>
|
<span aria-hidden="true">({{ .total }})</span>
|
||||||
</h1>
|
</h1>
|
||||||
<span class="sr-only">{{ t "page.history.total" }}: {{ .total }}</span>
|
<span id="page-header-title-count" class="sr-only">{{ t "page.history.total" }}: {{ .total }}</span>
|
||||||
<nav aria-label="{{ t "page.history.title" }} {{ t "menu.title" }}">
|
<nav aria-label="{{ t "page.history.title" }} {{ t "menu.title" }}">
|
||||||
<ul>
|
<ul>
|
||||||
{{ if .entries }}
|
{{ if .entries }}
|
||||||
<li>
|
<li>
|
||||||
<a href="#"
|
<a href="#"
|
||||||
|
role="button"
|
||||||
data-confirm="true"
|
data-confirm="true"
|
||||||
data-url="{{ route "flushHistory" }}"
|
data-url="{{ route "flushHistory" }}"
|
||||||
data-label-question="{{ t "confirm.question" }}"
|
data-label-question="{{ t "confirm.question" }}"
|
||||||
|
@ -37,16 +38,28 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="items">
|
<div class="items">
|
||||||
{{ range .entries }}
|
{{ range .entries }}
|
||||||
<article class="item entry-item {{ if $.user.EntrySwipe }}entry-swipe{{ end }} item-status-{{ .Status }}" data-id="{{ .ID }}">
|
<article
|
||||||
<div class="item-header" dir="auto">
|
class="item entry-item {{ if $.user.EntrySwipe }}entry-swipe{{ end }} item-status-{{ .Status }}"
|
||||||
<span class="item-title">
|
data-id="{{ .ID }}"
|
||||||
{{ if ne .Feed.Icon.IconID 0 }}
|
aria-labelledby="entry-title-{{ .ID }}"
|
||||||
|
>
|
||||||
|
<header class="item-header" dir="auto">
|
||||||
|
<h2 id="entry-title-{{ .ID }}" class="item-title">
|
||||||
|
<a href="{{ route "readEntry" "entryID" .ID }}">
|
||||||
|
{{ if ne .Feed.Icon.IconID 0 }}
|
||||||
<img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt="{{ .Feed.Title }}">
|
<img src="{{ route "icon" "iconID" .Feed.Icon.IconID }}" width="16" height="16" loading="lazy" alt="{{ .Feed.Title }}">
|
||||||
{{ end }}
|
{{ else }}
|
||||||
<a href="{{ route "readEntry" "entryID" .ID }}">{{ .Title }}</a>
|
<span class="sr-only">{{ .Feed.Title }}</span>
|
||||||
|
{{ end }}
|
||||||
|
{{ .Title }}
|
||||||
|
</a>
|
||||||
|
</h2>
|
||||||
|
<span class="category">
|
||||||
|
<a href="{{ route "categoryEntries" "categoryID" .Feed.Category.ID }}">
|
||||||
|
{{ .Feed.Category.Title }}
|
||||||
|
</a>
|
||||||
</span>
|
</span>
|
||||||
<span class="category"><a href="{{ route "categoryEntries" "categoryID" .Feed.Category.ID }}">{{ .Feed.Category.Title }}</a></span>
|
</header>
|
||||||
</div>
|
|
||||||
{{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }}
|
{{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }}
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,17 +1,18 @@
|
||||||
{{ define "title"}}{{ t "page.shared_entries.title" }} ({{ .total }}){{ end }}
|
{{ define "title"}}{{ t "page.shared_entries.title" }} ({{ .total }}){{ end }}
|
||||||
|
|
||||||
{{ define "page_header"}}
|
{{ define "page_header"}}
|
||||||
<section class="page-header" aria-labelledby="page-header-title">
|
<section class="page-header" aria-labelledby="page-header-title page-header-title-count">
|
||||||
<h1 id="page-header-title">
|
<h1 id="page-header-title">
|
||||||
{{ t "page.shared_entries.title" }}
|
{{ t "page.shared_entries.title" }}
|
||||||
<span aria-hidden="true">({{ .total }})</span>
|
<span aria-hidden="true">({{ .total }})</span>
|
||||||
</h1>
|
</h1>
|
||||||
<span class="sr-only">{{ t "page.shared_entries.total" }}: {{ .total }}</span>
|
<span id="page-header-title-count" class="sr-only">{{ t "page.shared_entries.total" }}: {{ .total }}</span>
|
||||||
{{ if .entries }}
|
{{ if .entries }}
|
||||||
<nav aria-label="{{ t "page.shared_entries.title" }} {{ t "menu.title" }}">
|
<nav aria-label="{{ t "page.shared_entries.title" }} {{ t "menu.title" }}">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="#"
|
<a href="#"
|
||||||
|
role="button"
|
||||||
data-confirm="true"
|
data-confirm="true"
|
||||||
data-url="{{ route "flushHistory" }}"
|
data-url="{{ route "flushHistory" }}"
|
||||||
data-label-question="{{ t "confirm.question" }}"
|
data-label-question="{{ t "confirm.question" }}"
|
||||||
|
|
|
@ -1,17 +1,18 @@
|
||||||
{{ define "title"}}{{ t "page.unread.title" }} {{ if gt .countUnread 0 }}({{ .countUnread }}){{ end }} {{ end }}
|
{{ define "title"}}{{ t "page.unread.title" }} {{ if gt .countUnread 0 }}({{ .countUnread }}){{ end }} {{ end }}
|
||||||
|
|
||||||
{{ define "page_header"}}
|
{{ define "page_header"}}
|
||||||
<section class="page-header" aria-labelledby="page-header-title">
|
<section class="page-header" aria-labelledby="page-header-title page-header-title-count">
|
||||||
<h1 id="page-header-title">
|
<h1 id="page-header-title">
|
||||||
{{ t "page.unread.title" }}
|
{{ t "page.unread.title" }}
|
||||||
<span aria-hidden="true">(<span class="unread-counter">{{ .countUnread }}</span>)</span>
|
<span aria-hidden="true">(<span class="unread-counter">{{ .countUnread }}</span>)</span>
|
||||||
</h1>
|
</h1>
|
||||||
<span class="sr-only">{{ t "page.unread.total" }}: {{ .countUnread }}</span>
|
<span id="page-header-title-count" class="sr-only">{{ t "page.unread.total" }}: {{ .countUnread }}</span>
|
||||||
{{ if .entries }}
|
{{ if .entries }}
|
||||||
<nav aria-label="{{ t "page.unread.title" }} {{ t "menu.title" }}">
|
<nav aria-label="{{ t "page.unread.title" }} {{ t "menu.title" }}">
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="#"
|
<a href="#"
|
||||||
|
role="button"
|
||||||
data-action="markPageAsRead"
|
data-action="markPageAsRead"
|
||||||
data-show-only-unread="1"
|
data-show-only-unread="1"
|
||||||
data-label-question="{{ t "confirm.question" }}"
|
data-label-question="{{ t "confirm.question" }}"
|
||||||
|
@ -21,6 +22,7 @@
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#"
|
<a href="#"
|
||||||
|
role="button"
|
||||||
data-confirm="true"
|
data-confirm="true"
|
||||||
data-url="{{ route "markAllAsRead" }}"
|
data-url="{{ route "markAllAsRead" }}"
|
||||||
data-redirect-url="{{ route "unread" }}"
|
data-redirect-url="{{ route "unread" }}"
|
||||||
|
@ -75,6 +77,7 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a href="#"
|
<a href="#"
|
||||||
|
role="button"
|
||||||
data-action="markPageAsRead"
|
data-action="markPageAsRead"
|
||||||
data-label-question="{{ t "confirm.question" }}"
|
data-label-question="{{ t "confirm.question" }}"
|
||||||
data-label-yes="{{ t "confirm.yes" }}"
|
data-label-yes="{{ t "confirm.yes" }}"
|
||||||
|
|
|
@ -133,7 +133,7 @@ a:hover {
|
||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header a {
|
.header :is(a, summary) {
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
color: var(--header-link-color);
|
color: var(--header-link-color);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -147,10 +147,6 @@ a:hover {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header a:hover {
|
|
||||||
color: var(--header-link-hover-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.header a:focus {
|
.header a:focus {
|
||||||
color: var(--header-link-focus-color);
|
color: var(--header-link-focus-color);
|
||||||
}
|
}
|
||||||
|
@ -229,7 +225,7 @@ a:hover {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
inline-size: 24px;
|
inline-size: 24px;
|
||||||
block-size: 24px;
|
block-size: 24px;
|
||||||
translate: 0 -1px;
|
translate: 0 -3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search details[open] svg {
|
.search details[open] svg {
|
||||||
|
@ -335,7 +331,7 @@ a:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
.header nav {
|
.header nav {
|
||||||
align-items: start;
|
align-items: end;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -355,6 +351,10 @@ a:hover {
|
||||||
display: revert;
|
display: revert;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header :is(a, summary):hover {
|
||||||
|
color: var(--header-link-hover-color);
|
||||||
|
}
|
||||||
|
|
||||||
.page-header li,
|
.page-header li,
|
||||||
.page-footer li {
|
.page-footer li {
|
||||||
display: inline;
|
display: inline;
|
||||||
|
@ -750,6 +750,11 @@ template {
|
||||||
color: var(--category-link-hover-color);
|
color: var(--category-link-hover-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.category-item-total {
|
||||||
|
color: var(--body-color);
|
||||||
|
}
|
||||||
|
|
||||||
/* Pagination */
|
/* Pagination */
|
||||||
.pagination {
|
.pagination {
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
|
@ -822,6 +827,7 @@ template {
|
||||||
|
|
||||||
.item-header span {
|
.item-header span {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-title {
|
.item-title {
|
||||||
|
|
Loading…
Add table
Reference in a new issue