From 74c5117f324c18dc2e502a72654426e63802232a Mon Sep 17 00:00:00 2001 From: Zacharie Date: Thu, 6 Aug 2020 14:32:08 +0200 Subject: [PATCH] Redesign and bug fix on theme page --- admin/themes/clear/theme.css | 3 ++- .../default/template/configuration_main.tpl | 6 ++--- .../default/template/themes_installed.tpl | 24 +++++++++-------- admin/themes/default/template/themes_new.tpl | 27 ++++++++++--------- admin/themes/default/theme.css | 3 +-- admin/themes/roma/theme.css | 3 +++ 6 files changed, 37 insertions(+), 29 deletions(-) diff --git a/admin/themes/clear/theme.css b/admin/themes/clear/theme.css index 5ee559463..943aacf45 100644 --- a/admin/themes/clear/theme.css +++ b/admin/themes/clear/theme.css @@ -210,7 +210,8 @@ INPUT[type="text"].large { width: 317px; } .themeName {color:black;} .themeActions span {background-color: #ddd;} #themesContent H3 {border-bottom:1px solid #aaa;} -.themeDefault {} +.themeSelect {background-color: #fafafa;} +.themeDefault {background-color: #ffd7ad;} #pluginsMenuSeparator {border:1px solid #555;} diff --git a/admin/themes/default/template/configuration_main.tpl b/admin/themes/default/template/configuration_main.tpl index 9e02ac2ce..a7f536c34 100644 --- a/admin/themes/default/template/configuration_main.tpl +++ b/admin/themes/default/template/configuration_main.tpl @@ -57,8 +57,8 @@ jQuery(".themeBoxes a").colorbox(); jQuery("input[name='mail_theme']").change(function() { - jQuery("input[name='mail_theme']").parents(".themeBox").removeClass("themeDefault"); - jQuery(this).parents(".themeBox").addClass("themeDefault"); + jQuery("input[name='mail_theme']").parents(".themeSelect").removeClass("themeDefault"); + jQuery(this).parents(".themeSelect").addClass("themeDefault"); }); {/footer_script} @@ -188,7 +188,7 @@ jQuery("input[name='mail_theme']").change(function() {
{foreach from=$main.mail_theme_options item=name key=theme} -
+