Mercurial > kallithea
changeset 4593:9a66b802aec6
rss_16.png: use new icon-rss-squared font
The old png icon had color for its background so the journal template needed to
set it to something so that it wasn't lost to transparency.
A quick search revealed that some old css code was never used, so it was
removed.
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Tue, 02 Sep 2014 15:52:54 +0200 |
parents | e1096cf1be2c |
children | a82f8e1b83aa |
files | kallithea/public/css/contextbar.css kallithea/public/css/style.css kallithea/public/images/icons/rss_16.png kallithea/templates/data_table/_dt_elements.html kallithea/templates/journal/journal.html kallithea/templates/journal/public_journal.html kallithea/templates/summary/summary.html |
diffstat | 7 files changed, 12 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/css/contextbar.css Mon Jul 14 23:42:04 2014 -0500 +++ b/kallithea/public/css/contextbar.css Tue Sep 02 15:52:54 2014 +0200 @@ -26,7 +26,6 @@ i.icon-time { background-image: url("../images/icons/time.png"); } i.icon-list-alt { background-image: url("../images/icons/time.png"); } i.icon-unlock { background-image: url('../images/icons/lock_open.png');} -i.icon-rss-sign { background-image: url('../images/icons/rss_16.png');} i.icon-plus-sign { background-image: url('../images/icons/add.png');} i.icon-chevron-left:after { content: "\00AB";} i.icon-chevron-right:after { content: "\00BB";}
--- a/kallithea/public/css/style.css Mon Jul 14 23:42:04 2014 -0500 +++ b/kallithea/public/css/style.css Tue Sep 02 15:52:54 2014 +0200 @@ -1741,7 +1741,6 @@ #summary-menu-stats a.followers { background-image: url('../images/icons/heart.png')} #summary-menu-stats a.forks { background-image: url('../images/icons/arrow_divide.png')} -#summary-menu-stats a.feed { background-image: url('../images/icons/rss_16.png')} #summary-menu-stats a.repo-size { background-image: url('../images/icons/server.png')} #summary-menu-stats a { @@ -3356,22 +3355,6 @@ text-align: left; } -.rss_icon { - background: url("../images/icons/rss_16.png") no-repeat scroll 3px; - padding-left: 20px; - padding-top: 4px; - text-align: left; - font-size: 8px -} - -.atom_icon { - background: url("../images/icons/rss_16.png") no-repeat scroll 3px; - padding-left: 20px; - padding-top: 4px; - text-align: left; - font-size: 8px -} - .archive_icon { background: url("../images/icons/compress.png") no-repeat scroll 3px; padding-left: 20px; @@ -5227,3 +5210,7 @@ .repo-switcher-dropdown .select2-result-label span.repo-icons { margin-left: -12px; } + +.icon-only-links i { + color: white; +}
--- a/kallithea/templates/data_table/_dt_elements.html Mon Jul 14 23:42:04 2014 -0500 +++ b/kallithea/templates/data_table/_dt_elements.html Tue Sep 02 15:52:54 2014 +0200 @@ -108,17 +108,17 @@ <%def name="rss(name)"> %if c.authuser.username != 'default': - <a title="${_('Subscribe to %s rss feed')% name}" href="${h.url('rss_feed_home',repo_name=name,api_key=c.authuser.api_key)}"><i class="icon-rss-sign" style="color: #fa9b39"></i></a> + <a title="${_('Subscribe to %s rss feed')% name}" href="${h.url('rss_feed_home',repo_name=name,api_key=c.authuser.api_key)}"><i class="icon-rss-squared" style="color: #fa9b39"></i></a> %else: - <a title="${_('Subscribe to %s rss feed')% name}" href="${h.url('rss_feed_home',repo_name=name)}"><i class="icon-rss-sign" style="color: #fa9b39"></i></a> + <a title="${_('Subscribe to %s rss feed')% name}" href="${h.url('rss_feed_home',repo_name=name)}"><i class="icon-rss-squared" style="color: #fa9b39"></i></a> %endif </%def> <%def name="atom(name)"> %if c.authuser.username != 'default': - <a title="${_('Subscribe to %s atom feed')% name}" href="${h.url('atom_feed_home',repo_name=name,api_key=c.authuser.api_key)}"><i class="icon-rss-sign" style="color: #fa9b39"></i></a> + <a title="${_('Subscribe to %s atom feed')% name}" href="${h.url('atom_feed_home',repo_name=name,api_key=c.authuser.api_key)}"><i class="icon-rss-squared" style="color: #fa9b39"></i></a> %else: - <a title="${_('Subscribe to %s atom feed')% name}" href="${h.url('atom_feed_home',repo_name=name)}"><i class="icon-rss-sign" style="color: #fa9b39"></i></a> + <a title="${_('Subscribe to %s atom feed')% name}" href="${h.url('atom_feed_home',repo_name=name)}"><i class="icon-rss-squared" style="color: #fa9b39"></i></a> %endif </%def>
--- a/kallithea/templates/journal/journal.html Mon Jul 14 23:42:04 2014 -0500 +++ b/kallithea/templates/journal/journal.html Tue Sep 02 15:52:54 2014 +0200 @@ -35,7 +35,7 @@ <span><a id="refresh" href="${h.url('journal')}"><i class="icon-refresh"></i></a></span> </li> <li> - <span><a href="${h.url('journal_atom', api_key=c.authuser.api_key)}"><i class="icon-rss-sign"></i></a></span> + <span><a href="${h.url('journal_atom', api_key=c.authuser.api_key)}"><i class="icon-rss-squared"></i></a></span> </li> </ul> </div>
--- a/kallithea/templates/journal/public_journal.html Mon Jul 14 23:42:04 2014 -0500 +++ b/kallithea/templates/journal/public_journal.html Tue Sep 02 15:52:54 2014 +0200 @@ -25,7 +25,7 @@ <ul class="links"> <li> <span> - <a href="${h.url('public_journal_atom')}"> <i class="icon-rss-sign" style="color: #fa9b39"></i></a> + <a href="${h.url('public_journal_atom')}"> <i class="icon-rss-squared" style="color: #fa9b39"></i></a> </span> </li> </ul>
--- a/kallithea/templates/summary/summary.html Mon Jul 14 23:42:04 2014 -0500 +++ b/kallithea/templates/summary/summary.html Tue Sep 02 15:52:54 2014 +0200 @@ -167,9 +167,9 @@ <li> %if c.authuser.username != 'default': - <a href="${h.url('atom_feed_home',repo_name=c.db_repo.repo_name,api_key=c.authuser.api_key)}"><i class="icon-rss-sign"></i> ${_('Feed')}</a> + <a href="${h.url('atom_feed_home',repo_name=c.db_repo.repo_name,api_key=c.authuser.api_key)}"><i class="icon-rss-squared"></i> ${_('Feed')}</a> %else: - <a href="${h.url('atom_feed_home',repo_name=c.db_repo.repo_name)}"><i class="icon-rss-sign"></i> ${_('Feed')}</a> + <a href="${h.url('atom_feed_home',repo_name=c.db_repo.repo_name)}"><i class="icon-rss-squared"></i> ${_('Feed')}</a> %endif </li>