From 162688d8c307546c6f08d37f55e00b986fee895a Mon Sep 17 00:00:00 2001 From: Aleksandr Zapparov Date: Wed, 29 May 2024 15:00:11 +0200 Subject: [PATCH] Update UI styles in theme modules and CSS Changes include adjusting grid gaps, text sizes, and column spacing in the stats-simple, stats-simple-grid, and stats-timeline modules. Moreover, unnecessary CSS classes were removed such as fj-gap-x8 and lg:fj-flex-row, contributing to a cleaner codebase. --- theme/css/tailwind.css | 19 +++---------------- .../stats-simple-grid.module/module.html | 4 ++-- theme/modules/stats-simple.module/module.html | 4 ++-- .../modules/stats-timeline.module/module.html | 2 +- 4 files changed, 8 insertions(+), 21 deletions(-) diff --git a/theme/css/tailwind.css b/theme/css/tailwind.css index 31d572c..250e08c 100644 --- a/theme/css/tailwind.css +++ b/theme/css/tailwind.css @@ -2278,11 +2278,6 @@ lite-youtube.lyt-activated > .lty-playbtn{ column-gap:1.5rem; } -.fj-gap-x-8{ - -moz-column-gap:2rem; - column-gap:2rem; -} - .fj-gap-y-16{ row-gap:4rem; } @@ -3652,9 +3647,9 @@ lite-youtube.lyt-activated > .lty-playbtn{ line-height:2rem; } - .sm\:fj-text-5xl{ - font-size:3rem; - line-height:1; + .sm\:fj-text-4xl{ + font-size:2.25rem; + line-height:2.5rem; } .sm\:fj-ring-1{ @@ -3925,10 +3920,6 @@ lite-youtube.lyt-activated > .lty-playbtn{ grid-template-columns:repeat(4, minmax(0, 1fr)); } - .lg\:fj-flex-row{ - flex-direction:row; - } - .lg\:fj-flex-col{ flex-direction:column; } @@ -3949,10 +3940,6 @@ lite-youtube.lyt-activated > .lty-playbtn{ gap:2rem; } - .lg\:fj-gap-2{ - gap:0.5rem; - } - .lg\:fj-gap-x-10{ -moz-column-gap:2.5rem; column-gap:2.5rem; diff --git a/theme/modules/stats-simple-grid.module/module.html b/theme/modules/stats-simple-grid.module/module.html index d81b657..88f92e0 100644 --- a/theme/modules/stats-simple-grid.module/module.html +++ b/theme/modules/stats-simple-grid.module/module.html @@ -10,9 +10,9 @@ {% set grid_col_class = 'lg:fj-grid-cols-4' %} {% endif %} -
+
{% for item in module.stats_item %} -
+

{{ item.title }}

{{ item.subtext }}

diff --git a/theme/modules/stats-simple.module/module.html b/theme/modules/stats-simple.module/module.html index d2e469f..2985c46 100644 --- a/theme/modules/stats-simple.module/module.html +++ b/theme/modules/stats-simple.module/module.html @@ -10,10 +10,10 @@ {% set grid_col_class = 'lg:fj-grid-cols-4' %} {% endif %} -
+
{% for item in module.stats_item %}
-

{{ item.stats_title }}

+

{{ item.stats_title }}

{{ item.subtext }}

diff --git a/theme/modules/stats-timeline.module/module.html b/theme/modules/stats-timeline.module/module.html index b88e62f..d0a1955 100644 --- a/theme/modules/stats-timeline.module/module.html +++ b/theme/modules/stats-timeline.module/module.html @@ -10,7 +10,7 @@ {% set grid_col_class = 'lg:fj-grid-cols-4' %} {% endif %} -
+
{% for item in module.timeframe %}