Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change app menu to white background with dark icons #627

Merged
merged 4 commits into from
Jul 29, 2016
Merged

Conversation

juliusknorr
Copy link
Member

This PR changes the app menu to white background with dark icons, as proposed in #455

2016-07-28-135630_957x282_scrot

Chrome, Firefox and Safari seem to work fine, could someone please verify that the inverting of icons works with IE/Edge?

Please review @jancborchardt @nextcloud/designers @Bugsbane @icewind1991 @williambargent

@juliusknorr juliusknorr added enhancement design Design, UI, UX, etc. 3. to review Waiting for reviews labels Jul 28, 2016
@juliusknorr juliusknorr added this to the Nextcloud 11.0 milestone Jul 28, 2016
@mention-bot
Copy link

@juliushaertl, thanks for your PR! By analyzing the annotation information on this pull request, we identified @jancborchardt, @ChristophWurst and @MorrisJobke to be potential reviewers

@williambargent
Copy link
Member

The icons don't show in IE and only show half in Edge.

capture

@@ -252,8 +257,8 @@
height: 32px;
}
#navigation .app-loading .app-icon {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";
opacity: .1;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you mean 90?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, as the icon should not be visible anymore, when the loading indicator is shown.

@juliusknorr
Copy link
Member Author

juliusknorr commented Jul 28, 2016

The icons don't show in IE and only show half in Edge.

Ok, thanks, will try to fix that later today.

@MorrisJobke MorrisJobke added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Jul 28, 2016
@jancborchardt
Copy link
Member

@juliushaertl awesome! Only thing from my side is that it looks a bit harsh – the icons could be lighter. Here it is with active changed from .8 to .6 and the others from .6 to .4:
Before & after:
capture du 2016-07-28 16-30-09
capture du 2016-07-28 16-30-48

(We should also do that in the users menu on the top right then :)

@juliushaertl if it’s ok I can add those commits, or you can feel free to do it. Don’t want to mess with your branch while you’re working on it. ;)

@juliusknorr
Copy link
Member Author

@jancborchardt Right, that looks far nicer. Feel free to commit, otherwise I could also do that later this evening.

-moz-filter: invert(100%);
-o-filter: invert(100%);
-ms-filter: "progid:DXImageTransform.Microsoft.Invert(100%)";
filter: invert(100%);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juliushaertl please always use tabs ;) according to our coding style guidelines and what’s used elsewhere in the file.

@jancborchardt
Copy link
Member

@juliushaertl made the changes. Also, you need to use tabs instead of spaces ;D

@juliusknorr
Copy link
Member Author

Pushed a new commit that now also supports IE 9+, Edge.

Please review again @jancborchardt @nickvergessen @williambargent

@juliusknorr juliusknorr added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jul 28, 2016
@schiessle
Copy link
Member

schiessle commented Jul 29, 2016

This looks really nice, great work!

I just have a small issue. It seems like the "App" menu entry is handled differently then all the other app icons. The icon of the current active app is darker and the other icons change to the dark color on hover, expect the "apps" icon (there is also a hover effect but not as strong as for the other apps). If I go to the app settings the apps icon also doesn't change to the darker color by default.

Tested with Chromium 52

@jancborchardt
Copy link
Member

@schiessle this is by design because the »Apps« entry is different from the others. It’s styled a bit more transparent accordingly to not be confused with an app.

@jancborchardt
Copy link
Member

@williambargent mind retesting this? :)

@schiessle
Copy link
Member

@schiessle this is by design because the »Apps« entry is different from the others. It’s styled a bit more transparent accordingly to not be confused with an app.

Hm, but if they are not selected all look the same, including the app menu. I consider it rather confusing that the hover effects behaves different on some elements on the same menu and especially confusing that I don't have a visual feedback that the current page is the app menu.

@juliusknorr
Copy link
Member Author

How about keeping the Apps icon a bit lighter but changing the active state to the same grey as the other icons? @jancborchardt @schiessle

@williambargent
Copy link
Member

Awesome, its almost working. When you hover over 'add apps' in Edge the colour doesn't change but does in IE. Also when your on the 'add apps' page it doesn't show that it has been selected.

@schiessle
Copy link
Member

@williambargent That's what I already mentioned here: #627 (comment)

imho the app menu should behave the same as any other entry with respect to the hover effect and the look if it is selected. Might be OK if it is a bit lighter if it is not selected to highlight the real apps a bit. But hover effect and selected color should be exactly the same.

@jancborchardt
Copy link
Member

How about keeping the Apps icon a bit lighter but changing the active state to the same grey as the other icons?

@juliushaertl sounds perfect! Fixed that :)

@juliusknorr
Copy link
Member Author

@jancborchardt looks good :)

@schiessle
Copy link
Member

Hm, I still see no visible hint that I'm at the apps page:

menu

@jancborchardt
Copy link
Member

@schiessle try hard-refreshing (Ctrl-Shift-R) or incognito mode:
capture du 2016-07-29 18-56-35
(I know, nice theme right? ;D)

@MariusBluem
Copy link
Member

Works for me 👍

@schiessle
Copy link
Member

try hard-refreshing (Ctrl-Shift-R) or incognito mode:

Did all that but I should have done a git pull before testing it again 😉

Looks good now 👍

@schiessle schiessle merged commit 3728479 into master Jul 29, 2016
@schiessle schiessle deleted the white-app-menu branch July 29, 2016 18:24
@schiessle
Copy link
Member

I would suggest to backport this for Nextcloud 10, objections?

@MariusBluem
Copy link
Member

Definetly. 👍 What do you think? @karlitschek

@karlitschek
Copy link
Member

looks good. please backport 👍

@jancborchardt
Copy link
Member

@juliushaertl do you want to open a backport PR of your awesome work to stable10? :) Probably directly with #664 on top.

@juliusknorr
Copy link
Member Author

juliusknorr commented Jul 29, 2016

@jancborchardt just did at #665 ;)

GitHubUser4234 pushed a commit to GitHubUser4234/server that referenced this pull request Aug 30, 2016
Change app menu to white background with dark icons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews design Design, UI, UX, etc. enhancement high
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants