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

Vertically align close and kebab icons in notification drawer #2229

Conversation

sg00dwin
Copy link
Member

@sg00dwin sg00dwin commented Oct 6, 2017

Fixes #2218

screen shot 2017-10-06 at 2 05 27 pm

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 6, 2017
Copy link
Member

@rhamilto rhamilto left a comment

Choose a reason for hiding this comment

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

It seems like the close button visual treatment is different here (less opaque) than elsewhere (more opaque). And the close button on the drawer itself lacks a hover state.

margin-right: (@grid-gutter-width/(-4)); // vertically align with dropdown-kebab-pf
.pficon-close {
color: @color-pf-black-400;
&:hover,&:focus,&:active {
Copy link
Member

Choose a reason for hiding this comment

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

Nit: alpha and maybe put each selector on a separate line?

@sg00dwin sg00dwin force-pushed the notification-drawer-action-icon-alignment2218 branch from d2e6474 to 6744d66 Compare October 6, 2017 20:14
@sg00dwin
Copy link
Member Author

sg00dwin commented Oct 6, 2017

@spadgett @rhamilto pr updated so .pf-close color matches .dropdown-kebab-pf
https://github.com/patternfly/patternfly/blob/master/src/less/dropdowns.less#L169

screen shot 2017-10-06 at 4 09 19 pm

@benjaminapetersen
Copy link
Contributor

[test]

Just need to see if Travis can start Chrome on other branches...

@benjaminapetersen
Copy link
Contributor

Aha. e2e tests not running in Travis here.

@sg00dwin sg00dwin force-pushed the notification-drawer-action-icon-alignment2218 branch from 6744d66 to b6216f7 Compare October 10, 2017 15:04
@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 10, 2017
@sg00dwin
Copy link
Member Author

@spadgett updated pr to use <button> instead of <a>

ng-if="!notification.actions.length"
ng-click="$ctrl.customScope.clear(notification, $index, notificationGroup)">
<span class="sr-only">Clear notification</span>
Copy link
Member

Choose a reason for hiding this comment

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

Looks like you lost the sr-only text

@sg00dwin sg00dwin force-pushed the notification-drawer-action-icon-alignment2218 branch from b6216f7 to 3428927 Compare October 10, 2017 15:47
@openshift-bot
Copy link

Evaluated for origin web console test up to 3428927

@openshift-bot
Copy link

Origin Web Console Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_web_console/325/) (Base Commit: 5e7f02a) (PR Branch Commit: 3428927)

@spadgett
Copy link
Member

[merge]

@openshift-bot
Copy link

openshift-bot commented Oct 10, 2017

Origin Web Console Merge Results: Waiting: You are in the build queue at position: 1

@openshift-bot
Copy link

Evaluated for origin web console merge up to 3428927

@openshift-bot openshift-bot merged commit 45d17ff into openshift:master Oct 10, 2017
@sg00dwin sg00dwin deleted the notification-drawer-action-icon-alignment2218 branch October 10, 2017 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants