Skip to content

Commit 8335c10

Browse files
author
Matt Swanson
committed
use icons for feed status. fixes stringer-rss#67
1 parent 5a0475d commit 8335c10

2 files changed

Lines changed: 7 additions & 12 deletions

File tree

‎app/public/css/styles.css‎

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -251,14 +251,8 @@ p.story-details {
251251
}
252252

253253
li.feed .status {
254-
height: 15px;
255-
width: 15px;
256-
display: inline-block;
257-
line-height: 30px;
258-
border-radius: 50px;
259-
position: relative;
260-
top: 2px;
261-
left: 6px;
254+
margin-right: 5px;
255+
color: #ddd;
262256
}
263257

264258
li.feed .feed-line {
@@ -267,6 +261,7 @@ li.feed .feed-line {
267261

268262
li.feed .feed-title {
269263
display: inline-block;
264+
margin-left: 5px;
270265
}
271266

272267
li.feed .feed-title a {
@@ -285,15 +280,15 @@ li.feed .feed-title-container {
285280
}
286281

287282
li.feed .status.green {
288-
background: #2ECC71;
283+
color: #2ECC71;
289284
}
290285

291286
li.feed .status.yellow {
292-
background: #F1C40F;
287+
color: #F1C40F;
293288
}
294289

295290
li.feed .status.red {
296-
background: #E74C3C;
291+
color: #E74C3C;
297292
}
298293

299294
li.feed .feed-last-updated {

‎app/views/partials/_feed.erb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<li class="feed" id="feed-<%= feed.id%>" data-id="<%= feed.id %>">
22
<div class="row-fluid feed-line">
33
<div class="span7 feed-title-container">
4-
<div class="status <%= feed.status_bubble %>"></div>
54
<p class="feed-title">
5+
<i class="icon-circle status <%= feed.status_bubble %>"></i>
66
<a href="<%= feed.url %>"><%= feed.name %></a>
77
</p>
88
</div>

0 commit comments

Comments
 (0)