Skip to content

Commit a5f7e42

Browse files
committed
update css/less/js
1 parent abf817f commit a5f7e42

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

Resources/Public/css/main.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Resources/Public/css/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ jQuery(function ($) {
217217

218218
// Get json content from element LogoCarousel.html
219219
var ariaLabels = document.getElementsByClassName('js__aria-labels')
220-
if (ariaLabels) {
220+
if (ariaLabels && ariaLabels.length > 0) {
221221
// Use only first aria label object because they are all equal
222222
var label = JSON.parse(ariaLabels[0].innerHTML)
223223

Resources/Public/less/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ jQuery(function ($) {
217217

218218
// Get json content from element LogoCarousel.html
219219
var ariaLabels = document.getElementsByClassName('js__aria-labels')
220-
if (ariaLabels) {
220+
if (ariaLabels && ariaLabels.length > 0) {
221221
// Use only first aria label object because they are all equal
222222
var label = JSON.parse(ariaLabels[0].innerHTML)
223223

Resources/Public/less/main.less

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6878,6 +6878,14 @@ div.awesomplete li[aria-selected="true"] mark {
68786878
background: @carousel-control-color;
68796879
}
68806880

6881+
._light-transparent-bg .img-slider__caption {
6882+
background: rgba(255, 255, 255, 0.3);
6883+
}
6884+
6885+
._dark-transparent-bg .img-slider__caption {
6886+
background: rgba(0, 0, 0, 0.3);
6887+
}
6888+
68816889
@media (min-width: @screen-sm-min) {
68826890
.img-slider__caption {
68836891
padding: 30px 50px;

0 commit comments

Comments
 (0)