Commit 23c4b094d1bec34925a08a52f8cb456eb8cd2527
1 parent
65b2a60e
Exists in
master
and in
39 other branches
Changing RSS images for divs with background rss
Showing
2 changed files
with
15 additions
and
4 deletions
Show diff stats
src/colab/deprecated/templates/home.html
| @@ -24,7 +24,8 @@ | @@ -24,7 +24,8 @@ | ||
| 24 | <a class="pull-right" target="_blank" | 24 | <a class="pull-right" target="_blank" |
| 25 | href="{% url 'rss_latest_colab' %}" | 25 | href="{% url 'rss_latest_colab' %}" |
| 26 | title="{% trans 'RSS - Latest collaborations' %}"> | 26 | title="{% trans 'RSS - Latest collaborations' %}"> |
| 27 | - <img src="{{ STATIC_URL }}img/rss.png" alt="{% trans 'RSS' %}"/></a> | 27 | + <div class="rss-icon"></div> |
| 28 | + </a> | ||
| 28 | </h3> | 29 | </h3> |
| 29 | <ul> | 30 | <ul> |
| 30 | {% for doc in latest_docs %} | 31 | {% for doc in latest_docs %} |
| @@ -52,7 +53,8 @@ | @@ -52,7 +53,8 @@ | ||
| 52 | <a class="pull-right" target="_blank" | 53 | <a class="pull-right" target="_blank" |
| 53 | href="{% url 'rss_hottest_threads' %}" | 54 | href="{% url 'rss_hottest_threads' %}" |
| 54 | title="{% trans "RSS - Discussions Most Relevance" %}"> | 55 | title="{% trans "RSS - Discussions Most Relevance" %}"> |
| 55 | - <img src="{{ STATIC_URL }}img/rss.png" alt="{% trans 'RSS' %}"/></a> | 56 | + <div class="rss-icon"></div> |
| 57 | + </a> | ||
| 56 | </h3> | 58 | </h3> |
| 57 | <ul> | 59 | <ul> |
| 58 | {% for thread in hottest_threads %} | 60 | {% for thread in hottest_threads %} |
| @@ -71,7 +73,8 @@ | @@ -71,7 +73,8 @@ | ||
| 71 | <a class="pull-right" target="_blank" | 73 | <a class="pull-right" target="_blank" |
| 72 | href="{% url 'rss_latest_threads' %}" | 74 | href="{% url 'rss_latest_threads' %}" |
| 73 | title="{% trans "RSS - Latest Discussions" %}"> | 75 | title="{% trans "RSS - Latest Discussions" %}"> |
| 74 | - <img src="{{ STATIC_URL }}img/rss.png" alt="{% trans 'RSS' %}"/></a> | 76 | + <div class="rss-icon"></div> |
| 77 | + </a> | ||
| 75 | </h3> | 78 | </h3> |
| 76 | <ul> | 79 | <ul> |
| 77 | {% for thread in latest_threads %} | 80 | {% for thread in latest_threads %} |
src/colab/static/css/screen.css
| 1 | /* Header */ | 1 | /* Header */ |
| 2 | - | ||
| 3 | #header-searchbox { | 2 | #header-searchbox { |
| 4 | width: 290px; | 3 | width: 290px; |
| 5 | } | 4 | } |
| @@ -11,6 +10,8 @@ | @@ -11,6 +10,8 @@ | ||
| 11 | #header-hr{ | 10 | #header-hr{ |
| 12 | margin-top: 0; | 11 | margin-top: 0; |
| 13 | } | 12 | } |
| 13 | +/* End of Header */ | ||
| 14 | + | ||
| 14 | 15 | ||
| 15 | /* From message-preview.html*/ | 16 | /* From message-preview.html*/ |
| 16 | .quiet { | 17 | .quiet { |
| @@ -78,3 +79,10 @@ | @@ -78,3 +79,10 @@ | ||
| 78 | .subject img { | 79 | .subject img { |
| 79 | margin-right: 5px; | 80 | margin-right: 5px; |
| 80 | } | 81 | } |
| 82 | +/* End of message-preview.html */ | ||
| 83 | + | ||
| 84 | +.rss-icon{ | ||
| 85 | + background-image: url(../img/rss.png); | ||
| 86 | + width: 16px; | ||
| 87 | + height: 16px; | ||
| 88 | +} |