From: Marcel Werk Date: Mon, 9 Jan 2017 15:38:25 +0000 (+0100) Subject: Added missing input for wcfInputPlaceholderActive X-Git-Tag: 3.0.0~9^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7a9ba67e9604a785ac0aaf54cdb12f792507e05b;p=GitHub%2FWoltLab%2FWCF.git Added missing input for wcfInputPlaceholderActive --- diff --git a/wcfsetup/install/files/acp/templates/styleAdd.tpl b/wcfsetup/install/files/acp/templates/styleAdd.tpl index 45108b86a4..e9baf0cd6a 100644 --- a/wcfsetup/install/files/acp/templates/styleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/styleAdd.tpl @@ -772,6 +772,7 @@ '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; }', diff --git a/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php b/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php index 8cb0383fce..affc5959fd 100644 --- a/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php @@ -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'],