forked from zaclys/searxng
add class for infobox's official url
This commit is contained in:
parent
001eb047cd
commit
74270a3fc2
|
@ -295,12 +295,18 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
|
|||
.infobox .panel-heading .panel-title {
|
||||
font-weight: 700;
|
||||
}
|
||||
.infobox .header_url {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
}
|
||||
.infobox p {
|
||||
font-family: "DejaVu Serif", Georgia, Cambria, "Times New Roman", Times, serif !important;
|
||||
font-style: italic;
|
||||
}
|
||||
.infobox img {
|
||||
max-height: 250px;
|
||||
max-height: "250px";
|
||||
}
|
||||
.infobox .btn {
|
||||
background-color: #007ab8;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -268,12 +268,18 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
|
|||
.infobox .panel-heading .panel-title {
|
||||
font-weight: 700;
|
||||
}
|
||||
.infobox .header_url {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
}
|
||||
.infobox p {
|
||||
font-family: "DejaVu Serif", Georgia, Cambria, "Times New Roman", Times, serif !important;
|
||||
font-style: italic;
|
||||
}
|
||||
.infobox img {
|
||||
max-height: 250px;
|
||||
max-height: "250px";
|
||||
}
|
||||
.infobox .btn {
|
||||
background-color: #007ab8;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -167,6 +167,12 @@ input[type=checkbox]:not(:checked) + .label_hide_if_checked + .label_hide_if_not
|
|||
.infobox .infobox_part:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.infobox .header_url {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
}
|
||||
.search_categories,
|
||||
#categories {
|
||||
text-transform: capitalize;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -8,6 +8,13 @@
|
|||
}
|
||||
}
|
||||
|
||||
.header_url {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
p{
|
||||
font-family: "DejaVu Serif", Georgia, Cambria, "Times New Roman", Times, serif !important;
|
||||
|
|
|
@ -12,4 +12,11 @@
|
|||
.infobox_part:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.header_url {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
{% endfor %}
|
||||
</div>
|
||||
<h4 class="panel-title"><bdi>{{ infobox.infobox }}</bdi></h4>{{- "" -}}
|
||||
{% for u in infobox.urls %}{% if u.official %} <a href="{{ u.url }}">{{ u.domain }}</a>{% endif %}{% endfor %}
|
||||
{% for u in infobox.urls %}{% if u.official %} <a class="header_url" href="{{ u.url }}">{{ u.url }}</a>{% endif %}{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
|
|
Loading…
Reference in New Issue