diff --git a/akvo/rsr/static/rsr/v3/css/src/main.css b/akvo/rsr/static/rsr/v3/css/src/main.css index b743d641d7..00b2222683 100755 --- a/akvo/rsr/static/rsr/v3/css/src/main.css +++ b/akvo/rsr/static/rsr/v3/css/src/main.css @@ -68,6 +68,9 @@ a, a:link, a:visited { color: #ff5500; } /****************** Miscellanous Typography ********************/ +img { + max-width: 100%; } + .noItem { color: rgba(44, 42, 116, 0.2); font-weight: bold; } @@ -1054,6 +1057,17 @@ div.textBlock { -webkit-border-radius: 5px; border-radius: 5px; } +/* Update Page */ +.updateMain h1 { + color: #00a79d; + margin-top: 0; } +.updateMain .asideUpList .row { + padding: 15px 0; } + .updateMain .asideUpList .row:nth-of-type(2n+1) { + background-color: rgba(0, 167, 157, 0.1); } + .updateMain .asideUpList .row h5 { + margin-top: 0; } + /* Cookie */ #cookie-law { position: fixed; diff --git a/akvo/rsr/static/rsr/v3/css/src/main.scss b/akvo/rsr/static/rsr/v3/css/src/main.scss index c2cf643acf..3155bd8ba3 100755 --- a/akvo/rsr/static/rsr/v3/css/src/main.scss +++ b/akvo/rsr/static/rsr/v3/css/src/main.scss @@ -49,6 +49,7 @@ a, a:link, a:visited { } /****************** Miscellanous Typography ********************/ +img {max-width:100%;} .noItem { color: rgba($akvoPurple, 0.2); font-weight: bold; @@ -1300,6 +1301,25 @@ div.textBlock { } } +/* Update Page */ +.updateMain { + h1 { + color: $rsrGreen; + margin-top: 0; + } + .asideUpList { + .row { + padding:15px 0; + &:nth-of-type(2n+1) { + background-color: rgba($rsrGreen,0.1); + } + h5 { + margin-top: 0; + } + } + } +} + /* Cookie */ #cookie-law { diff --git a/akvo/templates/update_main.html b/akvo/templates/update_main.html index c805abdf32..5646dd6ecd 100644 --- a/akvo/templates/update_main.html +++ b/akvo/templates/update_main.html @@ -1,96 +1,96 @@ {% extends "base.html" %} - {% load i18n markup_tags rsr_utils bootstrap3 embed_video_tags %} - {% block title %}{{update.title}}{% endblock %} - {% block maincontent %} - -
- {% include "partials/project_header.html" with project=update.project %} -
-
-
-
-
-
-

{{update.title}} - {% if user == update.user and not update.edit_window_has_expired %} - - {% bootstrap_icon "pencil" %} Edit - {% endif %} -

-

{{update.created_at|date:"d-M-Y"}}

-
-
-
+
+ {% endfor %} + + {% endif %}
- - -{% endblock %} + +{% endblock %} \ No newline at end of file