From e74db67f2d46a613aaffdd7f9ce2738175e27850 Mon Sep 17 00:00:00 2001 From: mjanez <96422458+mjanez@users.noreply.github.com> Date: Thu, 6 Jun 2024 14:01:01 +0200 Subject: [PATCH 1/3] Update test badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e09768c..dd699ad 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

ckanext-miteco - CKAN enhancement

-ckanext-miteco tests +ckanext-miteco tests

Overview • From db28ac0e96a4b44f15399c992b3e41eaae762109 Mon Sep 17 00:00:00 2001 From: mjanez <96422458+mjanez@users.noreply.github.com> Date: Thu, 6 Jun 2024 16:36:36 +0200 Subject: [PATCH 2/3] Fix miteco css asset --- ckanext/miteco/templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/miteco/templates/base.html b/ckanext/miteco/templates/base.html index 6caff37..0a33e1b 100644 --- a/ckanext/miteco/templates/base.html +++ b/ckanext/miteco/templates/base.html @@ -2,5 +2,5 @@ {% block styles %} {{ super() }} - {% include 'schemingdcat/snippets/schemingdcat_asset.html' %} + {% include 'miteco/snippets/miteco_asset.html' %} {% endblock %} \ No newline at end of file From fc126926404a1932b56a9d534b046d762fdde346 Mon Sep 17 00:00:00 2001 From: mjanez <96422458+mjanez@users.noreply.github.com> Date: Thu, 6 Jun 2024 16:36:54 +0200 Subject: [PATCH 3/3] Improve CSS --- ckanext/miteco/assets/css/miteco.css | 48 +++++++++++++++--- .../public/images/default/header-logo.png | Bin 0 -> 6832 bytes 2 files changed, 42 insertions(+), 6 deletions(-) create mode 100644 ckanext/miteco/public/images/default/header-logo.png diff --git a/ckanext/miteco/assets/css/miteco.css b/ckanext/miteco/assets/css/miteco.css index efc3704..08d9b8c 100644 --- a/ckanext/miteco/assets/css/miteco.css +++ b/ckanext/miteco/assets/css/miteco.css @@ -32,8 +32,7 @@ .account-masthead { padding: 0px 0; - background: #ffdb00; - color: #1d1d1b; + background: #fbbd00; color: #1d1d1b !important; } @@ -57,8 +56,8 @@ } .btn-primary:hover, .btn-primary:active, .btn-primary:focus { - background-color: #fedb00 !important; - border-color: #fedb00 !important; + background-color: #ffdb00 !important; + border-color: #fbbd00 !important; color: #351f1a; } @@ -80,8 +79,8 @@ text-decoration: none; font-weight: 600; color: #351f1a; - background-color: #fedb00 ; - border: 1px solid #fedb00 ; + background-color: #ffdb00 ; + border: 1px solid #fbbd00 ; -webkit-box-shadow: none; box-shadow: none; } @@ -113,6 +112,43 @@ color: #ad1519; } + + .masthead .navigation .nav-pills li a { + background-color: transparent; + color: #1d1d1b; + font-weight: 600; + text-decoration: none; + } + + .masthead .navigation .nav-pills li a:hover, .masthead .navigation .nav-pills li a:focus, .masthead .navigation .nav-pills li.active a { + background-color: transparent; + text-decoration: underline !important; + text-underline-offset: 5px; + color: #1d1d1b; + font-weight: 600; + -webkit-transition: all .2s; + transition: all .2s; + } + + .masthead { + margin-bottom: initial; + padding: 10px 0; + color: #fff; + background-color: #ffdb00 !important; + position: relative; + padding: 30px 0; + } + + .masthead::after { + content: ""; + position: absolute; + bottom: 0; + left: 0; + height: 8px; + width: 100%; + background: repeating-linear-gradient(to right, #a71e03, #a71e03 25%, #fbbd00 25%, #fbbd00 75%, #a71e03 75%); + } + .site-footer { margin-top:150px; background: #ecece2; diff --git a/ckanext/miteco/public/images/default/header-logo.png b/ckanext/miteco/public/images/default/header-logo.png new file mode 100644 index 0000000000000000000000000000000000000000..75bde3cbd80b303f83e241dbf78146d41f2cf863 GIT binary patch literal 6832 zcmX}Q1yB{v_ddM$(wFY8OE)6j-FZQ}B$SZuzBJM$C8;2wgorfKNVg*0se(wC@aOaU zzVpuPoH^&&XP@0U8?$p>>T0Xt!l+;X09-XyMFaql2N$SeqCD8`L`+2hpxe5d21+XK znvB#`92De?6y$8g#Eg`rEHuR2S^Bso4dH8CL@#_VH3q9?!<8xd@!MigX%8IQpzXM!|-hICiQN1EE(GI2QR z;o?1VN{owf(#Lo{LaK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