New issue
Advanced search Search tips

Issue 630067 link

Starred by 3 users

Issue metadata

Status: Verified
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug

Blocked on:
issue 630307



Sign in to add a comment

MD WebUI: drop visual changes based on :hover (other than cursor: pointer)

Project Member Reported by dbeam@chromium.org, Jul 21 2016

Issue description

We recently decided to stop showing a difference of background-color on :hover for things like dropdowns.  This is because in cases where changing the text style is hard to do without affecting layout (i.e. the text getting wider or taller causes problems), things like :focus look the same as :hover when both use a change in background-color.

Additionally, :hover outside of menus (i.e. in Alan's words "any bkg hovers on rows or cards") weren't really meant to be there (and are probably from a time where MD on desktop was less defined).


TL;DR - we're dropping :hover that changes background-color throughout webui (I've already removed it from downloads[1]).


See also:  bug 610630 

[1] https://codereview.chromium.org/2157723002/
 

Comment 1 by dbeam@chromium.org, Jul 21 2016

Cc: hcarmona@chromium.org
bettes@ mentioned off-thread that we should also be dropping any type of :hover changes to links (i.e. an underline on :hover).  This conflicts directly with passwords mocks.  He also agreed to drop the special black coloring on those links.

I'll address those issues separately.

Comment 2 by dbeam@chromium.org, Jul 21 2016

Summary: MD WebUI: drop visual changes based on :hover (other than cursor: pointer) (was: MD WebUI: drop :hover that changes background-color for now)
i lied, they all come to this bug

Comment 3 by dbeam@chromium.org, Jul 21 2016

Cc: tommycli@chromium.org
bettes@ also let me drop :hover shadows on avatars
Project Member

Comment 5 by bugdroid1@chromium.org, Jul 21 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2d6e1f491447569b7fd19be8f1d568a56d8cb4e7

commit 2d6e1f491447569b7fd19be8f1d568a56d8cb4e7
Author: dbeam <dbeam@chromium.org>
Date: Thu Jul 21 03:34:55 2016

MD Settings: remove special-casing of links on passwords page

They should be the same color as other links and have no underline on
:hover.

R=hcarmona@chromium.org
BUG= 630067 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2165183002
Cr-Commit-Position: refs/heads/master@{#406757}

[modify] https://crrev.com/2d6e1f491447569b7fd19be8f1d568a56d8cb4e7/chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html

Blockedon: 630307
Project Member

Comment 7 by bugdroid1@chromium.org, Jul 21 2016

Project Member

Comment 9 by bugdroid1@chromium.org, Jul 22 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a4710216e29e419a07dd7dd84fd6023c9b2f51ac

commit a4710216e29e419a07dd7dd84fd6023c9b2f51ac
Author: dbeam <dbeam@chromium.org>
Date: Fri Jul 22 03:13:00 2016

MD Setting: drop changes to background-color on :hover

R=stevenjb@chromium.org
BUG= 630067 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
NOTRY=true  # android bots keep failing, this code doesn't even run on android...

Review-Url: https://codereview.chromium.org/2164223002
Cr-Commit-Position: refs/heads/master@{#407007}

[modify] https://crrev.com/a4710216e29e419a07dd7dd84fd6023c9b2f51ac/chrome/browser/resources/settings/people_page/user_list.html
[modify] https://crrev.com/a4710216e29e419a07dd7dd84fd6023c9b2f51ac/chrome/browser/resources/settings/settings_root_css.html
[modify] https://crrev.com/a4710216e29e419a07dd7dd84fd6023c9b2f51ac/chrome/browser/resources/settings/settings_shared_css.html

Project Member

Comment 10 by bugdroid1@chromium.org, Jul 22 2016

Labels: merge-merged-2804
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a4710216e29e419a07dd7dd84fd6023c9b2f51ac

commit a4710216e29e419a07dd7dd84fd6023c9b2f51ac
Author: dbeam <dbeam@chromium.org>
Date: Fri Jul 22 03:13:00 2016

MD Setting: drop changes to background-color on :hover

R=stevenjb@chromium.org
BUG= 630067 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
NOTRY=true  # android bots keep failing, this code doesn't even run on android...

Review-Url: https://codereview.chromium.org/2164223002
Cr-Commit-Position: refs/heads/master@{#407007}

[modify] https://crrev.com/a4710216e29e419a07dd7dd84fd6023c9b2f51ac/chrome/browser/resources/settings/people_page/user_list.html
[modify] https://crrev.com/a4710216e29e419a07dd7dd84fd6023c9b2f51ac/chrome/browser/resources/settings/settings_root_css.html
[modify] https://crrev.com/a4710216e29e419a07dd7dd84fd6023c9b2f51ac/chrome/browser/resources/settings/settings_shared_css.html

Labels: Hotlist-MD-Settings-General

Comment 12 by dbeam@chromium.org, Jul 23 2016

Status: Fixed (was: Started)
this is basically fixed now

stevenjb@ has qualms about :hover and :focus in the network list, but I think that may be used outside of settings as well (but should still probably act similarly to the rest of Chrome)
Status: Verified (was: Fixed)
Verified on ChromeOS 8872.18.0, 55.0.2883.20. No state change is seen with hover on avatars, and also on passwords page

Sign in to add a comment