style outsourcing
This commit is contained in:
parent
c0413705a8
commit
d71eece80e
@ -904,7 +904,7 @@ span#tags {
|
||||
}
|
||||
|
||||
span#tags:empty {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.badge-success {
|
||||
@ -1238,5 +1238,10 @@ table.table th, table.table td {
|
||||
padding: 7px 15px;
|
||||
}
|
||||
table.table tbody tr:nth-of-type(even) {
|
||||
background-color: #232323;
|
||||
background-color: var(--badge-tag);
|
||||
}
|
||||
|
||||
/* tags */
|
||||
#tags .badge > a:first-child {
|
||||
color: inherit !important;
|
||||
}
|
||||
|
@ -63,8 +63,8 @@
|
||||
<span class="badge badge-dark" id="tags">
|
||||
@if(typeof item.tags !== "undefined")
|
||||
@each(item.tags as tag)
|
||||
<span @if(session)title="{{ tag.user }}"@endif class="badge @if(tag.tag[0] == "&")badge-greentext@endif badge-{{ (tag.tag === "nsfw" ? "danger" : tag.tag === "sfw" ? "success" : "light") }} mr-2">
|
||||
<a href="/tag/{{ tag.tag.replace(/\s/g, "%20") }}" style="color: inherit !important;">{{ tag.tag }}</a>@if(session) <a href="#">×</a>@endif
|
||||
<span @if(session)title="{{ tag.user }}" data-tagid="{{ tag.id }}"@endif class="badge@if(tag.tag[0] == "&") badge-greentext@endif badge-{{ (tag.tag === "nsfw" ? "danger" : tag.tag === "sfw" ? "success" : "light") }} mr-2">
|
||||
<a href="/tag/{{ tag.tag.replace(/\s/g, "%20") }}">{{ tag.tag }}</a>@if(session) <a href="#">×</a>@endif
|
||||
</span>
|
||||
@endeach
|
||||
@endif
|
||||
|
Loading…
Reference in New Issue
Block a user