? Success

User tests: Successful: Unsuccessful:

avatar 810
810
8 Apr 2015

The issue

The issue is that the navbar-inner css is hard coded, and you can't override it with you own css or less files.

Example

aftersaving

You see that the navbar-inner get the color from the btn-primary. In this case the default color Blue.
This looks bad at all.

Solution

after apply my fix, you will get a cleaner navbar-inner.

before

avatar 810 810 - open - 8 Apr 2015
avatar joomla-cms-bot joomla-cms-bot - change - 8 Apr 2015
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 8 Apr 2015
Labels Added: ?
avatar richard67
richard67 - comment - 8 Apr 2015

@810 "and you can't override it with you own css or less files."

That's not true. The hard-coded CSS is only used if template colours are switched on.

For override with your own css files, simply switch off template colours in templates setting.

The change in this PR here is not useful from my point of view, because it makes behavior with template colours on extremely different to the behavior with template colors off.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6705.
avatar richard67 richard67 - test_item - 8 Apr 2015 - Not tested
avatar zero-24 zero-24 - change - 8 Apr 2015
Category Templates (site)
avatar 810
810 - comment - 8 Apr 2015

There is no option to turn "Off", you can only pick the color. but the setting are for:

  • nav-list
  • nav-bar
  • dropdown-menu
  • nav-pills
  • btn-primary

Everything is just 1 setting.

avatar N6REJ
N6REJ - comment - 9 Apr 2015

@brianteeman I'm recommending we close this issue as its not a bug but infact is as designed.
@810 you can simply use a custom.css to override extremely easily. Many template generate styling @ runtime and protostar is not different.

avatar N6REJ
N6REJ - comment - 9 Apr 2015

custom.css is your friend.
Bear
On 4/8/2015 17:10, Jelle Kok wrote:

There is no option to turn "Off", you can only pick the color. but the
setting are for:

  • nav-list
  • nav-bar
  • dropdown-menu
  • nav-pills
  • btn-primary

Everything is just 1 setting.


Reply to this email directly or view it on GitHub
#6705 (comment).

No virus found in this message.
Checked by AVG - www.avg.com http://www.avg.com
Version: 2015.0.5863 / Virus Database: 4328/9488 - Release Date: 04/08/15

avatar webmiep
webmiep - comment - 10 Apr 2015

@test works as aspected.


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

avatar webmiep webmiep - test_item - 10 Apr 2015 - Tested successfully
avatar larapetersen
larapetersen - comment - 10 Apr 2015

@test Don't know if this is gonna be closed, but the patch works as described.


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

avatar larapetersen larapetersen - test_item - 10 Apr 2015 - Tested successfully
avatar erikvandoorne
erikvandoorne - comment - 10 Apr 2015

@test works as expected.


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

avatar erikvandoorne erikvandoorne - test_item - 10 Apr 2015 - Tested successfully
avatar 810
810 - comment - 14 May 2015

Could we merge this one?

avatar bertmert
bertmert - comment - 14 May 2015

In my opinion: Make a copy of template Protostar, apply your changes, and leave Protostar as it is.
Or: #6705 (comment)

Additionally this PR is not B/C.

avatar 810
810 - comment - 14 May 2015

@bertmert if I have done this for myself, then its ok, But I'm a developer for a component. If users try our component, it will look ugly. We have used the default bootstrap styling. The issue is that the setting is overruling our less files.

avatar bertmert
bertmert - comment - 14 May 2015

I don't have to decide it ;-) This hard code shouldn't be there but it is in Protostar for a long time now. So I see B/C problems. That's all. I don't have no preferences.

Just BTW: It's possible to overrule these declarations in a custom CSS file even if this file is loaded before (by higher selector hierarchy).

avatar JoshuaLewis
JoshuaLewis - comment - 18 May 2015

Putting design opinions aside, the current inline CSS makes reading the menu items difficult. So regardless to what I believe about styling, the current method is bad UX. I have perfect vision and it takes longer to read based on the bad contrast. I'm completely in favor of the PR above.

If we really want this hard to read menu style for backwards compatibility reasons, why not have it as CSS within the template? Inline CSS for global classes like these doesn't make a lot of sense.

avatar zero-24 zero-24 - change - 11 Jun 2015
Status Pending Needs Review
avatar zero-24
zero-24 - comment - 11 Jun 2015

Setting to Needs Review so a CMS Maintainer can take a decision.


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

avatar Bakual
Bakual - comment - 17 Jun 2015

@810 I feel it's a stupid question but where is that navbar-inner thing even used in Protostar?
Or is that extension specific? If so, which extension can I install to see it in effect?

avatar 810
810 - comment - 17 Jun 2015

@Bakual
When Kyle created this template "Bootstrap" was new, and forgot to remove the hardcode on a test, I think.

Its not used in any default Joomla module.

So this are the test instructions:

1) Install kunena (enable forum menu item on main menu)
2) Set Crypsis as default kunena template
3) See frontend. That the menu looks ok.
4) Go to edit protostar template
5) Click on Save
6) See frontend again

You will see that the looks are bad.

avatar Bakual
Bakual - comment - 17 Jun 2015

Thanks, was able to reproduce this and it indeed looks crap with any color I tried.
The text is almost unreadable in all variants. So this indeed looks like a mistake to have by default.

avatar Bakual Bakual - change - 17 Jun 2015
Status Needs Review Ready to Commit
avatar Bakual Bakual - change - 17 Jun 2015
Milestone Added:
avatar Bakual Bakual - change - 17 Jun 2015
Labels Added: ?
avatar zero-24 zero-24 - alter_testresult - 17 Jun 2015 - Bakual: Tested successfully
avatar roland-d roland-d - reference | dd461c2 - 9 Sep 15
avatar roland-d roland-d - merge - 9 Sep 2015
avatar roland-d roland-d - close - 9 Sep 2015
avatar roland-d roland-d - change - 9 Sep 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-09-09 00:06:27
Closed_By roland-d
avatar roland-d roland-d - close - 9 Sep 2015
avatar joomla-cms-bot joomla-cms-bot - close - 9 Sep 2015
avatar joomla-cms-bot joomla-cms-bot - change - 9 Sep 2015
Labels Removed: ?
avatar wilsonge wilsonge - change - 9 Sep 2015
Milestone Added:
avatar wilsonge wilsonge - change - 9 Sep 2015
Milestone Removed:
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone

Add a Comment

Login with GitHub to post a comment