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

highlight active navigation entry better, fix #2096 #3150

Merged
merged 2 commits into from
Jan 19, 2017

Conversation

jancborchardt
Copy link
Member

Before & after:
capture du 2017-01-19 01-55-04 capture du 2017-01-19 01-54-39

Fix #2096, please review @MariusBluem @BernhardPosselt @nextcloud/designers

What’s left to do here is properly hook it up to $nextcloud-blue, but the apps.css is not in the assets folder yet. @skjnldsv or is that already possible?
Also it should use the theme color – @juliushaertl how to best do that?

Signed-off-by: Jan-Christoph Borchardt <[email protected]>
@MorrisJobke
Copy link
Member

I also fixed that the themed color is used:

bildschirmfoto 2017-01-18 um 21 39 12

@MorrisJobke
Copy link
Member

Also it should use the theme color – @juliushaertl how to best do that?

Done 😝

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

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

Works and looks fantastic

@codecov-io
Copy link

Current coverage is 53.92% (diff: 100%)

Merging #3150 into master will increase coverage by 0.01%

@@             master      #3150   diff @@
==========================================
  Files          1302       1302          
  Lines         80148      80165    +17   
  Methods        7909       7915     +6   
  Messages          0          0          
  Branches       1248       1248          
==========================================
+ Hits          43211      43230    +19   
+ Misses        36937      36935     -2   
  Partials          0          0          
Diff Coverage File Path
•••••••••• 100% apps/theming/lib/Controller/ThemingController.php

Powered by Codecov. Last update 61d4198...3798f84

@skjnldsv
Copy link
Member

Nice idea!! :D

@skjnldsv skjnldsv merged commit 2cfedb3 into master Jan 19, 2017
@skjnldsv skjnldsv deleted the highlight-active-navigation branch January 19, 2017 05:47
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 2. developing Work in progress labels Jan 19, 2017
@BernhardPosselt
Copy link
Member

\o/

@jancborchardt
Copy link
Member Author

@BernhardPosselt thanks for continuing to nag about this! :) It's really a lot more usable now

@MorrisJobke thanks for fixing the theming part!

@Dennis1993
Copy link
Contributor

I have installed the latest master and the left border works perfectly.

But I think the 2px is a little bit to small. Maybe we can use 4px to display the border for better view?
Whats your opinion?

unbenannt
unbenannt2

Or maybe a light background in grey? I prefer the 4px instead the 2px to Show the current link :)

@BernhardPosselt
Copy link
Member

This ^

@jancborchardt
Copy link
Member Author

It’s already a dark text and dark icon and that color on the side. If it’s too wide, it takes too much attention as it’s too present and one of the few colored things on the page. Remember it’s only an indicator, not a call to action.

@BernhardPosselt
Copy link
Member

BernhardPosselt commented Mar 26, 2017

Maybe use a light circular box shadow to expand the blue a bit?

@BernhardPosselt
Copy link
Member

Needs mockups but my php install segfaults all the time, @Dennis1993 can you play around a bit more?

@MariusBluem
Copy link
Member

Can we have this for the personal-settings too 🤔 One-pager could make this more difficult 😁 @jancborchardt

@@ -1,4 +1,5 @@
/**
* @copyright Copyright (c) 2014, Jan-Christoph Borchardt (http://jancborchardt.net)
Copy link
Member

Choose a reason for hiding this comment

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

A time traveler 😱

@MorrisJobke
Copy link
Member

Can we have this for the personal-settings too 🤔 One-pager could make this more difficult 😁 @jancborchardt

See #3346

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish design Design, UI, UX, etc. enhancement papercut Annoying recurring issue with possibly simple fix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants