Jeroen Hoffman pushed to branch release/5.0 at cms-community / hippo-cms
Commits: 54cfc1a3 by Jeroen Hoffman at 2017-10-23T16:31:43+02:00 CMS-10962 [back port CMS_10839 to 12.0] narrow down the styling of checkbox and label to only this plugin (cherry picked from commit 3427df93da6fe7a19b046c0a0b3bc0048f56408b) - - - - - 2 changed files: - api/src/main/styling/styles/_editor.scss - editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/mixin/MixinPlugin.html Changes: ===================================== api/src/main/styling/styles/_editor.scss ===================================== --- a/api/src/main/styling/styles/_editor.scss +++ b/api/src/main/styling/styles/_editor.scss @@ -114,6 +114,10 @@ width: auto; } + .hippo-editor-field-boolean > input[type="checkbox"] + label { + margin-left: 8px; + } + input[type="submit"] { width: auto; } ===================================== editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/mixin/MixinPlugin.html ===================================== --- a/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/mixin/MixinPlugin.html +++ b/editor/frontend/src/main/java/org/hippoecm/frontend/editor/plugins/mixin/MixinPlugin.html @@ -1,5 +1,5 @@ <!-- - * Copyright 2008-2013 Hippo B.V. (http://www.onehippo.com) + * Copyright 2008-2017 Hippo B.V. (http://www.onehippo.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,9 +15,11 @@ --> <html xmlns:wicket="http://wicket.apache.org/"> <wicket:panel> - <div class="hippo-editor-mixin" wicket:id="mixins"> + <div class="hippo-editor-field" wicket:id="mixins"> <h3 class="hippo-editor-field-title"><wicket:message key="mixins" /></h3> - <input type="checkbox" wicket:id="mixin"/><label wicket:id="label">[ mixin ]</label> + <div class="hippo-editor-field-boolean"> + <input type="checkbox" wicket:id="mixin"/><label wicket:id="label">[ mixin ]</label> + </div> </div> </wicket:panel> </html> View it on GitLab: https://code.onehippo.org/cms-community/hippo-cms/commit/54cfc1a37cbd469724b4099ac4786cad8fb50b3b --- View it on GitLab: https://code.onehippo.org/cms-community/hippo-cms/commit/54cfc1a37cbd469724b4099ac4786cad8fb50b3b You're receiving this email because of your account on code.onehippo.org.
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn