mirror of
https://github.com/wallabag/wallabag.git
synced 2025-04-23 10:24:12 +00:00
Entry view tags styled udpated
This commit is contained in:
parent
4f765489ed
commit
5d1abde36d
5 changed files with 25 additions and 16 deletions
|
@ -133,18 +133,20 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.tags {
|
.tags {
|
||||||
float: right;
|
display: flex;
|
||||||
margin: 5px 15px 10px;
|
margin: 0;
|
||||||
|
align-items: center;
|
||||||
|
gap: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.chip {
|
.chip {
|
||||||
background-color: #9e9e9e;
|
display: flex;
|
||||||
padding: 0 15px 0 10px;
|
margin: 0;
|
||||||
margin: auto 2px;
|
padding: 0;
|
||||||
border-radius: 6px;
|
|
||||||
height: 18px;
|
height: 18px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
|
background-color: transparent;
|
||||||
|
|
||||||
a,
|
a,
|
||||||
i {
|
i {
|
||||||
|
@ -152,12 +154,23 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
i.material-icons {
|
i.material-icons {
|
||||||
float: right;
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
padding-left: 8px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.chip-label {
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 5px;
|
||||||
|
background-color: #9e9e9e;
|
||||||
|
border-radius: 6px 0 0 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chip-action {
|
||||||
|
padding: 0 5px;
|
||||||
|
background-color: #868686;
|
||||||
|
border-radius: 0 6px 6px 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -81,10 +81,6 @@
|
||||||
color: #dfdfdf !important;
|
color: #dfdfdf !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#article .chip {
|
|
||||||
background-color: #373737;
|
|
||||||
}
|
|
||||||
|
|
||||||
.side-nav li.active {
|
.side-nav li.active {
|
||||||
background-color: #2f2f2f;
|
background-color: #2f2f2f;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
<ul class="tags{{ listClass|default("") }}">
|
<ul class="tags{{ listClass|default("") }}">
|
||||||
{% for tag in tags %}
|
{% for tag in tags %}
|
||||||
<li class="chip" title="{{ tag.label }}">
|
<li class="chip" title="{{ tag.label }}">
|
||||||
<a href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a>
|
<a class="chip-label" href="{{ path('tag_entries', {'slug': tag.slug}) }}">{{ tag.label }}</a>
|
||||||
{% if withRemove is defined and withRemove == true %}
|
{% if withRemove is defined and withRemove == true %}
|
||||||
<a href="{{ path('remove_tag', {'entry': entryId, 'tag': tag.id}) }}" onclick="return confirm('{{ 'entry.confirm.delete_tag'|trans|escape('js') }}')">
|
<a class="chip-action" href="{{ path('remove_tag', {'entry': entryId, 'tag': tag.id}) }}" onclick="return confirm('{{ 'entry.confirm.delete_tag'|trans|escape('js') }}')">
|
||||||
<i class="material-icons vertical-align-middle">delete</i>
|
<i class="material-icons vertical-align-middle">delete</i>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue