diff --git a/assets/icons/GoodDataLearn.svg b/assets/icons/GoodDataLearn.svg index d17b4f4..1141bda 100644 --- a/assets/icons/GoodDataLearn.svg +++ b/assets/icons/GoodDataLearn.svg @@ -1,4 +1,5 @@ - + diff --git a/assets/icons/chevron-menu.svg b/assets/icons/chevron-menu.svg index 53039ad..49bf10a 100644 --- a/assets/icons/chevron-menu.svg +++ b/assets/icons/chevron-menu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/assets/icons/icon-alert-default.svg b/assets/icons/icon-alert-default.svg index 2af26ca..eef846d 100644 --- a/assets/icons/icon-alert-default.svg +++ b/assets/icons/icon-alert-default.svg @@ -1,3 +1,3 @@ - + diff --git a/assets/icons/icon-alert-info.svg b/assets/icons/icon-alert-info.svg index c32a64b..30b12e3 100644 --- a/assets/icons/icon-alert-info.svg +++ b/assets/icons/icon-alert-info.svg @@ -1,3 +1,3 @@ - + diff --git a/assets/icons/icon-alert-label.svg b/assets/icons/icon-alert-label.svg index 23b1e06..8b629d3 100644 --- a/assets/icons/icon-alert-label.svg +++ b/assets/icons/icon-alert-label.svg @@ -1,4 +1,4 @@ - + diff --git a/assets/icons/icon-alert-warning.svg b/assets/icons/icon-alert-warning.svg index ab38301..c75f6ad 100644 --- a/assets/icons/icon-alert-warning.svg +++ b/assets/icons/icon-alert-warning.svg @@ -1,3 +1,3 @@ - + diff --git a/assets/scss/layout.scss b/assets/scss/layout.scss index ca26eb9..681307f 100644 --- a/assets/scss/layout.scss +++ b/assets/scss/layout.scss @@ -17,4 +17,14 @@ .panel-line:only-child { display: none; } -} \ No newline at end of file +} + +:focus { + outline: none; + } + + :focus-visible { + outline: 2px solid Highlight; /* System highlight color (preferred) */ + outline: 2px solid -webkit-focus-ring-color; /* Fallback for older browsers */ + outline-offset: 2px; + } \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 3eba64a..7c88de3 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -97,5 +97,5 @@ {{ $id := replace (lower .text) " " "-" }} {{ $content := cond (isset . "icon") .icon .text }} - {{ $content }} + {{ $content }} {{ end }} diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index b09e831..187e79c 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -2,7 +2,7 @@ {{ $cover := .HasShortcode "blocks/cover" }}
- Learn diff --git a/layouts/partials/prev-next-pages.html b/layouts/partials/prev-next-pages.html index 1189720..ddbb8b2 100644 --- a/layouts/partials/prev-next-pages.html +++ b/layouts/partials/prev-next-pages.html @@ -17,8 +17,8 @@ {{ else }} {{ if $currentPage.NextInSection }} {{ with $currentPage.NextInSection }} - - {{ with resources.Get "icons/chevron.svg" }}{{ ( . | minify).Content | safeHTML }}{{ end }} + + {{ .LinkTitle }} {{ end }} @@ -33,16 +33,16 @@ {{ if $currentPage.IsSection }} {{ with index $currentPage.Pages.ByWeight 0 }} - - {{ with resources.Get "icons/chevron.svg" }}{{ ( . | minify).Content | safeHTML }}{{ end }} + + {{ .LinkTitle }} {{ end }} {{ else }} {{ if $currentPage.PrevInSection }} {{ with $currentPage.PrevInSection }} - - {{ with resources.Get "icons/chevron.svg" }}{{ ( . | minify).Content | safeHTML }}{{ end }} + + {{ $currentPage.PrevInSection.LinkTitle }} {{ end }} diff --git a/layouts/shortcodes/alert.html b/layouts/shortcodes/alert.html index f13c936..9763e1f 100644 --- a/layouts/shortcodes/alert.html +++ b/layouts/shortcodes/alert.html @@ -2,7 +2,7 @@ {{ $_hugo_config := `{ "version": 1 }` }} {{ $color := .Get "color" | default "primary" }} {{ $icon := .Get "color" | default "default" }} - +