From a6a4d1cff6db2e707d8621eaf8a62df6b467f763 Mon Sep 17 00:00:00 2001 From: Sven Date: Wed, 12 Apr 2017 17:41:22 +0200 Subject: [PATCH] Arrow at the bottom to scroll down now white on hover. Wishlist section funded text fixed. Features link fixed. --- static/css/style.css | 5 +++++ static/scss/style.scss | 9 +++++++++ templates/index.html | 31 ++++++++++++++++--------------- 3 files changed, 30 insertions(+), 15 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 44e08e9..b2a3eb4 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -4969,6 +4969,9 @@ a.text-gray-dark:focus, a.text-gray-dark:hover { .hidden-print { display: none !important; } } +.amber-800 { + color: #ff8f00; } + h1 { line-height: 3rem; } @@ -5295,6 +5298,8 @@ section.intro { section.intro .page-scroll .btn { width: 64px; height: 64px; } } + section.intro .page-scroll .btn:hover .i_arrow_down { + fill: white; } section.content-section { padding: 3rem 0; } diff --git a/static/scss/style.scss b/static/scss/style.scss index f5b8f74..42e25f1 100644 --- a/static/scss/style.scss +++ b/static/scss/style.scss @@ -54,6 +54,12 @@ @import "bootstrap-4.0.0-alpha.6/scss/utilities"; +// Colors + +.amber-800 { + color: $amber-800; +} + // Fonts h1 { @@ -373,6 +379,9 @@ section.intro { width: 64px; height: 64px; } + &:hover .i_arrow_down { + fill: white; + } } } } diff --git a/templates/index.html b/templates/index.html index 6fc89de..4a917d4 100644 --- a/templates/index.html +++ b/templates/index.html @@ -12,7 +12,7 @@
{{ _("Download") }} - {{ _("Features") }} + {{ _("Features") }}
@@ -212,20 +212,21 @@

IPFire’s Wishlist

{% if hottest_wish %} - - {% if hottest_wish.is_new() %} - {{ _("NEW") }} - {% elif hottest_wish.remaining_days and hottest_wish.remaining_days <= 10 %} - - {{ _("one day left", "%(num)s days left", hottest_wish.remaining_days) % { "num" : hottest_wish.remaining_days } }} - - {% else %} - - {{ _("%d%% funded") % hottest_wish.percentage }} - - {% end %} - -

{{ hottest_wish.title }}

+
+

{{ hottest_wish.title }}

+ + {% if hottest_wish.is_new() %} + {{ _("NEW") }} + {% elif hottest_wish.remaining_days and hottest_wish.remaining_days <= 10 %} + + {{ _("one day left", "%(num)s days left", hottest_wish.remaining_days) % { "num" : hottest_wish.remaining_days } }} + + {% else %} + + {{ _("%d%% funded") % hottest_wish.percentage }} + + {% end %} +
-- 2.39.2