From 5dc486280ed118a0947c028b258d6ddf2f62dbc2 Mon Sep 17 00:00:00 2001 From: Kazi Sourav <32020708+khmsourav@users.noreply.github.com> Date: Sun, 11 Aug 2024 14:54:53 +0600 Subject: [PATCH] video promo UI related feedback done --- .../admin/eael-dashboard/src/App.css | 40 ++++++++++++++++--- .../src/components/VideoPromo.jsx | 3 ++ 2 files changed, 38 insertions(+), 5 deletions(-) diff --git a/includes/templates/admin/eael-dashboard/src/App.css b/includes/templates/admin/eael-dashboard/src/App.css index 4978a1d79..08b7cc157 100644 --- a/includes/templates/admin/eael-dashboard/src/App.css +++ b/includes/templates/admin/eael-dashboard/src/App.css @@ -1016,6 +1016,8 @@ span.dark-icon { .video-promo-wrapper .templates-content { padding: 0; + padding-left: 8px; + padding-right: 8px; } .ea__general-content-item.templates { @@ -1049,6 +1051,34 @@ span.dark-icon { .video-promo-wrapper .templates-img { padding: 0; + position: relative; +} + +.video-promo-wrapper .templates-img span { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 64px; + height: 64px; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + background: #3A04A966; +} + +.video-promo-wrapper .templates-img span i { + /*position: absolute;*/ + width: 32px; + height: 32px; + font-size: 12px; + color: #750EF4; + background: #FFF; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; } .templates-img a { @@ -3046,6 +3076,11 @@ input.input-api:disabled { font-size: 14px; } + .ea__general-content-item.video-promo h2 { + font-size: 20px; + margin-bottom: 12px; + } + .ea__license-wrapper .ea__license-content { margin: 12px 0 12px 44px; } @@ -3269,11 +3304,6 @@ input.input-api:disabled { flex-wrap: wrap; } - .ea__general-content-item.video-promo h2 { - font-size: 18px; - margin-bottom: 10px; - } - .ea__general-content-item.video-promo p { font-size: 12px; } diff --git a/includes/templates/admin/eael-dashboard/src/components/VideoPromo.jsx b/includes/templates/admin/eael-dashboard/src/components/VideoPromo.jsx index 299b196a8..150ee0cf4 100644 --- a/includes/templates/admin/eael-dashboard/src/components/VideoPromo.jsx +++ b/includes/templates/admin/eael-dashboard/src/components/VideoPromo.jsx @@ -16,6 +16,9 @@ function VideoPromo() {