Closed Bug 582372 Opened 14 years ago Closed 14 years ago

[Mac default] hover:active style rules applies on disabled linkToolbar items

Categories

(SeaMonkey :: Themes, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.1b1

People

(Reporter: stefanh, Assigned: stefanh)

References

Details

Attachments

(1 file)

Spun off from bug 579737, comment #8: Since the hover:active style rules lacks :not([disabled="true"]), clicking a disabled item will apply the hover:active styles. I believe I caused this when I re-did mac classic.
Summary: [Mac default] Disabled linkToolbar items darkens upon hover:active → [Mac default] hover:active style rules applies on disabled linkToolbar items
One change might need some clarification: #bookmarks-button[open="true"], -.bookmark-item[container="true"]:hover:active { +.bookmark-item:not([disabled="true"])[container="true"]:hover:active { list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-active.png"); } These rules are in navigator.css and I think it's better to change them there than to duplicate them in linkToolbar.css
Attachment #463944 - Flags: superreview?(neil)
Attachment #463944 - Flags: review?(mnyromyr)
Status: NEW → ASSIGNED
Comment on attachment 463944 [details] [diff] [review] Fix hover:active styles >+#linktoolbar > .bookmark-item:not([disabled="true"])[container="true"]:hover:active { >+.bookmark-item:not([disabled="true"])[container="true"]:hover:active { I'd prefer .bookmark-item[container="true"]:not([disabled="true"]):hover:active
Attachment #463944 - Flags: superreview?(neil) → superreview+
Target Milestone: seamonkey2.1a3 → seamonkey2.1b1
Comment on attachment 463944 [details] [diff] [review] Fix hover:active styles >+#link-top:not([disabled="true"]:hover:active >+#link-up:not([disabled="true"]:hover:active >+#link-first:not([disabled="true"]:hover:active >+#link-prev:not([disabled="true"]:hover:active >+#link-next:not([disabled="true"]:hover:active >+#link-last:not([disabled="true"]:hover:active Actually, I'd prefer rules not being applied because of their valid selector, not because the selector is broken. :-P Hint: ( love )... r=me with that fixed. (I tested a locally fixed version.)
Attachment #463944 - Flags: review?(mnyromyr) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: