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 | 24 | <a class="pull-right" target="_blank" |
| 25 | 25 | href="{% url 'rss_latest_colab' %}" |
| 26 | 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 | 29 | </h3> |
| 29 | 30 | <ul> |
| 30 | 31 | {% for doc in latest_docs %} |
| ... | ... | @@ -52,7 +53,8 @@ |
| 52 | 53 | <a class="pull-right" target="_blank" |
| 53 | 54 | href="{% url 'rss_hottest_threads' %}" |
| 54 | 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 | 58 | </h3> |
| 57 | 59 | <ul> |
| 58 | 60 | {% for thread in hottest_threads %} |
| ... | ... | @@ -71,7 +73,8 @@ |
| 71 | 73 | <a class="pull-right" target="_blank" |
| 72 | 74 | href="{% url 'rss_latest_threads' %}" |
| 73 | 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 | 78 | </h3> |
| 76 | 79 | <ul> |
| 77 | 80 | {% for thread in latest_threads %} | ... | ... |
src/colab/static/css/screen.css
| 1 | 1 | /* Header */ |
| 2 | - | |
| 3 | 2 | #header-searchbox { |
| 4 | 3 | width: 290px; |
| 5 | 4 | } |
| ... | ... | @@ -11,6 +10,8 @@ |
| 11 | 10 | #header-hr{ |
| 12 | 11 | margin-top: 0; |
| 13 | 12 | } |
| 13 | +/* End of Header */ | |
| 14 | + | |
| 14 | 15 | |
| 15 | 16 | /* From message-preview.html*/ |
| 16 | 17 | .quiet { |
| ... | ... | @@ -78,3 +79,10 @@ |
| 78 | 79 | .subject img { |
| 79 | 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 | +} | ... | ... |