? ? Pending

User tests: Successful: Unsuccessful:

avatar ciar4n
ciar4n
7 Mar 2017

Pull Request for Issue # .

Summary of Changes

This PR starts a process of refactoring the Isis template.less, proposing to split the template.less in separate less files. Currently the template.less looks like a long list of PRs with no real structure (with the exception of its initial creation). Breaking it in to its separate components (blocks) makes for more manageable code.

blocks
| _global.less
| _chzn-override.less
| _editors.less
| _forms.less
| _header.less
| _login.less
| _media.less
| _modals.less
| _navbar.less
| _quickicons.less
| _sidebar.less
| _status.less
| _tables.less
| _toolbar.less
| _treeselect.less
| _utility-classes.less
| _custom.less
pages
| _com_cpanel.less
| _com_postinstall.less
| _com_templates.less
template.less

Testing Instructions

Apply patch a check admin for issues. Although I suspect not, it may cause some cascading issues and would require a thorough testing.

avatar ciar4n ciar4n - open - 7 Mar 2017
avatar ciar4n ciar4n - change - 7 Mar 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Mar 2017
Category Administration Templates (admin)
avatar ciar4n ciar4n - change - 7 Mar 2017
The description was changed
avatar ciar4n ciar4n - edited - 7 Mar 2017
avatar ciar4n ciar4n - change - 7 Mar 2017
The description was changed
avatar ciar4n ciar4n - edited - 7 Mar 2017
avatar laoneo
laoneo - comment - 7 Mar 2017

Do we still want to touch that, when we hopefully after 3.7 focus on J4?

avatar mbabker
mbabker - comment - 7 Mar 2017

There's still 2 and a half years support life for 3.x most likely, I think it's worth it. Granted we hope there aren't many styling changes left at this point, but that's still a large enough chunk of time that something which makes maintaining the current resources a bit easier should be considered.

avatar ciar4n
ciar4n - comment - 7 Mar 2017

I think with better grouping, the resource will be easier to optimize and troubleshoot correctly. The current structure results in a bit of a hornets nest one pokes at their own peril. I'll finish what I started and it can be decided from there.

avatar ciar4n ciar4n - change - 8 Mar 2017
Labels Added: ?
avatar ciar4n ciar4n - change - 8 Mar 2017
Title
[RFC] Isis template.less refactoring
[Isis] Template.less refactoring
avatar ciar4n ciar4n - edited - 8 Mar 2017
avatar ciar4n ciar4n - change - 8 Mar 2017
The description was changed
avatar ciar4n ciar4n - edited - 8 Mar 2017
avatar ciar4n
ciar4n - comment - 8 Mar 2017

PR is now complete.

Notes

  • 'global' is first with remaining in alphabetical followed by 'custom' last.
  • 'custom' contains all hacks and fixes
  • Media queries have been (largely) split and are coupled with their corresponding elements. This I believe makes issues more apparent and easier to fix
  • Ordering with in each block has been kept
avatar ciar4n ciar4n - change - 8 Mar 2017
The description was changed
avatar ciar4n ciar4n - edited - 8 Mar 2017
avatar ciar4n ciar4n - change - 8 Mar 2017
The description was changed
avatar ciar4n ciar4n - edited - 8 Mar 2017
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 8 Mar 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 8 Mar 2017

I have tested this item successfully on 6e1fd16


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

avatar ciar4n
ciar4n - comment - 8 Mar 2017

Thank you @franz-wohlkoenig

avatar gwsdesk gwsdesk - test_item - 8 Mar 2017 - Tested successfully
avatar gwsdesk
gwsdesk - comment - 8 Mar 2017

I have tested this item successfully on 6e1fd16


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

avatar gwsdesk
gwsdesk - comment - 8 Mar 2017

Isis still working as expected

I have tested this item successfully on 6e1fd16


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

avatar ciar4n
ciar4n - comment - 8 Mar 2017

Thank you @gwsdesk

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 8 Mar 2017

RTC as there are 2 successfully Tests?

avatar dgt41 dgt41 - change - 8 Mar 2017
Status Pending Ready to Commit
avatar dgt41
dgt41 - comment - 8 Mar 2017

RTC

avatar infograf768
infograf768 - comment - 8 Mar 2017

Has this been tested with RTL?

avatar infograf768
infograf768 - comment - 8 Mar 2017

I am asking because I see no trace of
@import "../../../../media/jui/less/bootstrap-rtl.less";

avatar gwsdesk
gwsdesk - comment - 8 Mar 2017

@infograf768 I did install http://joomlacode.org/gf/download/frsrelease/20444/163708/ar-AA_joomla_lang_full_3.6.5v2.zip, set it to default in administrator and it seems to work well with Arabic (seems to since I do not master Arabic ;-) But the template is running well for sure RTL

avatar ciar4n
ciar4n - comment - 8 Mar 2017

@infograf768 This wouldn't have any effect on RTL as the template-rtl.css would cascade over any changes in this PR (template.css).

avatar gwsdesk
gwsdesk - comment - 8 Mar 2017

aa

avatar infograf768
infograf768 - comment - 8 Mar 2017

@ciar4n
While you are there, can you look at this RTL issue:
screen shot 2017-03-08 at 15 59 28

We should have a float:none;
but the css
.btn-group.btn-group-yesno > .btn, .btn-group > .btn + .dropdown-toggle { float: none;}

does not work here and we get a float:right;

avatar infograf768
infograf768 - comment - 8 Mar 2017

Once corrected, we should have
screen shot 2017-03-08 at 16 13 11

avatar wilsonge wilsonge - change - 8 Mar 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-03-08 15:16:35
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 8 Mar 2017
avatar wilsonge wilsonge - merge - 8 Mar 2017
avatar ciar4n
ciar4n - comment - 8 Mar 2017

Thank you @infograf768

PR created.. #14421

Add a Comment

Login with GitHub to post a comment