Blender Studio pull request - Version 2.2.0 update #104394

Merged
Márton Lente merged 64 commits from ui/v2.2.0 into main 2024-04-08 16:32:44 +02:00
Showing only changes of commit 5230a10940 - Show all commits

View File

@ -2,7 +2,7 @@
{% load thumbnail %} {% load thumbnail %}
{% load common_extras %} {% load common_extras %}
<div class="cards-item file grid-item {{ card_sizes|default:"col-12 col-sm-6 col-md-6 col-lg-4" }} {% if aspect_ratio == "16:9" %}widescreen{% elif aspect_ratio == "4:3" %}fourbythree{% elif aspect_ratio == "1:1" %}square{% endif %}"> <div class="cards-item cards-item-file file grid-item {{ card_sizes|default:"col-12 col-sm-6 col-md-6 col-lg-4" }} {% if aspect_ratio == "16:9" %}widescreen{% elif aspect_ratio == "4:3" %}fourbythree{% elif aspect_ratio == "1:1" %}square{% endif %}">
<a class="cards-item-content" href="{{ child_collection.url }}"> <a class="cards-item-content" href="{{ child_collection.url }}">
<div class="position-relative"> <div class="position-relative">
<div class="cards-item-thumbnail {% if not child_collection.thumbnail %}bg-tertiary ratio-16x9{% endif %}"> <div class="cards-item-thumbnail {% if not child_collection.thumbnail %}bg-tertiary ratio-16x9{% endif %}">
@ -18,6 +18,11 @@
<img class="file-icon" src="{% static "common/images/icons/folder.svg" %}" alt="Folder Icon"> <img class="file-icon" src="{% static "common/images/icons/folder.svg" %}" alt="Folder Icon">
{% endif %} {% endif %}
</div> </div>
<h4 class="cards-item-title">{{ child_collection.name }}</h4> <div class="cards-item-title-overlay position-absolute w-100"></div>
<h4 class="cards-item-title d-flex mb-0 position-absolute w-100">
<span data-bs-tooltip="tooltip-overflow" data-placement="top" title="{{ child_collection.name }}">
<span class="overflow-text">{{ child_collection.name }}</span>
</span>
</h4>
</a> </a>
</div> </div>