-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Nav bar tweaks #6157
Nav bar tweaks #6157
Conversation
rashidkpc
commented
Feb 8, 2016
- Implements new icons for Discover/Visualize/Dashboard
- Brings in @spalger's pull for plugins exporting links
- Changed the logo svg to be inkscape compatible and added some padding
- Added the drop shadow from the app container
- Added a hover when mousing over app
- Vertically centered icons, left justified links
- Reduced width of sidebar to 160px
@@ -9,8 +9,8 @@ | |||
ng-href="{{ link.active ? link.url : (link.lastSubUrl || link.url) }}" | |||
data-test-subj="appLink"> | |||
|
|||
<div ng-if="link.icon" ng-style="{ 'background-image': 'url(../' + link.icon + ')' }" class="app-icon"></div> | |||
<div ng-if="!link.icon" class="app-icon app-icon-missing">{{ link.title[0] }}</div> | |||
<div ng-if="link.icon" ng-style="{ 'mask-image': 'url(../' + link.icon + ')' }" class="app-icon"></div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weren't we going to use just an img tag for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no strong opinion on this. From a user standpoint it works the same. @simianhacker any reason you went this direction?
jenkins, test it |
9783f01
to
3100a2f
Compare
Continuing this in the pr above. |