Added missing input for wcfInputPlaceholderActive
authorMarcel Werk <burntime@woltlab.com>
Mon, 9 Jan 2017 15:38:25 +0000 (16:38 +0100)
committerMarcel Werk <burntime@woltlab.com>
Mon, 9 Jan 2017 15:38:25 +0000 (16:38 +0100)
wcfsetup/install/files/acp/templates/styleAdd.tpl
wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php

index 45108b86a49a7b5e8d3f351cd6e814bf7a33deaa..e9baf0cd6a95d99cba8c98a47b9ab14e9315c8bf 100644 (file)
                                'wcfInputBorder': '#spInput { border-color: VALUE; }',
                                'wcfInputText': '#spInput { color: VALUE; }',
                                'wcfInputPlaceholder': '#spInput::-webkit-input-placeholder { color: VALUE; } __COMBO_RULE__ #spInput::-moz-placeholder { color: VALUE; } __COMBO_RULE__ #spInput:-ms-input-placeholder { color: VALUE; } __COMBO_RULE__ #spInputDisabled::-webkit-input-placeholder { color: VALUE; } __COMBO_RULE__ #spInputDisabled::-moz-placeholder { color: VALUE; } __COMBO_RULE__ #spInputDisabled:-ms-input-placeholder { color: VALUE; }',
+                               'wcfInputPlaceholderActive': '#spInput:focus::-webkit-input-placeholder, #spInput:hover::-webkit-input-placeholder { color: VALUE; } __COMBO_RULE__ #spInput:focus::-moz-placeholder, #spInput:hover::-moz-placeholder { color: VALUE; } __COMBO_RULE__ #spInput:focus:-ms-input-placeholder, #spInput:hover:-ms-input-placeholder { color: VALUE; } __COMBO_RULE__ #spInputDisabled:focus::-webkit-input-placeholder, #spInputDisabled:hover::-webkit-input-placeholder { color: VALUE; } __COMBO_RULE__ #spInputDisabled:focus::-moz-placeholder, #spInputDisabled:hover::-moz-placeholder { color: VALUE; } __COMBO_RULE__ #spInputDisabled:focus:-ms-input-placeholder, #spInputDisabled:hover:-ms-input-placeholder { color: VALUE; }',
                                'wcfInputBackgroundActive': '#spInput:focus, #spInput:hover { background-color: VALUE; }',
                                'wcfInputBorderActive': '#spInput:focus, #spInput:hover { border-color: VALUE; }',
                                'wcfInputTextActive': '#spInput:focus, #spInput:hover { color: VALUE; }',
index 8cb0383fce13edc0e7a863ae27491fbf45c715be..affc5959fdf0ce4d65d1908f2a98f39634d24df9 100644 (file)
@@ -457,7 +457,7 @@ class StyleAddForm extends AbstractForm {
                        'wcfContentDimmed' => ['text', 'link', 'linkActive'],
                        'wcfContentHeadline' => ['border', 'text', 'link', 'linkActive'],
                        'wcfTabularBox' => ['borderInner', 'headline', 'backgroundActive', 'headlineActive'],
-                       'wcfInput' => ['label', 'background', 'border', 'text', 'placeholder', 'backgroundActive', 'borderActive', 'textActive'],
+                       'wcfInput' => ['label', 'background', 'border', 'text', 'placeholder', 'placeholderActive', 'backgroundActive', 'borderActive', 'textActive'],
                        'wcfInputDisabled' => ['background', 'border', 'text'],
                        'wcfButton' => ['background', 'text', 'backgroundActive', 'textActive'],
                        'wcfButtonPrimary' => ['background', 'text', 'backgroundActive', 'textActive'],