Hi Krikor, I've learned a bit about this the last few days. It seems to be related to a commit made about 8 days ago.
There are two issues with this commit. I'll deal with the original one in this post.
Problem: K2 Module Edit form not styled. This also affects the extra fields styling in the item edit form, and its resolved the same way:
These lines in k2.modules.css causes the k2 buttons and related styling to be applied incorrectly:
.com_modules .form-horizontal .controls:not(#jform_menuselect) label,
.com_modules .controls:not(#jform_menuselect) label,
.com_menus .controls label, .com_config .controls label { min-width:85px;width:auto; text-align:center; border:1px solid #d4d6d8;line-height:33px;vertical-align:top;height:33px;font-size:12px;margin:0 -2px;padding:0 13px;
color:#8a8c8c;display:inline-block;vertical-align:middle;white-space:nowrap;background-color:#eff1f1;
box-shadow:0 1px 1px rgba(65,64,66,.14), inset 0 1px 0 #fff; }
The styling code used to look like this:
.com_modules .form-horizontal .controls:not(#jform_menuselect) label,
.com_modules .controls:not(#jform_menuselect) label,
.com_menus .controls label { min-width:85px;width:auto; text-align:center; border:1px solid #d4d6d8;line-height:33px;vertical-align:top;height:33px;font-size:12px;margin:0 -2px;padding:0 13px;
color:#8a8c8c;display:inline-block;vertical-align:middle;white-space:nowrap;background-color:#eff1f1; color:#8a8c8c;display:inline-block;vertical-align:middle;white-space:nowrap;background-color:#eff1f1;
box-shadow:0 1px 1px rgba(65,64,66,.14), inset 0 1px 0 #fff; }
You can see from the screenshot of the old code in the style pane here:
k2-content-old-styling.png
imgur.com/FNYyRFg
and the screenshot of the new code in the style pane here:
k2-content-new-styling.png
imgur.com/kIFdtUw
Does that make sense?
Cheers
Paul
Edited 10 years 9 months ago by Paul Adamson · Reason: code style