Skip to content

Commit

Permalink
Remove the super parameter in the base html to not override the custo…
Browse files Browse the repository at this point in the history
…m css
  • Loading branch information
ekoteva15 committed Mar 7, 2024
1 parent 00bfa39 commit b92a454
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
9 changes: 8 additions & 1 deletion ckanext/iaea/assets/css/iaea.css
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ a.bg-danger:focus {
}
ul,
ol {
margin-top: -10px;
margin-top: 0px;
margin-bottom: 10px;
}
ul ul,
Expand Down Expand Up @@ -2608,6 +2608,9 @@ label {
margin-bottom: 5px;
font-weight: 700;
}
input::placeholder {
padding: 10px;
}
input[type="search"] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
Expand Down Expand Up @@ -2646,6 +2649,10 @@ input[type="checkbox"]:focus {
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
input::-webkit-input-placeholder {
/* WebKit browsers */
color: red;
}
output {
display: block;
padding-top: 7px;
Expand Down
2 changes: 1 addition & 1 deletion ckanext/iaea/assets/css/rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@ a.bg-danger:focus {
}
ul,
ol {
margin-top: -10px !important;
margin-top: 0px;
margin-bottom: 10px;
}
ul ul,
Expand Down
5 changes: 2 additions & 3 deletions ckanext/iaea/templates/base.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% ckan_extends %} {% block links %} {{ super() }} {% block
googleanalytics_header %} {{ h.iaea_ga_header() }} {% endblock %} {% endblock %}
{% block styles %} {{ super() }} {% if h.is_rtl_language() %} {% asset
'iaea/rtl-css' %} {% else %} {% asset 'iaea/iaea-css' %} {% endif %} {% endblock
%}
{% block styles %} {% if h.is_rtl_language() %} {% asset 'iaea/rtl-css' %} {%
else %} {% asset 'iaea/iaea-css' %} {% endif %} {% endblock %}

0 comments on commit b92a454

Please sign in to comment.