More specific classes to thumbnails on masonry and recods view mode to avoid overriding by external themes.
This commit is contained in:
parent
8977ebc5eb
commit
370f7ff6af
File diff suppressed because it is too large
Load Diff
|
@ -215,7 +215,7 @@
|
||||||
<div
|
<div
|
||||||
@click="onClickItem($event, item, index)"
|
@click="onClickItem($event, item, index)"
|
||||||
v-if="item.thumbnail != undefined"
|
v-if="item.thumbnail != undefined"
|
||||||
class="thumbnail"
|
class="tainacan-masonry-item-thumbnail"
|
||||||
:style="{ backgroundImage: 'url(' + (item['thumbnail']['tainacan-medium-full'] ? item['thumbnail']['tainacan-medium-full'][0] : (item['thumbnail'].medium_large ? item['thumbnail'].medium_large[0] : thumbPlaceholderPath)) + ')' }">
|
:style="{ backgroundImage: 'url(' + (item['thumbnail']['tainacan-medium-full'] ? item['thumbnail']['tainacan-medium-full'][0] : (item['thumbnail'].medium_large ? item['thumbnail'].medium_large[0] : thumbPlaceholderPath)) + ')' }">
|
||||||
<img
|
<img
|
||||||
:alt="$i18n.get('label_thumbnail')"
|
:alt="$i18n.get('label_thumbnail')"
|
||||||
|
@ -508,7 +508,7 @@
|
||||||
class="media"
|
class="media"
|
||||||
@click="onClickItem($event, item, index)">
|
@click="onClickItem($event, item, index)">
|
||||||
<div class="list-metadata media-body">
|
<div class="list-metadata media-body">
|
||||||
<div class="thumbnail">
|
<div class="tainacan-record-thumbnail">
|
||||||
<img
|
<img
|
||||||
:alt="$i18n.get('label_thumbnail')"
|
:alt="$i18n.get('label_thumbnail')"
|
||||||
v-if="item.thumbnail != undefined"
|
v-if="item.thumbnail != undefined"
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.thumbnail {
|
.tainacan-masonry-item-thumbnail {
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-color: #f6f6f6;
|
background-color: #f6f6f6;
|
||||||
background-blend-mode: multiply;
|
background-blend-mode: multiply;
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
.thumbnail {
|
.tainacan-record-thumbnail {
|
||||||
float: right;
|
float: right;
|
||||||
margin: 0 0 25px 25px;
|
margin: 0 0 25px 25px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
<!-- Thumbnail -->
|
<!-- Thumbnail -->
|
||||||
<div
|
<div
|
||||||
v-if="item.thumbnail != undefined"
|
v-if="item.thumbnail != undefined"
|
||||||
class="thumbnail"
|
class="tainacan-masonry-item-thumbnail"
|
||||||
:style="{ backgroundImage: 'url(' + (item['thumbnail']['tainacan-medium-full'] ? item['thumbnail']['tainacan-medium-full'][0] : (item['thumbnail'].medium_large ? item['thumbnail'].medium_large[0] : thumbPlaceholderPath)) + ')' }">
|
:style="{ backgroundImage: 'url(' + (item['thumbnail']['tainacan-medium-full'] ? item['thumbnail']['tainacan-medium-full'][0] : (item['thumbnail'].medium_large ? item['thumbnail'].medium_large[0] : thumbPlaceholderPath)) + ')' }">
|
||||||
<img
|
<img
|
||||||
:alt="$i18n.get('label_thumbnail')"
|
:alt="$i18n.get('label_thumbnail')"
|
||||||
|
|
|
@ -80,7 +80,7 @@
|
||||||
<div class="media">
|
<div class="media">
|
||||||
<div class="list-metadata media-body">
|
<div class="list-metadata media-body">
|
||||||
<div
|
<div
|
||||||
class="thumbnail"
|
class="tainacan-record-thumbnail"
|
||||||
v-if="item.thumbnail != undefined">
|
v-if="item.thumbnail != undefined">
|
||||||
<img
|
<img
|
||||||
:alt="$i18n.get('label_thumbnail')"
|
:alt="$i18n.get('label_thumbnail')"
|
||||||
|
|
Loading…
Reference in New Issue