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 @@
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`rEHuR2aA&ru>8%*#u)7pmtZK4$}>QSfkHo5Bh-2twJMTo?O;BUvAY`O_@Sa;sMVt84j{>|O#VuRg
zx#l-a&i@E6pT_RlZ7HTy*U@JuxfFFF;zDHf1=_ueeKl?3$#n{S8Sh<>iNcP24+r3c
zRS+F%{P+|a=wlzM#^4u`p%Q`d=}#+1TcAPl&0*-qvR{hD?Z@-wteBdZEI%{pcK_eY
zen!>ik_ZKxA62(LgLk+%zb`q|Gj#>+jIaYo-?47*nPkEuwwdUgebx2k3Z<(1CXCB<
zGuu3}jl*9vHo?&WYfq*C2P%PTv5q=tM5_E7UG_7$-A6{+8ct4Bvo~eRky(AD{(?NC
z*&IT|A-D5B77{nD$s{RMeFYMRW4Vu?AG8P5*Wr#9Hu;X9iirrW3NM(vXz`kFZ#x{G
z)lRznvmZXMi+)JwQ}CQyGlhw4t`m%cO{@wh;8Mr<7l+S`|6hzoJCsXt!|r!I
za+8w;l+h;t#9UXNuA`NQRuKe>*4C%DLnY{HC`;9;JvgYW)NC-Z)^Rf2yiTfFn(3IL
rPiAk^JtdhchK%-1PVepE+xH+h4|w6AG$lV&