From 7d2ba16580ef51011dbe75c04340cb67f4e7dedb Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 9 Jan 2016 14:51:48 +0100 Subject: [PATCH] Fix placeholder-related style variable names --- wcfsetup/install/files/acp/templates/styleAdd.tpl | 2 +- wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/styleAdd.tpl b/wcfsetup/install/files/acp/templates/styleAdd.tpl index efea2ee23a..fb3499dac3 100644 --- a/wcfsetup/install/files/acp/templates/styleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/styleAdd.tpl @@ -716,7 +716,7 @@ 'wcfHeaderSearchBoxBackground': '#spSearchBox { background-color: VALUE; }', 'wcfHeaderSearchBoxBorder': '#spSearchBox { border-color: VALUE; }', 'wcfHeaderSearchBoxText': '#spSearchBox { color: VALUE; }', - 'wcfHeaderSearchBoxPlaceholder': '#spSearchBox::-webkit-input-placeholder { color: VALUE; } __COMBO_RULE__ #spSearchBox::-moz-placeholder { color: VALUE; } __COMBO_RULE__ #spSearchBox:-ms-input-placeholder { color: VALUE; }', + 'wcfHeaderSearchBoxPlaceholderText': '#spSearchBox::-webkit-input-placeholder { color: VALUE; } __COMBO_RULE__ #spSearchBox::-moz-placeholder { color: VALUE; } __COMBO_RULE__ #spSearchBox:-ms-input-placeholder { color: VALUE; }', 'wcfHeaderSearchBoxBackgroundActive': '#spSearchBox:focus, #spSearchBox:hover { background-color: VALUE; }', 'wcfHeaderSearchBoxBorderActive': '#spSearchBox:focus, #spSearchBox:hover { border-color: VALUE; }', 'wcfHeaderSearchBoxTextActive': '#spSearchBox:focus, #spSearchBox:hover { color: VALUE; }', diff --git a/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php b/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php index d7c5e51061..fcf3953b52 100644 --- a/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php @@ -439,7 +439,7 @@ class StyleAddForm extends AbstractForm { $this->colors = [ 'wcfHeader' => ['background', 'text', 'link', 'linkActive'], - 'wcfHeaderSearchBox' => ['background', 'border', 'text', 'placeholder', 'backgroundActive', 'borderActive', 'textActive'], + 'wcfHeaderSearchBox' => ['background', 'border', 'text', 'placeholderText', 'backgroundActive', 'borderActive', 'textActive'], 'wcfHeaderMenu' => ['background', 'link', 'backgroundActive', 'linkActive'], 'wcfHeaderMenuDropdown' => ['background', 'border', 'link', 'backgroundActive', 'linkActive'], 'wcfNavigation' => ['background', 'text', 'link', 'linkActive'], @@ -450,7 +450,7 @@ class StyleAddForm extends AbstractForm { 'wcfContentDimmed' => ['text', 'link', 'linkActive'], 'wcfContentHeadline' => ['border', 'text', 'link', 'linkActive'], 'wcfTabularBox' => ['borderInner', 'headline', 'backgroundActive', 'headlineActive'], - 'wcfInput' => ['background', 'border', 'text', 'placeholder', 'backgroundActive', 'borderActive', 'textActive'], + 'wcfInput' => ['background', 'border', 'text', 'placeholderText', 'backgroundActive', 'borderActive', 'textActive'], 'wcfInputDisabled' => ['background', 'border', 'text'], 'wcfButton' => ['background', 'border', 'text', 'backgroundActive', 'borderActive', 'textActive'], 'wcfButtonPrimary' => ['background', 'border', 'text', 'backgroundActive', 'borderActive', 'textActive'], -- 2.20.1