diff --git a/plugins/tps/birzha/components/sliders/img_slider.htm b/plugins/tps/birzha/components/sliders/img_slider.htm index e494277ef..bf9c7d8b3 100644 --- a/plugins/tps/birzha/components/sliders/img_slider.htm +++ b/plugins/tps/birzha/components/sliders/img_slider.htm @@ -2,9 +2,9 @@ diff --git a/plugins/tps/birzha/components/sliders/text_slider.htm b/plugins/tps/birzha/components/sliders/text_slider.htm index 75e47eda9..3868d1b07 100644 --- a/plugins/tps/birzha/components/sliders/text_slider.htm +++ b/plugins/tps/birzha/components/sliders/text_slider.htm @@ -6,21 +6,21 @@
{% if lng == 'ru' %} - + {% endif %} {% if lng == 'en' %} - + {% endif %} {% if lng == 'tm' %} - + {% endif %}
diff --git a/plugins/tps/birzha/models/slider/fields.yaml b/plugins/tps/birzha/models/slider/fields.yaml index a92cd6a21..e18703329 100644 --- a/plugins/tps/birzha/models/slider/fields.yaml +++ b/plugins/tps/birzha/models/slider/fields.yaml @@ -46,3 +46,7 @@ fields: label: 'Display time' span: auto type: number + link: + label: Link + span: auto + type: text diff --git a/shablon/css/main.css b/shablon/css/main.css index 6e50e7696..df01b5f70 100644 --- a/shablon/css/main.css +++ b/shablon/css/main.css @@ -1696,6 +1696,7 @@ li { height: 540px; position: relative; display: block !important; + display: block; } /* .slider_item-img::before { @@ -1748,6 +1749,7 @@ li { font-size: 18px; font-weight: 700; line-height: 1.4; + color: #fff; /* margin-bottom: 20px; */ text-overflow: ellipsis; @@ -1758,6 +1760,10 @@ li { text-overflow: ellipsis; } +.slider_title:hover { + text-decoration: underline; +} + .slider_text { font-size: var(--text-20); font-weight: 400; @@ -1768,12 +1774,21 @@ li { color: #fff; z-index: 5; position: absolute; - bottom: 0; + bottom: -100%; left: 0; width: 100%; padding: 30px 40px; background: rgba(0,0,0,.5); backdrop-filter: blur(3px); + + transition: all .7s linear; + -webkit-transition: all .7s linear; + -ms-transition: all .7s linear; + -moz-transition: all .7s linear; +} + +.slick-slide.slick-current .slider_content { + bottom: 0; } .advert { @@ -1785,6 +1800,7 @@ li { width: 100%; width: 380px !important; height: 540px; + display: block; /* height: auto; */ /* max-height: 480px; */ } diff --git a/shablon/index.html b/shablon/index.html index 5c3efcdcd..354898be9 100644 --- a/shablon/index.html +++ b/shablon/index.html @@ -3363,9 +3363,9 @@