Commit a64cb73c00a57459cd0ceeef70019f73c5b8a97a
1 parent
ae1c68f2
Exists in
master
and in
28 other branches
Enhanced list of tagged articles
(ActionItem1855)
Showing
2 changed files
with
20 additions
and
2 deletions
Show diff stats
app/views/search/_article.rhtml
| 1 | -<li> | |
| 2 | - <strong><%= link_to(article.title, article.url, :class => icon_for_article(article)) %></strong> | |
| 1 | +<li class="<%= icon_for_article(article) %>"> | |
| 2 | + <strong><%= link_to(article.title, article.url) %></strong> | |
| 3 | 3 | <div class="item_meta"> |
| 4 | 4 | <% if article.last_changed_by %> |
| 5 | 5 | <span class="cat_item_by"> | ... | ... |
public/stylesheets/application.css
| ... | ... | @@ -1685,10 +1685,28 @@ input.disabled { |
| 1685 | 1685 | margin-left: 40px; |
| 1686 | 1686 | } |
| 1687 | 1687 | |
| 1688 | + | |
| 1689 | +/******** tagged-items list ***************************/ | |
| 1690 | + | |
| 1688 | 1691 | .search-tagged-items { |
| 1689 | 1692 | margin-top: 1em; |
| 1690 | 1693 | } |
| 1691 | 1694 | |
| 1695 | +.controller-search .search-tagged-items li { | |
| 1696 | + padding-left: 20px; | |
| 1697 | + background-repeat: no-repeat; | |
| 1698 | + background-position: left 2px; | |
| 1699 | + border: none; | |
| 1700 | +} | |
| 1701 | + | |
| 1702 | +.controller-search .search-tagged-items .icon:hover { | |
| 1703 | + background-color: transparent; | |
| 1704 | +} | |
| 1705 | + | |
| 1706 | +.controller-search .search-tagged-items .item_meta { | |
| 1707 | + margin-top: 2px; | |
| 1708 | +} | |
| 1709 | + | |
| 1692 | 1710 | /***** search-popup ***************************/ |
| 1693 | 1711 | |
| 1694 | 1712 | #search-popup h3 { | ... | ... |