From 36d0696e757a95442c99794ccacaaa4a70f45e3b Mon Sep 17 00:00:00 2001 From: SBD Date: Sat, 9 Dec 2023 13:32:16 +0300 Subject: [PATCH] 0.0.92 --- static/aerbimCSS.css | 13 +++++++++---- templates/blocks/b_functional_features.html | 5 +++++ templates/blocks/block_elements/be_button.html | 4 +++- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/static/aerbimCSS.css b/static/aerbimCSS.css index 4987474..166b3cf 100644 --- a/static/aerbimCSS.css +++ b/static/aerbimCSS.css @@ -955,11 +955,12 @@ body.n_scroll{ } .container_content_features_block_item{ - width: 18%; + width: 17%; display: block; - /*margin-left: 10px;*/ - /*margin-right: 10px;*/ + /* margin-left: 10px; */ + /* margin-right: 10px; */ padding: 10px; + margin: 5px; } .container_content_features_block_item.bottom{ @@ -969,6 +970,8 @@ body.n_scroll{ .img_item_container_functional_features{ width: 100%; margin-bottom: 10px; + height: 150px; + text-align: center; } .img_item_functional_features{ @@ -983,6 +986,8 @@ body.n_scroll{ font-weight: 300; color: #000000; text-align: left; + height: 85px; + overflow: hidden; } .title_item_features_container{ @@ -993,7 +998,7 @@ body.n_scroll{ } .options_functional_features{ - height: 215px; + height: 180px; overflow: hidden; } diff --git a/templates/blocks/b_functional_features.html b/templates/blocks/b_functional_features.html index 74716aa..ddd835a 100644 --- a/templates/blocks/b_functional_features.html +++ b/templates/blocks/b_functional_features.html @@ -29,6 +29,11 @@ {# #} {% endif %} + {% if block.but_title %} + {% with widget=block name_w='b_functional_features' %} + {% include 'blocks/block_elements/be_button.html' %} + {% endwith %} + {% endif %}
diff --git a/templates/blocks/block_elements/be_button.html b/templates/blocks/block_elements/be_button.html index f75b92e..f2e3a7a 100644 --- a/templates/blocks/block_elements/be_button.html +++ b/templates/blocks/block_elements/be_button.html @@ -6,7 +6,7 @@ width: {% if not name_w == 'presentAerBim' %}80%{% else %}100%{% endif %}; text-decoration: none; display: block; - padding: 5px 0; + padding: {% if not name_w == 'b_functional_features' %}5{% else %}15{% endif %}px 0; border-radius: 5px; transition: 200ms; margin-top: 8px; @@ -21,6 +21,8 @@ text-align: {% if name_w == 'slide' or name_w == 'presentAerBim' %} unset + {% elif name_w == 'b_functional_features' %} + -webkit-right {% else %} -webkit-center {% endif %};