From b152aa00e4b1c95a3b3109e66523bcb87c686f22 Mon Sep 17 00:00:00 2001 From: kovacsv Date: Sun, 10 Oct 2021 12:01:54 +0200 Subject: [PATCH] Modify sidebar panel text color. --- website/o3dv/css/website.css | 7 ------- website/o3dv/js/settingssidebarpanel.js | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/website/o3dv/css/website.css b/website/o3dv/css/website.css index 138ae6a..9026d22 100644 --- a/website/o3dv/css/website.css +++ b/website/o3dv/css/website.css @@ -266,13 +266,6 @@ div.ov_sidebar_content div.ov_sidebar_settings_padded float: left; } -div.ov_sidebar_content div.ov_sidebar_settings_comment -{ - color: var(--ov_light_icon_color); - margin: 10px 0px 0px 40px; - float: left; -} - div.ov_sidebar_content div.ov_sidebar_settings_warning { margin-left: 30px; diff --git a/website/o3dv/js/settingssidebarpanel.js b/website/o3dv/js/settingssidebarpanel.js index dca9acc..4010b65 100644 --- a/website/o3dv/js/settingssidebarpanel.js +++ b/website/o3dv/js/settingssidebarpanel.js @@ -97,10 +97,10 @@ OV.SettingsSidebarPanel = class extends OV.SidebarPanel ); onChange (ovColor); }); - $('
').addClass ('ov_sidebar_settings_comment').html (description).appendTo (contentDiv); + $('
').addClass ('ov_sidebar_settings_padded').html (description).appendTo (contentDiv); let warningDiv = null; if (warningText !== null) { - warningDiv = $('
').addClass ('ov_sidebar_settings_comment').appendTo (contentDiv); + warningDiv = $('
').addClass ('ov_sidebar_settings_padded').appendTo (contentDiv); OV.CreateSvgIcon (warningDiv, 'warning', 'left_inline light'); $('
').addClass ('ov_sidebar_settings_warning').html (warningText).appendTo (warningDiv); }