Skip to content

Commit d49e393

Browse files
committed
chore: change a background color of image counter for better contrast.
Follow-up to #1420
1 parent 45f4e92 commit d49e393

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

src/main/java/ru/mystamps/web/feature/site/ResourceUrl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public final class ResourceUrl {
3232
public static final String STATIC_RESOURCES_URL = "https://stamps.filezz.ru";
3333

3434
// MUST be updated when any of our resources were modified
35-
public static final String RESOURCES_VERSION = "v0.4.4.2";
35+
public static final String RESOURCES_VERSION = "v0.4.4.3";
3636

3737
// CheckStyle: ignore LineLength for next 16 lines
3838
private static final String CATALOG_UTILS_JS = "/public/js/" + RESOURCES_VERSION + "/CatalogUtils.min.js";

src/main/webapp/WEB-INF/static/styles/main.css

+1
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,5 @@ label {
129129
position: absolute;
130130
top: 10px;
131131
left: 10px;
132+
background-color: black;
132133
}

src/main/webapp/WEB-INF/views/collection/info.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ <h4 class="panel-title" th:text="#{t_stamps_by_categories}">Stamps by categories
143143
th:alt="${desc}"
144144
th:title="${desc}"
145145
th:src="@{${GET_IMAGE_PREVIEW_PAGE}(id=${series.previewId})}" />
146-
<span class="label label-default image-counter"
146+
<span class="label image-counter"
147147
th:if="${series.numberOfImages &gt; 1}"
148148
th:text="#{t_images_counter(${series.numberOfImages})}">5 images</span>
149149
</a>
@@ -176,7 +176,7 @@ <h4 class="panel-title" th:text="#{t_stamps_by_categories}">Stamps by categories
176176
<figure>
177177
<a href="../series/info.html">
178178
<img src="http://via.placeholder.com/250" alt="Prehistoric animals, Italy, 22&nbsp;stamps" title="Prehistoric animals, Italy, 22&nbsp;stamps" />
179-
<span class="label label-default image-counter">2 images</span>
179+
<span class="label image-counter">2 images</span>
180180
</a>
181181
<figcaption>
182182
<a href="../series/info.html">Prehistoric animals, Italy, 22&nbsp;stamps</a>

src/main/webapp/WEB-INF/views/country/info.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ <h3 id="page-header" th:text="${#strings.capitalize(header)}">
100100
th:alt="${label}"
101101
th:title="${label}"
102102
th:src="@{${GET_IMAGE_PREVIEW_PAGE}(id=${series.previewId})}" />
103-
<span class="label label-default image-counter"
103+
<span class="label image-counter"
104104
th:if="${series.numberOfImages &gt; 1}"
105105
th:text="#{t_images_counter(${series.numberOfImages})}">5 images</span>
106106
</a>

0 commit comments

Comments
 (0)