1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-06 23:05:10 +01:00

Better layout of Star and Warning icons

This commit is contained in:
2016-08-05 20:11:05 +02:00
parent 5840baa657
commit 16ed20bd9b
2 changed files with 21 additions and 21 deletions

View File

@@ -60,7 +60,7 @@
.card-image i .card-image i
{ {
padding-top: 5px; padding: 5px 0 0 10px;
} }
.card.horizontal .card-image img.favicon .card.horizontal .card-image img.favicon

View File

@@ -74,33 +74,33 @@
<img src="{{ url_for('static', filename='favicons/' + bookmark.favicon) }}" class="favicon" />&nbsp; <img src="{{ url_for('static', filename='favicons/' + bookmark.favicon) }}" class="favicon" />&nbsp;
{% endif %} {% endif %}
{% if bookmark.http_status != 200 %} {% if bookmark.http_status != 200 %}
<i class="small material-icons red-text" title="HTTP status {{ bookmark.http_status }}">report_problem</i> <i class="small material-icons red-text" title="HTTP status {{ bookmark.http_status }}">report_problem</i><br />
{% endif %} {% endif %}
{% if bookmark.starred == True %} {% if bookmark.starred == True %}
<i class="small material-icons yellow-text">star</i> <i class="small material-icons yellow-text">star</i>
{% endif %} {% endif %}
</div> </div>
<div class="card-stacked"> <div class="card-stacked">
<div class="card-content white-text"> <div class="card-content white-text">
<span class="digimark-card-header activator"> <span class="digimark-card-header activator">
{% for tag in bookmark.tags_list %} {% for tag in bookmark.tags_list %}
<div class="chip"> <div class="chip">
<a href="{{ url_for('tag', userkey=userkey, tag=tag) }}">{{ tag }}</a> <a href="{{ url_for('tag', userkey=userkey, tag=tag) }}">{{ tag }}</a>
</div> </div>
{% endfor %} {% endfor %}
<i class="material-icons right">more_vert</i> <i class="material-icons right">more_vert</i>
</span> </span>
<div class="digimark-card-content"> <div class="digimark-card-content">
<a href="{{ bookmark.url }}" title="{{ bookmark.url }}" rel="noreferrer"> <a href="{{ bookmark.url }}" title="{{ bookmark.url }}" rel="noreferrer">
{% if bookmark.title %} {% if bookmark.title %}
{{ bookmark.title }} {{ bookmark.title }}
{% else %} {% else %}
[ no title ] [ no title ]
{% endif %} {% endif %}
</a> </a>
</div>
</div> </div>
</div> </div>
</div>
<div class="card-reveal green darken-3"> <div class="card-reveal green darken-3">
<span class="card-title white-text valign-wrapper">Added @ {{ bookmark.created_date.strftime('%Y-%m-%d %H:%M') }}<i class="material-icons right">close</i></span> <span class="card-title white-text valign-wrapper">Added @ {{ bookmark.created_date.strftime('%Y-%m-%d %H:%M') }}<i class="material-icons right">close</i></span>
<div class="white-text valign"> <div class="white-text valign">