Added missing input for wcfHeaderSearchBoxPlaceholderActive
authorMarcel Werk <burntime@woltlab.com>
Mon, 16 Jan 2017 12:06:11 +0000 (13:06 +0100)
committerMarcel Werk <burntime@woltlab.com>
Mon, 16 Jan 2017 12:06:11 +0000 (13:06 +0100)
wcfsetup/install/files/acp/templates/styleAdd.tpl
wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php

index e9baf0cd6a95d99cba8c98a47b9ab14e9315c8bf..11e414bbbc57bc40980cf054f29fcc2866a5c5b2 100644 (file)
                                'wcfHeaderSearchBoxBackground': '#spSearchBox { background-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; }',
+                               'wcfHeaderSearchBoxPlaceholderActive': '#spSearchBox:focus::-webkit-input-placeholder, #spSearchBox:hover::-webkit-input-placeholder { color: VALUE; } __COMBO_RULE__ #spSearchBox:focus::-moz-placeholder, #spSearchBox:hover::-moz-placeholder { color: VALUE; } __COMBO_RULE__ #spSearchBox:focus:-ms-input-placeholder, #spSearchBox:hover:-ms-input-placeholder { color: VALUE; }',
                                'wcfHeaderSearchBoxBackgroundActive': '#spSearchBox:focus, #spSearchBox:hover { background-color: VALUE; }',
                                'wcfHeaderSearchBoxTextActive': '#spSearchBox:focus, #spSearchBox:hover { color: VALUE; }',
                                'wcfHeaderMenuBackground': '#spHeaderPanel { background-color: VALUE; }',
index affc5959fdf0ce4d65d1908f2a98f39634d24df9..d49fd672af38e00c44948595233307d11bf175d2 100644 (file)
@@ -446,7 +446,7 @@ class StyleAddForm extends AbstractForm {
                
                $this->colors = [
                        'wcfHeader' => ['background', 'text', 'link', 'linkActive'],
-                       'wcfHeaderSearchBox' => ['background', 'text', 'placeholder', 'backgroundActive', 'textActive'],
+                       'wcfHeaderSearchBox' => ['background', 'text', 'placeholder', 'placeholderActive', 'backgroundActive', 'textActive'],
                        'wcfHeaderMenu' => ['background', 'linkBackground', 'linkBackgroundActive', 'link', 'linkActive'],
                        'wcfHeaderMenuDropdown' => ['background', 'link', 'backgroundActive', 'linkActive'],
                        'wcfNavigation' => ['background', 'text', 'link', 'linkActive'],