mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
Fixing starred date in header.
This commit is contained in:
parent
1e86c2715e
commit
443925b6b7
3 changed files with 24 additions and 7 deletions
|
@ -3661,14 +3661,20 @@ body {
|
||||||
|
|
||||||
.NB-feed-story .NB-feed-story-header .NB-feed-story-starred-date {
|
.NB-feed-story .NB-feed-story-header .NB-feed-story-starred-date {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
background: transparent url('/media/embed/icons/circular/clock.png') no-repeat 0 center;
|
|
||||||
background-size: 16px;
|
|
||||||
padding-left: 20px;
|
|
||||||
/* text-shadow: 1px 1px 0 rgba(255, 255, 255, .5);*/
|
/* text-shadow: 1px 1px 0 rgba(255, 255, 255, .5);*/
|
||||||
color: #808080;
|
color: #808080;
|
||||||
display: block;
|
display: block;
|
||||||
clear: both;
|
clear: both;
|
||||||
margin: 6px 0;
|
margin: 6px 0 0;
|
||||||
|
}
|
||||||
|
.NB-feed-story .NB-feed-story-header .NB-feed-story-starred-date .NB-icon {
|
||||||
|
background: transparent url('/media/embed/icons/circular/clock.png') no-repeat 0 center;
|
||||||
|
background-size: 16px;
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
margin-top: 6px;
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: text-bottom;
|
||||||
}
|
}
|
||||||
.NB-theme-size-xs .NB-feed-story-header .NB-feed-story-starred-date {
|
.NB-theme-size-xs .NB-feed-story-header .NB-feed-story-starred-date {
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
|
@ -3682,6 +3688,14 @@ body {
|
||||||
.NB-theme-size-xl .NB-feed-story-header .NB-feed-story-starred-date {
|
.NB-theme-size-xl .NB-feed-story-header .NB-feed-story-starred-date {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
.NB-pref-story-position-center .NB-feed-story-header .NB-feed-story-starred-date {
|
||||||
|
margin: 6px auto 0;
|
||||||
|
max-width: 700px;
|
||||||
|
}
|
||||||
|
.NB-pref-story-position-right .NB-feed-story-header .NB-feed-story-starred-date {
|
||||||
|
margin: 6px 0 0 auto;
|
||||||
|
max-width: 700px;
|
||||||
|
}
|
||||||
|
|
||||||
.NB-feed-story .NB-feed-story-content {
|
.NB-feed-story .NB-feed-story-content {
|
||||||
padding: 12px 0 0;
|
padding: 12px 0 0;
|
||||||
|
|
|
@ -250,7 +250,10 @@ NEWSBLUR.Views.StoryDetailView = Backbone.View.extend({
|
||||||
<% } %>\
|
<% } %>\
|
||||||
</div>\
|
</div>\
|
||||||
<% if (story.get("starred_date")) { %>\
|
<% if (story.get("starred_date")) { %>\
|
||||||
<span class="NB-feed-story-starred-date"><%= story.get("starred_date") %></span>\
|
<div class="NB-feed-story-starred-date">\
|
||||||
|
<span class="NB-icon"></span>\
|
||||||
|
<%= story.get("starred_date") %>\
|
||||||
|
</div >\
|
||||||
<% } %>\
|
<% } %>\
|
||||||
</div>\
|
</div>\
|
||||||
</div>\
|
</div>\
|
||||||
|
|
|
@ -27,7 +27,7 @@ DEBUG = True
|
||||||
# `./manage.py collectstatic` first. Turn this on for development so you can see
|
# `./manage.py collectstatic` first. Turn this on for development so you can see
|
||||||
# changes in your JS/CSS.
|
# changes in your JS/CSS.
|
||||||
DEBUG_ASSETS = False # Make sure to run `./manage.py collectstatic` first
|
DEBUG_ASSETS = False # Make sure to run `./manage.py collectstatic` first
|
||||||
# DEBUG_ASSETS = True
|
DEBUG_ASSETS = True
|
||||||
|
|
||||||
# DEBUG_QUERIES controls the output of the database query logs. Can be rather verbose
|
# DEBUG_QUERIES controls the output of the database query logs. Can be rather verbose
|
||||||
# but is useful to catch slow running queries. A summary is also useful in cutting
|
# but is useful to catch slow running queries. A summary is also useful in cutting
|
||||||
|
|
Loading…
Add table
Reference in a new issue