From 97b354d31ee5347b51e31fc83d35ffbbaab9ec02 Mon Sep 17 00:00:00 2001 From: Robert McGovern Date: Wed, 25 Jan 2023 23:04:25 +0000 Subject: [PATCH] tweaked pagination to change color of disabled nav buttons, and moved location of feed link --- src/_includes/footer.html | 15 ++++++++++----- src/_sass/minimal-mistakes/_buttons.scss | 4 ++-- src/_sass/minimal-mistakes/_navigation.scss | 3 ++- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/_includes/footer.html b/src/_includes/footer.html index 9fbcfe8..4909e93 100644 --- a/src/_includes/footer.html +++ b/src/_includes/footer.html @@ -4,6 +4,15 @@
  • {{ ui-text[site.locale].follow_label }}
  • {% endif %} + {% unless site.atom_feed.hide %} +
  • + + + {{ ui-text[site.locale].feed_label | default: "Feed" }} + +
  • + {% endunless %} + {% if site.footer.links %} {% for link in site.footer.links %} {% if link.label and link.url %} @@ -11,11 +20,7 @@ {% endif %} {% endfor %} {% endif %} - - {% unless site.atom_feed.hide %} -
  • {{ ui-text[site.locale].feed_label | default: "Feed" }}
  • - {% endunless %} - + diff --git a/src/_sass/minimal-mistakes/_buttons.scss b/src/_sass/minimal-mistakes/_buttons.scss index 9ef60a8..4f498ad 100644 --- a/src/_sass/minimal-mistakes/_buttons.scss +++ b/src/_sass/minimal-mistakes/_buttons.scss @@ -77,7 +77,7 @@ cursor: not-allowed; filter: alpha(opacity=65); box-shadow: none; - opacity: 0.65; + opacity: 0.15; } /* extra large button */ @@ -94,4 +94,4 @@ &--small { font-size: $type-size-7; } -} \ No newline at end of file +} diff --git a/src/_sass/minimal-mistakes/_navigation.scss b/src/_sass/minimal-mistakes/_navigation.scss index 4909c2d..70fbb64 100644 --- a/src/_sass/minimal-mistakes/_navigation.scss +++ b/src/_sass/minimal-mistakes/_navigation.scss @@ -94,7 +94,7 @@ } &.disabled { - color: rgba($muted-text-color, 0.5); + color: rgba($muted-text-color, 0.1); pointer-events: none; cursor: not-allowed; } @@ -151,6 +151,7 @@ color: rgba($muted-text-color, 0.5); pointer-events: none; cursor: not-allowed; + background: rgba($background-color, 0.1); } } }