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

Lots of card tweaks, looks a lot better

This commit is contained in:
2016-07-23 21:35:44 +02:00
parent 07d6c54c7e
commit a6eca5e656
2 changed files with 26 additions and 11 deletions

View File

@@ -43,5 +43,17 @@
.card.tiny .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;
} }

View File

@@ -70,22 +70,25 @@
#} #}
<div class="card tiny green darken-3"> <div class="card tiny green darken-3">
<div class="card-content white-text"> <div class="card-content white-text">
<span class="card-title activator"><i class="material-icons right">more_vert</i></span> <span class="digimark-card-header activator">
{% 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) }}" />&nbsp;&nbsp;&nbsp;
{% endif %}
{% 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 %}
<div class="valign-wrapper"> <i class="material-icons right">more_vert</i>
<div class="valign"><a href="{{ bookmark.url }}" title="{{ bookmark.url }}" rel="noreferrer"> </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) }}" />&nbsp;
{% endif %}
<a href="{{ bookmark.url }}" title="{{ bookmark.url }}" rel="noreferrer">
{% if bookmark.starred == True %} {% if bookmark.starred == True %}
<i class="material-icons">star</i> <i class="tiny material-icons">star</i>
{% endif %} {% endif %}
{% if bookmark.title %} {% if bookmark.title %}
{{ bookmark.title }} {{ bookmark.title }}