Closed
Bug 508728
Opened 15 years ago
Closed 15 years ago
Restyle the Places window scope bar
Categories
(Firefox :: Theme, defect)
Tracking
()
RESOLVED
FIXED
Firefox 3.7a1
Tracking | Status | |
---|---|---|
status1.9.2 | --- | beta4-fixed |
People
(Reporter: mstange, Assigned: mstange)
Details
Attachments
(1 file, 1 obsolete file)
9.71 KB,
patch
|
dao
:
review+
beltzner
:
approval1.9.2+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•15 years ago
|
||
This patch is on top of the one in bug 508739.
Attachment #392882 -
Flags: review?(dao)
Assignee | ||
Comment 2•15 years ago
|
||
Assignee | ||
Updated•15 years ago
|
Attachment #392882 -
Flags: review?(dao)
Assignee | ||
Updated•15 years ago
|
Attachment #392882 -
Flags: review?(dao)
Comment 3•15 years ago
|
||
This seems to make some images unused. Any reason to not remove them?
Assignee | ||
Comment 4•15 years ago
|
||
Nope, I probably just forgot it.
Though I remember that finding out which images are used and which are not is pretty confusing in Places code, since there's a bunch of #ifdef'd stuff that's hard to see through.
Comment 5•15 years ago
|
||
Comment on attachment 392882 [details] [diff] [review]
v1
>+#organizerScopeBar > toolbarbutton:hover,
>+#organizerScopeBar > toolbarbutton[checked="true"] {
...
>+ background-color: rgba(0, 0, 0, .32);
> }
>
>+#organizerScopeBar > toolbarbutton[checked="true"],
>+#organizerScopeBar > toolbarbutton:active:hover {
>+ background-color: rgba(0, 0, 0, .37);
...
>+}
>+
>+#organizerScopeBar > toolbarbutton:active:hover {
>+ background-color: rgba(0, 0, 0, .5);
> }
I'd prefer this to be reorganized so that the background-colors aren't assigned twice for [checked="true"] and :active:hover, even if that results in a few more rules.
mxr searches will tell you whether the images from the removed lines are used elsewhere, no need to understand places code for that.
Assignee | ||
Comment 6•15 years ago
|
||
Something must have changed in the meantime; these images are clearly unused now.
I remember that about a year ago I was having difficulties finding out where e.g. round-button-middle.png was used because there were still some CSS rules floating around that used that image, but I couldn't find out whether there was any XUL construct where they'd apply. But these rules are apparently gone now :)
> I'd prefer this to be reorganized so that the background-colors aren't assigned
> twice for [checked="true"] and :active:hover, even if that results in a few
> more rules.
Good call, the code is much clearer now.
Attachment #392882 -
Attachment is obsolete: true
Attachment #395498 -
Flags: review?(dao)
Attachment #392882 -
Flags: review?(dao)
Comment 7•15 years ago
|
||
Comment on attachment 395498 [details] [diff] [review]
v2
>+#organizerScopeBar > toolbarbutton:hover {
>+ color: #FFF;
>+ text-shadow: 0 1px rgba(0, 0, 0, .4);
>+ background-color: rgba(0, 0, 0, .32);
> }
>
>+#organizerScopeBar > toolbarbutton[checked="true"] {
>+ color: #FFF !important; /* !imp because of [checked="true"] (see toolbarbutton.css) */
>+ text-shadow: 0 1px rgba(0, 0, 0, .4);
>+ background-color: rgba(0, 0, 0, .32);
>+ -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4), 0 1px rgba(255, 255, 255, 0.4);
>+}
>+
>+#organizerScopeBar > toolbarbutton:active:hover {
>+ background-color: rgba(0, 0, 0, .5);
>+ -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4), 0 1px rgba(255, 255, 255, 0.4);
> }
#organizerScopeBar > toolbarbutton:hover,
#organizerScopeBar > toolbarbutton[checked="true"] {
color: #FFF !important; /* !imp because of [checked="true"] (see toolbarbutton.css) */
text-shadow: 0 1px rgba(0, 0, 0, .4);
background-color: rgba(0, 0, 0, .32);
}
#organizerScopeBar > toolbarbutton:active:hover,
#organizerScopeBar > toolbarbutton[checked="true"] {
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4), 0 1px rgba(255, 255, 255, 0.4);
}
#organizerScopeBar > toolbarbutton:active:hover {
background-color: rgba(0, 0, 0, .5);
}
Attachment #395498 -
Flags: review?(dao) → review+
Assignee | ||
Comment 8•15 years ago
|
||
(In reply to comment #5)
> I'd prefer this to be reorganized so that the background-colors aren't assigned
> twice for [checked="true"] and :active:hover
Uhm, what was unclear about this? No idea why I had misunderstood it completely.
http://hg.mozilla.org/mozilla-central/rev/b1389d68fbd0
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a1
Assignee | ||
Updated•15 years ago
|
Attachment #395498 -
Flags: approval1.9.2?
Comment 9•15 years ago
|
||
Comment on attachment 395498 [details] [diff] [review]
v2
a192=beltzner
Attachment #395498 -
Flags: approval1.9.2? → approval1.9.2+
Assignee | ||
Comment 10•15 years ago
|
||
status1.9.2:
--- → final-fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•