Added missing input field for label color
authorMarcel Werk <burntime@woltlab.com>
Sun, 30 Oct 2016 13:07:08 +0000 (14:07 +0100)
committerMarcel Werk <burntime@woltlab.com>
Sun, 30 Oct 2016 13:07:08 +0000 (14:07 +0100)
wcfsetup/install/files/acp/templates/styleAdd.tpl
wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php

index cb32ec9a60251f0abc33c91e4e6a2a99205e0199..a10e6722421f4e206fc3c94513daa33b7f956b48 100644 (file)
                                                                        <div class="spHeadline">Input</div>
                                                                        
                                                                        <dl data-region="wcfInput">
-                                                                               <dt><label for="spInput">Lorem Ipsum</label></dt>
+                                                                               <dt><label class="spInputLabel" for="spInput">Lorem Ipsum</label></dt>
                                                                                <dd><input type="text" id="spInput" class="long" placeholder="Placeholder" value="Consetetur sadipscing elitr"></dd>
                                                                        </dl>
                                                                        <dl data-region="wcfInputDisabled">
-                                                                               <dt><label for="spInputDisabled">Dolor Sit Amet</label></dt>
+                                                                               <dt><label class="spInputLabel" for="spInputDisabled">Dolor Sit Amet</label></dt>
                                                                                <dd><input type="text" id="spInputDisabled" class="long" value="Disabled" disabled></dd>
                                                                        </dl>
                                                                        
                                'wcfTabularBoxHeadline': '#spTable { border-color: VALUE; } __COMBO_RULE__ #spTable th, #spTable th a { color: VALUE; }',
                                'wcfTabularBoxBackgroundActive': '#spTable tr:hover > td { background-color: VALUE; }',
                                'wcfTabularBoxHeadlineActive': '#spTable th a:hover { color: VALUE; }',
+                               'wcfInputLabel': '.spInputLabel { color: VALUE; }',
                                'wcfInputBackground': '#spInput { background-color: VALUE; }',
                                'wcfInputBorder': '#spInput { border-color: VALUE; }',
                                'wcfInputText': '#spInput { color: VALUE; }',
index 3c5e75c81cc4ce4883b30fb58f94b3c9374b5f71..969cc9a4f3a11d1662a7d852e94c4a2740d192a8 100644 (file)
@@ -449,7 +449,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' => ['label', 'background', 'border', 'text', 'placeholder', 'backgroundActive', 'borderActive', 'textActive'],
                        'wcfInputDisabled' => ['background', 'border', 'text'],
                        'wcfButton' => ['background', 'text', 'backgroundActive', 'textActive'],
                        'wcfButtonPrimary' => ['background', 'text', 'backgroundActive', 'textActive'],