? Success

User tests: Successful: Unsuccessful:

avatar Minei3oat
Minei3oat
10 Sep 2016

Pull Request for Issue # .

Summary of Changes

In vertical from there was unneeded space between the label and some controls (radio, checkboxes) under it.
Removed padding-top of btn-group to align with label.
Added 2px padding-top to btn-group-yesno in isis to compensate 2px less padding-top of each button to have the buttons aligned with the label.

Testing Instructions

Look at some vertical forms in backend (Isis) and frontend (Protostar):
There is 5px more space between the label and the radio (btn-group as well because it is type radio) / checkboxes field than other fields. After aplying this PR the additional space should disapear.
Look at some horizontal forms in backend (Isis) and frontend (Protostar):
Before the PR the text of btn-group is not aligned to the text of the label. After aplying this PR it should be.
change

Documentation Changes Required

none

Votes

# of Users Experiencing Issue
2/2
Average Importance Score
4.50

avatar Minei3oat Minei3oat - open - 10 Sep 2016
avatar Minei3oat Minei3oat - change - 10 Sep 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 10 Sep 2016
Category Templates (admin) Administration Templates (site) Front End
avatar joomla-cms-bot joomla-cms-bot - change - 10 Sep 2016
Labels Added: ?
avatar Bakual
Bakual - comment - 10 Sep 2016

Usually we don't change anything in 3rd party files.
media/jui/less/forms.less is coming from Bootstrap and is used by 3rd party templates, thus it has an effect beyond our core templates.

Try to do the fix in the Protostar/Isis template files.

avatar Minei3oat Minei3oat - change - 10 Sep 2016
The description was changed
avatar Minei3oat Minei3oat - edited - 10 Sep 2016
avatar Minei3oat
Minei3oat - comment - 10 Sep 2016

Hm, in the backend there is a lot of form-vertical in from-horizontal. This is ugly because form-horizontal adds some style for horizontal forms which aren't removed by form-vertical.
The from-vertical is created by https://github.com/joomla/joomla-cms/blob/staging/layouts/joomla/edit/global.php#L47. So all components which uses JLayoutHelper::render('joomla.edit.global', $this); in a form-horizontal produce this problem.

avatar brianteeman
brianteeman - comment - 9 Oct 2016

@Minei3oat Please include some before and after screenshots. That will help you to get testers for this


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003.

avatar Minei3oat Minei3oat - change - 11 Oct 2016
The description was changed
avatar Minei3oat Minei3oat - edited - 11 Oct 2016
avatar Minei3oat
Minei3oat - comment - 11 Oct 2016

I hope the image helps.

avatar brianteeman
brianteeman - comment - 11 Oct 2016

Well at least I have a clue what you were talking about now. Hopefully others will as well.

avatar brianteeman
brianteeman - comment - 11 Oct 2016

I am not a CSS expert but I see that you have added 0px and I was under the impression that you don't use a unit when the value is 0

avatar brianteeman brianteeman - test_item - 12 Oct 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 12 Oct 2016

I have tested this item successfully on 653d710

Thanks for the image - it made it easy for me to confirm the issue you were describing and to confirm that this PR fixed the issue


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003.

avatar brianteeman brianteeman - test_item - 14 Oct 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 14 Oct 2016

I have tested this item successfully on 8405a06


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003.

avatar Minei3oat
Minei3oat - comment - 14 Oct 2016

It seems equal weather to use a unit for zero values or not. It is used both in the templates' less files. Since Bootstrap uses no units on zero values I've dropped them.

avatar brianteeman
brianteeman - comment - 14 Oct 2016

I checked and technically its optional but it seems to be preferred to
remove it
https://www.w3.org/TR/css3-values/#lengths

On 14 October 2016 at 20:42, Minei3oat notifications@github.com wrote:

It seems equal weather to use a unit for zero values or not. It is used
both in the templates' less files. Since Bootstrap uses no units on zero
values I've dropped them.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12003 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8TRjeoCq1FfFFStk-gPMRKF1L0V7ks5qz9sfgaJpZM4J5z9A
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
https://brian.teeman.net/ http://brian.teeman.net/

avatar brianteeman brianteeman - change - 4 Dec 2016
Easy No Yes
avatar brianteeman brianteeman - change - 4 Dec 2016
Labels Removed: ?
avatar brianteeman brianteeman - edited - 4 Dec 2016
avatar coolcat-creations
coolcat-creations - comment - 6 Dec 2016

This patch reverts the new bright green color too ?
i like the brighter one more...
beside then tested successfully on the heightchange...


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003.

avatar Minei3oat
Minei3oat - comment - 6 Dec 2016

This pull request changes no colors in the less files. But other pull requests submitted after I created mine have changed the colors and I didn't updated this one. So the templates css-files in this pull request are compiled with the old colors.

avatar coolcat-creations
coolcat-creations - comment - 7 Dec 2016

I have tested this item successfully on 8405a06


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003.

avatar coolcat-creations coolcat-creations - test_item - 7 Dec 2016 - Tested successfully
avatar jeckodevelopment
jeckodevelopment - comment - 7 Dec 2016

@Minei3oat can you please look at the conflicts?

administrator/templates/isis/css/template-rtl.css
administrator/templates/isis/css/template.css
administrator/templates/isis/less/template.less

avatar Minei3oat
Minei3oat - comment - 10 Dec 2016

I hope, I resolved the conflicts correct

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jan 2017

I have tested this item ? unsuccessfully on b48f2ad

Tested with Joomla! 3.7.0-alpha1:
bildschirmfoto 2017-01-03 um 07 46 50


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003.
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 3 Jan 2017 - Tested unsuccessfully
avatar rvbgnu
rvbgnu - comment - 8 Jan 2017

I have tested this item successfully on b48f2ad

I have checked the issue before the patch

And successfully tested with the patch!

Thanks @Minei3oat !


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003.

avatar rvbgnu rvbgnu - test_item - 8 Jan 2017 - Tested successfully
avatar Minei3oat
Minei3oat - comment - 9 Jan 2017

@franz-wohlkoenig I've tested this PR with 3.7.0 Alpha 1 in the browsers IE 11, Firefox 45 and Google Chrome 55 but I couldn't find a problem.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 9 Jan 2017

I have tested this item successfully on b48f2ad

Tested on a clean Installation works, my fault.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003.

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 9 Jan 2017 - Tested successfully
avatar jeckodevelopment jeckodevelopment - change - 10 Jan 2017
Status Pending Ready to Commit
avatar jeckodevelopment
jeckodevelopment - comment - 10 Jan 2017

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003.

avatar rdeutz rdeutz - change - 11 Jan 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-01-11 19:36:13
Closed_By rdeutz
avatar rdeutz rdeutz - close - 11 Jan 2017
avatar rdeutz rdeutz - merge - 11 Jan 2017

Add a Comment

Login with GitHub to post a comment