Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Configuration/ContentElements/Slider.pagets
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ TCEFORM.tt_content.pi_flexform.contentElementSlider.sDEF.captionAlign {
}

# This is for adding options in the selectbox in each slide.
# TCEFORM.sys_file_reference.tx_themet3kit_slide_appearance {
# addItems {
# --div-- = Slider slide appearances:
# 10 = Light text and right aligned text area
# 20 = Dark text and centered aligned text area
# }
# }
TCEFORM.sys_file_reference.tx_themet3kit_slide_appearance {
addItems {
--div-- = Slider slide appearances:
10 = Light transparent background
20 = Dark transparent background
}
}
10 changes: 5 additions & 5 deletions Configuration/ContentElements/Slider.setupts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ tt_content {
}
settings {
defaultWidth = 1920c
# appearance {
# # Extend appearance for each slide for this element
# 10 = example-class
# 20 = example-class
# }
appearance {
# Extend appearance for each slide for this element
10 = _light-transparent-bg
20 = _dark-transparent-bg
}
}
}
}
8 changes: 8 additions & 0 deletions felayout_t3kit/dev/styles/main/contentElements/slider.less
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@
background: @carousel-control-color;
}

._light-transparent-bg .img-slider__caption {
background: rgba(255, 255, 255, 0.3);
}

._dark-transparent-bg .img-slider__caption {
background: rgba(0, 0, 0, 0.3);
}

@media (min-width: @screen-sm-min) {
.img-slider__caption {
padding: 30px 50px;
Expand Down