Attached patch
- Removes text-decoration from add-or-remove-shortcuts link (was visible in webkit/IE browsers).
- Shows full add-or-remove-shortcuts link when focused (like when you hover it); makes it usable for keyboard navigation.
- Makes add-or-remove-shortcuts link work in IE6.

Comments

Status: Needs review » Needs work

The last submitted patch, , failed testing.

Status: Needs work » Needs review

Re-test of from comment #0 was requested by @user.

casey’s picture

Status: Needs review » Needs work

Patch makes the add-or-remove-shortcuts link 100% width when hovered. Not what it's supposed to do nor I intended.

casey’s picture

Status: Needs work » Needs review
StatusFileSize
new1.92 KB
Bojhan’s picture

Issue tags: +Usability, +Needs screenshots

Patches like these need screenshots

webchick’s picture

Hm. I can't seem to find any visual difference at all, at least in Firefox. But I agree that screenshots showing the before/after picture in IE/Webkit would be nice. I'd also love for another person with some CSS chops to give this a once-over.

casey’s picture

StatusFileSize
new2 KB
new12.63 KB
new12.64 KB
new13.22 KB
new13.55 KB

FF is ok, just webkit and IE.

Added a comment to a rule that easily could be mistaken as cruft.

casey’s picture

StatusFileSize
new2.04 KB

Reroll

Status: Needs review » Needs work
Issue tags: -Usability, -Needs screenshots

The last submitted patch, shortcut-button.patch, failed testing.

casey’s picture

Status: Needs work » Needs review

#9: shortcut-button.patch queued for re-testing.

Status: Needs review » Needs work
Issue tags: +Usability, +Needs screenshots

The last submitted patch, shortcut-button.patch, failed testing.

Bojhan’s picture

Are these simply CSS IE bugs?

swentel’s picture

Status: Needs work » Needs review
StatusFileSize
new1.68 KB

Reroll - looks like one css rule was already in - so can somebody verify ?

aspilicious’s picture

Status: Needs review » Needs work
+++ b/modules/shortcut/shortcut.cssundefined
@@ -51,13 +51,23 @@ div#toolbar div.toolbar-shortcuts span.icon {
+  ¶

trailing whitespace

+++ b/modules/shortcut/shortcut.cssundefined
@@ -95,6 +104,15 @@ div.add-or-remove-shortcuts a:hover span.text {
+/* IE6 needs this ruleset on this position. */
+div.add-or-remove-shortcuts a:hover {
+  width: auto;
+}
+div.add-or-remove-shortcuts a:hover span.text,
+div.add-or-remove-shortcuts a:focus span.text {
+  display: block;
+}

I'm 99,9999% sure we are NOT going to support IE6 in drupal 8. So I would leave this part out for D8.

25 days to next Drupal core point release.

Bojhan’s picture

@aspilicious Its not very drupalistic to not cater for that 00,00001% usecase :) But yhea, agreed.

swentel’s picture

Status: Needs work » Needs review
StatusFileSize
new1.27 KB
new1.68 KB

2 patches then :)

Bojhan’s picture

@swentel you appended -D7, and -D8 that makes the bot ignore it.

swentel’s picture

Well, they're just css patches and they apply cleanly on my end, don't see any harm - someone just needs to test it locally to see if it's ok.

aiwata55’s picture

StatusFileSize
new40.85 KB
new38.11 KB
new61.1 KB

The hover is gone when the patch at #17 is applied. Checked on D8.

aiwata55’s picture

StatusFileSize
new1.3 KB

Here is the modified version of the patch for D8. On my environment, it solved the disappearing of the hover issue on Safari 5, Firefox 7, Chrome.

swentel’s picture

This is now probably redundant thanks to #1217038: Clean up the CSS for the Shortcut module, can anyone verify ?

xjm’s picture

Version: 7.x-dev » 8.x-dev
Issue tags: +Needs manual testing, +Needs reroll

Let's test to determine if this issue is still relevant in D8. If it is, the patch will need to be updated for D8. If not, we can close this issue as a duplicate.

abdul24’s picture

Status: Needs review » Closed (duplicate)

Update- Tried to replicate issue using drupal 8 I did not see any visual difference in Firefox, IE or chrome as shown in attached screen shot. Closing this issue as duplicate of #1217030: Clean up the CSS for Overlay module

star-szr’s picture

star-szr’s picture

Status: Closed (duplicate) » Active
Issue tags: -Needs reroll

Re-opening temporarily so we can get some screenshots before closing again.

jesse.d’s picture

StatusFileSize
new5.97 KB
new4.8 KB
new3.7 KB

Screenshots of hover in D8.

star-szr’s picture

Status: Active » Closed (duplicate)

Thanks @jesse.d! Re-closing as duplicate of #1217038: Clean up the CSS for the Shortcut module.

frederickjh’s picture

Removing Needs screenshots tag. Marked as duplicate. Duplicate marked Closed. Issue queue clean up for those searching for issues needing screenshots.