? Success

User tests: Successful: Unsuccessful:

avatar dgrammatiko
dgrammatiko
25 Aug 2016

Let's modernise the appearance of isis!

Summary of Changes

A redo of #7610
1 year later and 3rd and last attempt!

This is NOT touching bootstrap LESS files directly, so there shouldn't be any B/C concerns!

Testing Instructions

Apply the patch and visit different areas of admin with isis as the selected template.
This is only a visual update of buttons/dropdowns so watch out for any glitches

Documentation Changes Required

None

Note: although the number of files changed are indicated as 10 the additional ones are only 5, so it's not a great deal in terms of maintenance...

134bc45 25 Aug 2016 avatar dgrammatiko cs
dc9a394 25 Aug 2016 avatar dgrammatiko oops
avatar dgt41 dgt41 - open - 25 Aug 2016
avatar dgt41 dgt41 - change - 25 Aug 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Aug 2016
Category Templates (admin) Administration
avatar joomla-cms-bot joomla-cms-bot - change - 25 Aug 2016
Labels Added: ?
avatar dgt41
dgt41 - comment - 25 Aug 2016

@C-Lodder can you take a look at this one?

avatar brianteeman
brianteeman - comment - 25 Aug 2016

This will conflict with #11779

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

avatar C-Lodder
C-Lodder - comment - 25 Aug 2016

I was going to say, could you firstly apply Brian's patch please?

Either way, will start looking through this now ;)

avatar dgt41
dgt41 - comment - 25 Aug 2016

@brianteeman it won't as it uses an override for chosen.css that utilises icomoon font instead of the png for the icons.

avatar brianteeman
brianteeman - comment - 25 Aug 2016

Sorry - didnt spot the different path - but that will mean that you are not
using the correct version of the chosen.css wont it?

On 25 August 2016 at 15:08, Dimitri Grammatikogianni <
notifications@github.com> wrote:

@brianteeman https://github.com/brianteeman it won't as it uses an
override for chosen.css that utilises icomoon font instead of the png for
the icons.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#11789 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8fdAoDNv8me1UdnbqG15fy23uBz6ks5qjaHAgaJpZM4JtF-G
.

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

avatar C-Lodder
C-Lodder - comment - 25 Aug 2016

@dgt41 - Can you ping me a message on Facebook or Skype (charlie.lodder)?

avatar dgt41
dgt41 - comment - 25 Aug 2016

@brianteeman it seems that the css works fine, but honestly I didn't do a diff to your PR to see what else might be changed. Will do that
@C-Lodder sure

avatar brianteeman
brianteeman - comment - 25 Aug 2016

I am NOT in favour of the changes to remove the button backgrounds as seen on the toolbar and the options.

r3jo

avatar C-Lodder
C-Lodder - comment - 25 Aug 2016

@dgt41 you've gone offline

avatar dgt41
dgt41 - comment - 25 Aug 2016

@brianteeman I will agree, let me check the css
@C-Lodder that's just an indication ?

avatar dgt41
dgt41 - comment - 25 Aug 2016

@brianteeman changed it:
screen shot 2016-08-25 at 17 33 13

avatar brianteeman
brianteeman - comment - 25 Aug 2016

But you havent changed the buttons on the toolbar :p

This also affects buttons used in components like patchtester which also lose their backgrounds

avatar brianteeman
brianteeman - comment - 25 Aug 2016

Its like a repaint but you forgot to put any paint on the brush

avatar brianteeman
brianteeman - comment - 25 Aug 2016

Getting there.
I notice on the toolbar buttons which have a colour when you hover and the background goes grey then the icon and the text goes white which is correct

But in some places that doesnt happen eg in the menu item for a single article the select button icon stays green

d455d9b 25 Aug 2016 avatar dgrammatiko nope
avatar brianteeman
brianteeman - comment - 25 Aug 2016

Just a thought
Instead of replacing the current isis why dont we make this a new admin template called something like isis-flat

This one could be the default but it will reduce the "why did you change things" comments if the current one is still available

avatar C-Lodder
C-Lodder - comment - 25 Aug 2016

@brianteeman - cause it's only the buttons that are being changed. Not really much point in creating another instance of Isis just for this.

avatar brianteeman
brianteeman - comment - 25 Aug 2016

@c-lodder I will remind you of that

avatar dgt41
dgt41 - comment - 25 Aug 2016

I know only one person against flat: @wilsonge

avatar C-Lodder
C-Lodder - comment - 25 Aug 2016

He has absolutely no sense of style. If it were up to him, both Isis and Protostar would be fully orange :D

avatar dgt41
dgt41 - comment - 25 Aug 2016

Quoting colour psychology about orange:

In relation to the meaning of colors, orange is extroverted and uninhibited, often encouraging exhibitionism or, at the very least, showing-off!

avatar mbabker
mbabker - comment - 25 Aug 2016

If it were up to him, both Isis and Protostar would be fully orange

That could be the base of the 4.0 admin template. 1.0, 1.5, and 1.6+ have used the other logo colors as their bases or accents.

I'll be checking myself into the insane asylum now.

avatar wilsonge
wilsonge - comment - 25 Aug 2016

Good idea Michael

avatar dgt41
dgt41 - comment - 25 Aug 2016

The asylum or the colour?

avatar C-Lodder
C-Lodder - comment - 25 Aug 2016

@dgt41 @brianteeman The menu item single article icon you mentioned isn't changing colour because of (template.css - line 6916)

.icon-edit::before {
    color: #378137;
}

@wilsonge @mbabker
main-qimg-09f5cf57e8c9de343282f1fa84f33345-c

avatar mbabker
mbabker - comment - 25 Aug 2016

Just because my IT degree is with a concentration in web design does not mean I am qualified by any measure to make design related decisions.

avatar C-Lodder C-Lodder - test_item - 25 Aug 2016 - Tested successfully
avatar C-Lodder
C-Lodder - comment - 25 Aug 2016

I have tested this item successfully on 9a7f543


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

avatar brianteeman
brianteeman - comment - 25 Aug 2016

Next tweak - looks to me like the line between is doubled? seen the same elsewherescreen shot 2016-08-25 at 11 09 42


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

avatar C-Lodder
C-Lodder - comment - 25 Aug 2016

@brianteeman - re-apply the patch and clear your cache. This has already been fixed:

.btn-group > .btn + .btn {
    margin-left: -1px;
}

This CSS targets all buttons after the first one, inside .btn-group and pushes them back by 1px

avatar brianteeman
brianteeman - comment - 25 Aug 2016

Round or square corners??

It seems you cant decide and on this screenshot we get all variations on a single page

iyiw

avatar brianteeman
brianteeman - comment - 25 Aug 2016

@C-Lodder the button groups have been fixed now - I wrote it when it wasnt but for some reason forgot to post it

4f717ec 25 Aug 2016 avatar dgrammatiko round
avatar dgt41
dgt41 - comment - 25 Aug 2016

@brianteeman good catch! fixed

EDIT: the modified by field is wrongly classified with input-apend, so the html part is wrong, but let's not fix it here as with the new calendar this is already fixed

avatar brianteeman
brianteeman - comment - 25 Aug 2016

Almost - you still need to fix the modified by

.input-append input,
.input-append select,
.input-append .uneditable-input {
-webkit-border-radius: 3px 0 0 3px;
-moz-border-radius: 3px 0 0 3px;
border-radius: 3px 0 0 3px;
}

This should be border-radius: 3px;

avatar brianteeman
brianteeman - comment - 25 Aug 2016

actually it probably isnt that easy - as that would effect other stuff so maybe its just that field has the wrong class?

avatar dgt41
dgt41 - comment - 25 Aug 2016

@brianteeman read my previous comment (the edit part). removing the input-append from the class fixes the input round corners. It's not css, it's wrong html

avatar brianteeman
brianteeman - comment - 25 Aug 2016

I missed the edit ;)

avatar brianteeman
brianteeman - comment - 25 Aug 2016

So the only other thing that looks a little odd to me but dont know if its either just me or even fixable is that when you select an item in a list it goes blue and it stays blue until you do something elsewhere

blue

avatar dgt41
dgt41 - comment - 25 Aug 2016

That's the correct functionality, when you are in a dropdown the focus is on that element, then you select something the dropdown closes but the focus is still on that element. As you said you have to click elsewhere in the page to initiate a blur (loose focus). The only thing that makes this more obvious now is that the dropdown is well visible that is in focus (blue border) which is different from the default chosen css (grey), but IMHO this is more accessible. I can revert the colouring back to grey, but I think this is an improvement

avatar brianteeman
brianteeman - comment - 25 Aug 2016

As i said - i thought this one was just me thinking it was odd

On 25 August 2016 at 18:50, Dimitri Grammatikogianni <
notifications@github.com> wrote:

That's the correct functionality, when you are in a dropdown the focus is
on that element, then you select something the dropdown closes but the
focus is still on that element. As you said you have to click elsewhere in
the page to initiate a blur (loose focus). The only thing that makes this
more obvious now is that the dropdown is well visible that is in focus
(blue border) which is different from the default chosen css (grey), but
IMHO this is more accessible. I can revert the colouring back to grey, but
I think this is an improvement


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#11789 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8S1HDggxSHsurBgEiLMI60mAo8Zgks5qjdXUgaJpZM4JtF-G
.

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

avatar brianteeman
brianteeman - comment - 25 Aug 2016

@dgt41 not spotted anything else - will keep it as my default for a while and see if I spot anything else

avatar brianteeman
brianteeman - comment - 25 Aug 2016

Search Tools

See how the icon disappears when the search tools is open but does not have focus

stool

avatar brianteeman brianteeman - change - 25 Aug 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-08-25 18:16:00
Closed_By brianteeman
avatar brianteeman brianteeman - close - 25 Aug 2016
avatar brianteeman
brianteeman - comment - 25 Aug 2016

The double border issue still exists here in the Single Article menu item options

pinp

avatar ciar4n
ciar4n - comment - 25 Aug 2016

tags

'Close' in tags is slightly out of line. Personally I would be inclined to display such icons inline rather than with absolute positioning. The line-height will center the icon for you rather than the constant tweaking that comes with absolute positioning. Also less CSS.

.chzn-container-multi .chzn-choices .search-choice {
    background-clip: padding-box;
    background-color: #0088cc;
    border-radius: 3px;
    color: #fff;
    cursor: default;
    line-height: 22px;
    margin: 3px 0 3px 5px;
    padding: 0 7px;
}
.chzn-container-multi .chzn-choices .search-choice .search-choice-close {
    color: #f5f5f5;
    display: inline-block;
    margin-left: 5px;
}
avatar wilsonge wilsonge - change - 25 Aug 2016
Status Closed New
Closed_Date 2016-08-25 18:15:58
Closed_By brianteeman
avatar wilsonge wilsonge - change - 25 Aug 2016
Status New Pending
avatar wilsonge wilsonge - reopen - 25 Aug 2016
avatar brianteeman
brianteeman - comment - 25 Aug 2016

Oops sorry I pressed close and comment instead of just comment. Sorry!!!!

avatar dgt41
dgt41 - comment - 25 Aug 2016

@ciar4n thanks!
@brianteeman all fixed now

avatar brianteeman
brianteeman - comment - 25 Aug 2016

Cool I will keep testing tomorrow. I am still concerned though about
chosen.css

avatar ciar4n
ciar4n - comment - 26 Aug 2016

I know I'm splitting hairs here but a subtle border on colored buttons will help make the buttons more unified. Colored next to bordered buttons tend to look a pixel smaller at first glance. A slight border will rectify this?

buttons

.btn-primary {
    background-color: #2384d3;
    border: 1px solid #1c6aa9;
    border: 1px solid rgba(0, 0, 0, 0.25);
    color: #fff;
}
.btn-success {
    background-color: #46a546;
    border: 1px solid #388438;
    border: 1px solid rgba(0, 0, 0, 0.25);
    color: #fff;
}
.btn-danger {
    background-color: #bd362f;
    border: 1px solid #972b26;
    border: 1px solid rgba(0, 0, 0, 0.25);
    color: #fff;
}

.btn:hover, .btn:focus {
    background-color: #808080;
    border: 1px solid #972b26;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #fff;
    text-decoration: none;
    text-shadow: none;
}

RGBA colors will translate to :hover. HEX for non RGBA browsers.

avatar jeckodevelopment
jeckodevelopment - comment - 26 Aug 2016

Just a question... is this an expected behaviour?
I'm talking about the "grey" pressed button.
buttoninfo

avatar ciar4n
ciar4n - comment - 26 Aug 2016

@jeckodevelopment That is just an example of a hovered item. Sorry I should have stated.

avatar jeckodevelopment
jeckodevelopment - comment - 26 Aug 2016

@ciar4n thank you for the explanation :)

avatar Bakual
Bakual - comment - 26 Aug 2016

I'm not a huge fan of this for one reason:

Currently Isis is to a big degree plain Bootstrap, same as Protostar. There are some adjustments in the template.less but that is it.

You are now going to override quite a few files from Bootstrap (and Chosen), making it non-standard.
Since you override the whole file, it's hard to find out how much you changed from the original Bootstrap file. It could be one line or the whole thing.

In the end it means that issues with the original files (be it Bootstrap or Chosen) may go undetected or are hard to test and fix because our default template uses different files.

avatar mbabker
mbabker - comment - 26 Aug 2016

You are now going to override quite a few files from Bootstrap (and Chosen), making it non-standard.

So? By that argument every Bootstrap template should basically look like the starter template. The whole point of using a CSS framework is to give you the toolset you need to create a nice template, not retain its default styling to a damaging extent.

avatar Bakual
Bakual - comment - 26 Aug 2016

Yeah, that's obvious.

I just don't think the default one we ship should override a lot of it. Same as for HTML and JS overrides in our default templates (Protostar and Isis). So far they both use only a few overrides or none. But with this PR that would change.

avatar mbabker
mbabker - comment - 26 Aug 2016

And again, so?

We should be moving to more agnostic default layouts with the framework
stuff in template specific overrides. So I'm less concerned on that aspect.

For JavaScript libraries we should avoid hacking them but there shouldn't
be a rule against extending them for our use cases.

And for CSS, we don't need to be validating the default rules of whatever
we're using. So I'm not concerned with how much (or little) of the core
Bootstrap (or Chosen or whatever else) CSS we use as long as it's all
functional and user friendly.

On Friday, August 26, 2016, Thomas Hunziker notifications@github.com
wrote:

Yeah, that's obvious.

I just don't think the default one we ship should override a lot of it.
Same as for HTML and JS overrides in our default templates (Protostar and
Isis). So far they both use only a few overrides or none. But with this PR
that would change.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#11789 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWfoafoac7HLqhl3Vl8U8xxxvC0RcDqks5qju_BgaJpZM4JtF-G
.

avatar ciar4n
ciar4n - comment - 26 Aug 2016

On the PR... maybe a more uniformed look across all fields. Matching border-radius (3px), border-color (#aaa) and field height (28px). Also the removal of shadows (outset and inset).

Suggested on the right...

fields-uniformed1

*Blue field is :focus

avatar dgt41
dgt41 - comment - 29 Aug 2016

I am closing this in favour of #11832

avatar dgt41 dgt41 - change - 29 Aug 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-08-29 09:43:35
Closed_By dgt41
avatar dgt41 dgt41 - close - 29 Aug 2016

Add a Comment

Login with GitHub to post a comment