mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-06 20:55:10 +01:00
Lots of card tweaks, looks a lot better
This commit is contained in:
@@ -43,5 +43,17 @@
|
||||
|
||||
.card.tiny
|
||||
{
|
||||
height: 160px;
|
||||
height: 140px;
|
||||
}
|
||||
|
||||
.card .card-reveal .digimark-card-header,
|
||||
.card .digimark-card-header.activator
|
||||
{
|
||||
cursor: pointer;
|
||||
/*display: block;*/
|
||||
}
|
||||
|
||||
.card .digimark-card-content
|
||||
{
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
@@ -70,22 +70,25 @@
|
||||
#}
|
||||
<div class="card tiny green darken-3">
|
||||
<div class="card-content white-text">
|
||||
<span class="card-title activator"><i class="material-icons right">more_vert</i></span>
|
||||
{% if bookmark.http_status != 200 %}
|
||||
<i class="material-icons" title="HTTP status {{ bookmark.http_status }}">report_problem</i>
|
||||
{% endif %}
|
||||
{% if bookmark.favicon %}
|
||||
<img src="{{ url_for('static', filename='favicons/' + bookmark.favicon) }}" />
|
||||
{% endif %}
|
||||
<span class="digimark-card-header activator">
|
||||
{% for tag in bookmark.tags_list %}
|
||||
<div class="chip">
|
||||
<a href="{{ url_for('tag', userkey=userkey, tag=tag) }}">{{ tag }}</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="valign-wrapper">
|
||||
<div class="valign"><a href="{{ bookmark.url }}" title="{{ bookmark.url }}" rel="noreferrer">
|
||||
<i class="material-icons right">more_vert</i>
|
||||
</span>
|
||||
<div class="valign-wrapper digimark-card-content">
|
||||
<div class="valign">
|
||||
{% if bookmark.http_status != 200 %}
|
||||
<i class="tiny material-icons" title="HTTP status {{ bookmark.http_status }}">report_problem</i>
|
||||
{% endif %}
|
||||
{% if bookmark.favicon %}
|
||||
<img src="{{ url_for('static', filename='favicons/' + bookmark.favicon) }}" />
|
||||
{% endif %}
|
||||
<a href="{{ bookmark.url }}" title="{{ bookmark.url }}" rel="noreferrer">
|
||||
{% if bookmark.starred == True %}
|
||||
<i class="material-icons">star</i>
|
||||
<i class="tiny material-icons">star</i>
|
||||
{% endif %}
|
||||
{% if bookmark.title %}
|
||||
{{ bookmark.title }}
|
||||
|
||||
Reference in New Issue
Block a user